uzairr
881c8e035c
Improve 403 error handling
...
Currently, ajax calls in courseware is handling 403 like 401.
In this PR, proper modifications have been done to make it
coherent with its intended behaviour.
LEARNER-7131
2019-03-06 20:22:37 +05:00
Farhanah Sheets
bc00313a9c
Revert "Improve 403 error handling"
2019-02-27 11:28:14 -05:00
uzairr
aa39f2c438
Improve 403 error handling
...
Currently, ajax calls in courseware is handling 403 like 401.In this
PR, proper modifications have been done to make it coherent with its
intended behaviour.
LEARNER-7131
2019-02-26 19:05:48 +05:00
cclauss
c0c935b685
Old style exceptions --> new style for Python 3
2019-02-19 13:09:23 +01:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -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
Matt Tuchfarber
ac29017d88
Move banner REVMI-54
...
Moves banner into the content instead of at the top. Adds a course
expiration fragment to the course home page, the content, the progress
page, and the discussion page.
2019-01-09 10:17:16 -05:00
Gavin Sidebottom
3dad2be55d
Refactored XBlockAside rendering and added support for student view
2018-12-11 12:27:03 +05:00
Braden MacDonald
1e4dc51ac7
Allow calling xblock_view API with OAuth creds
2018-11-28 09:25:30 -08:00
Matt Tuchfarber
be472a8d52
Extract upsell into template, extract ecomm call, use mobile utils
2018-11-08 11:40:06 -05:00
Gabe Mulley
372d51fd46
Display an upsell message instead of gated content
...
REV-504
2018-11-08 11:40:02 -05:00
Calen Pennington
72f556c1a9
Import courseware module from fully-qualified module name
2018-10-10 15:34:33 -04:00
rabiaiftikhar
72cba77bbb
EDUCATOR-3030 donot submit completion for grader's response while updating problem score.
2018-08-29 16:04:28 +05:00
Robert Raposa
99c9eb7343
Migrate to edx-django-utils monitoring.
...
ARCH-220
2018-08-17 15:39:04 -04:00
Jeremy Bowman
d671c4b1d0
TE-2689 Remove useless pylint suppressions part 1
2018-08-13 17:01:21 -04:00
Waheed Ahmed
c9d45c8698
Exempt xblock renderer from xframe option.
...
LEARNER-6002
2018-08-02 18:02:16 +05:00
noraiz-anwar
593c2d1ae8
add python getter in capa system
2018-07-18 18:44:56 +05:00
sanfordstudent
3c0e2f36e7
Revert "OAuth2 API to call XBlock handlers"
2018-06-06 16:09:31 -04:00
Brian Beggs
4d75ed3381
Merge pull request #15940 from open-craft/upstream-call-xblock-handler-with-oauth
...
OAuth2 API to call XBlock handlers
2018-06-05 16:13:09 -04:00
Chandrakant Gopalan
a3df96bf1c
OAuth2 API to call XBlock handlers
2018-06-05 15:12:31 -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
Eric Fischer
e18448e27d
Silence deprecation warnings
...
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Brittney Exline
d31d9bd684
ENT-942 Implement an abstraction layer for SoftwareSecurePhotoVerification class methods
2018-04-05 15:48:59 -04:00
noraiz-anwar
0dd4978f37
permit staff role to rescore, override and delete problem scores for individual learners
2018-04-05 18:40:55 +05:00
Alex Dusenbery
7e51f02884
Get edx-platform working with external completion lib, add integration tests.
2018-02-14 15:54:27 -05:00
Bill Filler
4fe5f3457d
Conditionally display gated content in courseware
...
Display gated sections in course outline, navigation and in the course
when user has met prerequiste condition.
WL-1273, WL-1317
2018-01-18 12:34:19 -05:00
Jeremy Bowman
f8e5e38cc4
PLAT-1884 Replace deprecated xblock.fragment usage
2018-01-11 14:20:12 -05:00
Jeremy Bowman
7a69d2f771
Merge pull request #17116 from edx/jmbowman/PLAT-1873_1
...
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 17:02:44 -05:00
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
Tomasz Gargas
3da19d0ea8
Ignore deprecated progress event for blocks with new Completion API.
...
Signed-off-by: Tomasz Gargas <tomasz@opencraft.com >
2018-01-08 10:10:02 +01:00
Clinton Blackburn
69eeca61d8
Opening courseware to anonymous users
...
Anonymous users may now view units in the courseware. This access is limited to units that are not considered problems/graded (e.g. homework, exams).
2017-11-06 16:42:06 -05:00
J. Cliff Dyer
4313951dcb
Fix polls 404 on disabled completion.
...
Calling runtime.handle('progress', ...) was causing a 404 error due to
the runtime handler. It should be okay for xblocks to submit a
completion or progress event; they just shouldn't have it treated
specially.
EDUCATOR-1642
2017-11-03 11:06:59 -04:00
J. Cliff Dyer
94d05bceb5
Add handler to receive completion events
...
* Submit a completion when receiving a completion event from an XBlock.
* Handle legacy progress events.
* Convert handler to use a dispatch dict instead of an if-else chain.
* Extract masquerade checking from individual handlers.
* Gate submit_completion on waffle switch
* 404 on handler views when trying to submit completion without waffle
switch enabled.
OC-3087
Disallow calling submit_completion when waffle flag is disabled.
Add tests that trying to publish completion errors.
2017-10-25 06:54:59 -04:00
Troy Sankey
e94d265fa7
Remove our copy of the slugify() implementation
2017-10-05 15:37:01 -04:00
John Eskew
0890193d6b
PLAT-1408: Import csrf from new path.
2017-10-05 11:12:53 -04:00
Nimisha Asthagiri
083ccdb95a
Remove unneeded WRITE_ONLY_IF_ENGAGED waffle switch
2017-09-25 16:13:07 -04:00
cahrens
b26b41b9fc
Replace deprecated_string methods.
2017-08-15 14:21:45 -04:00
cahrens
819a56fee3
Remove usages of deprecated SlashSeparatedCourseKey.
2017-08-14 11:01:00 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
John Eskew
e30e44cb9a
Run isort on files touched in LicenseMixin move.
2017-05-25 16:24:57 -04:00
John Eskew
f1369b912e
Move LicenseMixin and accompanying code to openedx/core/lib.
2017-05-25 16:17:31 -04:00
Eric Fischer
5c26acc115
Re-kill ICRV block
...
This reverts commit 1224e341de . I've also added
NotImplementedPartitionScheme, which allows deprecated partition types to have
a valid entry point despite being unusable.
TNL-6675
2017-04-19 15:55:13 -04:00
Diana Huang
9e734442c2
Initial version of new transformer.
2017-04-13 14:38:13 -04:00
Robert Raposa
ffe64add55
Add new relic custom metrics to course home.
...
- Add new utilities to monitoring_utils djangoapp.
- Use new utilities for all new course tabs.
2017-03-31 15:19:53 -04:00
Joel Barciauskas
6a55ef7920
Merge pull request #14633 from edx/jbarciauskas/remove-newrelic-dep
...
Wrap all newrelic dependencies in a check to see if the module is loaded
2017-03-21 16:28:24 -04:00
Nimisha Asthagiri
54d938cab5
Fix grading for Entrance Exams
...
TNL-6227
2017-03-17 17:32:36 -04:00
Joel Barciauskas
630985b3cc
Wrap all newrelic dependencies in a check to see if the module is loaded
2017-03-10 12:22:08 -05:00
Nimisha Asthagiri
1224e341de
Revert "Merge pull request #14588 from edx/efischer/kill_stuff"
...
This reverts commit 83f2be4929 , reversing
changes made to 01ed17426f .
2017-03-08 13:10:48 -05:00
Eric Fischer
7b85c0ea00
Remove in-course reverification
...
This is unused, and will no longer be supported on edx.org. Also adds a
DeprecatedModel utility class.
TNL-6126
2017-03-01 10:46:29 -05:00