Commit Graph

3988 Commits

Author SHA1 Message Date
Jeremy Bowman
f08a2ed88d Fix text representation of VerifiedTrackCohortedCourse BOM-733 2019-09-18 16:55:00 -04:00
Ned Batchelder
71ce73d98e Merge pull request #21207 from edx/nedbat/api-docs
REST API docs
2019-09-18 16:42:10 -04:00
Jeremy Bowman
83eb9e7f1a Fix auth_exchange tests BOM-648 2019-09-18 16:37:52 -04:00
Ned Batchelder
456ab68986 Check for ascii with an explicit ascii encode. BOM-728 2019-09-18 14:49:03 -04:00
Ned Batchelder
1c6ed4026e Test JSON data without relying on arbitrary ordering. BOM-734 2019-09-18 14:34:16 -04:00
Ned Batchelder
7281fed719 Test JSON data without relying on arbitrary ordering. BOM-735 2019-09-18 14:24:37 -04:00
Jeremy Bowman
8f6286a1a2 Fix a few user_api tests 2019-09-18 14:07:38 -04:00
Jeremy Bowman
0c207859cd Fix most tests in user_authn 2019-09-18 13:43:30 -04:00
Ned Batchelder
b027437e80 get_all_orgs returns a set, not a list. BOM-731 2019-09-18 13:42:55 -04:00
Ned Batchelder
1e4fac6440 Better tests of stringifying objects. BOM-730 and BOM-731 2019-09-18 13:29:32 -04:00
Braden MacDonald
1382bf8720 Save user state for Blockstore XBlocks in CSM, clean up CSM a bit (#21630)
This commit introduces the changes needed for XBlocks in Blockstore to save
their user state into CSM. Before this commit, all student state for Blockstore
blocks was ephemeral (in-process dict store).

Notes:

* The main risk factor of this PR is that it adds non-course keys to the
  course_id field in CSM. If any code (like analytics?) reads course keys
  directly out of CSM and doesn't have graceful handling for key types it
  doesn't recognize, it could cause an issue. With the included changes to
  opaque-keys, calling CourseKey.from_string(...) on these values will raise
  InvalidKeyError since they're not CourseKeys. (But calling
  LearningContextKey.from_string(...) will work for both course and library
  keys.)
* This commit introduces a slight regression for the Studio view of XBlocks in
  Blockstore content libraries: their state is now lost from request to request.
  I have a follow up PR to give them a proper studio-appropriate state store,
  but I want to review it separately so it doesn't hold up this PR and we can
  test this PR on its own.
2019-09-18 10:27:46 -04:00
Aarif
530dadb1b0 Merge pull request #21682 from edx/BOM-485
BOM-485
2019-09-18 18:01:37 +05:00
adeel khan
b3737ff95a Merge pull request #21670 from edx/adeel/prod_548_automate_args_simulate_publish_command
Adds config model to pass arguments to management command
2019-09-18 16:32:56 +05:00
Adeel Khan
98c6c1af49 Adds config models to pass arguments to management command
This would enable simulate_publish management command to
fetch its arguments from config model.

