Commit Graph

18322 Commits

Author SHA1 Message Date
bmedx
f3a9e508a0 Refactor retirement endpoints to isolate Sailthru and respect boundaries
- Change retire mailings endpoint to use new USER_RETIRE_THIRD_PARTY_MAILINGS signal, currently only used by Sailthru retirement
- Move USER_RETIRE_MAILINGS signal firing to the LMS misc endpoint
- Remove duplicate clearing of UserOrgTags
- Remove LMS imports in openedx/core and update usage to use new USER_RETIRE_LMS_CRITICAL and USER_RETIRE_LMS_MISC signals
- Add testing for new signal handlers and app registration for the LMS survey app
2018-06-27 10:23:49 -04:00
Jeremy Bowman
9375bda9ec Merge pull request #18461 from eduNEXT/dqe/Try-out-python-modernize
Add python-modernize INCR-3
2018-06-26 10:57:46 -04:00
Feanil Patel
4e76a5d025 Merge pull request #18462 from edx/feanil/remove_beacon
Get rid of all code related to the CDN Experiments.
2018-06-26 10:47:38 -04:00
Squirrel18
4f12be0894 Files changed by modernize and new gitignore type file. 2018-06-25 17:27:51 -05:00
Feanil Patel
cd47b28339 Get rid of all code related to the CDN Experiments.
These were very early experiments by the old performance team
on using CDNs for videos and logging performance data.  No one
is looking at this data and it's just extra cruft on every page.
2018-06-25 18:03:33 -04:00
Matt Tuchfarber
aab971ed7e Merge pull request #18419 from edx/tuchfarber/fix_program_course_order
Change program's course runs to be oldest with open enrollment
2018-06-25 15:37:04 -04:00
Noraiz Anwar
18f0c59f1a Merge pull request #18436 from edx/noraiz/EDUCATOR-2773
add delay in score recalculation on enrollment update
2018-06-25 22:06:30 +05:00
Michael Terry
fd33130d73 Add initial grade signaling
Tells the Credential service about user grades when a cert is awarded
or a grade for a course with an awarded cert changes.

LEARNER-5051
2018-06-25 11:42:08 -04:00
Alessandro Roux
32649f91d5 Merge pull request #18440 from edx/roux/multiple-toolbars
EDUCATOR-3042: Fixes bug where inline discussion's comment editor has multiple toolbars.
2018-06-25 09:49:30 -04:00
Hamza Munir
46ea7834d5 Adjust default of Course Landing Experience to use expected platform defaults
Setting defaults for waffle flags to true.
default=true for use_bootstrap in discussions app
default=true for show_achievements in learner profile app

LEARNER-5509
2018-06-25 15:13:39 +05:00
noraiz-anwar
06780b2ded add delay in score recalculation on enrollment update 2018-06-25 14:59:09 +05:00
irfanuddinahmad
a46a28e983 incorporated manual verification 2018-06-25 12:08:54 +05:00
sandroroux
92bd1648ee Fixes EDUCATOR-3042. 2018-06-22 16:41:33 -04:00
Usman Khalid
8b1aad080a Add complete on view support to render_xblock view. 2018-06-22 14:46:03 -04:00
Matthew Piatetsky
5b167e6b1f Merge pull request #18439 from edx/add_forum_roles_to_metadata
add forum roles to metadata
2018-06-22 13:17:30 -04:00
Matthew Piatetsky
95ccc30594 add forum roles to metadata 2018-06-22 12:49:10 -04:00
Albert (AJ) St. Aubin
85ab2e4036 Merge pull request #18443 from edx/LEARNER-5275
Update the entitlement fulfilment logic to work with enrollment end
2018-06-22 09:59:36 -04:00
Albert St. Aubin
06af818322 Update the entitlement fulfilment logic to work with enrollment end
[LEARNER-5275]

