Commit Graph

4470 Commits

Author SHA1 Message Date
Awais Qureshi
718fb0f5b8 BOM-585
Fixing python3
2019-09-20 16:03:28 +05:00
Awais Qureshi
4abaef5324 BOM-729
Fixing python3
2019-09-20 15:52:29 +05:00
Ayub
fe61a3cddc Merge pull request #21712 from edx/BOM-574
BOM-574
2019-09-20 15:32:36 +05:00
Awais Qureshi
fbd94fc289 BOM-627
Fixing python3
2019-09-20 15:03:02 +05:00
Feanil Patel
844acea50e Fix linting errors. 2019-09-19 17:05:02 -04:00
Feanil Patel
0e1ad4cd26 Fix pylint error in email_opt_in_list. 2019-09-19 16:19:37 -04:00
Feanil Patel
4eaf875741 BOM-621 Fix hashing in a bunch of places. 2019-09-19 15:53:39 -04:00
Braden MacDonald
e1d2257fe0 Fix: new runtime was not mixing 'has_score' into XBlocks 2019-09-19 12:53:37 -07:00
Feanil Patel
24c0974f78 BOM-619 Fix csv encoding/decoding in management command test. 2019-09-19 14:14:22 -04:00
Feanil Patel
cbf35593ac BOM-618 Decode to utf-8 before loading as json in tests. 2019-09-19 11:15:11 -04:00
Jeremy Bowman
91c87fd65b Fixed last lms/djangoapps/discussion test failures - BOM-680 2019-09-19 10:38:49 -04:00
Jeremy Bowman
23870802c6 Replace usage of UUID.get_hex() - BOM-672 2019-09-19 10:32:23 -04:00
Feanil Patel
dab38a5ef3 Merge pull request #21701 from edx/python3-swarm
Python3 swarm
2019-09-19 10:23:04 -04:00
Ayub khan
22916323a1 BOM-574 2019-09-19 18:18:49 +05:00
Feanil Patel
bab6b87eb8 Fix pylint error. 2019-09-18 17:28:12 -04:00
Jeremy Bowman
10d9bb22b5 Fix oauth_dispatch tests BOM-732 2019-09-18 17:02:38 -04:00
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
Ned Batchelder
28d2788ade OpenAPI schema generation helpers with drf-yasg 2019-09-17 16:53:48 -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
Ayub khan
f0a16d2aea BOM-455
python3 compatibility
2019-09-13 15:35:18 +05:00
Kyle McCormick
7c10e03ce4 Fix CourseOverview factory timezone unawareness warnings 2019-09-12 14:54:03 -04:00
Awais Qureshi
9d4ac90b62 Merge pull request #21611 from edx/awais786/BOM-404
BOM-404
2019-09-11 19:04:32 +05:00
Awais Qureshi
98ec44b56c BOM-404
Fixing python3
2019-09-11 12:52:56 +05: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