Commit Graph

53802 Commits

Author SHA1 Message Date
Tim McCormack
5edc8fd380 Remove test for PREVENT_AUTH_USER_WRITES since code breaks in Django 2 (#23536)
...and it turns out we don't need the switch anymore, anyway.

When we upgraded to Django 1.11, this flag was added in order to
allow for a database migration that would render the user table
unwriteable for up to half an hour:
https://github.com/edx/edx-platform/pull/17561

This involved swapping out the signal handler for logins via
`user_logged_in.disconnect(django_update_last_login)`, but with
Django 2.0, that disconnect is silently failing (returning
false). Likely the disconnect is now happening too soon.
(See edx-platform/common/djangoapps/student/apps.py line 21 in 61e1eda.)

The result is that by the time the waffle switch is consulted, the
normal handler has already run, and the user's last login date has
already been updated.

For now we're just removing the test, and have filed ARCHBOM-1084 for
followup (deleting the switch and related code).
2020-03-30 20:28:18 +00:00
David Ormsbee
26d6ee0a5c Merge pull request #23537 from edx/ormsbee/edx-when-index-drop
Bump edx-when to 1.1.4 (perf fix)
2020-03-30 15:42:21 -04:00
David Ormsbee
ab15d37655 Bump edx-when to 1.1.4 (perf fix) 2020-03-30 15:18:05 -04:00
Tim McCormack
2e059513d1 Downgrade pytest to 5.3.5 for now to avoid reporting bug (#23533) 2020-03-30 18:57:55 +00:00
Awais Qureshi
195d225044 BOM-1417 (#23476)
Fixing management command.

Django PR removed force_str method: dc8834cad4 (diff-55346957c9b0473492d19a390a7adb47L36)

None is not working now.
2020-03-30 14:10:58 -04:00
atesker
c4914bc2b3 EDUCATOR-4979. Bump ora2 verstion to 2.6.22 2020-03-30 14:05:49 -04:00
Adam Butterworth
d53ab876e2 Fix public view of video xmodule (#23518)
TNL-7092 Properly include video javascripts for the video public view
2020-03-30 11:03:48 -04:00
Farhanah Sheets
564ffcfb79 Merge pull request #23528 from edx/revert-23267-saad/PROD-1287
Revert "[PROD-1287] - initial work to optimise problem_grade_report code."
2020-03-30 10:56:06 -04:00
Saad Yousaf
a458491f04 Revert "[PROD-1287] - initial work to optimise problem_grade_report code." 2020-03-30 19:05:54 +05:00
Tim McCormack
22c963a935 Perform byte/string conversions where Django is no longer tolerant 2020-03-30 13:59:32 +00:00
Danial Malik
8d951ae8ae Import private.py in devstack_docker.py files instead of devstack.py (#23512)
Background: I use private.py a lot in my devstack for my private configurations. But issues are raised when I need to change/override a setting that is defined in devstack_docker.py file. Since that file's contents are loaded after private.py, my private.py is useless against the settings in devstack_docker.py.

Description: Now that the devstack is dockerized, I think it makes more sense to import the private.py in the devstack_docker.py files i.e. at the end of configuration files hierarchy.
2020-03-30 09:38:25 -04:00
M Zulqarnain
0aba1af792 Merge pull request #23526 from edx/zulqarnain/BOM-1422
BOM-1420 : Fix Django 2.x tests in Discussion app
2020-03-30 17:48:47 +05:00
Zulqarnain
34bece208a Fix discussion notif pref tests 2020-03-30 16:01:06 +05:00
Saad Yousaf
4c5006988f Merge pull request #23267 from edx/saad/PROD-1287
[PROD-1287] - initial work to optimise problem_grade_report code.
2020-03-30 15:14:10 +05:00
Waheed Ahmed
a23a31c2be Allow Block Structures Collect to work in Studio.
The collect process was broken before this commit because Studio's
runtime does not permit handler_url invocation on "thirdparty"
XBlocks.

PROD-1393
2020-03-30 13:24:34 +05:00
SaadYousaf
4e4bffe404 initial work to optimise problem_grade_report code. 2020-03-30 13:14:01 +05:00
Aarif
f7143906b6 Merge pull request #23472 from edx/BOM-1416
Fixed template engine error under Django 2 - BOM-1416
2020-03-30 11:38:14 +05:00
edX Transifex Bot
5f63c07ac7 fix(i18n): update translations 2020-03-29 17:24:51 -04:00
Aarif
765942d7d2 Updated the template loaders to make them compatible with django 1.11,2.0 and above 2020-03-28 13:27:38 +05:00
Ned Batchelder
136003fcff Merge pull request #23015 from Abstract-Tech/fix/non-admin-error-descriptor
Add xblock.v1 and xmodule.v1 entrypoints for NonStaffErrorDescriptor
2020-03-27 17:43:16 -04:00
Zachary Hancock
b9bafed817 add pending role assignment model (#23506) 2020-03-27 14:29:09 -04:00
Albert (AJ) St. Aubin
c4bd06210e Merge pull request #23503 from edx/aj/email_account
Added an email search parameter to accounts
2020-03-27 12:35:01 -04:00
Albert (AJ) St. Aubin
9fb65532d6 Added an email search parameter to accounts 2020-03-27 11:24:25 -04:00
Brandon Baker
824067bf3f Upgrade edx-enterprise to 3.0.3 (#23515)
Upgrade uses renamed enterprise catalog endpoints
2020-03-27 11:14:40 -04:00
Ahtisham Shahid
42ccc5564c Merge pull request #23498 from edx/ahtisham/PROD-1232
Fixed \n escape issue in import-export
2020-03-27 18:39:29 +05:00
adeelehsan
c04341f863 Merge pull request #23509 from edx/aehsan/prod-1222/added_logs_for_investigation
Added logs for investigation
2020-03-27 18:21:21 +05:00
edX cache uploader bot
a7494b22fc Updating Bokchoy testing database cache (#23511) 2020-03-27 08:58:58 -04:00
adeelehsan
da875856c8 Added logs for investigation 2020-03-27 17:37:37 +05:00
AsadAzam
15f73195e4 Merge pull request #23451 from edx/asad/prod-1369
Fixed comparison mismatch
2020-03-27 14:00:36 +05:00
Syed Muhammad Dawoud Sheraz Ali
0f125e7bc3 update val (#23510) 2020-03-27 12:38:19 +05:00
Ahtisham Shahid
f264e5dd03 fixed \n escape issue in import
updated test

updated test
2020-03-27 12:29:32 +05:00
David Ormsbee
b2cedf7312 Merge pull request #23501 from edx/ormsbee/unpin-edx-when
Make upgrade to get the latest edx-when (1.1.3)
2020-03-26 12:43:39 -04:00
David Ormsbee
1e8b6d5a00 Make upgrade to get the latest edx-when (1.1.3)
Also pinned httpretty < 1.0 because that upgrade broke many tests.
2020-03-26 12:06:27 -04:00
Calen Pennington
e867c39763 Merge pull request #23495 from cpennington/unpin-edx-when
Unpin edx-when
2020-03-26 09:51:39 -04:00
Nick
f37c860c87 Merge pull request #23448 from edx/ndalfonso/AA-38-calendar-sync-email-template
AA-38 calendar sync email template
2020-03-26 08:51:53 -04:00
asadazam93
fc3e63714e Fixed comparison mismatch 2020-03-26 14:11:31 +05:00
Waheed Ahmed
ccbd353201 Revert "Allow Block Structures Collect to work in Studio" 2020-03-26 13:22:10 +05:00
Nicholas D'Alfonso
52309d5541 AA-38 calendar sync email template
- create templates and methods to build/send calendar sync emails.
2020-03-25 16:40:19 -04:00
Calen Pennington
61c1909b6c Unpin edx-when 2020-03-25 15:16:06 -04:00
edX cache uploader bot
a43edcb026 Updating Bokchoy testing database cache (#23494) 2020-03-25 15:11:34 -04:00
Calen Pennington
7340d39e5f Merge pull request #23493 from edx/revert-23487-revert-23485-upgrade-edx-when-again
Revert "Revert "Upgrade edx-when to read XBlock dates out of the read-replica""
2020-03-25 14:30:47 -04:00
Calen Pennington
5551ef08bf Revert "Revert "Upgrade edx-when to read XBlock dates out of the read-replica"" 2020-03-25 14:29:48 -04:00
Simon Chen
b1f61d929d MST-157 Part 3 Create the Program Enrollments Inspector tool UI and link to the Support tool index page 2020-03-25 13:08:48 -04:00
Jason Myatt
ce3f6e2b88 Merge pull request #23491 from edx/jmyatt/pin-edx-when-version
Temporarily pin edx-when version
2020-03-25 12:59:48 -04:00
Dave St.Germain
54b775eddc Merge pull request #23474 from edx/dcs/calculator-metadata
Added 'show calculator' to courseware metadata
2020-03-25 12:25:41 -04:00
Jason Myatt
78c59cdad7 Temporarily pin edx-when version 2020-03-25 11:58:15 -04:00
Awais Jibran
3ff96ef6be Merge pull request #23479 from edx/logs-cleanup
Logs cleanup
2020-03-25 19:53:35 +05:00
Zaman Afzal
5bff142622 Remove post_reset_login flag from the class based views. (#23452) 2020-03-25 18:49:29 +05:00
Feanil Patel
9afe536731 Merge pull request #23486 from edx/feanil/flaky_a11y
Get rid of 2 flaky a11y tests.
2020-03-25 09:07:02 -04:00
Awais Jibran
bb4b38b30b Do not log after sending activation email 2020-03-25 11:54:28 +05:00