Commit Graph

57172 Commits

Author SHA1 Message Date
adeelehsan
55d2a4f897 Logistration MFE renamed to authn
VAN-300
2021-01-29 11:37:54 +05:00
Matt Tuchfarber
27defaba2f Merge pull request #26228 from edx/tuchfarber/fix_mb_redirection
Fix dashboard coaching redirect
2021-01-28 16:50:40 -05:00
Matt Tuchfarber
a54ef27306 Fix dashboard coaching redirect 2021-01-28 16:20:56 -05:00
Alex Dusenbery
27790141f3 Upgrade edx-enterprise to 3.17.14 | Add enterprise_customer field to the SystemWideEnterpriseUserRoleAssignment model, and updates Django Admin definitions around same. 2021-01-28 14:01:44 -05:00
Kyle McCormick
13bbab895e Bump django-config-models to 2.1.1 (#26219)
Pulls in a fix for a deprecated import of
`util.memcache.safe_key`.
2021-01-28 13:52:31 -05:00
alangsto
7a2299a2c3 upgrade edx-proctoring version (#26222) 2021-01-28 13:12:14 -05:00
Matthew Piatetsky
ff839c364e Merge pull request #26143 from edx/AA-613
[AA-613] Add contains_content_type_gated_content attribute to display items in the Sequence Metadata API.
2021-01-28 12:28:05 -05:00
Matthew Piatetsky
84fb4679c9 Add contains_content_type_gated_content attribute to display items in the Sequence Metadata API. This attribute is used to display the content type gating paywall in frontend-app-learning.
Also, refactor existing timed exam code that checks for content_type_gated_content in a sequence to make it try with the new code
AA-613
2021-01-28 12:00:53 -05:00
David Ormsbee
4fde69441c Fix build: use @shared_task for update_outline_from_modulestore_task (#26216)
Update to make update_outline_from_modulestore_task use @shared_task
and @set_code_owner_attribute.
2021-01-28 11:22:39 -05:00
David Ormsbee
5353324c80 Merge pull request #26145 from edx/ormsbee/course-outline-publish-tnl-7733
Push Course Outlines to learning_sequences on publish.
2021-01-28 10:21:11 -05:00
David Ormsbee
d531d38ec7 Fix formatting on interapp APIs extension ADR.
The numbered lists were not written correctly.
2021-01-28 09:56:38 -05:00
David Ormsbee
669677c78a Push Course Outlines to learning_sequences on publish.
The learning_sequences app has its own model for Course Outlines.
Prior to this commit, these course outlines were only populated by
a management command in the learning_sequences app that queried
modulestore. This commit does a few things:

1. Move the update_course_outline command to live in contentstore
   (i.e. Studio). This makes learning_sequences unaware of
   modulestore, and makes it easier for us to extract it from
   edx-platform (or to plug in different kinds of course outlines).
2. Add tests.
3. Add performance and debug logging to course outline creation.
4. Make course outline creation happen every time a course publish
   happens.

This will allow us to start collecting data about how long building
course outlines takes, and get error reporting around any content
edge cases that break the course outline code.
2021-01-28 09:56:28 -05:00
Albert (AJ) St. Aubin
1927ea234a [MICROBA-952] Updating CourseEntitlements Admin to disallow changes to
order number
.
2021-01-28 08:55:53 -05:00
Jawayria
f1c786b526 Merge pull request #26174 from edx/lint-amnesty
Applied pylint-amnesty to lms/djangoapps/badges
2021-01-28 17:30:12 +05:00
jawad khan
cb6f348959 LEARNER-8194
LEARNER-8194
Added self paced in mobile api enrolment api
2021-01-28 13:49:05 +05:00
edX requirements bot
9d66db0b5d Updating Python Requirements (#26204) 2021-01-28 12:57:37 +05:00
Awais Jibran
ab60371009 Merge pull request #26187 from edx/aj/fix-studio-favicon
Update studio favicon
2021-01-28 12:39:02 +05:00
Robert Raposa
6666ac3b85 Merge pull request #26163 from open-craft/raul/tsd-xblock_settings
[TSD] adds annotations for XBLOCK_SETTINGS
2021-01-27 17:36:26 -05:00
Robert Raposa
78c2389aa4 Merge pull request #26167 from jramnai/tsd-default_mobile_available
[TSD] add toggle annotations for DEFAULT_MOBILE_AVAILABLE
2021-01-27 16:47:41 -05:00
Carla Duarte
50572e158d Merge pull request #26179 from edx/ciduarte/start-course
AA-568: fix start course bug
2021-01-27 16:02:54 -05:00
Matt Tuchfarber
606311bd69 Merge pull request #25777 from open-craft/shimulch/bb-3306
[BB-3306] Customizable Certificate Date Format
2021-01-27 16:01:29 -05:00
Carla Duarte
d97b058c5d AA-568: fix start course bug 2021-01-27 15:29:21 -05:00
stvn
b55a3f9680 Merge PR #26200 fix/mfe-rollout/anonymous-access
* Commits:
  fix: Fix KeyError in vertical_block
2021-01-27 12:19:20 -08:00
Alex Dusenbery
86e74bef1f Upgrade edx-enterprise to 3.17.12 | Conditionally allows the deletion of individual EnterpriseCourseEnrollment and related LicensedEnterpriseCourseEnrollment records via the Django Admin site, so that site admins can manually delete enterprise enrollments that were created in error.
This is only allowed if a Django settings feature flag is set to True.
2021-01-27 15:15:00 -05:00
stvn
e09a5c9d94 fix: Fix KeyError in vertical_block
This now mimics the way this is (safely) done in the sequence module [1].

References:
- [1] 5f94a082ce/common/lib/xmodule/xmodule/seq_module.py (L657-L658)
2021-01-27 11:40:13 -08:00
Alex Dusenbery
aed3d8cbfc Define a ALLOW_ADMIN_ENTERPRISE_COURSE_ENROLLMENT_DELETION feature flag, so that site admins are allowed to delete EnterpriseCourseEnrollment records. 2021-01-27 14:25:53 -05:00
Ned Batchelder
7dae0b9c5a Merge pull request #25949 from mitodl/pdpinch/pr-template
add PR template
2021-01-27 12:39:38 -05:00
Tim McCormack
4359be96f3 Tweaks to anonymous user ID code path monitoring (#26194)
- Use different attribute names for new and old versions of function
- Use a shorter name overall (for ease of analysis)
- Add monitor for fetched-existing case
- Only record computed-stored if `get_or_create` succeeds, but also
  break it into created vs. fetched cases by checking return value
- Correct name of monitor in `except` clause -- that should only happen
  for a race inside `get_or_create` itself. There's a different race in
  the `anonymous_uid_for_user` between fetch and compute/save.
- Other name tweaks

ARCHBOM-1674
2021-01-27 16:12:55 +00:00
Alexander J Sheehan
ff87c45de8 Merge pull request #26180 from edx/alex-sheehan-edx/gradebook-view-bugfix
Adding collected structure to the course grade read
2021-01-27 09:58:07 -05:00
Tim McCormack
e0e03dec5f Use more appropriate hash when making tracking ID; document SECRET_KEY use (#26134)
- Make it easier to rotate `SECRET_KEY` by documenting this usage
  for both sensitivity and rotation process. (ARCHBOM-1676).
- Just use a hash of the secret rather than HMAC + MD5. We're not
  authenticating a message, so HMAC isn't really needed -- it just needs
  to be unique, deterministic, and irreversible. SHAKE allows generation
  of an arbitrary length hash without needing to truncate.

Also, rename tracking session ID generator for clarity -- there's no
encryption happening here.

Add additional test for existing claim of uniqueness.
2021-01-27 14:13:42 +00:00
alangsto
68706bd5df upgrade proctoring version (#26189) 2021-01-27 08:39:40 -05:00
Muhammad Soban Javed
d26a59eb67 import task decorator from celery APP instance in CMS (#25953)
* import task decorator from celery APP instance instead of celery package in CMS

* replaced task decorator with shared_task in cms and common

* Fixed import of shared_task

* Fixed import
2021-01-27 18:35:11 +05:00
Manjinder Singh
2723e0e2bd [ARCHBOM-1645] Modifying anonymous_id_for_user() to handly SECRET_KEY rotation (#26162)
These changes were initially made to make it easier to do SECRET_KEY rotations.  Along the way, we found it made sense to refractor the code as well.

Changes made:
- changed get_to_create to create because now the code should only get to this block when a write is necessary
- added a lookup for anonymous_user_id. This is to return an existing anonymous_user_id rather than calculating. This will mitigate the results of SECRET_KEY rotation.
- Added monitoring to help us make better decisions: should we not sue SECRET_KEY, performance considerations...
- put old function behind toggle in case something goes wrong in production with new code
- refractoring function structure for better understanding
2021-01-27 07:23:19 -05:00
Awais Jibran
f4c0d63564 Update studio favicon 2021-01-27 15:02:18 +05:00
usamasadiq
193a4b409d disable useless-suppression warning 2021-01-27 14:17:21 +05:00
Ahtisham Shahid
428402e370 changed instructor dashboard waffle type form course to legacy (#26128)
* changed instructor dashboard waffle type form course to legacy
2021-01-27 13:10:38 +05:00
edX requirements bot
761e470b30 Updating Python Requirements (#26184) 2021-01-27 12:32:20 +05:00
Ahtisham Shahid
3dfb25cb5d Updated/refactored logs in auth exchange (#26077) 2021-01-27 12:12:28 +05:00
Jayram
e64e658ae5 add toggle annotations for DEFAULT_MOBILE_AVAILABLE
added required annotations, detailed description and some nit

added extra space for the toggle_description
2021-01-27 09:48:49 +05:30
alangsto
a2a1998d26 update proctoring version (#26181) 2021-01-26 18:41:24 -05:00
Alexander Sheehan
12fd104ef2 adding collected structure to the course grade read to prevent attempts to subscript a null object 2021-01-26 16:33:51 -05:00
alangsto
ad5aa6cd7a downgrade proctoring version (#26178) 2021-01-26 16:20:12 -05:00
Christie Rice
b1e5695acf MICROBA-921 Move emit_certificate_event() to utils (#26133) 2021-01-26 14:41:34 -05:00
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
91ad3db55a improves settings_description for XBLOCK_SETTINGS with reference 2021-01-26 12:21:47 -05:00
Raul Gallegos
e4c47d5478 adds annotations for XBLOCK_SETTINGS 2021-01-26 12:21:47 -05:00
Raul Gallegos
7bae76b093 improves description for XBLOCK_RUNTIME_V2_EPHEMERAL_DATA_CACHE 2021-01-26 12:10:38 -05:00