Commit Graph

21937 Commits

Author SHA1 Message Date
Zainab Amir
2d3c6c05e1 Update page title to H1 (#25783)
Rebrand related work for:
- VAN-160
- VAN-186
2020-12-07 18:41:55 +05:00
adeel khan
bca0b5e2fb Merge pull request #25775 from edx/adeel/van_168_vertically_center_align_labels
Center align vertically label fields.
2020-12-07 15:52:42 +05:00
adeel khan
bea629d9d7 Merge pull request #25773 from edx/adeel/van_170_reduce_tos_and_honorcode_fontsize
Reduce tos/honorcode font size
2020-12-07 15:52:21 +05:00
Adeel Khan
4144ae2dc9 Center align vertically label fields.
VAN-168
2020-12-06 22:33:32 +05:00
Adeel Khan
acdf8d7511 Update page title to h1
VAN-179
2020-12-06 21:54:48 +05:00
Adeel Khan
68d869dc09 Reduce tos/honorcode font size
VAN-170
2020-12-06 21:35:03 +05:00
David Ormsbee
d930d10065 Revert "ARCHBOM-1636: upgrade supercsv" 2020-12-04 10:37:56 -05:00
Christie Rice
2ca9b6c4e8 MICROBA-734 Add class (#25744) 2020-12-03 11:54:05 -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
David Ormsbee
f096f5d685 Merge pull request #25618 from open-craft/symbolist/convert-annotatable-xmodule-to-xblock
[BD-4] Convert Annotatable XModule to XBlock. [SE-3640]
2020-12-02 13:37:20 -05:00
Feanil Patel
ded0767534 Merge pull request #25735 from edx/feanil/drop_shoppingcart_tables
Remove all models related to shoppingcart.
2020-12-02 13:18:25 -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
b901be8a25 Brand Update for Course Dates 2020-12-02 17:38:17 +05:00
Awais Jibran
c0d1f68ee7 Merge pull request #25692 from edx/branding/aj/update-masquerading-learner-theme-color
Update Masquerade text color for specific learner
2020-12-02 13:21:45 +05:00
Awais Jibran
e4f4face95 Merge pull request #25693 from edx/aj/branding/not-sure-link
Course Updates "Not sure" link
2020-12-02 01:22:29 +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
Alex Dusenbery
6d3a3d5ee2 ENT-3732 | Add enterprise_channel_worker to the list of all enterprise service users, in hopes that this will lessen the occurrence of rate-limit error responses for requests made by this user. 2020-12-01 11:27:43 -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
Awais Jibran
f8436a0ab8 Update Course Date Links to be buttons 2020-11-30 17:09:03 +05:00
Awais Jibran
c29184be3a Course Updates "Not sure" link 2020-11-28 01:51:49 +05:00
Awais Jibran
cebb4eaeb2 Update Masquerade text color for specific learner
Ensure that while masquerading as a specific learner you can view the text telling you what learner is being previewed.
2020-11-27 15:39:23 +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
Christie Rice
d80a7786e1 MICROBA-734 Rename specific color (#25671) 2020-11-24 10:13:00 -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
Usman Khalid
4a6f2b81a9 Convert Annotatable XModule to XBlock. 2020-11-24 04:58:59 +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
Matthew Piatetsky
007d4b388f Add display name field to user metadata 2020-11-18 14:06:09 -05:00
Christie Rice
852d61eaff MICROBA-666 Add migration for executive education mode (#25631) 2020-11-18 13:18:27 -05:00
Albert (AJ) St. Aubin
9e5071e0c3 [MICROBA-746] Improve this code to check for the availability of banner_images 2020-11-18 08:11:44 -05:00
Saleem Latif
618417ccef Merge pull request #25620 from edx/saleem-latif/ENT-3680-fix-sandbox-build
ENT-3702: Fix sandbox builds, because of signal chains, UserProfile table must be present before adding a User
2020-11-18 14:34:56 +05:00
Awais Jibran
28311e3aa5 Merge pull request #25610 from edx/aj/update-progress-page-border
Branding: Update boder-left on Progress page
2020-11-18 13:26:52 +05:00
Saleem Latif
c0de670c5b Fix sandboax builds, because of signal chains, UserProfile table must be predent before adding a User 2020-11-18 12:55:40 +05:00