David Ormsbee
72ed987dff
Enable model-caching of discussions ID mapping.
...
Doing modulestore lookups is expensive, so commit 695b036 created a
course_publish listener that would materialize the discussion ID to
XBlock usage key mapping into the CourseDiscussionSettings model.
However, the signal wasn't hooked up to the Studio process, so that
async task was never called. When hooking it up, I also discovered that
bok choy tests related to partitioning were failing because of a race
condition where multiple processes are overwriting the discussion
settings. To make sure this wasn't an issue, I moved the mapping to
its own table.
This is part of ARCH-111, and the overall Course Structures API
deprecation.
2018-06-13 08:21:08 -04:00
Robert Raposa
50f36603f5
Merge pull request #18346 from edx/clee/trottle3
...
Change waffle flag for enrollment throttle to switch
2018-06-08 17:11:33 -04:00
christopher lee
443aa7977c
Change waffle flag for enrollment throttle to switch
2018-06-08 15:07:26 -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
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
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
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
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
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
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
Asad Iqbal
1a4ef62f15
Merge pull request #18256 from edx/asadiqbal08/ENT-692
...
[ENT-692] Change the log level from Warning to Info
2018-06-04 11:00:52 +05:00
asadiqbal
30db538e3a
Change the log level to info
2018-05-31 19:43:11 +05:00
Ahsan Ul Haq
783aca5559
Merge pull request #17042 from raccoongang/dgamanenko/fix_username_missing_field
...
Fix "admin/auth/user/add "username" missing field.
2018-05-31 14:22:36 +05:00
Zia Fazal
b74cbfb85a
Merge pull request #18255 from edx/ziafazal/WL-1388
...
WL-1388: Added a base MessageType for ace
2018-05-30 11:14:04 +05:00
Calen Pennington
0f7e2373d0
Revert "Switch container factory to webpack"
2018-05-29 16:01:38 -04:00
Calen Pennington
6c8e0842cc
Merge pull request #17509 from cpennington/switch-container-factory-to-webpack
...
Switch container factory to webpack
2018-05-29 14:27:38 -04:00
Calen Pennington
04a5d3c7c6
Wait for specific javascript variables rather than requirejs loading on the unit page
2018-05-29 12:21:47 -04:00
Calen Pennington
5474ec0a8f
Wait for the sock to be ready as a proxy for the Studio header being ready
2018-05-29 12:21:47 -04:00
Calen Pennington
79cd02b001
Convert edit_tabs factory to webpack
2018-05-29 12:21:46 -04:00
Calen Pennington
ee6360543b
Convert webpackified factories to es6 modules with global exports, and remove the invoke_page_factory pattern
2018-05-29 12:21:46 -04:00
Calen Pennington
f557bad5a3
Wait for MathJax for tests, rather than MathJax.isReady
2018-05-29 12:19:05 -04:00
Amir Qayyum Khan
2f7643f7d8
more reforting
2018-05-25 15:50:05 +05:00
Amir Qayyum Khan
594a7c4ac6
throwing exception when user has conflict with username or email
2018-05-25 15:50:05 +05:00
Amir Qayyum Khan
92e224f002
Fixed code to include special characters in username
2018-05-25 15:50:05 +05:00
Zia Fazal
f2ea2ca360
Added a base MessageType for ace
...
added unit tests
updated edx-ace version
fixed quality violations
Fixed quality violations
Changed ACEMessageType to BaseMessageType
2018-05-25 10:52:33 +05:00
Christopher Lee
ac6ddd8473
Merge pull request #18224 from edx/clee/addthrottletest
...
Added enrollment API test for throttle rates
2018-05-23 09:37:32 -04:00
Albert (AJ) St. Aubin
842afd5056
Merge pull request #18241 from edx/aj/LEARNER-5145
...
Added credit as an option to change_enrollment command
2018-05-22 08:43:40 -04:00
Albert St. Aubin
1b72974fb8
Added credit as an option to change_enrollment command
2018-05-21 13:14:14 -04:00
Omar Al-Ithawi
73af914cfc
Use edx-ace for password reset email
2018-05-21 09:49:14 -04:00
Troy Sankey
6872671436
Merge pull request #18136 from edx/pwnage101/registration-with-half-retired-user-email
...
Disallow registration when the proposed email is retired
2018-05-18 16:53:30 -04:00
christopher lee
2e3534019f
Added enrollment API test for throttle rates
...
LEARNER-5287
2018-05-18 15:56:43 -04:00
Troy Sankey
a7ecfe1cd3
Fixup! refactor email_exists, and handle many more cases
2018-05-18 15:34:35 -04:00
Dmitry Gamanenko
7992d43009
Merge branch 'master' of https://github.com/edx/edx-platform into dgamanenko/fix_username_missing_field
2018-05-18 09:46:24 +03:00
Jillian Vogel
8b9b158adb
Fixes test failures
...
(cherry picked from commit 4af929fb8b )
2018-05-18 09:33:23 +09:30
Jillian Vogel
37ed10103c
Shows the account activation message in the main content area
...
if HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED is enabled.
(cherry picked from commit 761acdfc6d )
2018-05-18 09:33:16 +09:30
Jillian Vogel
306b49c36d
Adds EMPTY_DASHBOARD_MESSAGE Site Configuration flag
...
When set, displays the configured text/markup under "You are not enrolled in any courses yet."
Adjusts left/right padding on .empty-dashboard-message to keep our extra message from hitting the sides.
(cherry picked from commit e417c5f8c2 )
2018-05-18 09:33:09 +09:30
Jillian Vogel
d489ffe7ad
Adds HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED
...
Site Configuration and feature flag
When set, it hides the Courses list on the Learner Dashboard page if the
learner has not yet activated their account.
(cherry picked from commit 22ee400b15 )
2018-05-18 09:33:02 +09:30
Jillian Vogel
d585294f50
Shows the account activation message in the sidebar
...
and removes the DISPLAY_ACCOUNT_ACTIVATION_MESSAGE_ON_SIDEBAR flag, since this
feature is now always on.
Marks the top banner as deprecated.
(cherry picked from commit b44114d171 )
2018-05-18 09:32:54 +09:30
Michael Youngstrom
e8f6d20119
Revert "Learner Dashboard improvements to assist with the Account Activation process"
2018-05-17 14:55:35 -04:00
edx-pipeline-bot
1250f41e85
Merge pull request #18225 from edx/release-mergeback-to-master
...
Merge release back to master
2018-05-17 14:15:25 -04:00
Albert (AJ) St. Aubin
1bb20d2922
Merge pull request #15464 from open-craft/jill/empty-dashboard-message
...
Learner Dashboard improvements to assist with the Account Activation process
2018-05-17 12:45:02 -04:00
christopher lee
30c3a39de0
Fix throttle rate for 'staff' user
2018-05-17 11:15:27 -04:00
Troy Sankey
232b359258
Fixup! pivot to treating retired emails as banned forever
2018-05-16 16:44:02 -04:00
Troy Sankey
e9276ba246
Disallow registration when the proposed email is half-retired
...
Our learner retirement implementation shall allow re-use of email
addresses, but we currently do not disallow re-use of emails for
learners whose retirement is still in-progress (i.e. their retirement
state is between PENDING and LMS_COMPLETE inclusive).
The time between a user initiating retirement, and the jenkins job
actually picking up the user and driving their account retirement might
be as long as 1 hour, so this is a serious concern.
Addresses EDUCATOR-2824.
2018-05-16 16:44:02 -04:00
christopher lee
1310e2f132
Clean up enrollment rate limit waffles
...
LEARNER-5038
2018-05-16 12:57:46 -04:00
Ahsan Ulhaq
795222adbc
Unpublished course run displaying in entitlements
...
LEARNER-5247
2018-05-15 17:58:13 +05:00
J Eskew
62865599c7
Merge pull request #18154 from edx/jeskew/add_model_for_retired_users
...
Refuse password reset for retired users.
2018-05-14 13:02:53 -04:00