Commit Graph

9424 Commits

Author SHA1 Message Date
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
22a7735ae2 Added parse functions to handle backend representation of textbooks 2013-07-09 19:16:01 -04:00
David Baumgold
9e5df7e28a Integrated PDF textbooks with Backbone Associations 2013-07-09 19:16:01 -04:00
Frances Botsford
14776df874 moved textbooks page to two columns 2013-07-09 19:16:01 -04:00
Frances Botsford
9b3b7f2deb updated styling for new textbook form structure 2013-07-09 19:16:01 -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
David Baumgold
19d65f81a4 Toggle show/hide chapters in textbook show view 2013-07-09 19:16:01 -04:00
David Baumgold
22e325af86 Show chapter asset path properly in textbook show view 2013-07-09 19:16:01 -04:00
David Baumgold
7f2b82c49b Display edit view inline on textbooks page 2013-07-09 19:16:00 -04:00
David Baumgold
6bad53512f Save chapter info when a new chapter is added to a textbook 2013-07-09 19:16:00 -04:00
David Baumgold
ee1158f89e Set up PDF textbooks list view in Backbone 2013-07-09 19:16:00 -04:00
Frances Botsford
574c8ad48d more form styling for textbook upload and first rough pass at file uploader 2013-07-09 19:16:00 -04:00
David Baumgold
aa1fbbbc99 Remove page blur on successful upload 2013-07-09 19:16:00 -04:00
David Baumgold
f198b7e297 Clean up Backbone view logic 2013-07-09 19:16:00 -04:00
Frances Botsford
109ccf6c5d initial html, sass, and js for textbook uploader; added alternate upload CTA in content area 2013-07-09 19:16:00 -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
David Baumgold
2832233eb9 Better handling for chapter upload error 2013-07-09 19:15:59 -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
Frances Botsford
e6a84f84b2 added icon to add a chapter button 2013-07-09 19:15:59 -04:00
Frances Botsford
0192b509ce replaced main-wrapper with wrapper-content wrapper for main content to align better 2013-07-09 19:15:59 -04:00
Frances Botsford
e237cdca84 round 2 on html and sass for textbook upload 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
Frances Botsford
9d59a1313c initial html and sass for textbook upload 2013-07-09 19:15:59 -04:00
David Baumgold
2d13325baf Move underscore templates out into separate files 2013-07-09 19:15:59 -04:00
David Baumgold
e7a937fb16 Always display chapter close button 2013-07-09 19:15:58 -04:00
David Baumgold
a84f66cd51 Pass asset upload URL to Javascript 2013-07-09 19:15:58 -04:00
David Baumgold
ace8914a53 Set up Backbone models/views to construct logic of adding textbooks/chapters 2013-07-09 19:15:58 -04:00
David Baumgold
6472051adc Increased the awesomeness of the textbook filler page by a factor of 12.8 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
David Baumgold
1d7e15fc2e Remove duplicate URL route 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
cahrens
ee2d874fdc Remove extra blank lines. 2013-07-09 13:12:15 -04:00
cahrens
283e2b2e60 Don't store abbreviations for state. 2013-07-09 13:07:38 -04:00
cahrens
01557b26be Move call into authz methods out of model class. 2013-07-09 12:47:54 -04:00
JonahStanley
0bd1e78e03 Acceptance tests use random ports 2013-07-09 12:18:30 -04:00
cahrens
99584aab23 pep8 cleanup 2013-07-09 11:08:27 -04:00
cahrens
6a49980582 Add tests for permissions. 2013-07-09 11:02:59 -04:00
JonahStanley
a21303ba96 Found some other places where the name should be unique 2013-07-09 10:49:19 -04:00
cahrens
5cd90d58f5 Clarify documentation. 2013-07-09 10:33:37 -04:00
cahrens
5a3a03c0d4 Change user to foreign key (tracks deletions). 2013-07-09 10:23:38 -04:00
JonahStanley
a2020aad03 Changed the lms database name to be different for the acceptance tests 2013-07-09 09:31:37 -04:00
JonahStanley
1eaa0317c4 Using parent process id for random number
This is to allow acceptance tests to properly link and know the names of its other parts
2013-07-09 08:57:05 -04:00
JonahStanley
b0d70008e4 Changed when the databases are reset
This might allow parallel features in the future
2013-07-09 08:54:20 -04:00