PROD-548
2019-09-18 11:42:02 +05:00
Ned Batchelder
f7cd63f784 Convert bookmarks and certificates API docs to yasg format 2019-09-17 16:54:27 -04:00
aarif
13f9609386 python 3 fixes 2019-09-17 19:13:16 +05:00
aarif
7cc0efdb24 python 3 fixes 2019-09-17 18:19:21 +05:00
Aarif
0225162c67 Merge pull request #21654 from edx/BOM-476
BOM-476
2019-09-17 12:37:22 +05:00
Hassan
f96c71143e Merge pull request #21639 from edx/hassan/initial-history
Added management command to populate initial history.
2019-09-17 03:54:19 +05:00
Hassan Javeed
092da8c5f4 Management command to insert initial historical records. 2019-09-17 03:13:07 +05:00
Feanil Patel
f8129721d9 Fix failure during cms startup. 2019-09-16 11:30:05 -04:00
Aarif
7012bcea94 Merge pull request #21653 from edx/BOM-475
BOM-475
2019-09-16 12:55:12 +05:00
Awais Qureshi
851702e09e Merge pull request #21660 from edx/awais786/BOM-479
BOM-479
2019-09-16 11:18:48 +05:00
Awais Qureshi
f6537586d6 BOM-479
Fixing python3
2019-09-15 00:23:39 +05:00
Braden MacDonald
ec97387d3e Move new Blockstore key types to external opaque-keys library. 2019-09-13 09:56:44 -07:00
aarif
0690178446 python 3 fixes 2019-09-13 17:02:39 +05:00
aarif
ae8126bf98 python 3 fixes 2019-09-13 16:50:20 +05:00
Kyle McCormick
7c10e03ce4 Fix CourseOverview factory timezone unawareness warnings 2019-09-12 14:54:03 -04:00
Braden MacDonald
48ee155af8 Minor fixes for blockstore runtime 2019-09-09 15:59:29 -07:00
Brittney Exline
d35218a820 ENT-2230 Upgrade edx-enterprise to 1.9.12 2019-09-09 08:52:01 -06:00
Feanil Patel
3ec196405c Merge pull request #21582 from edx/feanil/fix_more_test_collection_issues
Feanil/fix more test collection issues
2019-09-06 11:01:45 -04:00
edx-pipeline-bot
38cc1f0ab7 Merge pull request #21586 from edx/private_to_public_f98c819
Mergeback PR from private to public.
2019-09-06 12:32:38 +05:00
Awais Jibran
f98c819f74 Merge pull request #160 from edx/aj/add-noopener-to-new-window-urls
Update hyperlinks in platfrom
2019-09-06 11:43:38 +05:00
Feanil Patel
0f42c7bdb7 Unicode raw strings don't exist in python 3. 2019-09-05 11:15:00 -04:00
Chris Pappas
228920e701 Merge pull request #21566 from edx/cpappas/course-overview-serializer-bug-fix
Updating course overview serializer to return bool data for has_end…
2019-09-05 09:55:26 -04:00
Ayub
cf91c28b8f Merge pull request #21559 from edx/BOM-245
BOM-245
2019-09-05 09:57:37 +05:00
Christopher Pappas
5f510a8dd5 Updating course overview serializer to return string data for has_ended and has_started, and not a bound method
Oops meant this to be a bool and not a string type

Had to add a start and end date for the course overview test fixture for tests to pass
2019-09-04 19:32:28 -04:00
Nimisha Asthagiri
1c4a645d4c Merge pull request #21363 from edx/robrap/adr-update-jwt-login-redirect
Update ADR around HTTP_USE_JWT_COOKIE
2019-09-04 14:18:20 -04:00
Kyle McCormick
ea5652010c Create Python API for program_enrollments: Part I (#21511)
This is the first in a series of commits to create
a Python API for the LMS program_enrollments app.
We do some general refactoring, renaming, and clean-up
in order to move toward the creation of that API.

EDUCATOR-4321
2019-09-04 14:06:00 -04:00
Robert Raposa
ab4ec931be Update ADR around HTTP_USE_JWT_COOKIE
Update the ADR to clarify another rollout strategy with
HTTP_USE_JWT_COOKIE using the new
JwtRedirectToLoginIfUnauthenticatedMiddleware and new permission class
LoginRedirectIfUnauthenticated.

ARCH-1051
2019-09-04 12:13:57 -04:00
Ayub khan
611e43bc6d BOM-245
python3 compatibility
2019-09-04 18:20:20 +05:00
Aarif
bb83ab683b Merge pull request #21491 from edx/BOM-290
BOM-290 Python 3 fixes
2019-09-02 14:28:46 +05:00
Braden MacDonald
d3f6ed09d8 Learning Contexts, New XBlock Runtime, Blockstore API Client + Content Libraries
https://github.com/edx/edx-platform/pull/20645

This introduces:
* A new XBlock runtime that can read and write XBlocks that are persisted using
  Blockstore instead of Modulestore. The new runtime is currently isolated so
  that it can be tested without risk to the current courseware/runtime.
* Content Libraries v2, which store XBlocks in Blockstore not modulestore
* An API Client for Blockstore
* "Learning Context" plugin API. A learning context is a more abstract concept
  than a course; it's a collection of XBlocks that serves some learning purpose.
2019-08-30 10:31:15 -07:00
aarif
0f4bc5a245 python 3 fixes
changes made as suggested
2019-08-30 13:53:31 +05:00
Awais Jibran
1a4eb7d2e8 Pervent reverse tabnabbing in edx platform 2019-08-28 16:08:34 +05:00
Alan Zarembok
b953841893 PROD-202: Add per-course flag to block access to youtube videos. Can be set
for courses that have lost access to their youtube channels.
2019-08-25 14:45:16 -04:00
Ayub
85be57b64a Merge pull request #21397 from edx/BOM-95
BOM-95
2019-08-22 12:41:08 +05:00
Dave St.Germain
ab414c83c7 Merge pull request #21391 from edx/dcs/report-for-zoom
Include Zoom as a potential partner, for retirement requests
2019-08-21 11:34:07 -04:00
Feanil Patel
f332b81e4c Merge pull request #21384 from edx/bom/python-3-swarm
Bom/python 3 swarm
2019-08-21 09:27:59 -04:00
Ayub khan
8a95a8e520 BOM-95
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00