Calen Pennington
60bbfc5a9c
Add @contract to _load_item
2015-03-17 13:15:19 -04:00
Calen Pennington
11dcf12f14
Make XModule use the same get_children that XModuleDescriptor and XBlock do, and make it returned the same CombinedSystem
2015-03-17 13:15:18 -04:00
Calen Pennington
8a73a736e3
Correctly escape backslashes in docstring for get_content_titles
2015-03-17 13:15:18 -04:00
Calen Pennington
473420429d
Allow MongoModuleStore to use an existing CachingDescriptorSystem.
...
Prior to this change, if a CachingDescriptorSystem was prepopulated
with XBlock field data (`module_data`), then it would be used as
the DescriptorSystem for blocks loaded through it. On the other hand,
if it had to fetch new data from the modulestore, then a new
CachingDescriptorSystem would be created by the modulestore, and used
by the newly returned object.
This commit allows the modulestore get_item and get_items methods
to accept an existing CachingDescriptorSystem to augment with data
from the backing mongo store, and to use as the DescriptorSystem
for newly loaded XBlocks.
2015-03-17 13:15:18 -04:00
Calen Pennington
4ef53135ae
Add and clean up __repr__ and __str__ for XModule-related things
2015-03-17 13:15:18 -04:00
Calen Pennington
8fbb64322b
Clarify grading variables in the CourseModule
2015-03-17 10:55:06 -04:00
Calen Pennington
de23d6defe
Clear cached children when binding an XModuleDescriptor/XBlock to a particular user
2015-03-17 10:55:06 -04:00
Ned Batchelder
7d799e34f3
Remove unused imports
2015-03-17 07:10:31 -04:00
stv
181eed241f
Silence unrelated warnings
2015-03-14 13:35:18 -07:00
stv
79f9d1a70f
Fix Pylint: E1121(too-many-function-args)
2015-03-13 20:20:04 -07:00
stv
b9ed4b6561
Fix Pylint: E1305(too-many-format-args)
2015-03-13 20:20:04 -07:00
stv
6c06f8ce5d
Fix Pylint: C1001(old-style-class)
2015-03-13 20:20:04 -07:00
stv
90b3318d01
Fix Pylint: I0010(bad-inline-option)
2015-03-13 20:20:03 -07:00
Nimisha Asthagiri
28ad138829
Merge pull request #7311 from edx/mobile/MA-345-FB-URL
...
MA-345 Mobile Enrollment API: add course' Facebook URL.
2015-03-13 13:56:42 -04:00
Matt Drayer
16e63c9e1e
Added Certficates Web/HTML View
2015-03-13 12:16:13 -04:00
Ahsan Ulhaq
02fc7fd8e7
Removed sr span inside the show answer button
2015-03-13 21:09:04 +05:00
Ahsan Ulhaq
a715bd7053
Standrize buttons in assessment problems
...
Assessment problems was having input type="button" which cause accessibility issues.
changed them to <button> and added span with class sr.
TNL-1693
2015-03-13 21:09:04 +05:00
Nimisha Asthagiri
e77bcab571
MA-345 Mobile Enrollment API: add course' Facebook URL
2015-03-13 11:13:33 -04:00
alawibaba
5107d463c7
Merge branch 'master' into release
...
Conflicts:
lms/envs/common.py (RESOLVED)
2015-03-12 13:20:45 -04:00
alawibaba
cdc81c8894
Fixed ID bug in China CDN experiment, added default, changed graphite metric name, and exposed CDN monitoring ENVs.
2015-03-11 14:28:20 -04:00
Kelketek
1bd3652af3
Merge pull request #6846 from open-craft/content_libraries/import-export
...
Content Libraries Import/Export
2015-03-11 09:27:45 -05:00
Mark Hoeber
86930b9d27
Merge pull request #7135 from edx/markhoeber-studio-template-updates
...
Studio template updates
2015-03-11 09:16:40 -04:00
Mark Hoeber
12e3cc9d62
Update IFrame, Zooming Image, and Full Screen Image Templates
2015-03-10 20:58:01 -04:00
Jonathan Piacenti
8ad4d081fb
Added library import and export via .tar.gz'd XML files.
2015-03-10 21:29:29 +00:00
Martyn James
af14d222fc
Merge pull request #7085 from edx/dcikatic/SOL-258
...
SOL-258 Removing preview and content type from search list for sequence ...
2015-03-10 11:55:33 -04:00
zubair-arbi
61890e7a5e
return proper 404 for assets of some invalid course from split modulestore
...
PLAT-456
2015-03-10 15:00:14 +05:00
Dino Cikatic
bfa625ea78
SOL-258 Removing preview and content type from search list for sequence type
2015-03-09 16:28:04 +01:00
Corey Goldberg
1fc9c83726
Added listener and beacon for video cdn eval.
2015-03-06 16:46:41 -05:00
Xavier Antoviaque
7338cc1286
Merge pull request #7148 from open-craft/library-selector
...
Show a select box when editing a library content block (SOL-123)
2015-03-06 09:16:02 +01:00
E. Kolpakov
c225d86e83
SettingsService for accessing server-wide settings from XBlock
2015-03-05 18:24:47 +03:00
Braden MacDonald
2e0beac378
Update some strings to reflect the new behaviour
2015-03-04 13:38:55 -08:00
Braden MacDonald
93e5a56d79
Show a select box when editing a library content block
2015-03-04 13:32:15 -08:00
Alison Hodges
5acc13269a
Merge pull request #7133 from edx/ahodges/hackathon
...
Alison's Hackathon9 changes
2015-03-02 09:38:30 -05:00
Alison Hodges
4666caa63d
Fixes DOC-1472, DOC-1713, DOC-1613, DOC-1714, DOC-1715
2015-02-27 16:22:01 -05:00
John Eskew
80b5f38239
Upon import, only raise when none of multiple parents are found for a
...
block.
2015-02-27 18:01:09 +05:00
Ned Batchelder
dd436ed8f9
Fix sentences jammed together.
2015-02-25 12:22:32 -05:00
Martyn James
8acdf532fc
Merge pull request #7066 from edx/dcikatic/SOL-259
...
SOL-259 Change HTML content listed type in index from HTML Content to Te...
2015-02-24 16:06:48 -05:00
John Eskew
4e7ed93b3e
Rollback eager definition loading.
...
Pass 'lazy' parameter down properly into low-level definition caching.
Adjust mongo call numbers in tests and add missing bulk_op wrapper.
Avoids the loading of all definitions in a large course when only
specific, filtered definitions are needed to be loaded for an endpoint.
2015-02-23 10:33:43 -05:00
Dino Cikatic
a643397275
SOL-259 Change HTML content listed type in index from HTML Content to Text
2015-02-23 13:30:14 +01:00
Sarina Canelake
6900bd27fe
Merge pull request #7013 from stvstnfrd/pylint/low
...
Fix Pylint violations (easy)
2015-02-20 16:36:52 -05:00
Jesse Zoldak
cc71f63b5d
Skip intermittently failing test test_course_publish_signal_firing PLAT-449
2015-02-20 13:15:15 -05:00
Anton Stupak
694d6761b7
Merge pull request #7031 from edx/anton/video-fix-flaky-js-tests
...
[TNL-439]: Fix flaky jasmine tests.
2015-02-20 19:08:46 +02:00
polesye
f9738b9259
TNL-439: Fix flaky jasmine tests.
2015-02-20 18:20:51 +02:00
Mark Sadecki
bf7f7e1425
Merge pull request #6968 from edx/cptvitamin/TNL-891-alt-on-spinner
...
adds and alt attribute to the loading/spinner graphic
2015-02-20 09:42:31 -05:00
muzaffaryousaf
a31e38416d
Adds content group "Delete" and "Usage" functionality to group configurations page on cms.
...
TNL-1185
2015-02-20 14:56:22 +05:00
stv
237f2c329f
Add TODO comment about future test improvements
2015-02-19 19:56:52 -08:00
stv
e7b5ada5d1
Remove useless test
...
Per @sarina:
> `build_problem` is called in `_make_problem`, which other tests call
> in this class. A failure here will arise in other tests. This test is
> unnecessary.
2015-02-19 19:56:52 -08:00
stv
d21fdaac27
Fix Pylint: E0101(return-in-init)
2015-02-19 19:56:52 -08:00
stv
3ffa967af8
Fix Pylint: W0105(pointless-string-statement)
2015-02-19 19:56:52 -08:00
stv
c0a7bf94f4
Fix Pylint: W1503(redundant-unittest-assert)
2015-02-19 19:56:52 -08:00