Commit Graph

15905 Commits

Author SHA1 Message Date
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
8a10695d7e Extend runone script to accept pdb flags 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
Christina Roberts
4c35a0f1bb Merge pull request #488 from edx/christina/emails
Send e-mails when course creator status changes.
2013-07-29 10:02:05 -07:00
cahrens
087d35c95e Studio course creator e-mails. 2013-07-29 13:01:37 -04:00
Don Mitchell
0578175a7c Merge pull request #505 from edx/dhm/xblock_save
More xblock.save() calls to handle fields set during inits
2013-07-29 09:34:46 -07:00
Don Mitchell
393aa1da26 Ensure parent update of children decaches correctly 2013-07-29 12:23:19 -04:00
David Ormsbee
d453f47b72 Merge pull request #501 from edx/gprice/user-api-tweaks
User API Tweaks
2013-07-29 09:12:49 -07:00
Brian Talbot
a96099868d Merge pull request #486 from edx/talbs/mktg-vizsync
edx.org Login, Register, and iframe-based button visual sync
2013-07-29 07:22:22 -07:00
Brian Talbot
2ee140eb79 edx.org: syncing up capitalization of register/login submit button copy 2013-07-29 10:21:54 -04:00
Brian Talbot
d61e4e50ec edx.org: abstracting new edx.org button extends and colors with other themes in mind 2013-07-29 10:21:54 -04:00
Brian Talbot
049794463a edx.org: revising base link color variable to use darker value for accessibility 2013-07-29 10:21:54 -04:00
Brian Talbot
76b0a03bc2 edx.org: revises iframe-based register/status buttons to match revised styles 2013-07-29 10:21:54 -04:00
Brian Talbot
10964eec88 edx.org: handles letter-spacing on buttons 2013-07-29 10:21:54 -04:00
Brian Talbot
69c792f5e9 edx.org: applies edx.org visual changes (with overrides/new mixins) 2013-07-29 10:21:53 -04:00
Brian Talbot
71c3f5e5a7 edx.org: adds in variables/mixins to support edx.org visual changes 2013-07-29 10:21:53 -04:00
cahrens
b5506cf20b Copy changes. 2013-07-29 09:51:10 -04:00
cahrens
15665bbe5a Formatting updates. 2013-07-29 09:49:37 -04:00
cahrens
23894d20f8 E-mail notifications to users when course creator status changes. 2013-07-29 09:49:37 -04:00
Don Mitchell
d1ed6fbc34 More xblock.save() calls to handle fields set during inits 2013-07-29 09:08: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
Brian Talbot
8a715c1a16 Studio: using defined red color variables for error-based system messages 2013-07-25 17:09:57 -04:00
Sarina Canelake
b143de1f99 Merge pull request #502 from edx/sarina/fix-discussion-acceptance
Fix failing acceptance test
2013-07-25 13:23:27 -07:00
Sarina Canelake
50d35b30b1 Fix failing acceptance test 2013-07-25 14:56:22 -04:00
David Baumgold
a90d7b5dbb Merge pull request #491 from edx/lettuce-improvements
Misc improvements to make lettuce testing a bit saner
2013-07-25 11:37:50 -07:00
Greg Price
dc90736b5b Allow user id filtering in user preference API 2013-07-25 14:19:29 -04:00
Greg Price
6418a1cf5b Allow user API access in dev environments
This is achieved by allowing access if settings.DEBUG is True and
settings.EDX_API_KEY is not set or None (which is true for dev.py)
2013-07-25 14:02:43 -04:00
David Baumgold
df1252901f Misc improvements to make lettuce testing a bit saner 2013-07-25 13:19:39 -04:00
Calen Pennington
c6b5178261 Merge pull request #498 from edx/cale/make-the-service-variant-flag-on-manage.py-longform-only
Make the service-variant flag on manage.py longform only
2013-07-25 09:38:24 -07:00
cahrens
628994daf1 i18n "Create a New Course". 2013-07-25 12:25:06 -04:00
cahrens
60d60de2c4 Use format for strings instead of %. 2013-07-25 12:21:17 -04:00