Commit Graph

58450 Commits

Author SHA1 Message Date
Awais Qureshi
cfc8fda328 Merge pull request #25666 from edx/celery-logs-test
Added more logs in celery fork.
2020-11-24 18:25:09 +05:00
edX requirements bot
e0dac01265 Updating Python Requirements 2020-11-23 23:55:32 -05:00
Usman Khalid
4a6f2b81a9 Convert Annotatable XModule to XBlock. 2020-11-24 04:58:59 +05:00
Kyle McCormick
9f239ffe8f Add reset_course_content Studio management command (#25653)
Given a course key and a split-mongo version GUID,
it resets the course run's draft branch to a specified
version and publishes.

The purpose of this is to allow us to restore overwritten
course content without having to write to Mongo via a
dbshell.

Adds `reset_course_to_version` method to modulestore API.

TNL-7705
2020-11-23 15:14:10 -05:00
Alex Dusenbery
341c1c98e5 ENT-3503 | Add unit tests to cover 100% of openedx.features.enterprise_support.utils, all in a single test file. 2020-11-23 14:52:41 -05:00
arbi-bom
526a0d9abd Ran make upgrade 2020-11-24 00:00:57 +05:00
Awais Qureshi
761c5d3d7e Added more logs in celery fork. 2020-11-23 23:58:05 +05:00
Tim McCormack
2f8fa9e4f2 Leave warning about changing generated comment (#25660)
ARCHBOM-1544
2020-11-23 18:01:42 +00:00
Robert Raposa
2af63536bb Merge pull request #25667 from edx/robrap/ARCHBOM-1260-code-owner-block-structure-tasks
ARCHBOM-1260: add code_owner for block_structure_task
2020-11-23 12:57:13 -05:00
Robert Raposa
b8168fc46d add code_owner for block_structure_task
While adding code_owner for celery tasks in
earlier PRs, we missed `@block_structure_task()`.

ARCHBOM-1260
2020-11-23 12:18:37 -05:00
Alex Dusenbery
2204caaa6b ENT-3503 | Adds more unit tests for enterprise_support.api, and one TODO for same. 2020-11-23 11:42:36 -05:00
Robert Raposa
a3691da03b Merge pull request #25662 from edx/robrap/ARCHBOM-1260-celery-code-owner-enterprise
ARCHBOM-1260: code_owner for enterprise celery tasks
2020-11-23 10:45:34 -05:00
David Ormsbee
a333a71411 Format blackout dates to match rest of Discussions API.
Technically, both "2020-10-20T23:59:00Z" and "2020-10-20T23:59:00+00:00"
are ISO-8601 compliant, though the latter is preferred. The Discussions
API uses the "Z" notation for almost all its dates, except for the
course blackout dates (those times when students aren't allowed to post
anything because it would threaten exam integrity). That's because the
blackout dates are manually formatted using datetime.isoformat().

As best as I can tell, we've always passed back the "+00:00" for the
blackout dates. But at some point, this broke the expectations of the
mobile apps, which expect the "+Z" format, like the rest of the API.
This commit changes the blackout dates to be returned in +Z format when
the blackout datetimes are specified by the user in UTC (which is almost
always the case–I suspect the mobile clients would break if the dates
were specified in other timezones anyhow).
2020-11-23 10:30:12 -05:00
jawad khan
c46aebd6d9 converted logistration password reset views from function to DRF APIVIEW (#25582)
* converted logistration password reset views from function to DRF APIVIEW
VAN-31
2020-11-23 15:35:11 +05:00
edX requirements bot
56e2d32a83 Updating Python Requirements (#25665) 2020-11-23 11:57:12 +05:00
edX Transifex Bot
121d51dedd fix(i18n): update translations 2020-11-22 16:41:48 -05:00
Robert Raposa
be8909c415 code_owner for enterprise celery tasks
Upgrade enterprise to 3.12.3 to get code_owner
monitoring for celery tasks.

ARCHBOM-1260
2020-11-20 21:07:30 -05:00
Awais Qureshi
e1537783c8 Merge pull request #25649 from edx/awais786/upgrade-celery-fork
Adding custom fork celery with better logging.
2020-11-20 21:53:25 +05:00
Feanil Patel
1137e48467 Merge pull request #25646 from open-craft/0x29a/squash_tests_warnings
Replace 'multi_db = True' with 'databases = {alias for alias in connections}'
2020-11-20 09:53:24 -05:00
Sarina Canelake
7fd5b24dfd Merge pull request #25617 from edx/sarina/naive-datetimes
Squashing some naive datetime warnings
2020-11-20 09:02:57 -05:00
Awais Qureshi
4bf9bb53c8 Adding custom fork celery with better logging. 2020-11-20 18:02:23 +05:00
Usama Sadiq
46861ea583 Merge pull request #25656 from edx/testeng/bokchoy_auto_cache_update_79516298b1400c77f1d03ec5a881171f3bad47bc
Bokchoy Testing DB Cache update
2020-11-20 16:40:00 +05:00
edX cache uploader bot
aeb7e0ac1d Updating Bokchoy testing database cache 2020-11-20 05:46:54 -05:00
Usama Sadiq
3d8649ba9a Merge pull request #25655 from edx/jenkins/upgrade-python-requirements-75c56a6
Python Requirements Update
2020-11-20 15:31:45 +05:00
edX requirements bot
304b6dafe8 Updating Python Requirements 2020-11-19 23:46:31 -05:00
Ned Batchelder
75c56a6c8c Merge pull request #25645 from open-craft/0x29a/squash_warning
Fix imports, remove unused import
2020-11-19 19:11:02 -05:00
Tim McCormack
747b03febf Use node for running node.js tests, not nodejs (#25651)
This should solve the problem of getting `nodejs: not found` when
running `paver test_js_run -s lms` in lms-shell, which cropped up in
the past few days.

I don't know why this stopped working recently, but I don't have `nodejs`
on my recently re-created devstack, and some people with an older devstack
have both. Maybe a recent node.js release got rid of an alias.
2020-11-19 20:09:51 +00:00
Matthew Piatetsky
81705589a4 Merge pull request #25636 from edx/add_course_name_to_metadata
Add display name field to user metadata
2020-11-19 11:19:02 -05:00
Feanil Patel
b09c418d22 Merge pull request #25594 from edx/feanil/async_milestone_eval
Run subsection completion milestones task async.
2020-11-19 10:47:03 -05:00
Brandon Baker
0052c20d94 Update edx-enterprise to 3.12.2 (#25648)
Refresh enterprise catalog metadata on create and update
2020-11-19 09:57:16 -05:00
Troy Sankey
9d72a78546 Merge pull request #25630 from edx/robrap/fix-segment-error
track: catch unhandled exceptions and add monitoring
2020-11-19 09:12:37 -05:00
Robert Raposa
d984db4cb0 Merge pull request #25644 from regisb/regisb/fix-coursewaffle-monitor-value
[BD-21] Fix monitored values of CourseWaffleFlag objects
2020-11-19 09:09:55 -05:00
0x29a
8961db4f10 Fix imports, remove unused import 2020-11-19 14:37:09 +01:00
0x29a
c83a505635 Replace 'multi_db = True' with 'databases = {alias for alias in connections}'
Check this ticket for details: https://code.djangoproject.com/ticket/29513
2020-11-19 14:06:51 +01:00
Régis Behmo
fe9558035e Fix monitored values of CourseWaffleFlag objects
The monitored value was being twice namespaced, resulting in incorrect
names, such as "schedules.schedules.send_updates_for_course".
2020-11-19 10:29:08 +01:00
Usama Sadiq
124a6a1ca8 Merge pull request #25643 from edx/testeng/bokchoy_auto_cache_update_19da80816e279bb37a8c0958871cdb510cdbcbe2
Bokchoy Testing DB Cache update
2020-11-19 14:26:58 +05:00
edX cache uploader bot
e73f0a3dfc Updating Bokchoy testing database cache 2020-11-19 03:37:20 -05:00
Saleem Latif
4707077b8b Merge pull request #25640 from edx/saleem-latif/ENT-3680-fix-sandbox-builds
ENT-3702: Revert migration update as it creates more issues than it fixes.
2020-11-19 13:32:44 +05:00
edX requirements bot
2aa6d9301e Updating Python Requirements (#25638) 2020-11-19 13:02:54 +05:00
Saleem Latif
54f59bc3b4 Revert migration update as it creates more issues than it fixes. 2020-11-19 11:25:16 +05:00
Robert Raposa
186f5fbce2 track: catch unhandled exceptions and add monitoring
Add the following monitoring custom attributes:
- segment_event_name
- segment_event_source
- segment_unexpected_context
- segment_unexpected_data

Also, this explicitly raises a validation error whenever context is a
string instead of throwing a vague TypeError.

Related to LEARNER-8034
2020-11-18 21:45:00 -05:00
edX Transifex Bot
1be64fc928 geoip2: update maxmind geolite country database 2020-11-18 16:09:01 -05:00
Matthew Piatetsky
007d4b388f Add display name field to user metadata 2020-11-18 14:06:09 -05:00
Christie Rice
852d61eaff MICROBA-666 Add migration for executive education mode (#25631) 2020-11-18 13:18:27 -05:00
David Ormsbee
99021bb7c3 Merge pull request #25405 from open-craft/mavidser/se-3398-fix-activation-email-context
Include common base contexts in user activation email
2020-11-18 09:37:12 -05:00
edX cache uploader bot
bcc6a86503 Updating Bokchoy testing database cache (#25627) 2020-11-18 18:18:20 +05:00
Albert (AJ) St. Aubin
9e5071e0c3 [MICROBA-746] Improve this code to check for the availability of banner_images 2020-11-18 08:11:44 -05:00
Hammad Ahmad Waqas
e49e899f83 Merge pull request #25624 from edx/hammad/version-bump
updating to edx-enterprise==3.12.1
2020-11-18 17:42:02 +05:00
HammadAhmadWaqas
e850fd072e updating edx-enterprise==3.12.1 2020-11-18 16:30:11 +05:00
Saleem Latif
618417ccef Merge pull request #25620 from edx/saleem-latif/ENT-3680-fix-sandbox-build
ENT-3702: Fix sandbox builds, because of signal chains, UserProfile table must be present before adding a User
2020-11-18 14:34:56 +05:00