Commit Graph

57793 Commits

Author SHA1 Message Date
Carla Duarte
23700b3064 AA-684: sequence link to legacy or MFE 2021-02-25 13:48:50 -05:00
Matt Hughes
952e44d590 fix(ora): wysiwyg editor in staff view of responses not html
JIRA:EDUCATOR-5590
2021-02-24 16:03:59 -05:00
alangsto
c4b5350c18 update edx-proctoring version (#26713) 2021-02-24 15:20:20 -05:00
alangsto
6f03ed1327 update edx-proctoring version (#26711)
* update edx-proctoring version

* update to newest version
2021-02-24 12:30:37 -05:00
Gábor Boros
ed58d45bd5 fix: remove absolute positioning to allow RTL scrolling (#26093) 2021-02-24 11:14:21 -05:00
Justin Hynes
e416ec7a93 Merge pull request #26652 from edx/jhynes/microba-908_cleanup_allowlist
MB-908 | Prevent ability for learner to appear on both certificate invalidation and certificate exceptions lists
2021-02-24 11:02:43 -05:00
Justin Hynes
0de1d2b89a MICROBA-908 | Prevent overlap of allowlist and blocklist [WIP]
[MICROBA-908]
- When adding a learner to the allowlist we now check if they have an invalidated certificate on the blocklist
- Refactor some pieces of the Certificate Invalidation flow
- Make it so an error message is displayed when trying to add someone to CertificateInvalidation list if they already appear on the Allowlist
- Add support to pass back and display an error message to Instructor Dashboard UI if a learner already appears on the certificate invalidation list when attempting to create certificate exceptions in bulk
- Add python tests for backend changes
- Disable xss linting warnings in certificate_bulk_whitelist.js (checked with security group first)
2021-02-24 09:25:13 -05:00
Christie Rice
57f9005e57 MICROBA-918 Add allowlist check (#26584) 2021-02-24 09:07:04 -05:00
Kyle McCormick
558d2eb52c refactor: centralize learning MFE URL-building logic (#26689)
In preparation for switching LMS/Studio over
from serving legacy courseware URLs in certain
places (for example, resume_course_url) to serving
learning micro-frontend URLs.

TNL-7796
2021-02-24 08:50:15 -05:00
Aarif
441bfffd9b fix: updated the workflow to checkout target branch specified by the user (#26705) 2021-02-24 17:53:40 +05:00
Asad
ac3d6359a0 Fixed role note 2021-02-24 07:45:02 -05:00
Awais Jibran
572ec10d7a Merge pull request #26695 from edx/aj/refactor/using-q-objects
refactor: use q objects when fetching user using an identifier
2021-02-24 14:56:37 +05:00
edX requirements bot
370e4263be Updating Python Requirements (#26694) 2021-02-24 14:10:54 +05:00
edX cache uploader bot
a9e3d716cf Updating Bokchoy testing database cache (#26693) 2021-02-24 13:19:39 +05:00
Awais Jibran
950633a9df refactor: use q objects when fetching user using an identifier #26683 2021-02-24 12:05:38 +05:00
Adeel Ehsan
a4ced1669f Merge pull request #26684 from edx/aehsan/van-390/added_account_activation_event_added
account activation event added
2021-02-24 10:36:32 +05:00
adeel khan
8b12c022cc Merge pull request #26609 from edx/adeel/van_312_add_ratelimit_to_endpoints
Add throttling to validate token and reset password end points
2021-02-24 07:39:04 +05:00
Adeel Khan
d9ec42c425 Add throttling to validate token and reset password end points
VAN-312
2021-02-24 06:47:18 +05:00
Binod Pant
2d047b943f update edx-enterprise (#26687) 2021-02-23 17:07:38 -05:00
Michael Roytman
9116510695 Merge pull request #26662 from edx/mroytman/MST-617-bump-version-edx-proctoring-3.6.2
Bump Version of edx-proctoring Library to 3.6.2: Change "proctoring_started" to "onboarding_started" in Student Onboarding Status panel, make time_remaining_seconds model field read only, and fix message bug on the Django admin panel for ProctoredExamStudentAttempt model
2021-02-23 16:15:10 -05:00
Diana Huang
87f5faf53a Merge pull request #26688 from edx/revert-26649-bom-2368
Revert "BOM-2368: pyupgrade in LMS Directory"
2021-02-23 15:55:04 -05:00
Michael Roytman
7d697cfd9c feat: bump version of edx-proctoring library to 3.6.2: change "proctoring_started" to "onboarding_started" in Student Onboarding Status panel, make time_remaining_seconds model field read only, and fix message bug on the Django admin panel for ProctoredExamStudentAttempt model
This release changes learner onboarding status from "proctoring_started" to "onboarding_started" to more clearly describe the learner's onboarding status in the Instructor Dashboard Student Onboarding Status panel. This impacts course authors, developers, and operators.

This release adds the time_remaining_seconds field of ProctoredExamStudentAttempt model to readonly_fields in Django admin page so it is not required when editing the model. This impacts developers.

This release updates reference to Exception.message to use string representation of the exception, as message is no longer an attribute of the Exception class. This impacts developers.
2021-02-23 15:44:16 -05:00
Christie Rice
f844681913 Revert "BOM-2368: pyupgrade in LMS Directory (#26649)"
This reverts commit fc06846cb0.
2021-02-23 15:29:49 -05:00
Michael Terry
23f34031d1 Merge pull request #26663 from edx/mikix/enable-schedules
feat: turn on schedule creation by default
2021-02-23 14:34:11 -05:00
Cory Lee
1ec2e797a1 Revert "pyupgrade on static_templates, staticbook and support apps (#26646)" (#26685)
This reverts commit a235425ac3.
2021-02-23 13:01:16 -05:00
Matthew Carter
9dc6ab1c7d Merge pull request #20955 from open-craft/samuel/se-1168-ora-summary
SE-1168 [FAL-92] implement ORA process summary report csv
2021-02-23 12:47:19 -05:00
Michael Terry
74887aa216 feat: turn on schedule creation by default
This commit removes several waffle toggles that have been enabled
on edx.org for years. It's time to remove the rollout gating for
these features and enable them by default.

This doesn't directly change any behavior. But it does create new
database objects by default now and allows for enabling other
schedule based features more easily.

Specifically, the following toggles were affected.

schedules.create_schedules_for_course
- Waffle flag removed as always-enabled
- We now always create a schedule when an enrollment is created

schedules.send_updates_for_course
- Waffle flag removed as always-enabled
- Course update emails are sent as long as the ScheduleConfig
  allows it.
- This is not a change in default behavior, because ScheduleConfig
  is off by default.

dynamic_pacing.studio_course_update
- Waffle switch removed as always-enabled
- Course teams can now always edit course updates directly in Studio

ScheduleConfig.create_schedules
ScheduleConfig.hold_back_ratio
- Model fields for rolling out the schedules feature
- Schedules are now always created
- This commit only removes references to these fields, they still
  exist in the database. A future commit will remove them entirely

This commit also adds a new has_highlights field to CourseOverview.
This is used to cache whether a course has highlights, used to
decide which course update email behavior they get. Previously every
enrollment had to dig into the modulestore to determine that.
2021-02-23 12:34:02 -05:00
adeelehsan
bf8949fcbe account activation event added
VAN-390
2021-02-23 22:00:00 +05:00
Usama Sadiq
638ef48e8c Remove edx-proctoring constraint (#26680)
* Remove edx-proctoring constraint

* Ran make upgrade
2021-02-23 11:16:00 -05:00
Robert Raposa
40611bb915 ARCHBOM-1667: fix: remove authentication from auth exchange (#26618)
* Remove authentication, including SessionAuthentication, to fix CSRF
  exemption by dropping CSRF check of SessionAuthentication.
* Several changes to make it more clear that only POST is supported and
  clean up GET method testing.
* Removed the temporary 403 error logging that wasn't working.
* Removed test_single_access_token which was written for DOP, but
  doesn't work with DOT. See
  [MA-2122](https://openedx.atlassian.net/browse/MA-2122) for a ticket
  about implementing this for DOT, although it doesn't seem to be a
  priority. NOTE: A comment was added to the ticket explaining that this
  test was removed.
* GET now returns default error for methods not allowed.

ARCHBOM-1667
2021-02-23 10:57:11 -05:00
Sarina Canelake
9fe56d1762 Merge pull request #26681 from edx/revert-26638-sarina/DEPR-142-TNL-7522
Revert "Remove the "role of users being enrolled" field from Instructor Dashboard"
2021-02-23 09:36:02 -05:00
Sarina Canelake
e3b0bffa50 Revert "Remove the "role of users being enrolled" field from Instructor Dashboard" 2021-02-23 09:03:31 -05:00
M. Zulqarnain
42fc6aef03 Upgrade django-ipware (#24827) 2021-02-23 18:14:17 +05:00
Adeel Ehsan
40ece9ea9b Merge pull request #26631 from edx/aehsan/van-319/added_authn_mfe_url_in_recover_account_command
authn mfe url added in recover account command
2021-02-23 17:51:39 +05:00
Jawayria
4303e5c77a Merge pull request #26559 from edx/jawayria/bom-2352-5
BOM-2352: Removed unused imports from lms/djangoapps/{email_marketing…
2021-02-23 16:09:40 +05:00
Jawayria
0e621d3289 Merge pull request #26538 from edx/jawayria/bom-2352-3
BOM-2352: Removed unused imports from lms/djangoapps/{course_blocks, …
2021-02-23 16:09:22 +05:00
Jawayria
98edaf887a Merge pull request #26500 from edx/jawayria/bom-2351-3
BOM-2351: Removed unused imports from common/djangoapps/third_party_auth
2021-02-23 16:08:57 +05:00
M. Zulqarnain
0fdb3fce9a pyupgrade on survey, teams and tests apps (#26647) 2021-02-23 15:50:22 +05:00
Awais Qureshi
57684f9938 Merge pull request #26656 from edx/BOM-2375-static-replace
Run Pyupgrade on static replace folder.
2021-02-23 15:12:31 +05:00
Muhammad Ammar
da0e3d0853 Merge pull request #26650 from edx/ammar/upgrade-edx-enterprise-version
upgrade edx-enterprise version to 3.17.40
2021-02-23 14:12:26 +05:00
Awais Qureshi
b97c2b61a9 Merge pull request #26655 from edx/BOM-2375-status
Run Pyupgrade on status folder.
2021-02-23 13:57:59 +05:00
M. Zulqarnain
fc06846cb0 BOM-2368: pyupgrade in LMS Directory (#26649)
* pyupgrade in lms dir

* replace wildcard

* pep8 fix

* fix quality
2021-02-23 12:36:00 +05:00
M. Zulqarnain
a235425ac3 pyupgrade on static_templates, staticbook and support apps (#26646) 2021-02-23 12:35:53 +05:00
Usama Sadiq
c0167d0e88 Merge pull request #26654 from edx/testeng/bokchoy_auto_cache_update_521f88f382acecc86fb7c9b5128d858a14313b07
Bokchoy Testing DB Cache update
2021-02-23 12:34:09 +05:00
adeelehsan
809c57f089 authn mfe url added in recover account command
VAN-319
2021-02-23 11:32:02 +05:00
Aarif
c828beb5d1 replaced unittest assertions pytest assertions (#26549) 2021-02-23 10:24:42 +05:00
Samuel Walladge
f43f1635df Add new functionality to generate ora summary report 2021-02-23 11:52:50 +10:30
Sarina Canelake
b41cb6a2ae Merge pull request #26638 from edx/sarina/DEPR-142-TNL-7522
Remove the "role of users being enrolled" field from Instructor Dashboard
2021-02-22 16:41:28 -05:00
sarina
406176b9e6 feat!: Remove the "role of users being enrolled" field from Instructor Dashboard
See DEPR-142
2021-02-22 16:18:12 -05:00
Kyle McCormick
6d78f6aab2 fix: staff debug actions depended on legacy courseware URL (#26658)
The Staff Debug Actions didn't work in the Learning MFE
because the underlying JS depended on the URL being
formatted as /courses/<course_key>/... in order to
parse out the course key. This worked in the legacy
experience, but breaks in the chromeless xblock view,
which is rendered under the URL /xblock/<usage_key>/...

The fix is to explicitly pass the course key into the
templated courseware HTML as a data attribute.

TNL-7955
2021-02-22 15:14:31 -05:00