Commit Graph

57124 Commits

Author SHA1 Message Date
Kyle McCormick
e3cfaab487 Merge pull request #25955 from open-craft/symbolist/convert-hidden-module-to-xblock
[BD-04] [SE-3708] Convert HiddenDescriptor to an XBlock.
2021-01-26 13:56:06 -05:00
Robert Raposa
2d7a8358ef Merge pull request #26172 from regisb/regisb/fix-cms-annotation
[BD-21] Fix `ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS` code annotation
2021-01-26 13:09:30 -05:00
Tim McCormack
0fbd134c55 Add monitoring for anonymous user ID code paths (#26176)
For ARCHBOM-1674 we need more information on how often save=False is
actually used vs. other code paths.
2021-01-26 18:06:39 +00:00
Robert Raposa
b86a78da43 Merge pull request #26165 from open-craft/raul/tsd-xblock_runtime_v2_ephemeral_data_cache
[TSD] adds annotations for XBLOCK_RUNTIME_V2_EPHEMERAL_DATA_CACHE
2021-01-26 13:04:03 -05:00
Raul Gallegos
7bae76b093 improves description for XBLOCK_RUNTIME_V2_EPHEMERAL_DATA_CACHE 2021-01-26 12:10:38 -05:00
Raul Gallegos
9d506ca5a6 adds annotations for XBLOCK_RUNTIME_V2_EPHEMERAL_DATA_CACHE 2021-01-26 12:10:38 -05:00
alangsto
7f8cb8e616 Updated proctoring version (#26173) 2021-01-26 11:41:56 -05:00
Régis Behmo
5f8a2952e9 Fix ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS code annotation
This annotation was causing a linting failure, and a TypeError down the road in
the feature toggle report processing step by
edx-toggles/scripts/feature_toggle_report.py.
2021-01-26 14:25:49 +01:00
Awais Jibran
eeed906017 Merge pull request #25994 from edx/aj/bulk-email-provide-logo-from-bkend
Provide logo URL from the backend
2021-01-26 15:02:56 +05:00
Usama Sadiq
6d403698d1 Merge pull request #26166 from edx/jenkins/upgrade-python-requirements-70cc6d8
Python Requirements Update
2021-01-26 14:44:33 +05:00
Ali Akbar
4537aa6124 Merge pull request #26022 from edx/aakbar/PROD-2218
disable xsslint
2021-01-26 14:31:19 +05:00
Saad Yousaf
78adfc6c6c [TNL-7803] - Add text to new Edge logo (#26097)
* edge logo

* Refactored code

* Refactored code

Co-authored-by: Asad <asadazam93@gmail.com>
2021-01-26 14:14:54 +05:00
edX requirements bot
19b531596d Updating Python Requirements 2021-01-25 23:55:14 -05:00
Michael Roytman
70cc6d8608 Merge pull request #26160 from edx/mroytman/update-edx-proctoring-version-2.6.1
update version of edx-proctoring library to 2.6.1
2021-01-25 15:44:16 -05:00
Christie Rice
32e0eb2edc MICROBA-921 Standardize imports within the certificates app for consistency (#26131) 2021-01-25 15:29:42 -05:00
Robert Raposa
99e09a1dd8 Merge pull request #26161 from edx/robrap/docathon-annotate-capture-cookie-sizes
[TSD] annotate cookie monitoring toggle
2021-01-25 15:21:14 -05:00
Christie Rice
8888f27d29 MICROBA-921 Fix typos (#26132)
* MICROBA-921 fix typos

* Fix quality
2021-01-25 15:05:22 -05:00
Robert Raposa
cf626667d6 annotate cookie monitoring toggle
* Annotate cookie monitoring toggle and settings.
* Refactor to replace LegacyWaffleFlag.
2021-01-25 14:42:44 -05:00
Robert Raposa
c946b76aa2 Merge pull request #26159 from open-craft/raul/tsd-xblock_field_data_wrappers
[TSD] adds settings annotations for XBLOCK_FIELD_DATA_WRAPPERS
2021-01-25 14:40:56 -05:00
Feanil Patel
c5913a58d5 Add an ADR about secret key usage. (#26146)
Add an ADR about secret key usage.

Don't use secret keys for use cases which would result in breakage upon
rotation and which might slow down the act of rotation.
2021-01-25 13:35:49 -05:00
Michael Roytman
fd22dec067 update version of edx-proctoring library to 2.6.1 2021-01-25 13:23:50 -05:00
Usama Sadiq
8ff0269fb5 Merge pull request #26157 from edx/testeng/bokchoy_auto_cache_update_11f54215ae1688b61955053e6c6800362ab1315e
Bokchoy Testing DB Cache update
2021-01-25 23:19:07 +05:00
Raul Gallegos
b9922325ad adds settings annotations for XBLOCK_FIELD_DATA_WRAPPERS 2021-01-25 12:52:50 -05:00
Michael Roytman
0912b44254 Merge pull request #26147 from edx/mroytman/MST-545-pass-proctoring-improvements-toggle-edx-proctoring
pass value of EXAM_RESUME_PROCTORING_IMPROVEMENTS feature toggle to ed…
2021-01-25 12:21:55 -05:00
Carla Duarte
f03797a882 Merge pull request #26158 from edx/ciduarte/AA-568
AA-568: dates widget styling
2021-01-25 11:15:14 -05:00
Carla Duarte
878f9a3064 AA-568: dates widget styling 2021-01-25 10:51:20 -05:00
edX cache uploader bot
feab79fc73 Updating Bokchoy testing database cache 2021-01-25 10:37:56 -05:00
Bianca Severino
fdee99c459 Merge pull request #26088 from edx/bseverino/contentstore-service
[MST-543] Allow InstructorService to retrieve proctoring escalation email
2021-01-25 10:33:18 -05:00
Bianca Severino
c95dc59356 Add function to InstructorService to retrieve proctoring_escalation_email 2021-01-25 10:05:27 -05:00
Michael Roytman
71cc2e18e5 pass value of EXAM_RESUME_PROCTORING_IMPROVEMENTS feature toggle to edx-proctoring Javascript via the student-proctored-exam-container div 2021-01-25 09:59:44 -05:00
Alex Dusenbery
135e9acf5f Update edx-enterprise to 3.17.11 and edx-rbac to 1.4.1; Adds an optional applies_to_all_contexts field to the SystemWideRoleAssignment model. 2021-01-25 09:51:48 -05:00
Robert Raposa
2de62ccf3a Merge pull request #26152 from regisb/regisb/enable-annotation-linting
Enable annotation linting with edx-lint
2021-01-25 08:54:41 -05:00
Syed Muhammad Dawoud Sheraz Ali
4a2a6c04be Merge pull request #24800 from regisb/regisb/fix-transcript-upload-to-s3
Fix TypeError during transcript upload to S3
2021-01-25 17:20:04 +05:00
Régis Behmo
97399cf97c Fix TypeError during transcript upload to S3
On a platform that is configured to upload video transcripts to S3
(`DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"`),
uploads from the studio fail with a TypeError: "Unicode-objects must be
encoded before hashing"

A full stacktrace of the issue can be found here:
https://sentry.overhang.io/share/issue/2249b6f67d794c7e986cc288758f4ebe/

This error is triggered by md5 hashing in the botocore library, which
itself is used by the S3Boto3Storage storage class. This error does not
occur with filesystem-based uploads because it does not perform checksum
verification. The reason why this error would not occur on edx.org is
unknown. Similar issues were already fixed from edxval.

To address this issue, we encode the transcript file content prior to
sending it to s3.
2021-01-25 12:23:31 +01:00
Régis Behmo
f140cc0f15 Enable annotation linting with edx-lint
We upgrade edx-lint to use the latest feature toggle and annotation custom
linter. Note that we do not yet make use of code annotation linting, typically
run with `code_annotations --lint ...`.

Note that we also fix new linting errors detected by the new checkers.
2021-01-25 10:31:24 +01:00
Ahtisham Shahid
ed1156a690 Improved traces for new relic in CMS dashboard (#26126)
* Improved traces for new relic in cms dashboard
2021-01-25 14:15:54 +05:00
Usama Sadiq
5a09786cf3 Merge pull request #26142 from edx/testeng/bokchoy_auto_cache_update_cf1e6aeb39c0a811897f5ef92c7f5a34b83afa52
Bokchoy Testing DB Cache update
2021-01-23 21:18:13 +05:00
edX cache uploader bot
e5ebd2077d Updating Bokchoy testing database cache 2021-01-22 10:08:31 -05:00
David Ormsbee
a2fc100ebc Merge pull request #26135 from open-craft/libraries-v2-anon-ids-shim-fix
[MNG-1904] Fix: update new runtime's runtime.anonymous_student_id to store in DB
2021-01-22 10:03:42 -05:00
Waheed Ahmed
fc8f189084 Update Facebook color.
Updated Facebook SSO button color acccording to their brand
guidelines.

VAN-296
2021-01-22 17:59:58 +05:00
Waheed Ahmed
f6287694ae Keep enterprise user on monolith FE.
If an enterprise customer is associated with the request,
keep the user on the monolith FE and do not redirect them to
MFE.

VAN-125
2021-01-22 17:01:00 +05:00
Saad Yousaf
b5ef613707 Logo text for edge (#26100)
* Logo text for edge

* Refactored code

Co-authored-by: Asad <asadazam93@gmail.com>
2021-01-22 15:45:14 +05:00
Usama Sadiq
034a9f2e24 Merge pull request #26136 from edx/jenkins/upgrade-python-requirements-812cd50
Python Requirements Update
2021-01-22 14:33:14 +05:00
jawad khan
091b2bc1fa LEARNER-8097
LEARNER-8097
Added self paced in course serializer
2021-01-22 13:18:35 +05:00
edX requirements bot
5411debbe0 Updating Python Requirements 2021-01-21 23:46:23 -05:00
Braden MacDonald
ae16394ee5 Fix: update new runtime's runtime.anonymous_student_id to store in DB
This addresses a longstanding TODO item to make runtime.anonymous_student_id for content libraries v2 work the same way as it does for XBlocks in regular courses, persisting the "context ID" (equivalent to course ID) to the database. This way, if SECRET KEY is changed, existing anonymous IDs will continue to work unchanged.

This is a potentially breaking change, but should mostly affect capa problems using external code graders or Matlab code input, and I'm not aware of any such usage of the new runtime / libraries v2.
2021-01-21 15:38:53 -08:00
Michael Roytman
812cd504de Merge pull request #26130 from edx/mroytman/update-edx-proctoring-version-2.5.13
update version of edx-proctoring library to 2.5.13
2021-01-21 15:58:55 -05:00
Michael Roytman
d69bf444f3 update version of edx-proctoring library to 2.5.13 2021-01-21 12:18:39 -05:00
Matthew Piatetsky
0101eefe73 Merge pull request #26110 from edx/AA-497
[AA-497] Only set due dates on subsections that contain graded assignments with a score and a nonzero weight
2021-01-21 11:23:21 -05:00
Kyle McCormick
44d5060c60 Add setting for error'ing on deprecated imports
Deprecated edx-platform import paths
(for example, `student` instead of
`common.djangoapps.student`) currently raise
warnings when used. We want to fully remove
support for those paths.

As an easily reversible way to initially remove
support, we add a new setting to LMS and Studio
called `ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS`,
defaulting to False. We set it to True for devstack
and will set it to True in Stage and Production
soon. If critical errors occur, we can easily
flip the setting back to False.
2021-01-21 10:49:47 -05:00