David Baumgold
607c06cba8
Stop using authz functions to change user groups
...
They contain too much incorrect permission checking
2013-08-01 11:24:42 -04:00
Calen Pennington
e8ee29786f
Remove news carousel and other unused pages
...
Remove unused course_filter page
removes university_profile urls and templates
removes all university_profile views
remove news from templates/index
2013-07-31 19:39:15 -04:00
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
David Baumgold
64ad5567f3
Create urls/views/templates for dev-only views
...
Our designers find it helpful to be able to stub out simple views that aren't ready
to be seen for production yet, and check them into version control so that other
people can see them and provide feedback. This commit introduces a few new files
and directories for this purpose, as well as a sample view that will only be seen
in dev mode, and never in production.
2013-07-31 17:20:26 -04:00
David Baumgold
248793c127
Fix some pylint issues
2013-07-31 15:42:11 -04:00
jkarni
bba0611584
Merge pull request #532 from edx/jkarni/fix/superfluous-fn
...
Remove get_preview_module.
2013-07-31 07:21:29 -07:00
Vasyl Nakvasiuk
1233d73e01
Merge pull request #497 from edx/alex/graphical_slider_tool_for_studio
...
"Graphical Slider Tool" integration into studio
2013-07-31 06:36:49 -07:00
Julian Arni
9725cff71e
Remove get_preview_module.
...
And replace calls with calls to load_preview_module.
2013-07-30 17:31:48 -04:00
Chris Dodge
beda411e28
improve error message regarding uniqueness
2013-07-30 17:29:02 -04: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
f29819ca4a
add some field specific error messages regarding uniqueness
2013-07-30 17:24:44 -04:00
Chris Dodge
1cd70ee386
fix some error messages and also make localizable strings
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
64566c14e6
Fix unit tests
2013-07-29 13:12:07 -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
b6c69547de
Check for instructor role before removing it
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
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
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
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
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
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
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
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
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
David Baumgold
a6f349dab9
Studio i18n
2013-07-12 16:25:39 -04:00
cahrens
d417a78c74
Tests for course creator status as returned in index page.
2013-07-12 11:25:12 -04:00
cahrens
9b2c384666
Add post callback to request course creator status.
2013-07-11 13:53:56 -04:00
cahrens
3715d6c429
Only send a single variable to index.html about authorship rights.
2013-07-11 12:39:51 -04:00
David Baumgold
17bef565f1
Added another test
2013-07-09 19:16:44 -04:00
David Baumgold
4155f9fe8c
Removed unused user_author_string function
2013-07-09 19:16:44 -04:00
David Baumgold
437e658f98
pylint fixes
2013-07-09 19:16:44 -04:00
David Baumgold
32a902ca57
Remove create_json_response in favor of JsonResponse class
2013-07-09 19:16:43 -04:00
David Baumgold
628dff5398
pylint fixing
2013-07-09 19:16:43 -04:00
David Baumgold
7506562f50
Another lettuce test, and fixes to make it work
2013-07-09 19:16:11 -04:00
David Baumgold
e1ed5c3d2d
docstrings
2013-07-09 19:16:10 -04:00
David Baumgold
2a92a14054
Wrote simple lettuce tests for pdf textbooks
2013-07-09 19:16:09 -04:00
David Baumgold
4bc109708f
Use django-method-override module
...
Replacing the get_request_method function everywhere
2013-07-09 19:16:09 -04:00
David Baumgold
bc3a67ec89
Fix reference error
2013-07-09 19:16:09 -04:00
David Baumgold
ef81556cc5
Use JsonResponse when it makes sense
2013-07-09 19:16:08 -04:00