Usama Sadiq
afa102e125
refactor: ran pyupgrade on lms/djangoapps/course_api ( #26735 )
2021-03-09 12:54:42 +05:00
jawad khan
787649ba81
LEARNER-8158 - Fixed descendants typo and added tests
...
LEARNER-8158
Fixed descendants typo and added tests
2021-03-03 11:38:34 +05:00
jawad khan
137a271fd2
LEARNER-8158 - Fixed completion param issue ( #26678 )
...
* LEARNER-8158
Fixed completion param issue
- There is a case where we are sending requested_fields in params as comma separated list
e.g. requested_fields=children,show_gated_sections,graded,special_exam_info,completion.
- We didn't test for this case in first place and test cases were sending requested_fields as list.
- Now we can also handle this comma separated completion field which was getting ignored before.
2021-02-26 14:02:09 +05:00
Jawayria
959aed9841
Resolved pep8 issues
2021-02-04 14:07:47 +05:00
Jawayria
e9b167e1fd
Applied pylint-amnesty to course_api
2021-02-04 13:22:45 +05:00
jawad khan
8529e433b8
Added completion from root to child blocks api and increased version
...
* Added completion from root to child blocks api and increased version
Learner-8158
2021-02-02 19:51:14 +05:00
Kshitij Sobti
570d02a858
Allow anonymous access for course blocks API
...
Opens the course blocks API to public access, and allows anonymous users to
use the API to fetch data about public courses. Anonymous users need to
explicitly pass an empty username parameter to get the block data that is
visible to the public.
2020-10-03 02:07:25 +05:30
Nizar Mahmoud
c0b6260c3e
Adds Custom Extra Fields to Course Blocks API through LMS Settings
2020-08-06 21:27:31 +03:00
David Ormsbee
96ea413a07
Make Blocks API and Dates mobile views non-atomic.
...
These are expensive, read-only web requests. Unfortunately,
middleware adds writes, and we currently run with view-level
transactions enabled by default. Holding those long transactions
open has caused extra load on the database and been our largest
sources of django.db.utils:OperationError exceptions.
This has been particularly noticeable as we start deploying the
new Courseware MFE, which uses the BlocksInCourseView more
frequently.
2020-07-22 17:10:11 -04:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Ayub khan
954ad2f75e
INCR-430 python3 compatibility
2019-07-16 15:38:50 +05:00
Matthew Piatetsky
1f6cd7aa5a
Revert "Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason""
2019-03-28 14:44:05 -04:00
Matthew Piatetsky
8eae694566
Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason"
2019-03-27 16:30:37 -04:00
Matthew Piatetsky
4bb539c9aa
update user partition and access_denied_message_filter transformers
2019-03-26 15:26:59 -04:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Jeremy Bowman
5289c7e828
PLAT-1915 Stop using deprecated BaseException.message
2018-01-31 17:22:01 -05:00
Tomasz Gargas
64c4ae4a7a
Add block completion value as optional field in course_blocks.api.
...
Signed-off-by: Tomasz Gargas <tomasz@opencraft.com >
2017-12-12 14:22:10 +01:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Jillian Vogel
6ca8a702ae
Mask grades on progress page according to "Show Correctness" setting.
2017-05-31 16:57:38 +02:00
wajeeha-khalid
98ba4b779c
MA-2076: add due date to course block API
2016-07-25 11:06:47 +05:00
Carol Tong
a1394e9945
Add documentation for Courses API
2016-05-06 15:40:21 -04:00
lenacom
2f2c6fc5da
fixed comments
2016-03-10 11:21:06 +03:00
lenacom
f07bc1ce28
fixed comments
2016-03-09 16:52:02 +03:00
lenacom
ae439310e1
New optional parameters for course blocks API: lti_url, block_types
2016-02-29 15:58:05 +03:00
Nimisha Asthagiri
d969f48646
Course Blocks API: Support accessing a substructure MA-1604
2016-02-18 10:03:58 -05:00
Nimisha Asthagiri
bb53c03e24
Optimize Course Catalog/About API with Course Overviews
2015-12-10 17:15:42 -05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Nimisha Asthagiri
00e9237153
Course Blocks API
2015-11-05 22:30:44 +00:00