Commit Graph

12296 Commits

Author SHA1 Message Date
sanfordstudent
3c0e2f36e7 Revert "OAuth2 API to call XBlock handlers" 2018-06-06 16:09:31 -04:00
Brian Mesick
832f6a7157 Merge pull request #18320 from edx/bmedx/remove_111_test_marks
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 11:15:26 -04:00
Michael Youngstrom
f4dc2ca000 Merge pull request #18314 from edx/youngstrom/remove_django_18_shim
Remove temp django upgrade logic
2018-06-06 11:09:17 -04:00
Tyler Hallada
1f42d1b384 Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Michael Youngstrom
26b4e30833 Remove django 1.8 shim 2018-06-06 10:34:56 -04:00
bmedx
c125ff6a57 Remove unused pytest markers for Django 1.11 upgrade 2018-06-06 09:58:38 -04:00
Gavin Sidebottom
e449a9ae35 Fixed bug involving users that could not be found using 'view this course as' functionality 2018-06-06 17:44:48 +05:00
Waheed Ahmed
23d1beedf7 Merge pull request #18285 from edx/waheed/LEARNER-4520-fix-pdf-certificates
Fix PDF cert gereration/regeneration and URLs.
2018-06-06 15:36:52 +05:00
Tyler Hallada
1540f9ec72 Add on_delete kwarg to ForeignKey & OneToOneFields
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.

The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -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
Zia Fazal
66c7159cf6 Merge pull request #17362 from caesar2164/allow-about-sidebar-content-from-instructor
Add custom HTML to Course About page sidebar
2018-06-04 09:41:52 +05:00
Giulio Gratta
56ac149962 Add custom HTML to Course About page sidebar
This allows course staff to add arbitrary HTML to the sidebar on the About page.

A waffle switch has been added in the course_experience app to allow enabling and disabling of this feature.
2018-06-01 14:26:05 -04:00
Troy Sankey
5227b4ee7b use anonymous user ID when calling the edxnotes retirement endpoint 2018-06-01 13:26:37 -04:00
Troy Sankey
d33cf1d231 Notes retirement endpoint should require trailing slash
This is because we already require trailing slashes on most of the rest
of the retirement endpoints, which are called via slumber which appends
the trailing slash by default.
2018-06-01 11:10:45 -04:00
Diana Huang
65f0f6809d Add a configuration option for deleting student accounts. 2018-05-31 14:29:00 -04:00
Ahsan Ulhaq
e5f0a02db8 Exempt csrf on donate
LEARNER-5326
2018-05-31 17:43:20 +05:00
Waheed Ahmed
baf3e594be Fix PDF cert gereration/regeneration and URLs.
Since cert_html_view_enabled is deprecated and set default true,
PDF certificates are not appearing for learners and staff also
unable to regenerate them.

LEARNER-4520
2018-05-31 15:45:31 +05:00
Troy Sankey
172b1c8c09 Merge pull request #18268 from edx/pwnage101/edxnotes_retirement_endpoint
Add API endpoint for retiring a user from EdxNotes (edx-notes-api)
2018-05-30 14:17:09 -04:00
Troy Sankey
b2f4762dc4 Add API endpoint for retiring a user from EdxNotes (edx-notes-api)
This also creates an appropriate course-agnostic location for notes
APIs, under /api/edxnotes/v1/.
2018-05-30 12:46:07 -04:00
Feanil Patel
6ac803ed6e Merge pull request #18275 from edx/feanil/drop_moar_indices
Feanil/drop moar indices
2018-05-30 11:26:31 -04:00
Rabia Iftikhar
f16d9a7033 Merge pull request #18267 from edx/ri/EDUCATOR-2927-changes-in-certificate-eligible-column
EDUCATOR-2927 certificate eligible column will appear with value N for audit-passing learners in grade report
2018-05-30 16:05:51 +05:00
rabiaiftikhar
2760eeba6e EDUCATOR-2927 certificate eligible column will appear with value N for audit-passing learners in grade report 2018-05-30 14:28:51 +05:00
Zia Fazal
90633c0956 Merge pull request #17974 from edx/ziafazal/WL-1239
WL-1239: Ability to gate section based on completion percentage
2018-05-30 12:52:43 +05:00
Zia Fazal
53cf5638b6 added radio input fields to pre-requisite selection
Initial changes to gate section based on completion percentage

