Christopher Lee
52d2b2de74
Add namespaced_name to WaffleSwitch
2018-06-19 13:51:19 -04:00
Brian Mesick
3434c0f59b
Merge pull request #18372 from edx/bmedx/retirement_reporting_queue
...
Add retirement partner reporting queue and APIs
2018-06-18 17:24:13 -04:00
bmedx
8fbe12e4cc
Add retirement partner reporting queue and APIs
2018-06-18 16:22:02 -04:00
Christopher Lee
b8028163d3
Merge pull request #18384 from edx/clee/anonbasketcalc
...
Add switch to always calculate program price as anon user
2018-06-18 13:43:13 -04:00
christopher lee
56f83b5704
Add switch to always calculate program price as anon user
...
LEARNER-5555
2018-06-18 12:33:40 -04:00
Jeff LaJoie
b07374ed39
LEARNER-5050: Adds award course cert job to post to Credentials
2018-06-18 08:54:58 -04:00
Eric Fischer
e72549cdbe
Revert "Merge pull request #18340 from cpennington/fix-studio-xblock-rendering"
...
This reverts commit 9a70ca78a5 , reversing
changes made to efd5b9abbd .
Hopefully fixes EDUCATOR-3053
2018-06-15 13:18:27 -04:00
Kshitij Sobti
8f364f8139
Add tests to correct location
2018-06-14 18:59:05 +05:30
Kshitij Sobti
d45636e2e1
Update tests
2018-06-14 18:59:05 +05:30
John Hensley
8f5205c768
Refactor search error messaging
2018-06-14 18:59:05 +05:30
John Hensley
df09765ee1
Address eslint complaints
2018-06-14 18:59:05 +05:30
John Hensley
cc8f36a94f
Make response.responseJSON check still more robust
2018-06-14 18:59:05 +05:30
John Hensley
7980b24350
Do not assume response.responseJSON
2018-06-14 18:59:05 +05:30
John Hensley
1bb7db9925
Improve search error messages
...
When a more specific error message is available from the search backend,
show the user that instead of a blanket "There was an error, try
searching again."
In github.com/edx/edx-search, we're proposing removing quotes from the
list of reserved characters in Elastic search terms. This enables
searching for exact phrases, but also introduces the possibility of
malformed queries. In those cases, it would be nice to give the user a
hint that they need to change their query, instead of simply trying the
same one again.
2018-06-14 18:59:05 +05:30
Nimisha Asthagiri
62266fd936
Merge pull request #18325 from edx/hack/course-validation-api
...
Course Validation and Course Quality APIs
2018-06-13 21:33:22 -04:00
Nimisha Asthagiri
8db2dd47dd
Course Validation and Course Quality APIs
2018-06-13 20:33:45 -04:00
Calen Pennington
9a70ca78a5
Merge pull request #18340 from cpennington/fix-studio-xblock-rendering
...
Fix studio xblock failing renders (due to asset hashing loop)
2018-06-13 15:58:34 -04:00
bmedx
50c46fd9d9
Remove now-unused django_db_models_options.py
...
Code that actually used it was removed in this commit:
26b4e30833 (diff-8d36006736e42cad141490ae17f58a89)
2018-06-11 13:43:09 -04:00
Adeel Khan
7768dd1de3
Ratelimiting registration form validation end point.
...
This patch would ratelimit registration form validation
endpoint for anonymous user based on his/her ip.
LEARNER-3810
2018-06-08 14:45:15 +05:00
Calen Pennington
be3c7e05c5
Reapply "Switch container factory to webpack"
...
This reverts commit 18d93b00ba .
2018-06-07 15:52:05 -04:00
Calen Pennington
18d93b00ba
Revert "Switch container factory to webpack"
2018-06-07 13:46:47 -04:00
Michael Youngstrom
d6616c9036
Add require_https to all is_safe_url calls
2018-06-07 10:10:28 -04:00
Brian Mesick
ca0ec641db
Merge pull request #18329 from edx/bmedx/is_safe_url_allowed_hosts
...
Change usages of is_safe_url to use new allowed_hosts instead of host
2018-06-07 10:06:40 -04:00
Tyler Hallada
01191e34a5
Merge pull request #18324 from edx/thallada/PLAT-1746-format-lazy
...
PLAT-1746: Use Django 1.11 format_lazy instead of allow_lazy
2018-06-06 15:09:43 -04:00
Calen Pennington
f7038db3a3
Merge pull request #18290 from cpennington/switch-container-factory-to-webpack
...
Switch container factory to webpack
2018-06-06 14:42:57 -04:00
bmedx
29ad5fce6f
Change usages of is_safe_url to use new allowed_hosts instead of host
...
"host" parameter is deprecated and throws a warning
2018-06-06 14:41:52 -04:00
Brian Mesick
3eb5e432e5
Merge pull request #18322 from edx/bmedx/remove_sessionauthenticationmiddleware
...
Remove SessionAuthenticationMiddleware from INSTALLED_APPS
2018-06-06 14:09:20 -04:00
Calen Pennington
85a375a38f
Add webpack assets directly to xmodule fragments, rather than injecting them in fragment contents
2018-06-06 12:52:12 -04:00
Calen Pennington
0abe75a7c6
Re-apply the changes to convert XBlocks to Webpack
...
Reapplies edx/edx-platform#17509
This reverts commit 0f7e2373d0 .
2018-06-06 12:52:12 -04:00
Brian Mesick
832f6a7157
Merge pull request #18320 from edx/bmedx/remove_111_test_marks
...
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 11:15:26 -04:00
Michael Youngstrom
f4dc2ca000
Merge pull request #18314 from edx/youngstrom/remove_django_18_shim
...
Remove temp django upgrade logic
2018-06-06 11:09:17 -04:00
Tyler Hallada
8b0de593a1
Use Django 1.11 format_lazy instead of allow_lazy
2018-06-06 11:07:35 -04:00
bmedx
2ca632aec9
Remove SessionAuthenticationMiddleware from INSTALLED_APPS
...
It is always on now, and this is just a deprecated stub which will be
removed in Django 2.0.
2018-06-06 10:47:57 -04:00
Tyler Hallada
1f42d1b384
Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
...
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Michael Youngstrom
26b4e30833
Remove django 1.8 shim
2018-06-06 10:34:56 -04:00
bmedx
c125ff6a57
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 09:58:38 -04:00
Bill DeRusha
890f7c5a5e
Merge pull request #18311 from edx/bderusha/pw-rollout-copy-change
...
Update copy for password compliance message to be more clear.
2018-06-06 09:12:01 -04:00
Waheed Ahmed
23d1beedf7
Merge pull request #18285 from edx/waheed/LEARNER-4520-fix-pdf-certificates
...
Fix PDF cert gereration/regeneration and URLs.
2018-06-06 15:36:52 +05:00
Tyler Hallada
1540f9ec72
Add on_delete kwarg to ForeignKey & OneToOneFields
...
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.
The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -04:00
Bill DeRusha
40b46d04c1
Update copy for password compliance message to be more clear.
2018-06-05 16:26:57 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Cole Rogers
623cb0d6ae
Removed GDPR flag and its functionality
2018-06-04 10:25:37 -04:00
Zia Fazal
66c7159cf6
Merge pull request #17362 from caesar2164/allow-about-sidebar-content-from-instructor
...
Add custom HTML to Course About page sidebar
2018-06-04 09:41:52 +05:00
Giulio Gratta
56ac149962
Add custom HTML to Course About page sidebar
...
This allows course staff to add arbitrary HTML to the sidebar on the About page.
A waffle switch has been added in the course_experience app to allow enabling and disabling of this feature.
2018-06-01 14:26:05 -04:00
Michael Terry
27a2b8f676
Only get program certs from credentials
...
Allow our utility function to filter out course certs when asking
Credentials for a list of certificates. This way once we start
handing back course certs, the LMS won't be surprised by
assumptions about what the credentials service will give back.
2018-06-01 12:53:18 -04:00
Diana Huang
8adcff938a
Add new notification email.
2018-05-31 16:05:32 -04:00
Waheed Ahmed
baf3e594be
Fix PDF cert gereration/regeneration and URLs.
...
Since cert_html_view_enabled is deprecated and set default true,
PDF certificates are not appearing for learners and staff also
unable to regenerate them.
LEARNER-4520
2018-05-31 15:45:31 +05:00
Waheed Ahmed
bc358b89de
Add program UUID in cache key instead passing as resource id.
...
LEARNER-5373
2018-05-31 01:22:17 +05:00
Waheed Ahmed
e7963a5b40
Pass program UUID as resource_id to generate unique cache key.
...
Without program UUID cache key was same every time for single learner
on multiple programs and getting the same data from cache.
LEARNER-5373
2018-05-30 16:20:45 +05:00
Zia Fazal
90633c0956
Merge pull request #17974 from edx/ziafazal/WL-1239
...
WL-1239: Ability to gate section based on completion percentage
2018-05-30 12:52:43 +05:00