Commit Graph

58450 Commits

Author SHA1 Message Date
edX requirements bot
4679d33d24 Updating Python Requirements (#25039) 2020-09-22 11:48:18 +05:00
edX cache uploader bot
b664322645 Updating Bokchoy testing database cache 2020-09-21 16:52:06 -04:00
taliaedX
b1ca5625e2 Merge pull request #25033 from edx/trhodes/update_enterprise_moodle
add Moodle & update enterprise version
2020-09-21 16:47:37 -04:00
Talia Rhodes
ea889314c9 add Moodle & update enterprise version 2020-09-21 13:13:20 -04:00
Binod Pant
05f746c000 upgrade to edx-enterprise 3.8.13 (#25032) 2020-09-21 12:59:13 -04:00
Thomas Tracy
a7d7de3418 Change around POST code for demographics modal (#25019)
* Change around POST code for demographics modal

CSRF tokens were not working on stage when the user does not have an
entry in the demographics db when using the modal. This restructures the
code a bit and hopefully fixes the problem.

* Remove logs

* Rework things into smaller digestable functions
2020-09-21 12:56:06 -04:00
Alex Dusenbery
4ad2df083d Ensure that get_enterprise_learner_portal_enabled_message() returns None when there is no associated enterprise customer for the given request. Add unit tests for this function. 2020-09-21 12:47:00 -04:00
Brandon Baker
81dc85503b Upgrade enterprise to 3.8.12 (#25031)
Fixes styling issues
2020-09-21 12:25:39 -04:00
Feanil Patel
ddcf31c5ad Merge pull request #25009 from edx/feanil/fix_flaky_test
Fix a flaky test by freezing time in the right spot.
2020-09-21 12:15:28 -04:00
edX cache uploader bot
f943891177 Updating Bokchoy testing database cache (#25029) 2020-09-21 19:56:42 +05:00
Ned Batchelder
746646ee9c Merge pull request #25016 from open-craft/gabor/correct-lms-cms-config-file-names
Replace all .(lms|cms).(\w+|_)?\.json to .(lms|cms).(\w+|_)?\.yml
2020-09-21 10:12:46 -04:00
Omar Al-Ithawi
fc0eb71918 Add USER_ACCOUNT_ACTIVATED signal (#23296)
Plugins can listen to USER_ACCOUNT_ACTIVATED signal to perform custom logic.
2020-09-21 09:57:32 -04:00
Ahtisham Shahid
cf735e411d New vs Old Data-Download UI. (#24840)
Created new UI for Data download in instructors dashboard

Co-authored-by: Awais Jibran <awaisdar001@gmail.com>
2020-09-21 17:25:47 +05:00
Usama Sadiq
8e813ab7e8 Merge pull request #25026 from edx/revert-25024-jenkins/upgrade-python-requirements-172d963
Revert "Python Requirements Update"
2020-09-21 17:03:17 +05:00
Awais Qureshi
31c1e55f6f Revert "Python Requirements Update" 2020-09-21 16:07:02 +05:00
Shadi Naif
6c65e10826 Avoid processing unavailable tabs in instructor dashboard 2020-09-21 12:16:28 +03:00
Shadi Naif
03c344f005 Remove unused InstructorAnalytics from JS file 2020-09-21 12:16:28 +03:00
Ahtisham Shahid
986a448d9e Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils (#25010)" (#25025)
This reverts commit ba9ee4e151.

Fixed Style lint issue
2020-09-21 13:48:00 +05:00
Usama Sadiq
c018d6d1a4 Merge pull request #25024 from edx/jenkins/upgrade-python-requirements-172d963
Python Requirements Update
2020-09-21 13:03:09 +05:00
edX requirements bot
a9cb74c9bf Updating Python Requirements 2020-09-21 00:55:48 -04:00
edX Transifex Bot
172d963635 fix(i18n): update translations 2020-09-20 17:33:24 -04:00
Gábor Boros
210f9c6ace refactor(lms): Update migrations to use lms.yml in the help text 2020-09-19 11:57:24 +02:00
Troy Sankey
87911ab990 Merge pull request #25021 from edx/pwnage101/add-traces-to-courselistview
Add some tracing to the CourseListView endpoint
2020-09-18 20:22:33 -04:00
Troy Sankey
98b19dd125 Add some tracing to the CourseListView endpoint 2020-09-18 18:28:00 -04:00
Troy Sankey
b111d05149 Merge pull request #25011 from edx/pwnage101/email-optin-treats-course-list-as-override
email opt-in mgmt command: Disable the course lookup if a list is provided
2020-09-18 13:28:28 -04:00
Tim McCormack
ea0c19066e Rename metric -> attribute in courseware New Relic code 2020-09-18 15:03:13 +00:00
Sid Verma
72b4afe465 Add ADR for content library indexes 2020-09-18 10:25:59 -04:00
Sid Verma
67f3c0343f Simplify and optimize index searching 2020-09-18 10:25:59 -04:00
Sid Verma
f2ed54d72c Add filtering support for list_library_blocks API 2020-09-18 10:25:59 -04:00
Sid Verma
3233fa92d4 Index xblocks in elasticsearch 2020-09-18 10:25:59 -04:00
Sid Verma
735bc412d4 Add elasticsearch tests 2020-09-18 10:25:59 -04:00
Sid Verma
78045115ab Add filtering and search support to library APIs 2020-09-18 10:25:59 -04:00
Tim McCormack
328e790e8a Rename CookieMetricsMiddleware to CookingMonitoringMiddleware
This fixes a misuse of New Relic terminology. Here we are in fact using
custom attributes; custom metrics are a different thing that we may start
using in the future.
2020-09-18 14:25:50 +00:00
Alex Dusenbery
4bb1914ec6 ENT-3367 | Show at most 1 Enterprise Learner Portal dashboard link in the header user-menu. Also, guard against no branding config when getting learner portal data. 2020-09-18 10:23:32 -04:00
Tim McCormack
ba9ee4e151 ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils (#25010)
This uses the new names introduced in edx-django-utils
3.8.0 (edx/edx-django-utils#59), which we're already using, as
well as updating a few other locations where we incorrectly refer
to New Relic custom metrics instead of custom attributes.

Includes a couple of unrelated lint fixes in a file I modified.
2020-09-18 13:33:50 +00:00
M. Zulqarnain
f037767cb4 Upgrade django-ses (#25004) 2020-09-18 16:32:39 +05:00
Ali Akbar
4c3638a25f Merge pull request #25005 from edx/aakbar/PROD-2114
disable xsslint
2020-09-18 15:09:18 +05:00
Gábor Boros
6ccd6c308d docs(lms and studio): Replace all .(lms|cms).(\w+|_)?\.json to .(lms|cms).(\w+|_)?\.yml 2020-09-18 10:44:14 +02:00
edX requirements bot
8f3393d96c Updating Python Requirements (#25014) 2020-09-18 10:55:25 +05:00
Troy Sankey
212d17bbf3 email opt-in mgmt command: Disable the course lookup if a list is provided
This is cherry-picked verbatim from
zafft/analytics-exporter-settings-hotfix (#18530).  I'm fear that
without merging these changes upstream, a larger set of courses will be
consdiered for processing, and that would alter the behavior of the
analytics-email-optin-* jobs.
2020-09-17 17:34:24 -04:00
Zachary Hancock
33f6d77f31 Alert banner for proctoring settings error (#24960) 2020-09-17 14:15:34 -04:00
Feanil Patel
90bc2ffdab Merge pull request #24815 from regisb/regisb/document-feature-toggles
[BD-21] Document feature toggles
2020-09-17 13:46:46 -04:00
Feanil Patel
5e56621aeb Fix a flaky test by freezing time in the right spot.
The test was only freezing time for the first two calls to password reset
which meant that sometimes the last call to reset password was far enough
in the future to not be affected by the rate limiting.

We move the freeze_time context manager to outside of all the password
reset calls to make things more reliable.
2020-09-17 13:43:30 -04:00
Jeff Chaves
282f33a603 bumping enterprise version (#25008) 2020-09-17 12:58:02 -04:00
Michael Terry
8e1ea3e536 Merge pull request #24987 from edx/mikix/subsection-ora-cutoff
AA-335: Avoid due dates for ORA subsections
2020-09-17 10:57:56 -04:00
Michael Terry
0c9efb793c AA-335: Avoid due dates for ORA subsections
Previously, we'd been avoiding PLS due dates for ORA *sections*.
That is, if a section had only ORA content, we'd not set a PLS
due date for anything in that section.

If any content in that section had non-ORA graded content however,
we would set dates on all subsections, including the ORA one.

This resulted in some ORA-only subsections showing up twice on the
dates tab. So this patch simply brings down the ORA-only check
to a *subsection* level, not a section one.
2020-09-17 10:10:06 -04:00
Thomas Tracy
2bac015648 Add CSRF to post requests to demographics (#24999)
* Add CSRF to post requests to demographics

* Reorganize code
2020-09-17 09:35:02 -04:00
Ali-D-Akbar
edf5c88b8f disable xsslint 2020-09-17 16:34:17 +05:00
HammadAhmadWaqas
30edb7ef50 catch signal UNENROLL_DONE signal and call /api/v2/enterprise/coupons/create_refunded_voucher/ API. 2020-09-17 15:39:13 +05:00
edX requirements bot
b3787fef87 Updating Python Requirements (#25002) 2020-09-17 14:55:56 +05:00