Peter Fogg
0c9732024a
Add (currently failing) test case around saving metadata.
2013-07-29 15:39:18 -04:00
JonahStanley
419207ac3d
Fixed issues with problem-editor.feature
2013-07-29 14:49:50 -04:00
Diana Huang
d1b503d53a
Only redirect when redirect url is an internal page.
2013-07-29 14:18:04 -04:00
JonahStanley
20ce33dcdb
Fixed broken tests from chrome versioning
2013-07-29 13:38:27 -04:00
David Baumgold
64566c14e6
Fix unit tests
2013-07-29 13:12:07 -04:00
David Baumgold
0bd25c05e2
Fix up lettuce tests for course team page redesign
2013-07-29 13:12:06 -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
79c554ba5b
course admin team: handle is_staff users
...
A user with `is_staff=True` is treated as being in all groups. This is problematic
when we care about the user's staff/instructor role for a course: you can't remove
the instructor role. This commit changes the `is_user_in_course_group_role` function
to allow the caller to specify that it should not check the `is_staff` attribute
on the user.
2013-07-29 13:12:05 -04:00
David Baumgold
b6c69547de
Check for instructor role before removing it
2013-07-29 13:12:04 -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
97a02d415f
Make assertion failure message more understandable
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
David Baumgold
5c356bd379
Add button to add/remove instructor priviledges on course team page
2013-07-29 13:11:48 -04:00
David Baumgold
21a32370df
Reorganize URLs and views around course team
...
Match other views better, saner URLs, more RESTful style, extensible for other roles
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
Vasyl Nakvasiuk
57bc010a0a
gst integration into studio
2013-07-26 17:22:27 +03: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
Sarina Canelake
50d35b30b1
Fix failing acceptance test
2013-07-25 14:56:22 -04:00
David Baumgold
df1252901f
Misc improvements to make lettuce testing a bit saner
2013-07-25 13:19:39 -04:00
cahrens
60d60de2c4
Use format for strings instead of %.
2013-07-25 12:21:17 -04:00
Adam Palay
2efcb0cdca
Change default names for various LMS components
...
Embedded discussion component defaults to "Discussion"
Blank HTML page defaults to "Text"
Video component defaults to "Video"
These default names show up in tooltips.
2013-07-25 10:38:47 -04: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
Peter Fogg
6eac259c08
Merge pull request #415 from edx/peter-fogg/notification-stories
...
Peter fogg/notification stories
2013-07-23 09:05:10 -07:00
Peter Fogg
69e8d4d32f
Merge pull request #469 from edx/peter-fogg/fix-stud-486
...
Trim whitespace when adding course authors.
2013-07-23 09:01:25 -07:00
Peter Fogg
060b2e17e5
Trim whitespace when adding course authors.
2013-07-22 15:58:22 -04:00
Peter Fogg
d87dba9e04
Correctly persist checklist settings.
...
Incidentally, fixes an acceptance test (which would have caught this
bug) not running. Its step regex was "They are correctly selected
after I reload the page$", which happens to be matched by "I reload
the page$", another step definition. Lettuce seems to arbitrarily pick
between definitions if they both match a step, so it's good to ensure
that each step isn't a sub-regexes of another.
2013-07-22 15:10:59 -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
Peter Fogg
fb0fcc310b
Factor out common code between module editing and course overview.
2013-07-22 11:37:09 -04:00
Peter Fogg
75edc65748
Use Backbone notifications for setting graded status.
2013-07-22 11:37:09 -04:00
Peter Fogg
5029f460ec
Use Backbone notifications for component delete.
2013-07-22 11:37:08 -04:00
Peter Fogg
9fe4cb734c
Use Backbone notifications for course section delete.
2013-07-22 11:37:08 -04:00
Calen Pennington
679b118ed3
Merge pull request #271 from edx/dhm/next-gen-modulestore
...
Next gen modulestore
2013-07-20 04:51:11 -07:00
Will Daly
76a63a6ef0
Disabled test failing due to bug in Studio
2013-07-19 17:13:51 -04:00
Will Daly
17daa2a023
Fixed two other tests
2013-07-19 16:49:16 -04:00
Will Daly
27d51b3453
Attempt to fix video test
2013-07-19 16:49:15 -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
541c98a3af
POST requests were claiming request.method == 'PUT'
...
So, changed handlers to look for either value.
2013-07-19 11:14:01 -04:00
Don Mitchell
63c3bb0812
Reproduce POST showing up as PUT error
2013-07-19 11:12:23 -04:00
chrisndodge
d78af5cf51
Merge pull request #294 from edx/feature/cdodge/add-dump-course-structure
...
add a new django-admin command to dump out a course structure document. ...
2013-07-19 07:04:41 -07:00
Don Mitchell
0aa9c6c1ae
json field value conversion test
2013-07-18 16:48:29 -04:00
Don Mitchell
badf86f71b
Have save_item parse json formatted field values by type
...
including allowing javascript to serialize date/time natively.
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