Matthew Piatetsky
b37bc75bb4
Revert "Revert "change banner date localization to use dateutilfactory""
...
This reverts commit 08cb56664b .
2019-02-04 12:42:27 -05:00
Alex Dusenbery
068b4a8c44
Distinguish zeros from null when considering grade overrides in subsection grades.
2019-02-02 16:08:01 -05:00
Calen Pennington
95252f1a81
Run caniusepython3.pylint_checker
2019-02-01 10:03:42 -05:00
Calen Pennington
040b60c38c
Stop swallowing UnicodeEncodeErrors in courseware rendering
2019-02-01 09:22:54 -05:00
Farhanah Sheets
fb7d597554
unicode messages developer and user messages
2019-02-01 09:22:54 -05:00
adeelehsan
88ef4de655
Adding log for investigation
...
Logs added while fetching the
certificate template to investigate
LEARNER-6943s
2019-02-01 11:46:50 +05:00
Julia Eskew
ed239ed0fd
Read client ID/secret from DOT application instead of DOP client.
2019-01-31 13:57:23 -05:00
Michael Youngstrom
a090d4b7a3
Merge pull request #19697 from edx/youngstrom/incr
...
INCR-19: Move to python3-saml
2019-01-31 09:30:46 -05:00
Agha Awais
30359a2995
Merge pull request #19668 from edx/awais/removed_old_lettuce_tests_for_courseware_problems
...
removed lettuce files
2019-01-31 10:29:58 +05:00
Michael Youngstrom
e7898d153d
Move to python3-saml
2019-01-30 16:35:16 -05:00
Jansen Kantor
6f4bbf6a01
Merge pull request #19676 from edx/jkantor/failed-cert
...
fail a certificate if grades are modified to failing
2019-01-29 17:07:00 -05:00
jansenk
726fb0f6f0
fail a certificate if grades are modified to failing
2019-01-29 15:57:15 -05:00
Calen Pennington
daf6fd3330
Merge pull request #19599 from cpennington/fbe-adrs
...
Add ADRs for FBE decisions
2019-01-28 14:40:48 -05:00
Calen Pennington
4ac3caab23
Add ADRs for FBE decisions
...
REVMI-39
2019-01-28 13:16:53 -05:00
Kyle McCormick
f6d53ab2d1
EDUCATOR-3934 Remove #-of-learners message for writable gradebook
2019-01-28 09:55:51 -05:00
Agha Awais
e89ccc8614
removed lettuce files
2019-01-28 06:50:02 +00:00
Calen Pennington
805f32a357
Revert "Allow courses api to return data incrementally"
2019-01-25 12:56:57 -05:00
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
2527efd822
Prefetch CourseOverview.image_set when loading the course_api
2019-01-25 10:30:09 -05:00
Calen Pennington
0d273e9506
Prefetch course modes used in has_access calls in course api
2019-01-25 10:30:09 -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
Calen Pennington
ee75db2703
Add a test that shows how bad course api query counts are
2019-01-24 22:54:01 -05:00
Simon Chen
e155c08df4
Grading: Update the test variable name to reflect what is being named in the actual logic
2019-01-24 13:00:14 -05:00
Rick Reilly
d6f719a970
Remove 'is_graded' prop from the gradebook api reponse
2019-01-23 17:12:15 -05:00
Rick Reilly
80bae1b112
Clean up the gradebook api to only send back the data the gradebook client needs
2019-01-23 11:42:29 -05:00
Simon Chen
f4a9d82db9
Merge pull request #19639 from edx/schen/possible_grade_override
...
Make sure we return the right possible_grade value on grade APIs
2019-01-23 10:44:14 -05:00
Simon Chen
6739c0eb55
Make sure we return the right possible_grade value on grade APIs
2019-01-22 14:05:04 -05:00
Matt Hughes
673fb797b8
make upgrade to version of edx-proctoring
...
without blocking multiple concurrent sessions
also updates trace amounts of copy duplicated in tests between
edx-proctoring and edx-platform
JIRA:EDUCATOR-3931
2019-01-22 12:47:40 -05:00
Matthew Piatetsky
08cb56664b
Revert "change banner date localization to use dateutilfactory"
2019-01-20 18:27:03 -05:00
Matthew Piatetsky
d98643c37f
Merge pull request #19609 from edx/fix_masquerade_banner
...
ensure content start date banner only shows for currently open sections
2019-01-17 13:12:42 -05:00
Matthew Piatetsky
58012317a1
Merge pull request #19590 from edx/REVMI-27
...
change banner date localization to use dateutilfactory
2019-01-17 12:49:56 -05:00
Matthew Piatetsky
9ba3e0c5a5
ensure content start date banner only shows for currently open sections
2019-01-17 12:32:08 -05:00
DawoudSheraz
bd262e000b
Update Mathjax version to include a11y
2019-01-17 13:20:07 +05:00
David Ormsbee
8b47763543
Merge pull request #19253 from open-craft/agrendalath/xblock-handle-oauth
...
Add OAuth2 and JWT support to XBlock handlers
2019-01-16 19:46:20 -05:00
Agrendalath
aa0e06a15e
Add OAuth2 and JWT support to XBlock handlers
...
This adds OAuth2 and JWT API to call XBlock handlers. It is an alternative approach to #15940 - it reuses some DRF logic to handle this, but does not convert `handle_xblock_callback` to DRF view, which caused issues described in edx/XBlock#383 .
2019-01-17 00:17:38 +01: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
Zia Fazal
d02efb1d24
Merge pull request #19604 from edx/ziafazal/WL-1660
...
WL-1660: Added ability to stop redirect to course home page
2019-01-16 12:17:23 +05:00
Rick Reilly
82ffe9ee3b
Create GET route for Subsection Grades, Overrides, and the Override History via subsection and userid
2019-01-15 12:54:32 -05:00
Zia Fazal
0e1fff31e5
Added ability to stop redirect to course home page
...
Added ability to stop redirect to course home page even if ENABLE_MKTG_SITE is enabled.
Fixed quality violations
2019-01-15 16:47:37 +05:00
Matthew Piatetsky
f870f7c635
change banner date localization to use dateutilfactory
2019-01-15 03:30:53 -05:00
Christie Rice
9d23dfe270
REVEM-130 Remove program info from user metadata
2019-01-14 14:32:32 -05:00
Christie Rice
c39307f935
REVEM-125 Add program price to user metadata
2019-01-14 11:24:24 -05:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
David Ormsbee
74d53cf786
Merge pull request #19329 from open-craft/giovanni/bb-547-ospr
...
BB-547 - Fix certificate api when retrieving certificates from deleted courses
2019-01-11 11:22:45 -05:00
Giovanni Cimolin da Silva
8563cf437a
Fix certificate api when retrieving certificates from deleted courses
...
This commit fixes a problem with the Certificates API that make it fail when trying to retrieve user certificates from courses that don't exist anymore.
The problem lies in the Certificate API not checking if the courses being retrieved by some user actually exist, to fix this, this commit improves the fault tolerance of the Certificates API.
This issue was found when investigating why a user profile page (/u/username) was returning 404's.
Turns out that LearnerAchievementsFragmentView used the certificates api to retrieve certificate information, which did not check if the course exists before trying to pull information from it, resulting in a cascade of errors that lead to a 404 on the user's profile page.
Signed-off-by: Giovanni Cimolin da Silva <giovannicimolin@gmail.com >
2019-01-11 11:40:00 -02: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
Dave St.Germain
7c973450fb
Merge pull request #19559 from edx/dcs/hide-dashboard
...
Hide the exam review dashboard unless the proctoring backend supports the feature
2019-01-10 10:33:16 -05:00