Commit Graph

18471 Commits

Author SHA1 Message Date
edX cache uploader bot
b9738dec18 Updating Bokchoy testing database cache (#25780) 2020-12-07 15:01:29 +05: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
edX cache uploader bot
f68dee02b8 Updating Bokchoy testing database cache (#25748) 2020-12-03 15:22:43 +05:00
edX Transifex Bot
3c9f87c3cd geoip2: update maxmind geolite country database 2020-12-02 16:13:59 -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
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
Sarina Canelake
2a9d4b796c Merge pull request #25719 from edx/sarina/demox-code-grader
Fix demoX grader print statements
2020-12-02 10:43:05 -05:00
sarina
fa6ace3344 Fix demox code grader print statements 2020-12-02 09:24:53 -05:00
edX cache uploader bot
5588774f29 Updating Bokchoy testing database cache 2020-12-02 08:03:39 -05:00
Sarina Canelake
8378c5714b Merge pull request #25295 from ErikWaters/ewaters/demox-code-grader
Correct DemoX Code Grader solution
2020-12-01 14:56:23 -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
Samuel Walladge
1432dee97c SE-3243 Remove injected edxnotes from AboutBlock (#24930)
This is required to stop get_course_about_section
html content from using the edxnotes version of
get_html, which injects the edxnotes html into it.
We don't want this injected into the html here,
because these are snippets meant to be displayed
in original form on the course about page.
2020-11-30 09:40:37 -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
DawoudSheraz
1b490d5ea4 add course_import_failure newRelic custom attribute for better alerting conditions in import flow 2020-11-24 20:45:41 +05:00
Usman Khalid
4a6f2b81a9 Convert Annotatable XModule to XBlock. 2020-11-24 04:58:59 +05:00
Kyle McCormick
9f239ffe8f Add reset_course_content Studio management command (#25653)
Given a course key and a split-mongo version GUID,
it resets the course run's draft branch to a specified
version and publishes.

The purpose of this is to allow us to restore overwritten
course content without having to write to Mongo via a
dbshell.

Adds `reset_course_to_version` method to modulestore API.

TNL-7705
2020-11-23 15:14:10 -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
edX cache uploader bot
aeb7e0ac1d Updating Bokchoy testing database cache 2020-11-20 05:46:54 -05:00
Troy Sankey
9d72a78546 Merge pull request #25630 from edx/robrap/fix-segment-error
track: catch unhandled exceptions and add monitoring
2020-11-19 09:12:37 -05: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
edX cache uploader bot
e73f0a3dfc Updating Bokchoy testing database cache 2020-11-19 03:37:20 -05:00
Saleem Latif
54f59bc3b4 Revert migration update as it creates more issues than it fixes. 2020-11-19 11:25:16 +05:00
Robert Raposa
186f5fbce2 track: catch unhandled exceptions and add monitoring
Add the following monitoring custom attributes:
- segment_event_name
- segment_event_source
- segment_unexpected_context
- segment_unexpected_data

Also, this explicitly raises a validation error whenever context is a
string instead of throwing a vague TypeError.

Related to LEARNER-8034
2020-11-18 21:45:00 -05:00
edX Transifex Bot
1be64fc928 geoip2: update maxmind geolite country database 2020-11-18 16:09:01 -05:00
David Ormsbee
99021bb7c3 Merge pull request #25405 from open-craft/mavidser/se-3398-fix-activation-email-context
Include common base contexts in user activation email
2020-11-18 09:37:12 -05:00
edX cache uploader bot
bcc6a86503 Updating Bokchoy testing database cache (#25627) 2020-11-18 18:18:20 +05:00
Usama Sadiq
a45e5b8d42 Merge pull request #25612 from edx/testeng/bokchoy_auto_cache_update_b0e49057a7781b716f3ffe2dfc9f3674f3f8fa53
Bokchoy Testing DB Cache update
2020-11-18 13:21:48 +05:00
Robert Raposa
8eef18710d set code_owner for celery tasks
ARCHBOM-1260

Co-authored-by: Tim McCormack <tmccormack@edx.org>
2020-11-17 15:33:33 -05:00
edX cache uploader bot
fc18fbaa2a Updating Bokchoy testing database cache 2020-11-17 11:13:43 -05:00
Ned Batchelder
dc780049c0 Merge pull request #25604 from edx/nedbat/squash-regex-warning
Squash a regex warning
2020-11-16 15:01:09 -05:00
Ned Batchelder
9a72148310 Squash a regex warning
warnings.py:109 - /edx/app/edxapp/edx-platform/common/djangoapps/static_replace/__init__.py:76: DeprecationWarning: Flags not at the start of the expression '\n        (?x)       ' (truncated)
2020-11-16 10:21:49 -05:00
Feanil Patel
ae81d3347f Remove a deprecation warning.
DeprecationWarning: The unescape method is deprecated and will be
removed in 3.5, use html.unescape() instead.
2020-11-13 14:40:52 -05:00
edX cache uploader bot
19fba4f76d Updating Bokchoy testing database cache 2020-11-13 11:51:26 -05:00
Zainab Amir
2cf023bf27 VAN-92: Update TPA Context with platform name (#25580) 2020-11-13 17:15:53 +05:00
David Ormsbee
d83241e503 Merge pull request #24809 from open-craft/symbolist/convert-randomize-module-to-xblock
[BD-04] Convert Randomize XModule to XBlock
2020-11-12 13:06:57 -05:00
David Ormsbee
2086f11a22 Merge pull request #24838 from open-craft/symbolist/convert-conditional-module-to-xblock
[BD-04] Convert Conditional XModule to XBlock
2020-11-12 13:04:26 -05:00
Bianca Severino
60cab77c53 Merge pull request #25568 from edx/bseverino/idv-expiration
Set expiration_date field in IDVerificationAttempt model
2020-11-12 10:06:45 -05:00
edX Transifex Bot
0194be2fac geoip2: update maxmind geolite country database 2020-11-11 16:13:58 -05:00
edX cache uploader bot
3fb758a4c0 Updating Bokchoy testing database cache (#25560) 2020-11-11 13:08:20 +05:00
Kyle McCormick
73739189c5 Undo renames of common.djangoapps tasks (#25566)
When rolling out #25477, we dropped hundreds of email activation
tasks due to the renaming of student.send_activation_email
to common.djangoapps.student.send_activation_email,
and lost more when we rolled that PR back.
This happens because of blue/green deployment:
old workers are still online for a while after deploying,
so there is a period of time when the task names are mismatched.

To prevent this from happening again, this will make
it so the import changes don't change the names of
any of the Celery tasks.
2020-11-10 16:31:48 -05:00
Bianca Severino
56d7ff8017 Set expiration_date field in IDVerificationAttempt model 2020-11-10 15:29:47 -05:00
Bianca Severino
82e8592fbe Revert "Set expiration_date field in IDVerificationAttempt model" 2020-11-10 14:24:07 -05:00
Sid Verma
b3f0df738c Include common base contexts in user activation email 2020-11-11 00:47:03 +05:30
Awais Qureshi
7201edb11d Revert "Update routing config" (#25536)" (#25549)" (#25553)" (#25561)
This reverts commit db4c3b1210.
2020-11-11 00:13:47 +05:00
Awais Qureshi
db4c3b1210 Revert "Revert ""Update routing config" (#25536)" (#25549)" (#25553)
This reverts commit c1fe3c3a93.
2020-11-10 23:23:09 +05:00
Bianca Severino
0f6d94d1af Merge pull request #25500 from edx/bseverino/idv-expiration
Set expiration_date field in IDVerificationAttempt model
2020-11-10 13:08:41 -05:00
edX cache uploader bot
c49aa3a3e1 Updating Bokchoy testing database cache (#25559) 2020-11-10 21:50:28 +05:00
Bianca Severino
3342524699 Update IDVerificationAttempt to use expiration_date field 2020-11-10 11:15:04 -05:00