Commit Graph

58450 Commits

Author SHA1 Message Date
Feanil Patel
72ea1b7d4f Revert "Increase requests limit for logistration rate limit."
This reverts commit a1c018823d.
2020-05-21 11:40:47 -04:00
Carla Duarte
f8963fe11e Merge pull request #24016 from edx/ciduarte/AA-152
AA-152: Course Start Date for PLS
2020-05-21 08:56:33 -04:00
adeelehsan
cc3d3aa4ab Merge pull request #24023 from edx/aehsan/PROD-1610/fixed_xss_lint_issues
Fixed lint issues
2020-05-21 17:45:43 +05:00
adeelehsan
98590dbddf Fixed xss lint issues
PROD-1609
PROD-1610
PROD-1614
PROD-1615
PROD-1616
2020-05-21 17:22:32 +05:00
Waheed Ahmed
a1c018823d Increase requests limit for logistration rate limit. 2020-05-21 17:05:19 +05:00
Peter Pinch
d952cb2c8b ADR for Sysadmin Dashboard status quo 2020-05-21 07:48:01 -04:00
Waheed Ahmed
74bc970edc Rate limit logistration endpoints.
PROD-1506
2020-05-21 13:45:48 +05:00
Awais Jibran
2d2015f463 Merge pull request #23981 from edx/aj/details/code-refactor
Code Refactor
2020-05-21 13:18:50 +05:00
Waheed Ahmed
c7f4e16470 Fix XSS lint issues for course_cta_text
PROD-1602
2020-05-21 12:51:07 +05:00
jinder1s
6b8ebd5a8d Code Refactor 2020-05-21 10:19:14 +05:00
edX Transifex Bot
ead8e35b5e geoip2: update maxmind geolite country database 2020-05-20 16:59:46 -04:00
atesker
11b891a2ba Bump ORA2 to 2.7.6 2020-05-20 15:16:40 -04:00
Carla Duarte
8b376e271c AA-152: Course Start Date for PLS
Updated the displayed start date for a learner in a self paced course
that appears in the Learner Dashboard and the Dates tab.
Used the max of the course start date and the learner's enrollment date.
2020-05-20 13:18:31 -04:00
Ahtisham Shahid
1e103b2fdd Merge pull request #23996 from edx/ahtisham/PROD-1540
Fixed Import error due to pre tag
2020-05-20 21:56:34 +05:00
edX requirements bot
2038a0176e Updating Python Requirements (#24035) 2020-05-20 16:23:16 +00:00
Ben Warzeski
ee6eac546b Test non-ascii utf-8 character team member name upload. (#24009)
* remove old_format reference in teams config

* validate uploaded character values for team csv upload

Co-authored-by: Ben Warzeski <benwarzeski@edX-C02CD0HCLVDM.cable.rcn.com>
2020-05-20 12:13:27 -04:00
Jeff LaJoie
e256b4f56e Merge pull request #24036 from edx/jlajoie/AA-164
AA-164: Performance fixes for course home
2020-05-20 11:11:16 -04:00
Jeff LaJoie
efa7b3b816 AA-164: Performance fixes for course home 2020-05-20 10:09:41 -04:00
Ben Warzeski
1703a88d46 remove old_format from team config tests (#24010)
* remove old_format from team config tests

* remove old format from teams_config

Co-authored-by: Ben Warzeski <benwarzeski@edX-C02CD0HCLVDM.cable.rcn.com>
2020-05-20 08:56:46 -04:00
Alex Dusenbery
30e609f6cf Revert "Updating Python Requirements (#24024)" (#24032)
This reverts commit 1d7ff32af0.
2020-05-20 08:07:27 -04:00
Ahtisham Shahid
675721aa0e fixed linter issue 2020-05-20 15:04:08 +05:00
Ahtisham Shahid
7110b45e85 fixed linter issue 2020-05-20 14:40:56 +05:00
Ahtisham Shahid
4f5496f02c Fixed Import error due to pre tag
Fixed regex for nested pre tags

Updated import export test

fixed quality test issue

fixed No exception type(s) specified

updated tests

fixed linter issue

fixed linter issue

fixed linter issue
2020-05-20 13:17:53 +05:00
Guruprasad Lakshmi Narayanan
a7bd0050a6 Log the username to help with investigating the edge cases 2020-05-20 13:07:57 +05:30
Guruprasad Lakshmi Narayanan
c739151a27 Select children again when current children don't match the selections
This prevents errors when the current children do not match the
selected children any more.
2020-05-20 13:07:57 +05:30
Guruprasad Lakshmi Narayanan
5a2b607ea6 Fix the order randomization behaviour of Randomized Content Block
The Randomized Content Block XBlock only randomizes the selection of
the children blocks and has unpredictable randomization of
the order of the selected child blocks due to the usage of sets, which
are unordered, for storing the selected blocks. This becomes apparent
when all the available child blocks in a library are chosen for a
Randomized Content Block, to randomize just the order of the child
blocks and not just the selection of the blocks. The order of the
selected blocks ends up being similar for multiple learners.

This change modifies the XBlock to store the selected child blocks in
a list, instead of a set, after randomly shuffling them.
2020-05-20 13:07:57 +05:30
Jeff Chaves
9189daeb58 bumping enterprise version (#24031) 2020-05-19 18:43:32 -04:00
stvn
17d1391f8f Add HTTP GET endpoint for masquerade
to inquire about active and available options.

This is to be used, at least initially, by the new Courseware
Experience, the Learning MFE.
2020-05-19 14:59:07 -07:00
stvn
4125ae0e23 Merge PR #24012 add/masquerade
* Commits:
  Add is_staff check to masquerade POST
  Convert masquerade view to class-based
2020-05-19 14:44:15 -07:00
stvn
69417396aa Add is_staff check to masquerade POST 2020-05-19 13:55:37 -07:00
stvn
5bf38f5416 Convert masquerade view to class-based 2020-05-19 13:55:37 -07:00
Ned Batchelder
9c721d78c5 Merge pull request #24026 from open-craft/kshitij/cri-174/fix-lti
[CRI-174] [BB-2402] Fix LTI issues due to duplicated Content-Length header
2020-05-19 16:21:02 -04:00
Dillon Dumesnil
97af77e785 Merge pull request #23902 from edx/ddumesnil/dates-external-api-AA-115
AA-115: Adding external API for dates tab
2020-05-19 13:01:50 -07:00
Calen Pennington
d90a139259 Only add PLS dates to graded sections that have scored, non-ORA content. 2020-05-19 15:47:10 -04:00
Dillon Dumesnil
7cd821b52e AA-115: Adding external API for dates tab
This adds in the API for the Dates Tab for use by the
Course Home MFE.
2020-05-19 12:35:43 -07:00
Ben Warzeski
d357ec9b7b remove old format from teams_config 2020-05-19 15:34:38 -04:00
Kshitij Sobti
746eeb1383 Fix LTI issues due to duplicated Content-Length header 2020-05-19 23:16:42 +05:30
edX requirements bot
1d7ff32af0 Updating Python Requirements (#24024) 2020-05-19 17:42:22 +00:00
Diane Kaplan
e1c6801d85 Hide financial assistance link for two cases 2020-05-19 12:45:44 -04:00
Jeremy Bowman
47d15ff1a8 Update tested versions of Python and Django (#24006)
Cleaned up a few more things about the testing configuration now that we've deployed Django 2.2 to production:

* Go back to a single version of django-oauth-toolkit, tox doesn't need to vary it anymore
* Go back to PyPI release of django-method-override
* Remove no longer needed dependency on python-oauth2 (we already removed the package it was used by)
* Update prepare_xdist_nodes.sh with new Django requirements file options
2020-05-19 12:19:20 -04:00
atesker
cfff2a86aa EDUCATOR-5053 2020-05-19 12:07:05 -04:00
Jeremy Bowman
5077479959 Remove shoppingcart code from courseware index page (#23977)
Remove code from the courseware index page that was only relevant if the shopping cart was enabled.
2020-05-19 11:11:34 -04:00
Aura Milena Alba
04802d2d72 Remove pattern library of programs.html (#23951) 2020-05-19 09:33:24 -04:00
Uzair Rasheed
435888ce5f Merge pull request #23834 from edx/restrict-api-to-staff
Restrict api to staff users
2020-05-19 18:25:10 +05:00
uzairr
39b4a3f4a7 Restrict api to staff users 2020-05-19 17:22:50 +05:00
adeel khan
5e5cbd871d Merge pull request #23794 from edx/adeel/prod_1363_course_program_certificate_improvements
Optimization
2020-05-19 17:20:01 +05:00
Adeel Khan
3e987cfe76 Optimizing notify_credentials management command
** This removes some of the extra
   celery calls to credential service for
   updating grade when a certificate is updated.

** This removes extra db calls
   by reusing existing queryset values.

PROD-1363
2020-05-19 16:43:38 +05:00
edX requirements bot
4bee41773c Updating Python Requirements (#24014) 2020-05-18 09:53:02 -04:00
Ned Batchelder
68aceff860 Merge pull request #23968 from edx/nedbat/docs-progress
Update swagger.yaml, fix some markup errors
2020-05-16 14:50:35 -04:00
Jeff Chaves
5b42995227 make upgrade to bump edx-enterprise version (#24013) 2020-05-15 18:32:33 -04:00