Ned Batchelder
4ace4f98cc
Add two tests of problems-with-files
...
One test passes already, the other fails. Fix in next commit.
2013-11-22 11:09:11 -05:00
Anton Stupak
aecc20af6b
Add Timed Transcripts Editor.
2013-10-22 21:45:03 +03:00
Don Mitchell
010905eb99
RESTful api for getting course listing and opening course in studio.
...
Pattern for how to do refactoring from locations to locators and from
old style urls to restful ones.
2013-10-16 16:54:31 -04:00
Julian Arni
b7485fd812
Review fixes
2013-10-15 16:16:09 -04:00
Julian Arni
2721966d76
Added acceptance tests for get_html exception handling
...
Make tests conform to new import UI
2013-10-15 16:16:09 -04:00
Calen Pennington
d785b1e213
Convert due_date_display_format tests to use factories
...
Previously, these tests modified due_date, which failed due to the new
restrictions on writing to Scope.settings from the LMS.
2013-10-08 15:29:17 -04:00
Calen Pennington
6b474724ac
Make XModuleDescriptor and XModule act as a single class
...
By transparently proxying between the XModuleDescriptor and the XModule,
and between their runtimes, we can make them act as a single class, so
that we can swap in an actual XBlock instead.
2013-10-08 15:29:17 -04:00
polesye
2a2c9d1989
Fix regexp.
2013-10-02 21:45:38 +03:00
polesye
960c2ec472
Fix acceptance tests.
2013-10-02 20:23:42 +03:00
Jay Zoldak
6e3ece92e3
Refactor upload acceptance tests and add locked asset tests for registered user
2013-10-02 08:12:58 -04:00
Vik Paruchuri
19fb2017be
Streamline and test uploading ... remove requirement that uploads be images, can now upload any file.
2013-09-27 17:08:34 -04:00
Julian Arni
b4e6a8b209
Fix order-dependency in tests
2013-09-23 10:52:05 -04:00
jkarni
0e2d833a2e
Merge pull request #830 from edx/jkarni/fix/unicode-import
...
Fix import errors with unicode filenames
2013-09-18 07:23:43 -07:00
Chris Dodge
5886118afe
in XML deserializations, we can get get floats for start/stop times, so we need to be able to parse those
...
add test video with float-based end-time
2013-09-17 10:38:21 -04:00
Diana Huang
47ce9082e4
Merge branch 'release'
...
Conflicts:
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
lms/djangoapps/courseware/tests/modulestore_config.py
2013-09-13 17:15:44 -04:00
Vik Paruchuri
c6e5e67483
Fix linking problem for peer grading, add in a test
...
Conflicts:
common/lib/xmodule/xmodule/tests/test_peer_grading.py
2013-09-13 11:09:06 -04:00
Vik Paruchuri
009017fe07
Address review comments
2013-09-13 11:06:40 -04:00
Julian Arni
3e62c5e29a
Cleaner tests
2013-09-12 15:48:00 -04:00
Julian Arni
0208506f93
Use upside-down english for unicode text
2013-09-12 15:48:00 -04:00
Julian Arni
1cfad39f1e
Add tests for imports with unicode filenames
2013-09-12 15:47:59 -04:00
cahrens
95ad1826d4
Hide show_timezone from Advanced Settings and migrate courses with show_timezone=False to using due_date_display_format.
2013-09-12 14:30:00 -04:00
cahrens
08d9942993
Allow custom formatting of due date strings.
...
STUD-724
Test course for allowing custom formatting of due date strings.
STUD-724
Try making the name of the course match the folder name.
More cleanup.
More cleanup.
updates.
2013-09-12 14:30:00 -04:00
cahrens
cda45cd77a
Add a checklist example to test course for import/export roundtrip.
2013-09-12 09:58:07 -04:00
Will Daly
2ed66ce7a5
Updated acceptance tests to match new behavior in video captions.
2013-08-30 16:17:01 -04:00
ichuang
493d8d26e5
add sample tabs to test_import_course
2013-08-27 20:04:55 -04:00
Calen Pennington
407b02b358
Centralize startup code, and execute in all contexts
...
Inspired by: http://eldarion.com/blog/2013/02/14/entry-point-hook-django-projects/
Moves startup code to lms.startup and cms.startup, and calls the startup
methods in wsgi.py and manage.py for both projects.
2013-08-27 12:12:20 -04:00
chrisndodge
0191ae9417
Merge pull request #652 from edx/feature/ichuang/import-with-no-static
...
Enable mongodb to be used as back-end for git-based authoring workflow
2013-08-22 11:05:02 -07:00
chrisndodge
2699ba65ba
Merge pull request #756 from edx/fix/cdodge/incorrect-html-serialization
...
Fix/cdodge/incorrect html serialization
2013-08-22 08:58:56 -07:00
Chris Dodge
842556d284
add new test data with draft content
2013-08-22 08:57:10 -04:00
Peter Fogg
e177270d0d
Merge pull request #700 from edx/peter-fogg/course-image-upload
...
WIP: Peter fogg/course image upload
2013-08-21 11:17:12 -07:00
Peter Fogg
e4302e62d2
Allow course image uploads in the settings page.
...
Authors can upload an image (or choose an existing one) from the
settings page, using the in-context uploader from PDF
textbooks. Includes tests for backwards compatibility with XML courses
-- they used a magic filename (images/course_image.jpg) which is
mapped to a location in the Mongo contentstore.
Still needs some UX work, though the backend plumbing is there.
2013-08-21 09:42:00 -04:00
ichuang
9b26e5bc78
dummy commit - trigger jenkins rebuild
2013-08-21 07:14:16 -04:00
ichuang
d2e93f7f7b
remove unncessary images from new test course
2013-08-20 23:46:15 -04:00
ichuang
0d938d3940
Merge branch 'master' of github.com:edx/edx-platform into feature/ichuang/import-with-no-static
...
Conflicts:
lms/djangoapps/courseware/tests/test_module_render.py
2013-08-20 23:40:09 -04:00
ichuang
95952bd693
add tests of static_asset_path and importing with no static;
...
fix (again) static_replace to work with static_asset_path
2013-08-20 23:30:26 -04:00
Chris Dodge
d523167bdd
add another piece of test data. just an img tag.
2013-08-20 23:16:39 -04:00
Chris Dodge
cf7b744fec
add test files
2013-08-20 22:47:22 -04:00
Chris Dodge
5a7bcd7bb3
always serialize out HTML content to a separate .html file
2013-08-20 22:43:53 -04:00
Chris Dodge
5989bf6bdc
update the PDF textbook url paths as well as update wiki_slug when importing
2013-08-20 21:50:28 -04:00
Chris Dodge
033f922ec0
add a try catch around the staticstorage lookup, which can throw an exception
2013-08-17 10:33:59 -04:00
Don Mitchell
e4a69373d0
xblock fields persist w/o breaking by scope
...
Letting xblocks handle scope rather than separating fields into
different attrs. Although, split still shunts content fields to a
different collection than setting and children fields.
The big difference is that content fields will always be a dict and not
sometimes just a string and there's no special casing of 'data' attr.
The other mind change is no more 'metadata' dict.
2013-08-16 10:42:52 -04:00
Peter Fogg
e20acee4c4
Working on Videoalpha test fix.
...
Fixed all common and LMS tests.
The tests were failing because XMLDescriptor adds in some attributes
to _model_data, such as `xml_attributes`, that aren't necessary. The
solution is to handle all XML parsing in VideoDescriptor. There's
still one test failing in CMS, which has to do with metadata being
saved. I'm still working out how to update it in such a way that it
doesn't fail, but still tests something meaningful.
2013-08-12 14:32:15 +03:00
Chris Dodge
1c2958e35d
address PR feedback
2013-08-09 20:46:14 -04:00
Chris Dodge
607573fbd9
add test files
2013-08-09 20:46:13 -04:00
Chris Dodge
e2358af6a9
add ability to rewrite links on the old /courses/<org>/<course>/<run>/jump_to/i4x://<org>/<course> .. intracourseware linking to the new portable /jump_to_id/<id> format
2013-08-09 20:46:13 -04:00
Chris Dodge
36fda35040
do portable link rewriting on import and add test to confirm it
2013-08-09 20:46:12 -04:00
Chris Dodge
3dbe4c189f
add unit tests around asserting that /static/ links are not re-written on import
2013-08-05 16:15:03 -04:00
Chris Dodge
ebbeeb16a2
add some unit tests for the new fields
2013-08-02 09:56:19 -04:00
Chris Dodge
6f3b49a6f9
add some chinese characters to the test content
2013-07-23 12:15:56 -04:00
Chris Dodge
e24eb3e4eb
added explicit unit test to verify the link rewriting
2013-07-23 12:15:55 -04:00