Brian Talbot
7a41855fdb
Studio: adds logic to show add new user to team view
2013-07-30 14:00:58 -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
David Baumgold
fba50589ff
Add a lettuce test for course team admins granting admin status
2013-07-30 13:48:43 -04:00
Brian Talbot
c82ad6cdaa
Studio: revises badge and create call to action design
2013-07-30 13:19:39 -04:00
Brian Talbot
2161961f64
Studio: corrects legend element copy on new user form
2013-07-30 13:18:56 -04:00
Don Mitchell
6a7fa41e03
Merge pull request #526 from edx/dhm/yacibug
...
Yet another Course Info bug
2013-07-30 09:54:16 -07:00
JonahStanley
dd0f7bc310
Fixed indenting and cleaned up if clause
2013-07-30 12:46:42 -04:00
Don Mitchell
1fb4354a12
Wrap malformed course_update rather than silently failing update
2013-07-30 12:08:57 -04:00
Don Mitchell
27d32f1932
Test reproducing the error: malformed course_update silently failing update
2013-07-30 12:01:15 -04:00
David Baumgold
71bb527022
Merge pull request #515 from edx/db/template-improvements
...
Studio: Improvements for loading JS templates on Advanced Settings and Course Updates pages
2013-07-30 08:24:54 -07:00
David Baumgold
4f5c2cce75
Re-added missing render() call
2013-07-30 11:22:13 -04:00
Peter Fogg
0967cb0d9d
Fix word cloud modules not exporting correctly.
2013-07-30 10:29:12 -04:00
Diana Huang
0d10a872c8
Merge pull request #499 from edx/diana/login-redirect
...
Only redirect when redirect url is an internal page.
2013-07-30 05:29:39 -07:00
Mark L. Chang
8b6c2787f6
copy changes
2013-07-30 00:14:44 -04:00
Brian Talbot
611dab077f
Studio: places 'add team member' call to course team view
2013-07-29 17:29:15 -04:00
Christina Roberts
f2a9d6fb8e
Merge pull request #519 from edx/christina/course_creators
...
Change in signature for add_user_with_status_unrequested.
2013-07-29 14:14:35 -07:00
cahrens
f347bd446b
Change in signature for add_user_with_status_unrequested.
2013-07-29 16:48:59 -04:00
Brian Talbot
6980e9f175
Studio: bulletproofs actions on course team view
2013-07-29 16:36:45 -04:00
JonahStanley
ee46b3ef24
One click categories do not have animations
2013-07-29 15:58:23 -04:00
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
David Baumgold
372992244c
Removed course_info_handouts AJAX load
2013-07-29 14:30:16 -04:00
David Baumgold
5b9e283552
Load course info update template on page instead of via AJAX
2013-07-29 14:29:04 -04:00
David Baumgold
eac14615cd
Load advanced_entry template on page, rather than via AJAX
2013-07-29 14:28:40 -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
36a10876c0
Fix variable scoping issue in Mako template
2013-07-29 13:12:06 -04:00
Brian Talbot
deced24b32
Studio: refactored form-based Sass and revised markup/copy for course team admin mgmt
2013-07-29 13:12:06 -04:00
David Baumgold
e5ef5ef1a0
Show disabled trash icon instead of not showing it at all
2013-07-29 13:12:06 -04:00
David Baumgold
41832744d7
Correct course team admin badging logic
2013-07-29 13:12:06 -04:00
David Baumgold
ecf855eba7
Fixup translations
2013-07-29 13:12:05 -04:00
David Baumgold
5738e4f79d
Pull correct URL when changing user permissions for course team
2013-07-29 13:12:05 -04:00
David Baumgold
91f192f6b5
Added error prompts for the course team page
2013-07-29 13:12:05 -04:00
Brian Talbot
4a2b5519ba
Studio: styles new user role controls and revamps course team UI
2013-07-29 13:12:05 -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
c70bd5c908
Remove whitespace from email addresses on the course team page
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
b835f7c3a3
Update a manage_user reverse call
2013-07-29 13:11:48 -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
David Baumgold
c240f6597d
Reformat JS
2013-07-29 13:11:47 -04:00