Commit Graph

58450 Commits

Author SHA1 Message Date
Awais Jibran
dd3a0bd939 Add missing import logs. (#27056) 2021-03-18 19:57:18 +05:00
Robert Raposa
d4bbd9d03e fix: move ignored error message custom attribute (#27047)
The `error_expected` custom attribute used to contain
both the class name and the error message. This had
the following issues:

* Combining data in the same custom attribute limits
the ability to query.
* The additional error class and message data is only
needed for ignored errors, since this data isn't
available elsewhere.

The following changes were made:
* `error_expected` will always have the value True
if present.
* `error_ignored` no longer exists.
* `error_ignored_class` will contain the error module
and class for ignored errors.
* `error_ignored_message` will contain the error message
for ignored errors.

ARCHBOM-1708
2021-03-18 10:37:47 -04:00
Simon Chen
69da33cc9c Update the logging messages on ID Verification backend (#27061)
Currently in edx.org production, we have seen unhelpful error message that produces noises covering real important errors. This change would update the logging so we can have better and informative error messages for ID Verification
2021-03-18 10:32:25 -04:00
Waheed Ahmed
4af767e0fb Fix finish auth url for MFE
Currently extra query params are not being handled in get TPAContextView,
Fixed using already available get_next_url_for_login_page().

VAN-415
2021-03-18 19:19:14 +05:00
Usama Sadiq
afc0a6b770 refactor: Ran pyupgrade on openedx/core/djangoapps/enrollments (#26912)
Co-authored-by: Muhammad Soban Javed <58461728+iamsobanjaved@users.noreply.github.com>

Co-authored-by: Muhammad Soban Javed <58461728+iamsobanjaved@users.noreply.github.com>
2021-03-18 18:38:20 +05:00
Usama Sadiq
918c44e499 refactor: Ran pyupgrade on openedx/core/djangoapps/embargo (#26911) 2021-03-18 18:38:09 +05:00
Usama Sadiq
8ca33082ff refactor: Ran pyupgrade on openedx/core/djangoapps/django_comment_common (#26910) 2021-03-18 18:37:59 +05:00
Usama Sadiq
5b9978029e refactor: ran pyupgrade on openedx/core/djangoapps (#26909)
Ran pyupgrade on {debug, demographics, discussions}.
2021-03-18 18:37:31 +05:00
Dillon Dumesnil
1949675761 Merge pull request #27042 from edx/ddumesnil/segment-device-mode-aa-692
refactor: AA-692: Update location of is-hidden class when fa icon is …
2021-03-18 06:29:59 -07:00
Awais Qureshi
abf9ce852c Merge pull request #27052 from edx/third-party-auth
Pyupgrade in common/djangoapps/third-party-modes/
2021-03-18 17:13:19 +05:00
Awais Qureshi
4beb498c04 Merge pull request #27051 from edx/course-modes-pyupgrade-3
Pyupgrade in common/djangoapps/coursemodes.
2021-03-18 16:41:36 +05:00
Nizar Mahmoud
5f7dbc2d45 docs: updates ticket annotations for block structure settings and toggles
Updates the annotations for the block structure settings and toggles based on a [discussion] that was held on the pull request that annotated those same settings and toggles.

It also adds the DEPR tickets that were promised earlier in the annotations.
For future reference, there's also a [forum thread] to discuss the DEPR tickets titled.

[discussion]: https://github.com/edx/edx-platform/pull/26175#issuecomment-800632485

[forum thread]: https://discuss.openedx.org/t/deprecation-removal-several-block-structure-caching-settings-depr-143-depr-144-depr-145-depr-146/4288?u=nizar
2021-03-18 13:05:32 +03:00
Zainab Amir
3cdbb5b36a Track total time it takes users to register (#27020)
Added a new property in edx.bi.user.account.registered event to
track total time it took the user to register.

VAN-413
2021-03-18 13:02:12 +05:00
AsadAzam
1593b40702 Improved logging for import (#27024)
* Improved logging for import

* Refactored code

* Refactored code

* Refactored code

* Refactored code

* Refactored code

* refactored code

* Refactored code

* Updating log

Co-authored-by: Awais Jibran <awaisdar001@gmail.com>
2021-03-18 12:40:38 +05:00
Awais Qureshi
4a11c86533 Pyupgrade in common/djangoapps/coursemodes. 2021-03-18 12:23:52 +05:00
Awais Qureshi
18c1d871df Pyupgrade in common/djangoapps/coursemodes. 2021-03-18 12:00:26 +05:00
Awais Qureshi
8f4491e927 Pyupgrade in common/djangoapps/third-party-modes/ 2021-03-18 11:26:19 +05:00
Awais Qureshi
356f169a47 Pyupgrade in common/djangoapps/coursemodes. 2021-03-18 11:19:46 +05:00
Matthew Piatetsky
3b65406a0d Merge pull request #27044 from edx/AA-461
[AA-461] Change how we get course ids to avoid memory issues
2021-03-17 22:16:15 -04:00
Matthew Piatetsky
b52037176c Change how we get course ids to avoid memory issues 2021-03-17 17:18:28 -04:00
Alexander Sheehan
d61bc5c79b bumping enterprise version to 3.18.7 2021-03-17 17:16:21 -04:00
Dillon Dumesnil
7791f15509 refactor: AA-692: Update location of is-hidden class when fa icon is used
We ran into a bug where the is-hidden class was being overridden by the
font awesome styling due to a late load of font awesome (causing the
fa class to take precedence). This changes to instead wrap the icon in
the span so there is no competing between the two classes on the same
element
2021-03-17 10:57:56 -07:00
Awais Qureshi
2545e6e174 Merge pull request #26754 from edx/update-edx-bulk-grades
Upgrading update-edx-bulk-grades to latest ver.
2021-03-17 22:23:03 +05:00
Bianca Severino
3af3f5bc11 Update edx-proctoring to 3.7.13 2021-03-17 13:18:16 -04:00
Stu Young
aba07f59a5 Merge pull request #27034 from edx/estute/add-email-to-segment-traits
add email to segment traits for enrollment events
2021-03-17 10:09:11 -04:00
Awais Qureshi
a872383a70 Merge pull request #26939 from edx/content_type_gating-2
pyupgrade in content-type-gating
2021-03-17 17:33:21 +05:00
M. Zulqarnain
5d2b0e8346 refactor: pyupgrade in content_libraries and contentserver apps (#26892) 2021-03-17 17:28:23 +05:00
M. Zulqarnain
6266caf143 refactor: pyupgrade in openedx/content app (#26891) 2021-03-17 17:28:06 +05:00
M. Zulqarnain
0d86ebb361 refactor: pyupgrade in openedx/content app (#26890) 2021-03-17 17:27:48 +05:00
Awais Qureshi
5eedc0f8e9 upgrade in bulk-grades. 2021-03-17 16:58:00 +05:00
Jawayria
b578dba357 Merge pull request #26599 from edx/jawayria/bom-2408-2
BOM-2408: Removed unused imports from openedx/core/djangoapps/content
2021-03-17 16:54:20 +05:00
Awais Qureshi
6214f2deca Merge pull request #26940 from edx/course-bookmarks
pyupgrade in course-bookmarks, course-duration
2021-03-17 16:45:58 +05:00
Robert Raposa
2c0a8242f7 ARCHBOM-1708: feat: monitor and log expected errors (#26980)
Adds logging and monitoring capabilities for expected
errors. See the ADR and how-to  documentation for
details of how to configure and use the EXPECTED_ERRORS
setting and new monitoring and logging.

ARCHBOM-1708

Co-authored-by: Tim McCormack <tmccormack@edx.org>
2021-03-17 07:27:13 -04:00
Awais Qureshi
d5e9e22228 Upgrading update-edx-bulk-grades to latest ver. 2021-03-17 16:25:04 +05:00
jawad khan
7d4f192bcb Learner 7611 - Make URLs of all video encodings available in Blocks API (#26701)
* LEARNER-7611
Get all quality video urls in blocks api
* moved video profiles from blocks api to video_module
2021-03-17 13:11:34 +05:00
Jawayria
10d4c5259d Merge pull request #26581 from edx/jawayria/bom-2352-8
BOM-2352: Removed unused imports from lms/djangoapps/{lti_provider, m…
2021-03-17 12:56:53 +05:00
edX requirements bot
75460058e7 Updating Python Requirements (#27035) 2021-03-17 12:51:04 +05:00
Stuart Young
995c6548bb add email to segment traits 2021-03-16 18:07:04 -04:00
Matthew Piatetsky
65520c48a5 Merge pull request #27031 from edx/AA-461
[AA-461] Call celery task directly from management command instead of calling the signal
2021-03-16 17:46:01 -04:00
Matthew Piatetsky
cccd6e8fe7 Call celery task directly from management command instead of calling the signal
AA-461
2021-03-16 16:10:57 -04:00
Matt Tuchfarber
698de6d0fb Merge pull request #27030 from edx/tuchfarber/remove_cert_date_waffle
Enable course cert sync for all courses
2021-03-16 15:18:10 -04:00
Matt Tuchfarber
ed8604534c (feat) Enable course cert sync for all courses
Removes waffle flag restriction for syncing certificate available dates
to the credentials service.
2021-03-16 14:31:11 -04:00
Stu Young
5107aa41e9 DENG-803: add traits to segment context for enrollment activated events (#26842)
add traits to segment context for enrollment activated events
2021-03-16 14:28:22 -04:00
Christie Rice
6b7d63af09 MICROBA-1055 Listen for course enrollment mode change (#27029) 2021-03-16 14:06:46 -04:00
Alex Dusenbery
6a868108c2 fix: enterprise 3.18.6 | The update_role_assignments_with_customers command no longer updates records. It only creates new records, which helps de-risk the operation. 2021-03-16 12:49:09 -04:00
Zachary Hancock
c99a990b83 update edx-proctoring to 3.7.12 (#27026) 2021-03-16 10:36:25 -04:00
Binod Pant
7fb068a09d fix: upgrade enterprise for ENT-3954 (#27025) 2021-03-16 10:32:05 -04:00
David Ormsbee
82ca05392e fix: Fix proctored exam display in learning_sequences admin.
I had the wrong attribute before this commit, and Django Admin let
me get away with it because it doesn't explode when you try to grab
relations that aren't there–it just quietly returns None in some of
those cases.
2021-03-16 09:50:28 -04:00
Ahtisham Shahid
66a62b1670 Fixed rendering issue in course title (#27003) 2021-03-16 18:43:29 +05:00
Christie Rice
90f5e42dbd MICROBA-1055 Require a valid enrollment mode, even on the allowlist (#27012) 2021-03-16 09:37:27 -04:00