Commit Graph

54890 Commits

Author SHA1 Message Date
Awais Qureshi
a16bc22876 Merge pull request #24310 from eduNEXT/eric/bom-1746
[BD-6] Separate tests according to the python version, due to incompatibilities in sorted dicts.
2020-06-25 23:05:25 +05:00
Diana Huang
8a1fad8c12 Merge pull request #24181 from edx/diana/dashboard-courses-blocked
DEPR-43: Remove usage of CourseRegistrationCode and blocked courses from
2020-06-25 13:59:26 -04:00
Awais Qureshi
b99210f077 Merge pull request #24326 from edx/BOM-1811
Fixing assert_has_calls() failure due to order difference
2020-06-25 22:37:29 +05:00
edX requirements bot
c0293660e8 Updating Python Requirements (#24324) 2020-06-25 17:18:26 +00:00
Awais Qureshi
bbe9d19c01 BOM-1811
assert_has_calls() has different order of specified calls.
if any_order is true then the calls can be in any order,
but they must all appear in mock_calls.

https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.assert_has_calls
2020-06-25 22:04:48 +05:00
Eric Herrera
bf945e2aec Separate tests according to the python version, due to incompatibilities in sorted dicts. 2020-06-25 11:35:21 -04:00
Awais Qureshi
05b98cbba2 Merge pull request #24297 from eduNEXT/lmm/try_to_fix_migration_problem
[BD-6] Attempt to fix db sync problem for python3.8
2020-06-25 20:29:29 +05:00
Awais Qureshi
e4c891edb5 Merge pull request #24312 from eduNEXT/eric/monogengine_upgrade
[BD-6] Upgrade mongoengine
2020-06-25 20:22:21 +05:00
Calen Pennington
d933541dad Merge pull request #24302 from cpennington/prioritize-access-denied-messages
Prioritize access denied messages
2020-06-25 10:15:57 -04:00
Calen Pennington
aef3a20e5d Prioritize access denials in block transformers from groups that have messages associated with them 2020-06-25 09:51:50 -04:00
julianajlk
6dd820b6e3 Add Spanish translation to Financial Assistance form without breaking zendesk (#24309)
REV-1204 Add translation by marking string as translatable w/o translating at runtime
2020-06-25 08:50:23 -04:00
Eric Herrera
916307df1c Update exception name due to breaking changes introduced in mongoengine 0.19.0. 2020-06-24 20:46:56 -05:00
Eric Herrera
dcf9a3380a Remove mongoengine constraint to upgrade package avoiding raising StopIteration since after python 3.7 is produces an error. 2020-06-24 20:20:38 -05:00
Zachary Hancock
bcc1ddd375 add proctoring escalation contact setting (#24243) 2020-06-24 16:02:17 -04:00
Awais Qureshi
af3691ed52 Merge pull request #24311 from eduNEXT/eric/bom-1748
[BD-6] Order VideoBlock html metadata alphabeticallly to fix test.
2020-06-24 22:31:36 +05:00
Muhammad Ammar
6e4d8e9b08 Merge pull request #24283 from edx/ammar/ENT-2998-override-enrollment-attributes
override enrollment attributes for learners
2020-06-24 22:05:57 +05:00
muhammad-ammar
4a3eb16296 override enrollment attributes for learners
ENT-2998
2020-06-24 21:37:24 +05:00
Dillon Dumesnil
a7dff8c21e Merge pull request #24303 from edx/ddumesnil/due-dates-in-courseware-AA-44
AA-44: Adding due dates into courseware
2020-06-24 09:22:01 -07:00
Luis Moreno
ba297ab16c Solve quality issues 2020-06-24 12:10:09 -04:00
Eric Herrera
c40aa67fd0 Order VideoBlock html metadata alphabeticallly to fix test. 2020-06-24 12:07:55 -04:00
Luis Moreno
5fe377cc77 Attempt to fix db sync problem for python3.8 2020-06-24 11:58:23 -04:00
Kyle McCormick
c3d7ab9943 Fix programs cache ADR formatting (#24320) 2020-06-24 11:55:43 -04:00
morenol
8c53fa4a47 async is a keyword in python>=3.7 (#24265)
the new keyword async is causing errors when we run this with python 3.8.
https://docs.python.org/3/whatsnew/3.7.html

I tried in the first place, to change the definition of that value in the place where the context is defined, but it seems that it is taken from https://github.com/jazzband/django-pipeline,

This solves many problems for lms and cms tests that were making the jenkins workers get timeout.

That template have not seen changed since 2012, so I had to do additional changes in the templates in order to pass the xsslint checks:

mako-missing-default
mako-invalid-html-filter

I am not sure about the remove of the safe filter.

But I didn't found information about the 'safe' filter. It is probably that the now default 'h' filter is enough.
2020-06-24 11:55:03 -04:00
Dillon Dumesnil
7f6a2518cb AA-44: Adding due dates into courseware
Due dates will only display for graded subsections.
If the assignment has already been completed, there will be a pill
to indicate that. If the assignment is past due, there will be a
pill. If it is upcoming, there are no pills
2020-06-24 08:26:52 -07:00
Muhammad Ammar
0d0f8a1c6f Merge pull request #24319 from edx/jenkins/upgrade-python-requirements-39b109a
Python Requirements Update
2020-06-24 19:16:58 +05:00
edX requirements bot
6c441231fd Updating Python Requirements 2020-06-24 09:48:43 -04:00
Diana Huang
6aa300711b Remove usage of CourseRegistrationCode and blocked courses from
dashboard.
2020-06-24 09:38:20 -04:00
M. Zulqarnain
39b109a9ad Fixed bad escape character (#24316)
As of Python 3.7, a backslash-character pair that is not a valid escape sequence now generates an error, earlier it was a deprecation warning.
2020-06-24 18:23:11 +05:00
Carla Duarte
45d277beb6 Merge pull request #24286 from edx/ciduarte/AA-186
AA-186: Updating Course Home Course Metadata API
2020-06-24 08:47:41 -04:00
Waheed Ahmed
ab72a9d87d Fix embargo message issues.
PROD-1753
2020-06-24 14:45:47 +05:00
Awais Qureshi
b7500cd2a0 Merge pull request #24268 from eduNEXT/lmm/safe_exec
[BD-6] Fix test for python3.8
2020-06-24 13:39:35 +05:00
Awais Qureshi
9445a7b2e0 Merge pull request #24306 from edx/awais786/BOM-1750
BOM-1750
2020-06-24 11:45:58 +05:00
Michael Roytman
6e7e1f2579 Merge pull request #24305 from edx/mroytman/PROD-1761-proctoring-provider-fix
Change validation code to use the value of the proctoring_provider mo…
2020-06-23 23:02:31 -04:00
Nimisha Asthagiri
a219381361 Update 0001-refactor-waffle-flag-default.rst (#24308) 2020-06-23 21:03:06 -04:00
Michael Roytman
e5f298e158 Change validation code to use the value of the proctoring_provider model when making a comparison instead of the entire model. Otherwise, the condition 'current_provider != requested_provider' always resolves to True. 2020-06-23 18:49:28 -04:00
Awais Qureshi
b4035bc71e BOM-1750
DeprecationWarning `callable is None` raised  since 3.5 throwing TypeError.
Fixed the assertion.
2020-06-24 01:43:09 +05:00
edX cache uploader bot
5bd0d317ac Updating Bokchoy testing database cache (#24304) 2020-06-23 20:15:57 +00:00
Robert Raposa
aa3ae13ad8 Merge pull request #24301 from edx/robrap/ARCHBOM-1304-add-waffle-migrations
ARCHBOM-1304: add migration for flags using flag_undefined_default=True
2020-06-23 15:34:14 -04:00
Robert Raposa
9b0024376a update flags using flag_undefined_default=True
In order to enable us to remove flag_undefined_default, this
updates flags according to alternatives documented in:
https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst

These flags were updated with a migration:
- enable_checklists_quality
- REJECTED_EXAM_OVERRIDES_GRADE
- ENFORCE_FREEZE_GRADE_AFTER_COURSE_END
- WRITABLE_GRADEBOOK

ARCHBOM-1304
2020-06-23 14:37:50 -04:00
Waheed Ahmed
34263bbe1e Prevent multiple submissions on contact us form.
PROD-1565
2020-06-23 23:33:33 +05:00
Calen Pennington
31cace3e11 Prioritize access denials in the courseware from groups that have messages associated with them 2020-06-23 14:25:57 -04:00
Robert Raposa
7bf2ea72c6 ARCHBOM-1304: remove ENABLE_VIDEO_URL_REWRITE (#24300)
* remove ENABLE_VIDEO_URL_REWRITE

The temporary waffle flag ENABLE_VIDEO_URL_REWRITE is no
longer needed, becaues the rollout is complete.
See https://openedx.atlassian.net/browse/PROD-62

ARCHBOM-1304

* fix quality
2020-06-23 13:56:26 -04:00
Jansen Kantor
79a76887b2 rebind events on re-render (#24288) 2020-06-23 13:56:12 -04:00
Robert Raposa
f060872878 update waffle flag and docs (#24299)
- update ADR to provide more alternatives for updating
the default value of a flag.
- add a `flag_` prefix to the flag metrics
- add module-level note about flag metrics
- add NewRelic query example and warning
- fix typo in toggle annotation

ARCHBOM-1302
2020-06-23 13:55:06 -04:00
Nick
e8fc653c86 Merge pull request #24285 from edx/ndalfonso/AA-142-calendar-sync-ses
AA-142 calendar sync ses
2020-06-23 13:52:42 -04:00
Robert Raposa
6a5d95a517 fix quality 2020-06-23 13:26:31 -04:00
Nicholas D'Alfonso
5b1d181491 AA-142 calendar sync ses
- set up util function to use Amazon SES for sending calendar
  sync emails.
- remove old sailthru code which we originally implemented for
  this functionality
- include ADR on our decision to use SES instead of Sailthru.
2020-06-23 12:14:03 -04:00
Matthew Piatetsky
b3c2d37dcc Merge pull request #24214 from edx/REV-774
[REV-774] Show content type gating upsell when a limited access learner tries to access a timed exam
2020-06-23 11:48:31 -04:00
Robert Raposa
624012e11c remove ENABLE_VIDEO_URL_REWRITE
The temporary waffle flag ENABLE_VIDEO_URL_REWRITE is no
longer needed, becaues the rollout is complete.
See https://openedx.atlassian.net/browse/PROD-62

ARCHBOM-1304
2020-06-23 11:19:32 -04:00
Luis Moreno
1d557616b1 Fix test for python3.8 2020-06-23 10:16:37 -04:00