Update the endtitlement fulfillment logic to work for users who have
enrolled, enrollment window has closed, but upgrade window is still
open. These users should be able to use that enrollment on their course
run that they are enrolled in.
2018-06-22 07:48:35 -04:00
J Eskew
fe82954835 Merge pull request #18397 from edx/jeskew/perpare_hawthorn_retirement_states
Use correct default user retirement states.
2018-06-21 15:35:59 -04:00
J Eskew
df16836a8f Merge pull request #18427 from edx/jeskew/fix_some_deprecation_warnings
Fix some deprecation warnings.
2018-06-21 12:24:19 -04:00
John Eskew
b94ea6b4b1 Import XBlockMixin from the correct location. 2018-06-21 11:41:06 -04:00
Robert Raposa
be22529028 Merge pull request #18434 from edx/robrap/clean-up-imports
Remove unused imports.
2018-06-21 10:46:28 -04:00
Robert Raposa
59d0ada7aa Use EnsureJWTAuthSettingsMiddleware middleware. 2018-06-21 09:30:15 -04:00
Robert Raposa
92283a33b9 Remove unused imports. 2018-06-21 08:55:23 -04:00
Matt Tuchfarber
1eb4d21350 Change program's course runs to be oldest with open enrollment
Currently the program page shows the newest course run, but
in cases where there is a new run created prior to the old one closing,
we want to show the almost closing one instead.
2018-06-20 13:28:01 -04:00
ayub-khan
17e78d85c1 -updated-translations 2018-06-20 21:32:16 +05:00
christopher lee
939c7f4857 Set max page size for get courses 2018-06-19 15:39:50 -04:00
christopher lee
48b5485be1 Set max page size for get courses
LEARNER-5566
2018-06-19 13:07:04 -04:00
John Eskew
dd688d508a PLAT-2193: Use correct default user retirement states. 2018-06-18 17:17:33 -04:00
Braden MacDonald
b12346f390 Merge pull request #18170 from open-craft/eugeny/instructor_report_popup_backend
Answers report: Return task ID and generated filename for frontend to consume
2018-06-18 13:26:27 -07:00
Jeff LaJoie
b07374ed39 LEARNER-5050: Adds award course cert job to post to Credentials 2018-06-18 08:54:58 -04:00
Eugeny Kolpakov
d058aacca9 Return task ID and generated filename from backend 2018-06-17 17:22:12 +08: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
uzairr
e77a19a4a3 Update UTM params of social sharing buttons
To improve Customer experience small changes have done in the
Google Analytics so that incoming stats are organized efficiently.

LEARNER-5360
2018-06-14 12:38:01 +00:00
Awais Jibran
d7e29c210e Merge pull request #18354 from edx/EDUCATOR-3004/add-10s-delay
Add 10 seconds delay to avoid exception
2018-06-14 12:55:55 +05:00
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
David Ormsbee
386699f7aa Merge pull request #18350 from edx/ormsbee/discussion_map_storage_change
Fix forums ID mapping
2018-06-13 09:06:44 -04:00
Waheed Ahmed
b62cf12db2 Merge pull request #18362 from edx/waheed/LEARNER-5527-throttle-course-list-api
Rate limit course list API.
2018-06-13 17:55:49 +05:00
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
Waheed Ahmed
780c1d982d Rate limit course list API.
This endpoint is likely being inefficient with how it's querying various parts
of the code and can take courseware down, it needs to be rate limited until
optimized.

LEARNER-5527
2018-06-13 16:59:32 +05:00
Zia Fazal
70b35d834f Use custom get_current_site method 2018-06-13 15:17:51 +05:00
Awais Jibran
e274308396 Update the initial try delay to reduce the occurance of this DatabaseNotReadyError due to replica lag.
EDUCATOR-3004
2018-06-13 11:09:16 +05:00
Albert (AJ) St. Aubin
e3c84bc8de Revert "Rate limit course list API." 2018-06-12 12:06:51 -04:00
Waheed Ahmed
803a6c742c Rate limit course list API.
This endpoint is likely being inefficient with how it's querying various parts of the code
and can take courseware down, it needs to be rate limited until optimized.

LEARNER-5527
2018-06-12 14:58:12 +05:00
Troy Sankey
6600e8b7e6 Merge pull request #18348 from edx/pwnage101/edxnotes-retirement-correct-url-and-user
[edxnotes] use the correct url and update the API params
2018-06-11 12:49:33 -04:00
Uzair Rasheed
a2d16de840 Merge pull request #18307 from edx/LEARNER-4351/extract-course-run-with-highest-grade
Extract course run with highest grades.
2018-06-11 12:49:58 +05:00
Troy Sankey
3172000aba [edxnotes] use the correct url and update the API params
This is really two separate things:

1. Fix the notes retirement endpoint to generate the correct notes API
url "/api/v1/annotations/" rather than the nonexistent "/api/v1/".

2. Update the API params to use "user" rather than "user_id".  This
depends on another PR in edx/edx-notes-api to make the corresponding
change on the API side.  This is required because "user" is the
hard-coded key that the permissions class uses to check the JWT token
user.
2018-06-08 15:36:47 -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