Commit Graph

12296 Commits

Author SHA1 Message Date
Michael Terry
2711fbb376 Merge pull request #25863 from edx/mikix/offer-expire-refactor
TNL-7185: Send data, not rendered HTML to the learning MFE
2020-12-14 14:18:58 -05:00
Michael Terry
eef72b5ab7 TNL-7185: Send data, not rendered HTML to the learning MFE
Specifically, send data versions of course_expired_message and
offer_html.

The rendered HTML is still being sent for now, until the learning
MFE is updated to consume the data objects.
2020-12-14 13:41:03 -05:00
Bianca Severino
d1549e5129 Merge pull request #25845 from edx/bseverino/idv-course-key-fix
[MST-567] Encode course_id passed into IDV flow
2020-12-11 13:16:30 -05:00
Bianca Severino
2a4c26c367 Encode course_key passed into IDV flow 2020-12-11 09:38:38 -05:00
Jillian Vogel
511d6b975d SE-2010 Allows XBlocks to order columns for the Problem Response Report (#23109) 2020-12-11 09:37:26 -05:00
Feanil Patel
cfc63722a5 Undo revert.
This change was reverted along with the downgrade of super-csv because
it was believed that this change was causing issues with celery task
registration.

It was reverted in https://github.com/edx/edx-platform/pull/25762

The fix turned out to be something different and this and the
super-csv library should both be same to upgrade.  The library
upgrade will come in a follow-on make upgrade with some other
constraints that also need to be lifted.

Actual fix: https://github.com/edx/edx-platform/pull/25822
2020-12-10 13:54:36 -05:00
Alexander J Sheehan
999b88ebbb Merge pull request #25709 from edx/asheehan-edx/ENT-3648-assessment-level-signals
Adding signals and receivers for assessment level reporting
2020-12-10 09:29:54 -08:00
Shimul Chowdhury
421e661a5f Added new setting CERTIFICATE_DATE_FORMAT for easy customization of
certificate issued date
2020-12-10 21:46:20 +06:00
Ali Akbar
e209d892c1 Merge pull request #210 from edx/IM/security-fixes-2
Incident Management security fixes 2
2020-12-10 14:26:25 +05:00
Alexander Sheehan
2220a1bcb2 Adding feature flag for subsection grade update signal 2020-12-09 14:01:39 -08:00
Kyle McCormick
643fbe82a0 Downgrade REDIRECT_TO_COURSEWARE_MICROFRONTEND to CourseWaffleFlag (#25815)
The toggle was previously an ExperimentWaffleFlag,
which allows stable A/B testing but increases the toggle's
complexity. Since we do not plan an doing any more A/B
tests as part of the MFE rollout, we can 'downgrade' this
toggle to a CourseWaffleFlag, which still allows us to do
phased rollout and course-run-specific overrides.
2020-12-09 13:48:47 -05:00
Alexander Sheehan
6ef93078f9 adding unit tests for assessment level reporting and hashing cache key. 2020-12-09 10:07:46 -08:00
Alexander Sheehan
440773a72d Adding signals and receivers for assessment level reporting to integrated channels 2020-12-08 14:51:40 -08:00
Bianca Severino
9172935ca5 Merge pull request #25792 from edx/bseverino/idv-course-key
Fix query string being passed into IDV flow
2020-12-08 09:39:53 -05:00
Michael Terry
639d043675 Merge pull request #25765 from edx/mikix/upgrade-sidebar
AA-383: add verified mode info to course_home outline API
2020-12-08 08:43:38 -05:00
Bianca Severino
8805914b52 Fix query string being passed into IDV flow 2020-12-07 16:21:44 -05:00
edx-pipeline-bot
fe3cdb1209 Merge pull request #25786 from edx/private_to_public_4fed713
Mergeback PR from private to public.
2020-12-07 20:30:23 +05:00
Bianca Severino
49bbb771c5 Merge pull request #25764 from edx/bseverino/idv-log
Provide better logging for 400 errors on IDV photo submission
2020-12-07 09:19:20 -05:00
azanbinzahid
67395683af PROD-2127 2020-12-07 16:24:27 +05:00
Ali Akbar
4fed713ce9 Merge pull request #208 from edx/IM/security-fixes
IM security fixes
2020-12-07 15:39:20 +05:00
Michael Terry
ae561256cb AA-383: add verified mode info to course_home outline API
Adds can_show_course_sock and verified_mode values to the outline
API serialization. And adds a utility method to generate the
verified_mode dictionary, shared with the courseware API.
2020-12-04 14:26:38 -05:00
Bianca Severino
d9bd1c3f0b Add logging for 400 errors when submitting IDV photos 2020-12-04 13:57:02 -05:00
David Ormsbee
d930d10065 Revert "ARCHBOM-1636: upgrade supercsv" 2020-12-04 10:37:56 -05:00
Régis Behmo
216b99264a Upgrade waffle classes to the new edx-toggles API
Waffle classes no longer have namespaces. All features are moved to the
WaffleFlag/WaffleSwitch classes.

Here we use the edx_toggles.toggles.__future__ API, which is available
in 1.2.0. This means that we don't have to upgrade edx-toggles. We
should remove the __future__ imports as soon as we upgrade to 2.0.0.
2020-12-03 16:40:43 +01:00
Régis Behmo
d13a1fb5f5 Upgrade completion
This is required because edx-platform uses the waffle API from
completion, which itself depends on edx-toggles. So if we change
edx-toggles import paths, we also need to upgrade our usage of
completion here.
2020-12-03 16:06:15 +01:00
Régis Behmo
a16cd71046 Start waffle namespace deprecation
By explicitly importing the legacy namespace classes, we make it clear
that we are using soon-to-be-deprecated classes. We will then be able to
start removing the legacy classes, one module at a time.
2020-12-03 16:06:14 +01:00
Robert Raposa
4344da80a1 Merge pull request #25722 from edx/robrap/ARCHBOM-1636-upgrade-supercsv
ARCHBOM-1636: upgrade supercsv
2020-12-03 09:59:56 -05:00
Awais Jibran
64e26407f2 Logo Swap & Config for serving assets from cdn.
1. Header Logo
2. Footer Logo
3. Favicon
2020-12-03 17:30:13 +05:00
Robert Raposa
8809c73395 upgrade supercsv
Includes additional monitoring of celery tasks
in supercsv.

ARCHBOM-1636
2020-12-02 16:51:41 -05:00
Kyle McCormick
4dda73d797 [BD-14] Migrate all environments to use database-backed organizations (#25153)
* Install `organizations` app into LMS and Studio non-optionally.
* Add toggle `ORGANIZATIONS_AUTOCREATE` to Studio.
* Remove the `FEATURES["ORGANIZATIONS_APP"]` toggle.
* Use the new `organizations.api.ensure_organization` function to
  either validate or get-or-create organizations, depending
  on the value of `ORGANIZATIONS_AUTOCREATE`,
  when creating course runs and V2 content libraries.
  We'll soon use it for V1 content libraries as well.
* Remove the `util.organizations_helpers` wrapper layer
  that had to exist because `organizations` was an optional app.
* Add `.get_library_keys()` method to the Split modulestore.
* Add Studio management command for backfilling organizations tables
  (`backfill_orgs_and_org_courses`).

For full details, see
https://github.com/edx/edx-organizations/blob/master/docs/decisions/0001-phase-in-db-backed-organizations-to-all.rst

TNL-7646
2020-12-02 13:58:40 -05:00
Feanil Patel
e90c6ae5a2 Remove all models related to shoppingcart.
DEPR-43 - Removal of Shoppingcart.

All models have been removed and the change has been deployed to production
so this should be safe to do.

It's strange that the ORM decided to drop certain fields before dropping the
whole models but decided to leave it all as the ORM generated it rather than
trying to manually change it.

Also turn the check back on to make sure people don't actually check in code
without the relevant migration files.
2020-12-02 11:36:07 -05:00
Awais Jibran
f43c6732d1 Merge pull request #25623 from edx/branding/aj/course-dates-links
Update Course Date Links
2020-12-02 01:21:14 +05:00
Feanil Patel
0b2143816a Merge pull request #25707 from edx/robrap/add-code-owner-rest_framework.routers
add code_owner for rest_framework
2020-12-01 11:24:51 -05:00
Michael Terry
181cb70149 Merge pull request #25670 from edx/mikix/as-user-timezone
AA-459: Respect user's timezone in access-expiration message
2020-12-01 09:13:45 -05:00
Simon Chen
00ad36839d MST-542 Roll out Accounts MFE IDV workflow (#25613)
* MST-542 remove the IDV redirect to Account MFE waffle flag to permanently redirect learners to new IDV workflow. This completes the rollout process on edx-platform
2020-12-01 09:08:12 -05:00
Robert Raposa
93029169d1 add code_owner for rest_framework
Add code_owner for `rest_framework.routers`
and other `rest_framework` apps.
2020-11-30 16:52:40 -05:00
azanbinzahid
39e97da2f8 PROD-2126 2020-11-30 17:20:36 +05:00
Awais Jibran
f8436a0ab8 Update Course Date Links to be buttons 2020-11-30 17:09:03 +05:00
David Ormsbee
ff382578ea Merge pull request #25581 from mitodl/arslanashraf/195-sysadmin-deprecation-warning
SysAdmin: Added deprecation warning for Sysadmin Dashboard
2020-11-25 10:33:24 -05:00
Michael Terry
e8d9a254bd AA-459: Respect user's timezone in access-expiration message
Before, it would just always use UTC.
2020-11-24 12:02:19 -05:00
David Ormsbee
60d71b2e8c Merge pull request #25650 from edx/ormsbee/tnl-7665-blackout-dates
Format blackout dates to match rest of Discussions API.
2020-11-24 09:15:02 -05:00
Tim McCormack
2f8fa9e4f2 Leave warning about changing generated comment (#25660)
ARCHBOM-1544
2020-11-23 18:01:42 +00:00
David Ormsbee
a333a71411 Format blackout dates to match rest of Discussions API.
Technically, both "2020-10-20T23:59:00Z" and "2020-10-20T23:59:00+00:00"
are ISO-8601 compliant, though the latter is preferred. The Discussions
API uses the "Z" notation for almost all its dates, except for the
course blackout dates (those times when students aren't allowed to post
anything because it would threaten exam integrity). That's because the
blackout dates are manually formatted using datetime.isoformat().

As best as I can tell, we've always passed back the "+00:00" for the
blackout dates. But at some point, this broke the expectations of the
mobile apps, which expect the "+Z" format, like the rest of the API.
This commit changes the blackout dates to be returned in +Z format when
the blackout datetimes are specified by the user in UTC (which is almost
always the case–I suspect the mobile clients would break if the dates
were specified in other timezones anyhow).
2020-11-23 10:30:12 -05:00
Feanil Patel
1137e48467 Merge pull request #25646 from open-craft/0x29a/squash_tests_warnings
Replace 'multi_db = True' with 'databases = {alias for alias in connections}'
2020-11-20 09:53:24 -05:00
Ned Batchelder
75c56a6c8c Merge pull request #25645 from open-craft/0x29a/squash_warning
Fix imports, remove unused import
2020-11-19 19:11:02 -05:00
Matthew Piatetsky
81705589a4 Merge pull request #25636 from edx/add_course_name_to_metadata
Add display name field to user metadata
2020-11-19 11:19:02 -05:00
Feanil Patel
b09c418d22 Merge pull request #25594 from edx/feanil/async_milestone_eval
Run subsection completion milestones task async.
2020-11-19 10:47:03 -05:00
0x29a
8961db4f10 Fix imports, remove unused import 2020-11-19 14:37:09 +01:00
0x29a
c83a505635 Replace 'multi_db = True' with 'databases = {alias for alias in connections}'
Check this ticket for details: https://code.djangoproject.com/ticket/29513
2020-11-19 14:06:51 +01:00
Saleem Latif
54f59bc3b4 Revert migration update as it creates more issues than it fixes. 2020-11-19 11:25:16 +05:00