Calen Pennington
96a9d74190
Merge pull request #422 from edx/release
...
Hotfix: 2013-07-17
2013-07-17 13:12:06 -07:00
Chris Dodge
8325e28a10
add a default XML serialization if the 'data' field is empty or None. Some XModules now - like video XModule - do not have XML set in the 'data' field
2013-07-17 12:31:33 -04:00
Chris Dodge
ecbf148688
add a new django-admin command to dump out a course structure document. This is response to an emergency request from Harvard researchers.
2013-07-16 16:53:01 -04:00
Don Mitchell
be4fbc562e
Refactor tests to no longer use templates
...
Add boilerplate option to ItemFactory
Minor start date fix to not use microsecs
2013-07-16 16:00:28 -04:00
Calen Pennington
f6b7b2678d
Set about page default content from overview.yml template
2013-07-16 14:33:59 -04:00
Calen Pennington
4b53478859
Require markdown to be explicitly set
2013-07-16 14:33:59 -04:00
Calen Pennington
8b5979641b
Change default rerandomize and showanswer
...
The defaults used to be rerandomize=always, showanswer=closed. This is
preserved for capa problems being imported from XML. However, for
courses, and for problems created in Studio, the default has been
changed to never/finished, to match the previous defaults used by
Studio.
2013-07-16 14:33:58 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
Don Mitchell
8c904f31a9
Move defaults from yaml templates to field definitions.
...
This standardizes the XModule field default values to be the same as the
values that are presented by studio when a component is added to a
course.
2013-07-16 14:24:41 -04:00
David Baumgold
7f5aedb215
Merge pull request #380 from edx/db/studio-i18n
...
Studio internationalization
2013-07-13 05:45:50 -07:00
ichuang
547f230002
Merge pull request #381 from edx/feature/ichuang/export_all_courses
...
Add management command to Studio for exporting all courses; useful for periodic backups of course content in Studio
2013-07-12 16:59:53 -07:00
ichuang
8b6a55e2a8
fix pep-8 in export_all_courses
2013-07-12 19:58:16 -04:00
David Baumgold
a6f349dab9
Studio i18n
2013-07-12 16:25:39 -04:00
cahrens
923ba365b1
Merge branch 'master' into talbs/studio-authorship
2013-07-12 13:35:52 -04:00
cahrens
08a1055cba
Updates to index page text.
2013-07-12 13:35:27 -04:00
cahrens
d417a78c74
Tests for course creator status as returned in index page.
2013-07-12 11:25:12 -04:00
JonahStanley
940113efee
Fixed long lines
2013-07-12 10:32:49 -04:00
JonahStanley
484e217de3
Fixed some errors
2013-07-12 10:32:48 -04:00
JonahStanley
1f1bba5507
Scenario Dictionary now holds objects
2013-07-12 10:32:48 -04:00
JonahStanley
8110307ba9
CMS now refactored to use world dictionary
2013-07-12 10:32:48 -04:00
JonahStanley
35094a968b
Beginnings of refactoring the acceptance tests
2013-07-12 10:32:45 -04:00
ichuang
c53dd97f79
add extra modulestore() argument to single export script
2013-07-12 10:07:02 -04:00
ichuang
08b8438dda
add extra modulestore() argument to export to make it export drafts also
2013-07-12 10:06:48 -04:00
ichuang
84c38b4e9a
fix two typos in export scripts
2013-07-12 09:43:52 -04:00
ichuang
84f531af54
add export_all_courses management script to cms
2013-07-12 09:41:39 -04:00
cahrens
4ecceb292e
Add tests for changing table status without staff permissions.
2013-07-12 09:30:36 -04:00
JonahStanley
d1661fa6aa
Refactored recently merged in tests
2013-07-12 09:28:51 -04:00
JonahStanley
ebc9fa9e2a
Made a retry_on_exception world function that will retry the given function
2013-07-12 09:28:50 -04:00
JonahStanley
1ae86673f3
Changed a world.browser.find_by_css to world.css_find
2013-07-12 09:28:50 -04:00
JonahStanley
c53aac4596
CMS acceptance tests now should not get stale element exception errors
2013-07-12 09:28:50 -04:00
JonahStanley
8b0e7c5782
Made a new command css_has_class that will safely check the class and get around stale elements
2013-07-12 09:28:49 -04:00
JonahStanley
d86502bdc1
Added in a retry for checking the class of the video
2013-07-12 09:28:49 -04:00
Peter Fogg
871ab87bf2
Fix saving notification CSS.
2013-07-12 09:01:03 -04:00
Peter Fogg
5b4524d75e
Merge pull request #301 from edx/peter-fogg/explicit-course-settings
...
Peter fogg/explicit course settings
2013-07-11 14:09:07 -07:00
Peter Fogg
42ff1c2237
Merge pull request #366 from edx/peter-fogg/stud-116
...
Use new feedback notification when changing section release dates.
2013-07-11 13:34:07 -07:00
Peter Fogg
6e94960488
Fix many validation bugs and failing tests.
2013-07-11 16:09:59 -04:00
Jonah Stanley
50ea165a8e
Merge pull request #297 from edx/jonahstanley/refactor-unittest-courses
...
Jonahstanley/refactor unittest courses
2013-07-11 12:44:05 -07:00
JonahStanley
5d300bf36f
Fixed the broken unit tests from deleting full
2013-07-11 14:34:41 -04:00
cahrens
9b2c384666
Add post callback to request course creator status.
2013-07-11 13:53:56 -04:00
cahrens
52b5da3e61
Merge branch 'talbs/studio-authorship' of github.com:edx/edx-platform into talbs/studio-authorship
...
Conflicts:
cms/djangoapps/contentstore/views/user.py
cms/templates/index.html
2013-07-11 12:41:22 -04:00
cahrens
3715d6c429
Only send a single variable to index.html about authorship rights.
2013-07-11 12:39:51 -04:00
JonahStanley
4e015eacf5
Fixed the whitelist test to not use full course
2013-07-11 12:05:18 -04:00
JonahStanley
24ab36c87a
Unskip Acceptance Tests
2013-07-11 11:33:40 -04:00
JonahStanley
d2632227de
Fixed all but one test
2013-07-11 10:55:00 -04:00
JonahStanley
7b9a725201
Fixed comment relating to full course
2013-07-11 10:12:09 -04:00
JonahStanley
982777f547
All cms unit test no longer rely on the full course.
...
Factories were used when possible but tests depending on importing or things not manageable by factories used the toy course. New files were added to include the needed functionality. Most files are blank or have minimal xml needed to work
2013-07-11 10:09:05 -04:00
JonahStanley
55e6d1ad67
Asset tests do not rely on the full course
...
A blank asset file was also added to toy
2013-07-11 10:08:47 -04:00
JonahStanley
62f2764728
First half of refactorization.
...
This fixes the following tests(T stands for toy, F stands for factory made):
T import_textbook_as_content_element (needed to add a textbook to toy)
F static_tab_reordering
T import polls (needed to add a poll to toy)
T xlint_fails
F delete
T about_overrides (needed to add an about override to toy)
F remove_hide_progress_tab
2013-07-11 10:08:40 -04:00
JonahStanley
bbf2398bac
Fixed test_course_settings to not rely on full course
2013-07-11 10:07:57 -04:00
JonahStanley
456daa9ce5
Deleted Files and annotated tests
2013-07-11 10:07:02 -04:00