Calen Pennington
c9ed838991
Merge pull request #19642 from cpennington/fbe-improve-course-api-performance
...
Allow courses api to return data incrementally
2019-01-25 11:31:24 -05:00
Calen Pennington
a842921e1f
Cache org-site lookups in the RequestCache
2019-01-25 10:30:09 -05:00
Calen Pennington
a3541d6e46
Allow courses api to return data incrementally
...
Prior to this commit, the course api (/api/courses/v1/courses/)
performed all the work necessary to return all courses available
to the user, and then only actually returned on page's worth of those
courses.
With this change, the api now does the work incrementally, computing
only the data needed to fetch the courses up to and including the page
being returned. This still increases approximately linearly as
the page number accessed being increases, but should be more cache-friendly.
One side effect of this is that the max_page reported by pagination
will be an overestimate (it will include pages that are removed due
to a users access restrictions).
This change also changes the sort-order of courses being returned by the
course_api. By sorting by course-id, rather than course-number, we
can sort in the database, rather than in Python, and defer loading data
from the end of the list until it is requested.
REVMI-90
2019-01-25 10:30:09 -05:00
nadeemshahzad
bc09bdf35a
Move award program certificates tasks to background_process queue (OPS-3687)
2019-01-25 12:47:46 +00:00
Stu Young
4e1a3b05df
Revert "Move award program certificates tasks to background_process queue (OPS-3687)"
2019-01-24 11:37:42 -05:00
nadeemshahzad
97dd3763d3
move program certificates tasks to background_process queue
2019-01-23 14:13:33 +00:00
Saleem Latif
46d97caa47
Consolidate recovery assistance forms
2019-01-22 15:09:11 +05:00
Ned Batchelder
48ac13e73e
Merge pull request #19591 from cclauss/print_function
...
Use print() function in both Python 2 and Python 3
2019-01-16 17:59:11 -05:00
Ned Batchelder
1e5c753807
Fix quality violations
2019-01-16 08:44:56 -05:00
cclauss
b0c4c0c5f9
remove redundant backslashes in between brackets
2019-01-16 03:46:04 +01:00
Calen Pennington
454acb492b
Merge pull request #19578 from cpennington/fbe-group-configurations
...
Fix Studio Group Configurations for courses with FBE Enabled
2019-01-14 14:20:25 -05:00
Brian Mesick
72fa00050a
Merge pull request #19571 from open-craft/jill/dot-app-cmd
...
SE-614 Adds optional args to create_dot_application command
2019-01-14 14:12:39 -05:00
Calen Pennington
bc32819ce0
Fix Studio Group Configurations for courses with FBE Enabled
...
This prevents the Feature-Based Enrollments groups from showing
in Group Configurations unless the studio_override_enabled flag
is enabled. It also fixes a bug where FBE group configurations were
displaying usage as though they were Track-based group configurations.
REVMI-78
2019-01-14 13:16:57 -05:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
Matthew Piatetsky
e1fd793e86
Merge pull request #19560 from edx/REVMI-2
...
add informational banners when masquerading as user who would not have access due to start date
2019-01-10 13:48:29 -05:00
Matthew Piatetsky
5bb56fe45f
add informational banners when masquerading as user who would not have access due to start date
2019-01-10 11:06:30 -05:00
Jillian Vogel
f1a65c588a
Adds optional args to create_dot_application command
...
Allows for the creation of public applications, and the passing of the
client_id or client_secret to the command, e.g. from a configuration playbook
2019-01-10 20:18:18 +10:30
Diana Huang
15759c2b2f
Merge pull request #19420 from edx/diana/remove-datadog
...
Remove all references to datadog from our code.
2019-01-09 09:07:22 -05:00
Saleem Latif
2c9021e480
Make sure only active AccountRecovery records are used
2019-01-09 16:33:12 +05:00
Diana Huang
6572d99e76
Remove all references to datadog from our code.
2019-01-08 15:41:24 -05:00
Jeremy Bowman
d0d6d57343
TE-2731 Upgrade to pytest-cov 2.6.1
2019-01-08 11:05:45 -05:00
Bill Filler
c253374372
Conditionalize track selection based on settings of course duration and content gating
2019-01-07 09:47:37 -05:00
Asad Iqbal
987192332a
Merge pull request #19475 from edx/asadiqbal08/ENT-1359
...
asadiqbal08/ENT-1359 Verification by email of recovery address.
2019-01-01 15:20:57 +05:00
AsadAzam
a340fc96d5
Merge pull request #19518 from edx/asad/lms-template-reflected-xss
...
Clean XSS in lms template
2018-12-31 13:07:39 +05:00
Saleem Latif
eaf93d5978
Update sign in email address for continued access
2018-12-31 11:34:05 +05:00
asadazam93
25cf39daa4
Clean XSS in lms template
2018-12-29 01:48:25 +05:00
asadiqbal
e21477c224
Verification by email of recovery address.
2018-12-27 18:51:55 +05:00
DawoudSheraz
ddf00790b6
EDUCATOR-3786 Anonymous user is not associated to any cohort
2018-12-21 12:47:41 +05:00
Nimisha Asthagiri
3a45bee3ea
Merge pull request #19453 from edx/arch/cleanup-login
...
Studio login/registration redirects to LMS
2018-12-19 11:52:45 -05:00
Michael Terry
e8555de4b4
Merge pull request #19423 from edx/mikix/password-history-removal
...
Remove PasswordHistory
2018-12-19 09:22:39 -05:00
Michael Terry
95a6f1fa9e
Allow searching restricted courses by key
2018-12-19 09:09:02 -05:00
Saleem Latif
38ac3d5032
Request password reset with recovery email address
2018-12-18 14:20:08 +05:00
Nimisha Asthagiri
886bc4b20b
Studio login/registration redirects to LMS
2018-12-17 20:50:57 -05:00
Nimisha Asthagiri
358ed851dc
Merge pull request #19442 from edx/arch/infinite-login-loop-spike
...
Check and update login status with all login-related cookies
2018-12-17 14:31:48 -05:00
Nimisha Asthagiri
c7c8e856cd
Check and update login status with all login-related cookies
2018-12-17 13:03:32 -05:00
Gabe Mulley
181a531aca
remove translations from support form values
2018-12-13 16:13:10 -05:00
Michael Terry
01129787c0
Remove PasswordHistory
...
This is a feature that has been deprecated and can be safely removed.
DEPR-7
2018-12-13 13:18:56 -05:00
Bill Filler
6606ddefff
Add feature-based enrollment search to support form
2018-12-11 09:53:19 -05:00
Alex Dusenbery
59915d24d3
Swagger API Docs fix: Add the base DRF Serializer as the serializer class for course_groups views that don't specify one.
2018-12-10 10:25:33 -05:00
Simon Chen
9866b045c0
Merge pull request #19401 from edx/schen/cohort_access
...
Update cohort access to allow course staff to get cohorts as well as global staff
2018-12-10 10:02:29 -05:00
Simon Chen
9a5b26ff33
Update cohort access to allow course staff to get cohorts as well as global staff
2018-12-10 08:35:55 -05:00
Saleem Latif
bd411de12d
Add recovery email to account settings page
2018-12-10 17:59:19 +05:00
Saleem Latif
18b66819e2
Revert "ENT-1116: Add recovery email to account settings page"
2018-12-06 21:20:46 +05:00
Saleem Latif
2055f94253
Add recovery email to account settings page
2018-12-06 14:27:28 +05:00
Brian Wilson
76053f47ad
Add hostname to GoogleAnalyticsTrackingPixel.
2018-12-04 17:26:52 -05:00
Brian Wilson
f21bf05e37
Add page context to edx.bi.email.sent events.
2018-12-04 02:47:37 -05:00
Brian Mesick
4278fc7de2
Merge pull request #19320 from edx/bmedx/remove_3rd_part_mailings_retirement
...
DEPR-8 - Remove retire_mailings endpoint and supporting code
2018-11-28 14:16:54 -05:00
Nimisha Asthagiri
b4f0796ce6
Merge pull request #19327 from edx/arch/adr-jwt-cookie-opt-in
...
Update jwt-in-session-cookie decision with HTTP_USE_JWT_COOKIE header
2018-11-28 11:56:40 -05:00
Nimisha Asthagiri
9a0812fcde
Add email_verified field in JWT token
2018-11-28 06:36:48 -05:00
Nimisha Asthagiri
f19809c526
Update jwt-in-session-cookie decision to include HTTP_USE_JWT_COOKIE header
2018-11-27 23:59:34 -05:00