chrisndodge
8573ac3909
Merge pull request #510 from edx/feature/cdodge/allow-course-run-in-course-create
...
Feature/cdodge/allow course run in course create
2013-07-31 14:44:50 -07:00
Don Mitchell
b80aad2308
Merge pull request #528 from edx/dhm/rename_revision
...
Rename CourseLocator.revision to branch
2013-07-31 13:18:17 -07:00
David Baumgold
248793c127
Fix some pylint issues
2013-07-31 15:42:11 -04:00
Peter Fogg
25955a79c4
Merge pull request #492 from edx/peter-fogg/fix-stud-146
...
Fix word cloud modules not exporting correctly.
2013-07-31 08:19:32 -07:00
Chris Dodge
d005323ace
update error message to be more specific to what the user needs to fix
2013-07-30 17:25:47 -04:00
Chris Dodge
1cd70ee386
fix some error messages and also make localizable strings
2013-07-30 17:24:43 -04:00
Chris Dodge
39b024b10c
fix broken unit tests
2013-07-30 17:24:43 -04:00
Chris Dodge
60f03f5dcc
fixing tests
2013-07-30 17:24:43 -04:00
Chris Dodge
e23b693d90
put a 4th field in the create new course form where the user must specify a course_run. Also update unit tests to also provide this 4th parameter. Styling changes to better lay out the form fields are still TBD.
2013-07-30 17:20:09 -04:00
David Baumgold
7d7513b6fe
Merge pull request #470 from edx/db/course-team-admin-grants
...
Grant admin rights to members of the course team
2013-07-30 13:36:56 -07:00
Don Mitchell
119652a62a
Rename CourseLocator.revision to branch
...
and all related vars and methods.
2013-07-30 14:37:33 -04:00
Peter Fogg
512269f842
Add descriptor for modules with empty XML data.
...
This allows a more general approach to modules such as word_cloud and
video which have no XML data (it's all store in metadata), but use
XmlDescriptor for backwards compatibility. They now generate an empty
tag on export, and clear out empty tags on import.
Also a small change to the video module as a result -- if it's asked
to parse empty XML data, it won't try to parse anything.
2013-07-30 13:53:38 -04:00
Don Mitchell
27d32f1932
Test reproducing the error: malformed course_update silently failing update
2013-07-30 12:01:15 -04:00
Peter Fogg
0967cb0d9d
Fix word cloud modules not exporting correctly.
2013-07-30 10:29:12 -04:00
Peter Fogg
0c9732024a
Add (currently failing) test case around saving metadata.
2013-07-29 15:39:18 -04:00
David Baumgold
a1b44afda3
Only instructors may make other instructors on a course
2013-07-29 13:12:05 -04:00
David Baumgold
42331464ed
Can't remove last instructor of a course
2013-07-29 13:12:05 -04:00
David Baumgold
0682157477
Test manage_users view for user that is a member of the course team
2013-07-29 13:12:04 -04:00
David Baumgold
f438552b3b
Added unit tests for new course team API
2013-07-29 13:12:04 -04:00
David Baumgold
724ef2e1e5
Fixing test failures
2013-07-29 13:12:04 -04:00
David Baumgold
6a9074e185
Removed get_url_reverse function
...
It was causing unit tests to fail, and it's a needless bit of abstraction that
never should have existed in the first place.
2013-07-29 13:11:48 -04:00
cahrens
23894d20f8
E-mail notifications to users when course creator status changes.
2013-07-29 09:49:37 -04:00
Christina Roberts
166aea62bb
Merge pull request #341 from edx/talbs/studio-authorship
...
Studio: Authorship Rights Request UI + Dashboard Clean-up
2013-07-26 03:59:07 -07:00
Chris Dodge
0b6932f4b8
add new test to assert that course creation will populate default tabs as expected. Also update factory to not override defaults on tabs array. Also simplfy self.tab test condition.
2013-07-23 16:15:39 -04:00
cahrens
5168a080ff
Don't add users marked with is_staff to course creation table.
2013-07-22 14:45:22 -04:00
cahrens
6629d5d3a3
Merge branch 'master' into talbs/studio-authorship
...
Conflicts:
cms/djangoapps/contentstore/views/user.py
cms/static/sass/elements/_controls.scss
cms/templates/activation_active.html
cms/templates/activation_complete.html
cms/templates/activation_invalid.html
2013-07-22 12:15:42 -04:00
Don Mitchell
df7b917b40
Implement next generation modulestore
...
A new modulestore backed by mongo that changes the data format to
facilitate easy versioning, sharing content between courses, and fast
lookup of course structure and Scope.settings data.
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
2013-07-19 13:10:14 -04:00
Don Mitchell
4a127e51c9
Merge pull request #441 from edx/dhm/course_update_bugs
...
POST requests were claiming request.method == 'PUT'
2013-07-19 08:56:01 -07:00
Vik Paruchuri
a2522c492c
Merge pull request #160 from edx/fix/vik/studio-oe
...
Fix/vik/studio oe
2013-07-19 08:44:16 -07:00
Don Mitchell
63c3bb0812
Reproduce POST showing up as PUT error
2013-07-19 11:12:23 -04:00
Don Mitchell
0aa9c6c1ae
json field value conversion test
2013-07-18 16:48:29 -04:00
Diana Huang
3f9431e8cf
Provide implicit saves for XBlocks and XModules.
...
Update existing tests and provide new ones to test new paradigm.
2013-07-18 16:37:34 -04:00
Vik Paruchuri
84c4b7f139
Test fixes
2013-07-18 15:08:52 -04:00
Chris Dodge
66287d0d99
fix test to use the new create_item method rather than clone_item, which has been deprecated, and thus breaking the test
2013-07-18 09:30:30 -04:00
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
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
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
cahrens
923ba365b1
Merge branch 'master' into talbs/studio-authorship
2013-07-12 13:35:52 -04:00
cahrens
d417a78c74
Tests for course creator status as returned in index page.
2013-07-12 11:25:12 -04:00
JonahStanley
5d300bf36f
Fixed the broken unit tests from deleting full
2013-07-11 14:34:41 -04:00
JonahStanley
4e015eacf5
Fixed the whitelist test to not use full course
2013-07-11 12:05:18 -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