Commit Graph

59365 Commits

Author SHA1 Message Date
Justin Hynes
0dd319a089 feat!: Remove AUDIT_CERT_CUTOFF_DATE configuration setting
[MICROBA-1351][DEPR-159]
* Remove `AUDIT_CERT_CUTOFF_DATE`
2021-07-16 15:38:14 -04:00
sofiayoon
85c529e099 Merge pull request #28200 from edx/syoon/fix-webpack-loader-setting
fix: webpack loader config to display error
2021-07-16 09:19:18 -04:00
Dillon Dumesnil
33ccd05df0 Merge pull request #28195 from edx/ddumesnil/update-shift-dates-logic-aa-856
fix: AA-856: update shift dates logic to ignore missed_deadlines
2021-07-16 05:56:00 -07:00
mohtamba
d29230644b Merge pull request #28197 from edx/mtamba/bulk_allowance_modal_waffle_flag
Add Waffle Flag for Bulk Allowances
2021-07-16 07:49:40 -04:00
jawad khan
ab4e2593ab feat: Adding multi device support in lti-consumer-xblock (#28189)
Updating lti-consumer-xblock version to 3.0.1. This version only adds mutlti device support in student view of the xblock.

LEARNBER-8413
2021-07-16 11:52:09 +05:00
mohtamba
fa872a1c8d Merge branch 'master' into mtamba/bulk_allowance_modal_waffle_flag 2021-07-15 19:09:39 -04:00
Sofia Yoon
60493757e6 fix: webpack loader config to display error 2021-07-15 17:06:01 -04:00
Dillon Dumesnil
3863bdb93b fix: update shift dates logic to ignore missed_deadlines
We ignore the missed_deadlines because this endpoint is used in the Learning MFE for
learners who have remaining attempts on a problem and reset their due dates in order to
submit additional attempts. This can apply for 'completed' (submitted) content that would
not be marked as past_due
2021-07-15 14:20:18 -06:00
mohtamba
1c53194250 Add Waffle Flag for Bulk Allowances
Add bulk allowance flag to allow for new feature to be enabled.
2021-07-15 13:41:45 -04:00
Kyle McCormick
caf75dc0d9 feat: allow course staff to view outlines as students
This adds support for course staff masquerading as any other user when
viewing their own course, via user={username} querystring parameter.

Rules:
* Anonymous users are repesented by a blank "user" value.
* If there is no "user" parameter at all, render for the user making the
  request.
* Global staff can view any course as any user.
* Course staff and instructors can view their own course as any user
  (including other staff, the anonymous user, or users not enrolled in
  their course).

This commit supports TNL-8330 (switching the frontend-app-learning MFE
to use the Learning Sequences API instead if Course Blocks).
2021-07-15 13:18:44 -04:00
Zachary Hancock
e72119ddeb chore: edx-proctoring update (#28193) 2021-07-15 11:05:36 -04:00
Christie Rice
a1ff409963 fix: Pass certificates values to generation, if available (#28179)
MICROBA-1373
2021-07-15 10:42:11 -04:00
Bianca Severino
04cec15840 Merge pull request #28187 from edx/bseverino/verified-name-course-flag
[MST-806] Add CourseWaffleFlag for verified name
2021-07-15 10:35:13 -04:00
Albert (AJ) St. Aubin
26678daf1f feat: Add the Request Certificate button to a Course card
[MICROBA-678]

When a certificate is in an unexpected state (i.e. notpassing with a
passing grade) this alert will allow the user to attempt to resolve the
issue on their own. It will run the code that checks the certificates
status. It requires that the course is configured to allow users to
Request Certificates though.
2021-07-15 10:27:18 -04:00
Christie Rice
6d3a4014bb fix: Save parameter values in the certificate, if available (#28178)
MICROBA-1373
2021-07-15 09:51:24 -04:00
Awais Qureshi
88b35ba9a9 Merge pull request #28183 from edx/removing-python_2_unicode_compatible
Django3 has removed python_2_unicode_compatible.
2021-07-15 17:55:45 +05:00
Awais Qureshi
695f5dab7a Merge pull request #28184 from edx/removing-python_2_unicode_compatible-2
Django3 has removed python_2_unicode_compatible.
2021-07-15 16:56:42 +05:00
Awais Qureshi
6568689287 Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 13:26:17 +05:00
Awais Qureshi
251fcaa586 Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 12:28:06 +05:00
Awais Qureshi
fe8a0c6f00 Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 12:09:50 +05:00
edX Transifex Bot
9a8bd6425a geoip2: update maxmind geolite country database 2021-07-15 02:34:26 +05:00
Bianca Severino
7fea6d4692 feat: add CourseWaffleFlag for verified name 2021-07-14 16:59:46 -04:00
Awais Qureshi
cfe81cd834 Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 00:37:15 +05:00
Awais Qureshi
2ed834a36a Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 00:33:45 +05:00
Awais Qureshi
6dc6777354 Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 00:28:09 +05:00
Awais Qureshi
0433af537f Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 00:26:09 +05:00
Awais Qureshi
e81a09e73a Django3 has removed python_2_unicode_compatible.
Execute the codemodes on this file and removed all usage.
2021-07-15 00:22:51 +05:00
Mehak Nasir
76d43e0126 Merge pull request #28181 from edx/link-fix
fix:link fix for the yellowdig general documentation
2021-07-15 00:13:07 +05:00
Mehak Nasir
79181b3db0 fix:link fix for the yellowdig general documentation 2021-07-14 22:54:09 +05:00
Christie Rice
f98b8e5be0 refactor: Replace references to V2 course certificates (#28180)
MICROBA-1227
2021-07-14 13:37:07 -04:00
Carla Duarte
f277841aec Merge pull request #28162 from edx/ciduarte/AA-875
feat: add problem scores to progress tab api (AA-875)
2021-07-14 13:25:59 -04:00
Carla Duarte
d754951cf8 feat: add problem scores to progress tab api (AA-875) 2021-07-14 12:33:23 -04:00
Kshitij Sobti
423ac00809 Makes counting flagged comments optional, instead of automatic in case of moderators 2021-07-14 13:19:12 +05:00
Kshitij Sobti
689d2084f5 Review feedback 2021-07-14 13:19:12 +05:00
Aayush Agrawal
ffe3ee3869 feat: Adds additional data and filters to discussions API
This change adds three new filters to the threads API. They are:
* Filtering only threads that are flagged for abuse
* Filtering by the thread type (discussion or question)
* Filtering by the thread author

In addition it also adds a new ``abuse_flagged_count`` field for threads. It
returns a count of the number of comments in a thread that are flagged for abuse.
This is only visible to users that have moderator privileges or higher.

Finally it also adds a ``abuse_flagged_any_user`` field that is set if any user
has flagged a thread. This field too, is only visible to moderators or above.

Co-authored-by: Kshitij Sobti <kshitij@opencraft.com>
2021-07-14 13:19:12 +05:00
edX cache uploader bot
235f8244f8 Updating Bokchoy testing database cache (#28173) 2021-07-14 11:40:30 +05:00
sofiayoon
b0520782ac feat: basic prototype for custom pacing pls in studio (AA-883)
Basic prototype for self paced due dates in Studio Debugged (AA-844)
2021-07-13 14:35:36 -04:00
Sofia Yoon
e343c78227 feat: basic prototype for custom pacing pls in studio (AA-883) 2021-07-13 13:56:28 -04:00
Alex Dusenbery
7e9b3c7bc7 fix: fix the way that page_size is passed as a param to the enterprise catalog get_content_metadat endpoint.
edx-enterprise==3.26.23
2021-07-13 13:00:31 -04:00
stvn
72df0a3ca6 merge(#28049): arjun/wiki-modal-buttons
commits
=======
- fix: change buttons in wiki modal to anchor tags
2021-07-13 12:46:47 -04:00
Justin Hynes
d786f6d394 Merge pull request #28168 from edx/jhynes/microba-1289_overviews-continued
refactor: Remove use of CourseOverview model directly in the Certificates app
2021-07-13 12:40:59 -04:00
Waheed Ahmed
74e3b664eb fix: clean accent characters from username (#28157)
Also cleaned username for Authn MFE while registering using SSO/SAML.

VAN-483
2021-07-13 20:33:22 +05:00
Julia Eskew
a68bfe28b9 fix: Use a "through" model for the ManyToManyField fields in CourseSection
and CourseSectionSequence to ensure that cascading deletes will occur to delete
the relation upon deletion of a foreign-keyed object.

This commit is phase 3 of 4 in order to ensure a smooth deploy. The phases:
1) Add separate through models for user partition groups, add fields to point to the
   separate models, and start writing to those fields as well. (COMPLETE)
2) After all models have been re-generated, switch code over to use separate through
   model fields backed by the separate through models *and* stop writing to the original
   ManyToManyField field. (COMPLETE)
3) After phase 2 is deployed smoothly, remove the original ManyToManyField fields. (This PR!)
4) After phase 3 is deployed smoothly, rename the new fields to have the same name
   as the old fields, so new_user_partition_groups -> user_partition_groups.

This PR is designed to be able to easily be rolled-back if anything goes wrong.
2021-07-13 11:04:51 -04:00
Christie Rice
1b0b703144 fix: Remove disabled v1 course certificate task code, as this was previously globally disabled (#28158)
MICROBA-1227 DEPR-155
2021-07-13 10:30:07 -04:00
Justin Hynes
bbda7384f8 refactor: Remove use of CourseOverview model directly in the Certificates app
[MICROBA-1289]
* Remove use of the CourseOverview model directly in the Certificates app
* Introduce a few new Python API functions in the `course_overview` and `catalog` django apps to replace functionality in the Certificates app.
2021-07-13 10:26:39 -04:00
Waheed Ahmed
13270cd733 fix: user info cookie name for Edge (#28170)
We were generating cookie name for only stage and prod, the script
was raising an error on the Edge environment.

VAN-659
2021-07-13 19:18:38 +05:00
Christie Rice
f42b36869e fix: Allow cert generation if enrollment mode is now eligible (#28153)
MICROBA-1380
2021-07-13 09:51:15 -04:00
Alex Dusenbery
b3ac914a58 Revert "feat: edx-enterprise==3.26.22 | set the EnterpriseCatalogApiClient get_content_metadata request page_size parameter to 50;"
This reverts commit 7eb6512929.
2021-07-13 09:17:42 -04:00
Justin Hynes
9f5b9ba915 Merge pull request #28129 from edx/jhynes/microba-1289_overviews
refactor!: remove the `get_course_overview` function in favor of `get_course_overview_or_none`
2021-07-13 07:59:49 -04:00
edX cache uploader bot
b04082dd40 Updating Bokchoy testing database cache (#28160) 2021-07-13 12:30:01 +05:00