Commit Graph

58158 Commits

Author SHA1 Message Date
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
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
Michael Terry
6f7e6bca87 Merge pull request #27023 from edx/mikix/forum-transactional
feat: mark forum response notifications transactional
2021-03-16 09:23:55 -04:00
Michael Terry
a7b75e5014 feat: mark forum response notifications transactional
The user opts into them when making a post / through the forums UI.
They are not truly a marketing email or similar.
2021-03-16 08:50:40 -04:00
Awais Qureshi
2e9bb7b961 Merge pull request #26954 from edx/learner-profile
pyupgrade in leaner-profile, lti-course-tab, personalized-learner
2021-03-16 17:33:17 +05:00
Matt Tuchfarber
30d59f2fcc Merge pull request #26991 from edx/tuchfarber/fix_transaction_bug
feat: Pass date in cert date update signal
2021-03-16 08:01:27 -04:00
Awais Qureshi
b68566cbed Merge pull request #26951 from edx/pyupgrade-course_search
pyupgrade in course-search and discount.
2021-03-16 16:18:05 +05:00
Awais Qureshi
8ee4bd2f92 Merge pull request #26887 from edx/BOM-2442
pyupgrade in announcements.
2021-03-16 15:26:38 +05:00
Usama Sadiq
55661b441d refactor: ran pyupgrade on openedx/core/djangoapps/credit (#26848) 2021-03-16 15:16:31 +05:00
Usama Sadiq
369885002d refactor: ran pyupgrade on openedx apps (#26846)
Ran pyupgrade on openedx/core/djangoapps/{coursegraph, courseware_api, crawlers}
2021-03-16 15:15:35 +05:00
M. Zulqarnain
0ca2295e8f refactor: pyupgrade in passowrd_policy (#26950) 2021-03-16 14:37:15 +05:00
M. Zulqarnain
dfe6f21e4a refactor: pyupgrade in monkey_patch, oauth_dispatch, olx_rest_api (#26917) 2021-03-16 14:37:08 +05:00
Usama Sadiq
cf10b29a3e refactor: ran pyupgrade on openedx/core/djangoapps/dark_lang (#26849) 2021-03-16 14:30:46 +05:00
Awais Qureshi
52a92d2b40 Pyupgrade in announcements. 2021-03-16 14:21:46 +05:00
M. Zulqarnain
c8902bed58 refactor: pyupgrade in heartbeat, lang_pref, models (#26916) 2021-03-16 14:15:01 +05:00
M. Zulqarnain
e9239e5972 refactor: pyupgrade in common_views, config_model_utils (#26915) 2021-03-16 14:14:46 +05:00
edX requirements bot
3decc70c47 Updating Python Requirements (#27019) 2021-03-16 14:11:32 +05:00
edX cache uploader bot
e13f0c0a96 Updating Bokchoy testing database cache (#27008) 2021-03-16 13:05:37 +05:00
Muhammad Soban Javed
a361cbdbe9 Added a pylint plugin to set django settings module (#26938)
* Added a pylint plugin to set django settings module according to the module on which pylint is ran

* Fix quality

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2021-03-16 12:53:02 +05:00
Awais Qureshi
26ff8b2bb9 Merge pull request #27002 from edx/fixing-test
BOM-2453
2021-03-16 12:08:29 +05:00
Carla Duarte
a7b960bb54 Merge pull request #27016 from edx/ciduarte/AA-212
AA-212: add masquerade test for progress tab
2021-03-15 16:57:49 -04:00
Kyle McCormick
1f392bdc3e fix: render_xblock was denying access to staff masquerading as learners (#27017)
The render_xblock view, which powers the Learning
MFE (among other things) returned a 404 when un-
enrolled course staff users tried to load it while
masquerading as learners. This was because we
checked course access after enabling the
masquerading context, which triggered a redirect-
to-enrollment exception.

The fix is simply to enable the masquerading
context after checking course access.
Content-level behavior and access is still
calculated within the masquerading context,
as intended.

TNL-7989
2021-03-15 16:50:33 -04:00
Carla Duarte
dbe31e3c48 AA-212: add masquerade test for progress tab 2021-03-15 16:35:30 -04:00
Awais Qureshi
9de74b1b13 BOM-2453
tests are failings and complaining related objects doest not exists in
User table. Create object in test setup to fix it.
In another fix article id was giving integrity error.
Fixing task test.
2021-03-16 01:15:48 +05:00
Michael Terry
c79a640117 Merge pull request #27014 from edx/mikix/double-message
fix: don't duplicate text in forum notification email
2021-03-15 16:06:03 -04:00
Michael Terry
4aacedc604 fix: don't duplicate text in forum notification email 2021-03-15 15:29:01 -04:00
Awais Qureshi
863a70c6fa BOM-2453
tests are failings and complaining related objects doest not exists in User table. Create object in test setup to fix it.
In another fix article id was giving integrity error.
Fixing task test.
2021-03-15 23:47:57 +05:00
Ben Holt
e93f035876 feat: exposed 'Date' header so clients can compute accurate relative time (#26979) REV-2126
Exposed the Date header so clients can accurately compute times relative to the dates returned by the API; browser time is notoriously unreliable for this, especially for a Learner-facing countdown call-to-action based on the access expiration date. (REV-2126)

Using the Date header for this allows the client to make use of information that is already sent, does not require additional calls nor modifying the API, and could be generalized to more or all our APIs without modifying them.
2021-03-15 14:43:00 -04:00
Justin Hynes
24ac0e627f Merge pull request #27010 from edx/jhynes/microba-1011_cleanup
MICROBA-1011 | Reduce use of certs models directly in instructor dashboard app
2021-03-15 13:27:34 -04:00
Michael Terry
47e4991af0 Merge pull request #27009 from edx/mikix/ace-bump
fix: bump edx-ace to 1.0.1 to fix braze email styling
2021-03-15 12:52:29 -04:00
Justin Hynes
0b22c70248 MICROBA-1011 | Reduce use of Certificates models accessed directly in Instructor Dashboard djangoapp
[MICROBA-1011]
- When creating bulk allowlist entries make the tool use the `is_on_allowlist` certificate API function over accessing the CertificateWhitelist model methods directly
- When creating bulk allowlist entries make the tool use the `create_or_update_allowlist_entry` certificate API function over using CertificateWhitelist model/Django ORM directly
2021-03-15 12:00:56 -04:00
edX cache uploader bot
d16241a8d5 Updating Bokchoy testing database cache (#27007) 2021-03-15 19:59:03 +05:00
Matthew Piatetsky
7ec8e0e327 Merge pull request #26988 from edx/AA-461
[AA-461] Add management command to export course metadata for all courses
2021-03-15 10:57:59 -04:00
Michael Terry
dda3591b06 fix: bump edx-ace to 1.0.1 to fix braze email styling 2021-03-15 10:49:48 -04:00
Alex Dusenbery
854015d18e fix: The update_role_assignments_with_customers command no longer deletes open assignments.
Allowing it to do so left us prone to error when an explicit enterprise_customer_uuid arg is provided.
We should modify this command in the future to perform deletions of open assignments as its only action,
and it should only be invoked this way after we have verified that all
backfilled enterprise_customer fields on the assignments have been set correctly.
enterprise version 3.18.4
2021-03-15 10:13:52 -04:00
David Ormsbee
51811f0c5e Merge pull request #26987 from edx/ormsbee/tnl-8057-malformed-structures
Improved error handling in Course Outline generation.
2021-03-15 10:11:57 -04:00
M. Zulqarnain
8ec2699269 refactor: pyupgrade in openedx ccxcon and certificates (#26852) 2021-03-15 18:30:06 +05:00
M. Zulqarnain
94f14c6b3d refactor: pyupgrade on bookmarks, cache_tools, catalog (#26783) 2021-03-15 18:29:40 +05:00