Commit Graph

18841 Commits

Author SHA1 Message Date
Aleksandr Sobolev
7ac6d47382 Added student_view_user_state video Xblock handler 2020-12-14 04:05:38 +06:00
Usama Sadiq
07bb471e3d Merge pull request #25846 from edx/testeng/bokchoy_auto_cache_update_73d9efbe5f5ade6e54aaf067b2e88e65bd55755b
Bokchoy Testing DB Cache update
2020-12-13 15:30:07 +05:00
Nizar Mahmoud
6e0b304f65 Sets default X-Frame-Options for login and registration forms to X_FRAME_OPTIONS environment setting 2020-12-12 04:03:26 +03:00
Pooja Kulkarni
e9cba8c282 Fix the theme compilation issue since juniper (#24990)
Replaces the deprecated CachedFilesMixin with ManifestFilesMixin.
Also sorts xmodules and xblocks js bundles to make theme assets
compilation hashes consistent across different machines.
2020-12-11 09:36:31 -05:00
edX cache uploader bot
3551f63f82 Updating Bokchoy testing database cache 2020-12-10 15:20:47 -05:00
Ali Akbar
e209d892c1 Merge pull request #210 from edx/IM/security-fixes-2
Incident Management security fixes 2
2020-12-10 14:26:25 +05:00
edX Transifex Bot
f2785ac685 geoip2: update maxmind geolite country database 2020-12-09 15:58:58 -05:00
Kyle McCormick
643fbe82a0 Downgrade REDIRECT_TO_COURSEWARE_MICROFRONTEND to CourseWaffleFlag (#25815)
The toggle was previously an ExperimentWaffleFlag,
which allows stable A/B testing but increases the toggle's
complexity. Since we do not plan an doing any more A/B
tests as part of the MFE rollout, we can 'downgrade' this
toggle to a CourseWaffleFlag, which still allows us to do
phased rollout and course-run-specific overrides.
2020-12-09 13:48:47 -05:00
edX cache uploader bot
89d182be62 Updating Bokchoy testing database cache (#25814) 2020-12-09 19:00:41 +05:00
Ali-D-Akbar
3aa0f7e2e8 disable xsslint 2020-12-09 12:41:47 +05:00
Dillon Dumesnil
354c9ada5f Merge pull request #25804 from edx/ddumesnil/aa-471
AA-471: Removing the export_staff_users command
2020-12-08 12:40:36 -08:00
Dillon Dumesnil
38a7e0b5a8 AA-471: Removing the export_staff_users command 2020-12-08 19:37:26 +00:00
Ned Batchelder
0578174378 Merge pull request #25760 from open-craft/mtyaka/squash-warning
Register pytest mongo marker to avoid warning.
2020-12-08 13:20:27 -05:00
Zachary Hancock
e2d9c34d5c Expose proctoring waffle to edx-proctoring templates (#25704)
* pass proctoring waffle flag on render
2020-12-07 16:30:26 -05:00
azanbinzahid
467459439f PROD-2159 2020-12-07 16:24:27 +05:00
azanbinzahid
85f55ac388 PROD-2139 2020-12-07 16:24:27 +05:00
azanbinzahid
158a600f91 PROD-2138 2020-12-07 16:24:27 +05:00
azanbinzahid
c675ec9883 PROD-2137 2020-12-07 16:24:27 +05:00
Ali-D-Akbar
a623bca820 PROD-2245 2020-12-07 16:24:26 +05:00
edX cache uploader bot
b9738dec18 Updating Bokchoy testing database cache (#25780) 2020-12-07 15:01:29 +05:00
Matjaz Gregoric
1e59491dde Register pytest mongo marker to avoid warning.
See https://docs.pytest.org/en/stable/mark.html#registering-marks
2020-12-04 09:32:27 +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
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