Ayub
12140e5b78
Merge pull request #21784 from edx/BOM-608
...
BOM-608
2019-09-30 10:34:58 +05:00
Feanil Patel
b26d1050a5
Merge pull request #21825 from edx/feanil/fix_error_validation
...
Explicitly set the test string to unicode.
2019-09-27 15:55:01 -04:00
Feanil Patel
07df64eb8c
Fix the rest of these.
2019-09-27 14:36:40 -04:00
Feanil Patel
16cce5f389
BOM-843 Fix reraise call.
2019-09-27 14:19:40 -04:00
Feanil Patel
a4447da5e0
Explicitly set the test string to unicode.
2019-09-27 14:06:49 -04:00
Awais Jibran
007dfa5c55
Merge pull request #21750 from edx/aj/prevent-unicode-error
...
Prevent unicode error
2019-09-27 13:25:10 +05:00
Ayub
290caa4c8e
Merge pull request #21788 from edx/BOM-612
...
BOM-612
2019-09-27 09:44:44 +05:00
Jeremy Bowman
1e3d6f6db3
Fix parsing of Unicode capa XML BOM-611 ( #21803 )
2019-09-26 16:34:35 -04:00
Feanil Patel
a847620e88
Merge pull request #21797 from edx/feanil/fix_xmodule_format_failure
...
Division changed in python3 to produce floats even when you divide tw…
2019-09-26 15:49:25 -04:00
Ned Batchelder
b3845b2b96
Merge pull request #21581 from edx/nedbat/fix-courseware-warning
...
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 14:25:27 -04:00
Jeremy Bowman
4babc5ee1c
Fix CorruptGridFile in Python 3 tests BOM-375 ( #21794 )
2019-09-26 13:43:26 -04:00
Feanil Patel
093e5a543a
Division changed in python3 to produce floats even when you divide two ints.
2019-09-26 13:23:15 -04:00
Manjinder Singh
61015ad840
Merge pull request #21779 from edx/msingh/python3_test_shuffle_custom_names
...
BOM-614: AssertionError: Lists differ Fix.
2019-09-26 13:13:53 -04:00
Dave St.Germain
26026782b0
Merge pull request #21538 from edx/dcs/component-tweaks
...
Studio Component Editor Tweaks
2019-09-26 10:05:23 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Dave St.Germain
ea3232feac
TNL-6920 Component Editor Efficiency Improvements
...
* Enlarges component modal for easier editing
* Allows display name to be edited in place
* Improves markdown button labeling
* Moves markdown cheatsheet to the edit modal, for quick reference
2019-09-26 09:34:14 -04:00
jinder1s
7a2aaa09c1
random.shuffle compatibility fix between python 2.7 and 3.5
2019-09-26 08:47:18 -04:00
Ayub khan
476da01f36
BOM-612
...
python3 compatibility
2019-09-26 15:22:22 +05:00
Aarif
37b08c5784
Merge pull request #21745 from edx/BOM-610
...
BOM-610
2019-09-26 12:35:24 +05:00
Ayub khan
1178384a52
BOM-608
...
python3 compatibility
2019-09-26 12:28:23 +05:00
Ayub
846a12939e
Merge pull request #21735 from edx/BOM-update_str_method
...
BOM Project __unicode__ to __str__
2019-09-26 10:47:14 +05:00
Jeremy Bowman
dab59635a7
Fix some failing xmodule tests ( #21775 )
2019-09-25 12:01:27 -04:00
Jeremy Bowman
8828efc060
Fix test collection under py35 BOM-615 ( #21774 )
2019-09-25 11:20:21 -04:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
Aarif
4e95024dc3
Merge pull request #21525 from edx/BOM-367
...
BOM-367 Python 3 fixes
2019-09-25 16:07:44 +05:00
aarif
736001e7f1
python 3 fixes
...
quality fixes
python 3 fixes
2019-09-25 15:10:50 +05:00
Jeremy Bowman
553d35e53e
Upgrade mock BOM-596 ( #21717 )
2019-09-24 10:14:17 -04:00
Awais Jibran
c0e0318f08
Prevent unicode error
...
This PR prevents `UnicodeDecodeError` when replacing unicode with bytes string.
Example:
PROD-680
2019-09-24 13:12:40 +05:00
Feanil Patel
57af13ddc4
Merge pull request #21721 from edx/python3-swarm-2
...
Python3 swarm 2
2019-09-20 08:48:19 -04:00
Feanil Patel
9740e2e077
BOM-618 Don't decode string objects.
2019-09-19 14:14:23 -04:00
Jeremy Bowman
ae2c3b8edf
Fix mocks of open() - BOM-597
2019-09-19 13:53:37 -04:00
Nicholas D'Alfonso
039b7aed29
DISCO-1342 hide fields
...
hide course card image, course about page image, and course
display name when publisher flag is turned on
2019-09-19 11:56:00 -04:00
Feanil Patel
dab38a5ef3
Merge pull request #21701 from edx/python3-swarm
...
Python3 swarm
2019-09-19 10:23:04 -04:00
Feanil Patel
cb64fed1af
BOM-489 Studio tests with byte/str mismatch.
2019-09-18 14:21:16 -04:00
Feanil Patel
ea49975a73
BOM-617 Fix test_static_replace test failures.
...
Update the tests around static_file code to use byte streams instead of
string streams for generating static content. This is a fix to get
these tests passing on python 3.
2019-09-18 11:51:49 -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
8e7406493c
python 3 fixes
...
test fixes
changes made as suggested
test fixes
test fixes for python 2
test fixes
python 3 fixes
test fixes
changes made as suggested
test fixes
test fixes for python 2
test fixes
minor fixes
python 3 fixes
minor changes
2019-09-18 16:42:37 +05:00
Ayub
eefa0092d0
Merge pull request #21669 from edx/BOM-450
...
BOM-450
2019-09-17 10:12:05 +05:00
Feanil Patel
fb59752c75
Need to return a unicode string in the xml factory.
...
The underlying data is put into json documents that expect unicode
strings not byte strings. In python2 lxml provided strings that were
auto coerced but in python3 it provides byte strings.
2019-09-16 11:30:05 -04:00
Ayub khan
89b48d3723
BOM-450
...
python3 compatibility
2019-09-16 17:06:39 +05:00
Ayub
71a593f68c
Merge pull request #21641 from edx/BOM-435
...
BOM-435
2019-09-16 09:58:50 +05:00
Awais Qureshi
5b8e194f81
Merge pull request #21657 from edx/awais786/BOM-478
...
BOM-478
2019-09-14 02:03:03 +05:00
Awais Qureshi
1de1e72b43
BOM-478
...
Fixing python3
2019-09-13 18:29:08 +05:00
Awais Qureshi
68ecbc0432
BOM-477
...
Fixing python3
2019-09-13 17:31:02 +05:00
Ayub khan
a0e0b13eae
BOM-435
...
python3 compatibility
2019-09-13 15:32:16 +05:00
Aarif
072f878b90
Merge pull request #21637 from edx/BOM-446
...
BOM-446
2019-09-13 14:40:36 +05:00
Feanil Patel
d1728b3d6a
Fixes for bokchoy running in python3.
2019-09-12 10:18:46 -04:00
aarif
9301ec38f3
python 3 fixes
2019-09-12 17:29:34 +05:00
DawoudSheraz
652dee611f
send grace period info to edx-proctoring
2019-09-12 15:01:32 +05:00
David Ormsbee
c96d0437c8
Merge pull request #21215 from open-craft/jill/capa-dom
...
LX-309 Modify CAPA choicegroup problems to make custom radio/checkboxes possible
2019-09-11 12:26:01 -04:00