code refactoring and added evaluation of completion milestone

Fixed broken unit tests and added new tests

Fixed broken tests and quality violations

Fixed Pep8 violation

Fixed eslint quality violations

Test changes as suggested by reviewer

changes after feedbacy from reviewer

Update the docstring with suggested changes

excluding chapter from the blocks

Disallow empty values for min score and min completion

Changes afte feedback from UX/Accessibility

removed blank line
2018-05-30 11:25:59 +05:00
Zia Fazal
b74cbfb85a Merge pull request #18255 from edx/ziafazal/WL-1388
WL-1388: Added a base MessageType for ace
2018-05-30 11:14:04 +05:00
Awais Jibran
663dc1af8f Merge pull request #17573 from mitodl/fix_special_character_in_suername_instructor_apis
Allow `@` in username in Staff Debug interface
2018-05-29 23:24:00 +05:00
Feanil Patel
a1cd26b983 Remove the done index. 2018-05-29 11:19:28 -04:00
Feanil Patel
a0d19fd728 Merge pull request #18269 from edx/feanil/drop_unused_index
Feanil/drop unused index
2018-05-27 13:12:06 -04:00
Feanil Patel
25da206c38 Migration for index removal. 2018-05-27 16:28:51 +00:00
Feanil Patel
06a11c2ed7 Update model. 2018-05-27 12:12:10 -04:00
Qubad786
f9476ab4ff Update old transcripts metadata present in video xml with the new transcripts for backward compatibility. 2018-05-25 21:29:26 +05:00
Kshitij Sobti
73179edd18 Adapt tests to work with the presence of generate_report_data
Add integrationish test
2018-05-25 19:19:53 +05:30
Kshitij Sobti
011b295890 Handle NotImplementedError raised by generate_report_data 2018-05-25 18:44:59 +05:30
Kshitij Sobti
7e01a065b9 Use `generate_report_data` for getting report data if the block provides it 2018-05-25 18:44:59 +05:30
Kshitij Sobti
ccabab0771 Added chapter blocks to be excluded from report 2018-05-25 18:44:59 +05:30
Kshitij Sobti
1aa55c6cfa Documentation grammar and accuracy fixes 2018-05-25 18:44:59 +05:30
Kshitij Sobti
ba635383db Filter out sequentials in final report generation stage
Fix tests to match code changes
2018-05-25 18:44:59 +05:30
Kshitij Sobti
c4bbe7f036 Only filter out verticals instead of all non-problem blocks
Improve documentation
2018-05-25 18:44:59 +05:30
Kshitij Sobti
d2b78a34f4 Unconditionally yield root block so it's always included in the report 2018-05-25 18:44:59 +05:30
Kshitij Sobti
723a0639ca Fix: issue generating reports for single problem
code style fixes
2018-05-25 18:44:59 +05:30
Kshitij Sobti
1a4fe2c527 Disable protected access pylint check for TestProblemResponsesReport 2018-05-25 18:44:59 +05:30
Kshitij Sobti
94f1e0aa1c Fix error due to improper problem_key
Add tests
2018-05-25 18:44:59 +05:30
Kshitij Sobti
7e31718f91 Documentation and PEP8 2018-05-25 18:44:59 +05:30
Kshitij Sobti
0b75749c6e Use cls instead of direct class name 2018-05-25 18:44:59 +05:30
Kshitij Sobti
8885092790 Support setting MAX_PROBLEM_RESPONSES_COUNT to None for unrestricted row count 2018-05-25 18:44:59 +05:30
Kshitij Sobti
1d507bf246 Break out bits of generate method into separate method 2018-05-25 18:44:59 +05:30
Kshitij Sobti
00334a9ebb Add block id to problem response report 2018-05-25 18:44:59 +05:30
Kshitij Sobti
9c1dc2c0a7 Include title and location in problem response sheet 2018-05-25 18:44:59 +05:30