Commit Graph

21052 Commits

Author SHA1 Message Date
edX Transifex Bot
063e1d45c8 fix(i18n): update translations 2020-05-03 17:19:10 -04:00
Simon Chen
34d4d162f7 MST-108 Add masquerading fix to the upgrade message display 2020-05-01 16:54:43 -04:00
Aarif
98af9ce418 remove useless-supression warnings 2020-05-01 19:42:15 +05:00
Aura Milena Alba
ce96d6c92d DEPR-66 Remove pattern library on programs_details (#23416) 2020-05-01 10:39:51 -04:00
Régis Behmo
cc6e823fe6 Quiet courseware import warnings
As it is explained in courseware/__init__.py:

    Importing 'lms.djangoapps.courseware' as 'courseware' is no longer
    supported

This warning, while relevant, decreased the signal/noise ratio when
investigating the lms logs.

The "bulk_email" app was the only remaining app importing the courseware
module incorrectly. All edx-platform modules and dependencies now follow
the new convention.

This is in part for CRI-196.
2020-05-01 00:07:30 +02:00
Régis Behmo
cfe311be0f Quiet deprecation warnings from imp module
The "imp" module is deprecated and should be replaced by "importlib". As
a consequence, loading the django settings used to raise deprecation
warnings:

    DeprecationWarning: the imp module is deprecated in favour of
    importlib; see the module's documentation for alternative uses

It should be noted that python 3.5.1 ships with an older release of
distutils which still relies on the imp module. Thus, users of python
3.5.1 (for instance: edx.org developers) will continue to see the
deprecation warning for some time, despite this patch. We suggest
upgrading to python 3.5.9.

This addresses part of CRI-196.
2020-04-30 23:41:40 +02:00
Michael Terry
cce2c0e015 Merge pull request #23858 from edx/mikix/less-upselling
Reduce upselling on Dates tab
2020-04-30 15:55:37 -04:00
Michael Terry
70c9170ed2 Reduce upselling on Dates tab
The dates tab has a lot of redundant calls to action around
upgrading to verified track. This replaces them with a single
banner at the top of the page.

AA-102
2020-04-30 15:31:58 -04:00
Calen Pennington
ff88f3d423 Only show the resets date banner if you have missed the due date on a graded subsection
[AA-138]
2020-04-30 11:50:45 -04:00
Zachary Hancock
f9bd748169 remove bulk write of CourseAccessRoleAssignment (#23849) 2020-04-30 11:05:15 -04:00
julianajlk
d1ee55d57f Add alert banner to Contact Us Page with Covid-19 message (#23825)
PROD-1480
2020-04-30 11:01:46 -04:00
Robert Raposa
c6e9e545f9 fix flaky tests (#23848)
It doesn't look like this setting was required, and because it didn't
use override_settings, it broke other tests.
2020-04-29 15:42:17 -04:00
stvn
d5ed3fcc22 Merge PR #23846 fix/learn-mfe/resize-iframe
* Commits:
  Stop skipping chromeless iframe resize onload event
2020-04-29 11:43:06 -07:00
stvn
6c5edee219 Stop skipping chromeless iframe resize onload event
in the case where the MutationObserver has already tried resizing the
iframe prior to it fully loading.
2020-04-29 11:04:12 -07:00
Zachary Hancock
cb44075ace only query due_dates for courses in progress (#23823) 2020-04-29 12:15:03 -04:00
Dave St.Germain
4548337114 Merge pull request #23826 from edx/robrap/fix-is_in_memory_db-issue
fix issue with is_in_memory_db
2020-04-29 08:51:02 -04:00
Robert Raposa
e63a7a4920 Revert "remove tests causing flakiness (#23827)" (#23830)
This reverts commit be1aaa00ff.
2020-04-28 17:31:45 -04:00
Robert Raposa
b74acce64c fix issue with is_in_memory_db
For mysql, it seems `is_in_memory_db` does not even exist. Ensure it
exists before calling it.
2020-04-28 16:19:15 -04:00
Robert Raposa
be1aaa00ff remove tests causing flakiness (#23827)
These removed tests can be restored once someone works out why they
were causing flakiness elsewhere and fix the problem.

Reverts tests added in:
dca50aacc3
2020-04-28 16:12:29 -04:00
stvn
2ddc35cd79 Add logging to Learning MFE iframe, temporarily
to debug Firefox event handling that cannot be reproduced locally.

See TNL-7187 [1] for more details.

- [1] https://openedx.atlassian.net/browse/TNL-7187
2020-04-28 10:08:21 -07:00
Ahtisham Shahid
f14946d1de Merge pull request #23749 from edx/ahtisham/PROD-1476
Disabled copy/paste in confirm email
2020-04-28 13:16:01 +05:00
Ahtisham Shahid
8af94ec72a Disabled copy/paste in confirm email
Created sorting for email field

updated tests

Fixed sorting issue in registration form

Fixed sorting issue in registration form

Fixed sorting issue in registration form

Added missing items in env and updated order logic

Added missing items in env and updated order logic
2020-04-28 11:51:01 +05:00
Dave St.Germain
003d7faac2 Merge pull request #23728 from edx/dcs/dashboard
Refactor instructor dashboard access
2020-04-27 10:25:20 -04:00
Feanil Patel
f1da88813a Merge pull request #23811 from edx/feanil/update_settings_docs
Update some really out of date docs for settings.
2020-04-27 10:19:48 -04:00
adeel khan
6a5e2807ba Merge pull request #23817 from edx/transifex-bot-update-translations2020-04-27
fix(i18n): update translations
2020-04-27 18:08:02 +05:00
Waheed Ahmed
dca50aacc3 added tests for revoke program cert task 2020-04-27 16:35:36 +05:00
Waheed Ahmed
6a7dc067da Add revoke program certificate task.
Upon invalidating course certificate, revoke related program certificates
as well.

PROD-1271
2020-04-27 16:35:36 +05:00
edX Transifex Bot
ee611d623c fix(i18n): update translations 2020-04-27 11:21:00 +00:00
Feanil Patel
f5da00641b Update some really out of date docs for settings. 2020-04-24 15:33:05 -04:00
Awais Jibran
158b99f1c9 Short Circuit Digest preferences call on Discussion Home Page 2020-04-24 16:00:46 +05:00
Robert Raposa
5de9eed420 ARCHBOM-1093: Fix unit test enable-migrations (#23789)
* fix old migrations
* fix a test
* fix enable-migrations cmd argument
* enhance verbose logging to log migrations
* update testing doc with help
2020-04-23 14:04:29 -04:00
Awais Jibran
465d864c77 Adds settings for celery task auto discovery 2020-04-23 12:52:16 +05:00
stvn
ed543de5fb Merge PR #23779 courseware-api offer banner
* Commits:
  Get upgrade offer banner HTML in courseware API
2020-04-22 15:37:52 -07:00
stvn
0fa6099802 Get upgrade offer banner HTML in courseware API
for use in the Learning MFE.
2020-04-22 14:14:55 -07:00
Feanil Patel
db4fd4525e Don't explicitly set the email backend in production.py
We shouldn't be explicitly setting this here. It's already set in all of
our override files and not everyone who wants to use production.py wants
to use SES so we shouldn't hardcode it here.

Also move the other settings to above the config loading so that all
config can be overridden by the config file.
2020-04-22 11:20:46 -04:00
Dave St.Germain
7336ea91fe This refactors instructor dashboard access to use Bridgekeeper permissions and allows the Data Researcher course/org role to access only the data downloads tab of the dashboard.
TNL-7176
2020-04-22 11:06:08 -04:00
edX Transifex Bot
4f1979dfd4 fix(i18n): update translations 2020-04-22 09:17:11 -04:00
Albert (AJ) St. Aubin
5e3a5d8bb8 Merge pull request #23753 from edx/aj/jwt_issuer
Config changes to get the JWT token working with MFEs again
2020-04-22 08:10:23 -04:00
edX Transifex Bot
960ba3fe4d fix(i18n): update translations 2020-04-22 04:36:16 -04:00
adeel khan
d8cd19e099 Merge pull request #23770 from edx/adeel/prod_1438_fix_fa_page
Fixes translations for financial assistance page
2020-04-22 12:42:31 +05:00
Albert (AJ) St. Aubin
aeef139843 Config changes to get the JWT token working with MFEs again 2020-04-21 20:20:36 -04:00
Feanil Patel
5233fd3bc5 Merge pull request #23756 from edx/feanil/remove_redundant_loading
Remove redundant settings.
2020-04-21 14:11:53 -04:00
Farhanah Sheets
d189f0d854 Merge pull request #23755 from edx/julianajlk/PROD-1480/contactus-alert-banner
Add alert banner to Contact Us Page
2020-04-21 10:54:12 -04:00
Farhanah Sheets
d229240363 Merge pull request #23752 from edx/julianajlk/PROD-1482/change-cta
Update CTA text for Contact Us Page
2020-04-21 10:53:27 -04:00
Farhanah Sheets
602ebfaf1c Merge pull request #23757 from edx/fsheets/contact-us-hackathon-2
Update wording for clarity and bug fix for API expectations
2020-04-21 10:49:44 -04:00
Adeel Khan
67ec1d703c Fixes translations for financial assistance page
PROD-1438
2020-04-21 17:16:48 +05:00
AsadAzam
db7ddf10f2 Merge pull request #23768 from edx/asad/prod-1394-fix
Fixed error message check on 403
2020-04-21 14:18:47 +05:00
Alex Dusenbery
f40bb34ce7 For course grade and problem grade reports, clear course enrollment caches after each batch of users is processed. 2020-04-20 14:19:54 -04:00
George Babey
5d62456250 Merge pull request #23671 from open-craft/jill/samesite-cookies
SE-2320 Adds django-cookies-sameseite middleware
2020-04-20 13:15:26 -04:00
asadazam93
b0cb5bb1e7 Fixed error message check on 403 2020-04-20 16:17:25 +05:00