Commit Graph

59053 Commits

Author SHA1 Message Date
alangsto
f497f0d103 feat: Add Django Setting for viewing exam content (#27863)
MST-846. We no longer want proctored exam content to be viewable past the exam's due date. This behavior is now controlled by a django setting, so other instances of open edX can choose to turn it on/off.
2021-06-07 09:31:59 -04:00
Usama Sadiq
b58e27b45e refactor: setup python38 requirements for codejail environments (#27768)
separate shared requirements between platform and sandbox
move python 3.5 constraints in sandbox requirements
2021-06-07 17:50:43 +05:00
M. Zulqarnain
5eaf791f6d feat: ensure tests are running (#27524) 2021-06-07 15:03:34 +05:00
edX requirements bot
a9d6488e61 Updating Python Requirements (#27855) 2021-06-07 12:32:11 +05:00
sofiayoon
b62ce901b4 Merge pull request #27841 from edx/syoon/AA-827
feat: updated course end text AA-827
2021-06-04 15:03:53 -04:00
edX cache uploader bot
020c3707b1 Updating Bokchoy testing database cache (#27846) 2021-06-04 23:52:54 +05:00
Bianca Severino
45ae2b1c73 Merge pull request #27847 from edx/bseverino/proctoring-3.12.0
Upgrade edx-proctoring to 3.12.0
2021-06-04 14:39:14 -04:00
Sofia Yoon
6f99edcd36 feat: updated course end text AA-827 2021-06-04 14:28:07 -04:00
Christie Rice
fa2b1c34f7 fix: Check certificate status in both v1 and v2 of course certificates (#27843)
MICROBA-1082
2021-06-04 13:46:10 -04:00
Bianca Severino
d00131c093 fix: upgrade edx-proctoring to 3.12.0 2021-06-04 13:25:11 -04:00
David Ormsbee
92de07a7f9 fix: Convert block_structure.data to relative paths (TNL-8335)
In order to upgrade to Django > 2.2.20, we can't continue to use
absolute paths in the block_structure's data FileField. This used to
work for S3, but it will not work going forward due to a security fix
in Django 2.2.21.

This data migration will remove the starting '/' from any paths in the
block_structure table. The resulting locations in S3 should be
unaffected.
2021-06-04 12:01:12 -04:00
Bianca Severino
f19582a67c Merge pull request #27831 from edx/bseverino/proctoring-integrity-signature-check
[MST-838] Pass integrity signature waffle flag to timed exam view
2021-06-04 11:26:05 -04:00
Alex Dusenbery
1cfa4b5eeb feat: edx-enterprise to 3.23.11 | Log more specific information about HTTP client errors that are caught when using the LMS enrollment API. Also send an exception event to the monitoring service when this happens, even though we handle the exception 'gracefully'. 2021-06-04 11:03:11 -04:00
alangsto
c37f774207 chore: update edx-proctoring version (#27837)
The latest version of edx-proctoring contains updated logging for exam attempts,
specifically in the case where the status of an attempt is updated due to a
time out or if the learner is reattempting an exam
2021-06-04 10:07:34 -04:00
Justin Hynes
3e717bf929 Merge pull request #27812 from edx/jhynes/microba-1012_allowlist-rename
refactor: update references to deprecated whitelist model
2021-06-04 09:02:11 -04:00
edX requirements bot
fb8b03178c Updating Python Requirements (#27832) 2021-06-04 13:13:23 +05:00
Bianca Severino
f7aee7a900 fix: pass integrity signature waffle flag to timed exam view 2021-06-03 15:28:39 -04:00
Justin Hynes
6a0f57a266 refactor: update references to deprecated whitelist model
[MICROBA-1012]
- update python files to reference the allowlist instead of whitelist

As part of the Certificates v2 work, and in an effort to make the codebase more inclusive, we are moving away from using the term "whitelist" in favor of "allowlist". This PR is part of our renaming efforts across the Certificates Django app, and other Django apps that make use of Certificates functionality.
2021-06-03 14:09:24 -04:00
Raul Gallegos
f8fad40059 chore: update DnD xblock version 2021-06-03 10:30:25 -07:00
Michael Terry
20429dde34 Merge pull request #27826 from edx/mikix/grade-display-names
fix: don't escape assignment names in grades API
2021-06-03 11:48:24 -04:00
Michael Terry
6a41c61adc fix: don't escape assignment names in grades API
We had been pre-escaping display names like 'Math & Science' as
'Math & Science" in the REST API itself - which meant that
consumers like MFEs that do their own escaping displayed the wrong
thing.

It's better for the API to just leave the string as-is. As far as
I know, this only affects the gradebook and progress pages, both
of which do their own escaping of the result from the API already.

AA-808
2021-06-03 11:11:07 -04:00
edX cache uploader bot
114fbeabdf Updating Bokchoy testing database cache (#27823) 2021-06-03 19:58:37 +05:00
Bianca Severino
96d4a87312 Merge pull request #27824 from edx/bseverino/zendesk-field
[MST-821] Require `create_zendesk_tickets` field
2021-06-03 10:54:33 -04:00
Shimul Chowdhury
2a8a58ae6b feat: add Course Membership API
The get_course_members API returns a dict of users associated with a course.
This is a potentially expensive operation on a large course, so there is a
control in place to limit its cost.  If a course has more than
settings.COURSE_MEMBER_API_ENROLLMENT_LIMIT enrollments, then the function
raises an OverEnrollmentLimitException.

This API was added to help implement the LTI 1.3 Names and Roles Provisioning
service.

Jira references: [BD-24] [BB-2726] [TNL-7330] 
Pull request: #25843
Co-authored-by: Giovanni Cimolin da Silva <giovannicimolin@gmail.com>
2021-06-03 09:38:13 -04:00
Maari
a0165e88b2 Badgr integration updates (#27181)
* Badgr integration fix

Badges are no longer created on the Badgr side with a given
'slug'. Instead, a slug(v1) or an entityId(v2) will be generated
for each badge on the Badgr side and we will need to use that
value to check if a certain badge matching a BadgeClass on our side
exists and/or to create assertions for it.

This commit introduces a new field to the badgeclass:
'badgr_server_slug' by cherry-picking the following commit from
3309aab2a2eb00d28c5ca3d3145c8dddb15e6159
- TTK-18543: fix Badgr Server
connection (https://github.com/teltek/edx-platform/pull/46)

This commit also modifies the cherry-picked commit by making the newly
added field optional since the BadgeClass is not neccessarily always used
with the Badgr backend.

Co-authored-by: mrey <mrey@teltek.es>

* Implement OAuth2 tokens flow for BadgrBackend

* Use Badgr v2 API

Co-authored-by: mrey <mrey@teltek.es>
2021-06-03 08:46:21 -04:00
edX requirements bot
7a96588b15 Updating Python Requirements (#27819) 2021-06-03 13:30:48 +05:00
Julia Eskew
f88a44d8dd TNL-8080 ][: Use module mixin and fix permissions for proxy models. (#27811)
* chore: Update Python requirements via pip-tools. Needed the newest
edx-django-utils version.

* refactor: Use the newly-added ReadOnlyAdminMixin from the updated module and
remove the existing implementation.

* fix: edx-platform now has a Django proxy model - CourseOutlineRegenerate.
Without this fix, the permissions to the model's admin interface cannot be
added to a group and successfully granted to users.
2021-06-02 17:33:03 -04:00
edX Transifex Bot
8bcf248339 geoip2: update maxmind geolite country database 2021-06-03 02:17:21 +05:00
Matthew Piatetsky
afbfc1d31f Merge pull request #27813 from edx/AA-759b
[AA-759b] fix: pass course_key as a string in the edx.bi.experiment.AA759.bucketed event
2021-06-02 17:06:41 -04:00
Matthew Piatetsky
acbec4d0c1 fix: pass course_key as a string in the edx.bi.experiment.AA759.bucketed event 2021-06-02 16:02:23 -04:00
Carla Duarte
6e843f9e72 Merge pull request #27800 from edx/ciduarte/AA-807
feat: surface subsection block keys in progress api
2021-06-02 12:05:08 -04:00
irfanuddinahmad
07ab9f4c44 Merge pull request #27808 from edx/iahmad/ENT-4567-3
chore: ENT-4567 Updated edx-enterprise to 3.23.10
2021-06-02 19:33:30 +05:00
Christie Rice
8c9435cbbf docs: Write ADR on web certs (#27726)
MICROBA-1218
2021-06-02 10:23:53 -04:00
Awais Qureshi
6db70d2791 Merge pull request #27766 from edx/remove-django-user-cons
fix: Removing constraint. ( django-user-tasks )
2021-06-02 18:57:25 +05:00
Christie Rice
953004e58a feat: Add CertificateAllowlist model (#27802)
MICROBA-982
2021-06-02 09:20:02 -04:00
irfanuddinahmad
ce6b666351 chore: Updated edx-enterprise 2021-06-02 18:07:05 +05:00
Awais Qureshi
c21b7d2050 feat: Removing constraint.
chore: Updating Python Requirements

chore: Updating Python Requirements
2021-06-02 17:58:26 +05:00
Matthew Piatetsky
74c0181e42 Merge pull request #27804 from edx/AA-759b
[AA-759] fix: pass in course key when checking the bucket for the streak discount experiment
2021-06-02 08:09:10 -04:00
edX requirements bot
5a58b94019 Updating Python Requirements (#27805) 2021-06-02 15:46:07 +05:00
Matthew Piatetsky
cea450a35b fix: pass in course key when checking the bucket for the streak discount experiment 2021-06-01 16:32:21 -04:00
Matthew Piatetsky
3048cfd1aa Merge pull request #27801 from edx/revert-27772-debugging_logs
Revert "feat: add debugging logs to help figure out why experiment isn't activating in production"
2021-06-01 16:21:03 -04:00
Bianca Severino
52f0bcb4f9 fix: require create_zendesk_tickets field 2021-06-01 15:37:40 -04:00
Matthew Piatetsky
f89ae754e4 Revert "feat: add debugging logs to help figure out why experiment isn't activating in production" 2021-06-01 15:10:14 -04:00
Justin Hynes
58d36e966b Merge pull request #27798 from edx/jhynes/microba-1075_update-doc
docs: update event info in comments of the `emit_certificate_event` function
2021-06-01 15:02:25 -04:00
Julia Eskew
d83051f33b feat: Add Django admin interface to backfill course outlines. (#27749)
TNL-8080
2021-06-01 13:40:32 -04:00
Justin Hynes
855cf11dd1 docs: update event info in comments of the emit_certificate_event function
[MICROBA-1075]
- update event info in comments of the `emit_certificate_event` function
2021-06-01 13:11:30 -04:00
Simon Chen
3d93553f8b [Chore] Upgrade edx-prctoring to 3.11.5 (#27794)
With this upgrade, a small piece of javascript was fixed so we pass milliseconds instead of seconds to vendor script to check the healthiness of the proctoring desktop app
2021-06-01 11:00:58 -04:00
Matthew Piatetsky
9a76223047 Merge pull request #27772 from edx/debugging_logs
feat: add debugging logs to help figure out why experiment isn't activating in production
2021-06-01 10:02:09 -04:00
Carla Duarte
cecd37c45b feat: surface subsection block keys in progress api 2021-06-01 09:57:54 -04:00
irfanuddinahmad
33655f9edd Merge pull request #27793 from edx/iahmad/ENT-4567-2
chore: ENT-4567 updated edx-enterprise
2021-06-01 18:57:53 +05:00