Peter Fogg
d9716a7249
Update acceptance tests for course settings.
2013-07-11 09:11:59 -04:00
Peter Fogg
eba1bd0972
Refactor and update acceptance tests around saving settings.
2013-07-11 09:11:59 -04:00
Peter Fogg
9094f1890b
Change course settings to require explicit save.
...
Rather than asynchronously saving when a setting is updated, we now
prompt the user to confirm their changes and only persist the data if
they hit the save button. Lettuce tests are updated to expect this
behavior and some new ones are added.
2013-07-11 09:11:07 -04:00
cahrens
135d10d4c5
Fix unicode return value.
2013-07-10 17:26:55 -04:00
Jonah Stanley
786f422ffa
Merge pull request #298 from edx/jonahstanley/acceptance-tests-unique-database
...
Jonahstanley/acceptance tests unique database
2013-07-10 14:09:28 -07:00
cahrens
f911c96dcb
Pass course_creator_status to index.html.
2013-07-10 16:19:49 -04:00
Peter Fogg
66b73c861f
Use new feedback notification when changing section release dates.
2013-07-10 16:07:25 -04:00
Adam Palay
d056c8a8f2
replace test setting changes with test-specific mock.patch.dicts
2013-07-10 10:18:58 -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
c68895ca5d
world.css_click no longer returns a boolean
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
ee61b15345
Added a few more tests, to increase diff coverage
2013-07-09 19:16:10 -04:00
David Baumgold
e1ed5c3d2d
docstrings
2013-07-09 19:16:10 -04:00
David Baumgold
b97f5585b9
Re-added a missing import
2013-07-09 19:16:10 -04:00
David Baumgold
0b8aec718f
Add another pdf textbook test
2013-07-09 19:16:10 -04:00
David Baumgold
bacb904ce3
Skip failing unit test
2013-07-09 19:16:10 -04:00
David Baumgold
a90590a442
Remove unused imports/constants
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
David Baumgold
090d0d4464
Fix up unit tests
2013-07-09 19:16:08 -04:00
David Baumgold
77ae9a6a78
PDF Textbooks: fetch/save individual textbooks
...
Created a few RESTful API endpoints, which required creating and assigning
arbitrary IDs to PDF textbooks. Changed the Backbone views to save individual
models, instead of saving a whole collection.
2013-07-09 19:16:07 -04:00
David Baumgold
27e895393c
Added generic JsonResponse class
...
Based on http://djangosnippets.org/snippets/154/
2013-07-09 19:16:07 -04:00
David Baumgold
404c36b8f4
PDF textbooks: namespace JS variables for URLs
2013-07-09 19:16:07 -04:00
David Baumgold
c750f08d21
Fix failing unit tests due to bad rebase
2013-07-09 19:16:06 -04:00
David Baumgold
4c304f1d18
Add unit test for failure case
2013-07-09 19:16:05 -04:00
David Baumgold
05cb13b171
Adding and fixing tests
2013-07-09 19:16:04 -04:00
David Baumgold
8934cf35ba
Add pdf_textbooks tab when textbooks are created
2013-07-09 19:16:04 -04:00
David Baumgold
0d415d814b
Remove unused imports
2013-07-09 19:16:03 -04:00
David Baumgold
4509dc03b0
Pull and save pdf textbook information to/from the correct modulestore
2013-07-09 19:16:02 -04:00
David Baumgold
6a3360cefa
Full front-end/back-end connection via Backbone.sync. No data validation whatsoever.
2013-07-09 19:16:02 -04:00
David Baumgold
00b885deaa
Update pdf textbooks backend to respond to AJAX requests with JSON
2013-07-09 19:16:01 -04:00
David Baumgold
e607bc70ad
Pull assets into Mako template for PDF textbooks
2013-07-09 19:16:01 -04:00
Chris Dodge
cd7a448384
some tweeks to the negative testing
2013-07-09 19:16:00 -04:00
Chris Dodge
5e218389c9
add ability to do failure testing. If a post passes in a '?fail_at=<num_bytes>' then the middleware will throw an exception
2013-07-09 19:16:00 -04:00
Chris Dodge
b43f1c7331
add a new cms ENV configuration to use a slow upload file handler to help test progress bars in uploads
2013-07-09 19:15:59 -04:00
Chris Dodge
d4b1d4c60c
return right mimetype from upload method.
2013-07-09 19:15:59 -04:00
David Baumgold
e0eec89e09
Truncate AJAX error messages in notification
2013-07-09 19:15:59 -04:00
David Baumgold
a84f66cd51
Pass asset upload URL to Javascript
2013-07-09 19:15:58 -04:00
David Baumgold
3d61c6294c
Stubbed out textbooks index page
2013-07-09 19:15:58 -04:00
David Baumgold
cc4e01b4c6
Removed obsolete active_tab template variable
2013-07-09 19:15:58 -04:00
Chris Dodge
6642cdddae
support uploading and referencing assets as streams rather than having to read everything into memory first
2013-07-09 19:15:58 -04:00
Jean Manuel Nater
18861e4ef9
Removed some pep8 violations.
2013-07-09 19:15:57 -04:00
Christina Roberts
bd96632139
Merge pull request #345 from edx/christina/course-creator-table
...
Admin table for course creators.
2013-07-09 13:18:35 -07:00
cahrens
1fd0451124
pylint cleanup
2013-07-09 14:33:27 -04:00