Commit Graph

56504 Commits

Author SHA1 Message Date
Usama Sadiq
0023e69b69 Merge pull request #25682 from edx/jenkins/upgrade-python-requirements-dc369b2
Python Requirements Update
2020-11-25 13:06:53 +05:00
Syed Muhammad Dawoud Sheraz Ali
4570e30583 Merge pull request #25674 from edx/dsheraz/add-custom-attrs-for-test-alerts
add course_import_failure newRelic custom attribute for better alerting conditions in import flow
2020-11-25 11:17:32 +05:00
edX requirements bot
2771658256 Updating Python Requirements 2020-11-24 23:55:20 -05:00
Kyle McCormick
dc369b22ff Set custom attribute for deprecated edx-platform imports (#25672)
Will allow us to monitor usage of old-style import paths
via NewRelic.
2020-11-24 17:17:43 -05:00
Awais Qureshi
c756a4e68a Merge pull request #25675 from edx/revert-25666-celery-logs-test
Revert "Added more logs in celery fork."
2020-11-24 21:51:42 +05:00
Awais Qureshi
36ade10347 Revert "Added more logs in celery fork." 2020-11-24 21:19:15 +05:00
DawoudSheraz
1b490d5ea4 add course_import_failure newRelic custom attribute for better alerting conditions in import flow 2020-11-24 20:45:41 +05:00
Christie Rice
d80a7786e1 MICROBA-734 Rename specific color (#25671) 2020-11-24 10:13:00 -05:00
Kyle McCormick
390d1b2d5c Fix linting as it relates to import_shims, and vice versa (#25632)
* Fix import_shims pylint violations; lint import_shims
* Do not shim imports when running pylint
* Regenerate import_shims
2020-11-24 09:36:15 -05:00
David Ormsbee
60d71b2e8c Merge pull request #25650 from edx/ormsbee/tnl-7665-blackout-dates
Format blackout dates to match rest of Discussions API.
2020-11-24 09:15:02 -05:00
Awais Qureshi
42ea257c36 Merge pull request #25673 from edx/jenkins/upgrade-python-requirements-9f239ff
Python Requirements Update
2020-11-24 18:54:36 +05:00
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
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