Commit Graph

  • 17bef565f1 Added another test David Baumgold 2013-07-03 15:46:10 -04:00
  • 4155f9fe8c Removed unused user_author_string function David Baumgold 2013-07-03 15:00:49 -04:00
  • 359cbbb4d9 Fixing up ui_helpers based on feedback from Christina David Baumgold 2013-07-03 14:18:05 -04:00
  • 437e658f98 pylint fixes David Baumgold 2013-07-03 12:51:44 -04:00
  • 1a0d6d21bb Forgot to call show() on saving notification David Baumgold 2013-07-03 11:54:40 -04:00
  • dd39ebec03 If success_condition fails, raise an exception David Baumgold 2013-07-03 11:46:58 -04:00
  • 8d809dbad6 Remove commented-out code David Baumgold 2013-07-03 11:39:41 -04:00
  • 32a902ca57 Remove create_json_response in favor of JsonResponse class David Baumgold 2013-07-02 17:33:34 -04:00
  • 628dff5398 pylint fixing David Baumgold 2013-07-02 17:15:37 -04:00
  • c68895ca5d world.css_click no longer returns a boolean David Baumgold 2013-07-02 15:02:51 -04:00
  • cfa094e424 Validation tests for Backbone models David Baumgold 2013-07-02 14:24:28 -04:00
  • eba5928009 Added a comment David Baumgold 2013-07-02 13:53:04 -04:00
  • fe8587566f All textbook chapters must have name and asset_path David Baumgold 2013-07-02 13:46:57 -04:00
  • f9a10855d9 Add notes about JS validation functions returning non-i18n error messages David Baumgold 2013-07-02 13:23:32 -04:00
  • 44185c3afa Updated CHANGELOG David Baumgold 2013-07-02 13:21:27 -04:00
  • fa62f48e57 Fix Jasmine test failures David Baumgold 2013-07-02 13:19:45 -04:00
  • e7088d50fd Display error message when trying to upload a non-PDF file as a PDF textbook David Baumgold 2013-07-02 11:12:11 -04:00
  • 7506562f50 Another lettuce test, and fixes to make it work David Baumgold 2013-07-02 10:57:10 -04:00
  • ca2339f15e Remove unneeded arguments David Baumgold 2013-07-02 09:43:45 -04:00
  • ee61b15345 Added a few more tests, to increase diff coverage David Baumgold 2013-07-02 09:30:06 -04:00
  • c5c1fd08ae i18n David Baumgold 2013-07-01 17:15:30 -04:00
  • 84bbd84a54 Ease Christina's pain David Baumgold 2013-07-01 17:05:09 -04:00
  • e1ed5c3d2d docstrings David Baumgold 2013-07-01 16:47:09 -04:00
  • b97f5585b9 Re-added a missing import David Baumgold 2013-07-01 16:22:00 -04:00
  • 0b8aec718f Add another pdf textbook test David Baumgold 2013-07-01 15:43:19 -04:00
  • bacb904ce3 Skip failing unit test David Baumgold 2013-07-01 15:27:31 -04:00
  • a90590a442 Remove unused imports/constants David Baumgold 2013-07-01 15:21:14 -04:00
  • b41d23747a PDF Textbooks: implemented "View Live" link Frances Botsford 2013-07-01 15:07:52 -04:00
  • 2a92a14054 Wrote simple lettuce tests for pdf textbooks David Baumgold 2013-07-01 14:31:40 -04:00
  • 1b945dd6e8 changes to textbook upload buttons, success message and styling Frances Botsford 2013-06-29 22:50:20 -04:00
  • 2b9ed46440 Save chapter information more frequently David Baumgold 2013-06-27 16:26:52 -04:00
  • 11c5c14998 Add error class to invalid fields on PDF textbooks form David Baumgold 2013-06-27 16:21:17 -04:00
  • 4bc109708f Use django-method-override module David Baumgold 2013-06-27 15:22:43 -04:00
  • 5e0767ccd0 logging is unused David Baumgold 2013-06-27 14:59:48 -04:00
  • bc3a67ec89 Fix reference error David Baumgold 2013-06-27 14:58:09 -04:00
  • 2321a2c563 more updates to PDF textbook UI Frances Botsford 2013-06-27 13:29:07 -04:00
  • ef81556cc5 Use JsonResponse when it makes sense David Baumgold 2013-06-27 12:21:42 -04:00
  • 090d0d4464 Fix up unit tests David Baumgold 2013-06-26 17:08:34 -04:00
  • a608d8a38d PDF Textbooks: handle model deletion David Baumgold 2013-06-26 13:59:40 -04:00
  • 8f2077b579 Test for Textbook.reset method David Baumgold 2013-06-26 12:15:27 -04:00
  • 70a011770e Show a warning if the user tries to leave the page with unsaved textbook changes David Baumgold 2013-06-26 12:15:10 -04:00
  • fedbf4585b Prevent saving when textbook is in invalid state David Baumgold 2013-06-25 17:20:59 -04:00
  • 74b9703def Reset model attributes when textbook editing is cancelled David Baumgold 2013-06-25 16:35:51 -04:00
  • 9797b34c4e Pluralize CMS.URL.TEXTBOOK David Baumgold 2013-06-25 16:35:18 -04:00
  • 77ae9a6a78 PDF Textbooks: fetch/save individual textbooks David Baumgold 2013-06-25 16:03:27 -04:00
  • 27e895393c Added generic JsonResponse class David Baumgold 2013-06-25 14:44:09 -04:00
  • 307c6c1715 CMS.Views.Notification.Saving should have sensible defaults David Baumgold 2013-06-25 11:07:40 -04:00
  • 7b502ced1c Add validation functions for PDF Textbook models David Baumgold 2013-06-25 10:53:35 -04:00
  • 7856db1e09 Provide correct path to Chapter model David Baumgold 2013-06-25 10:52:40 -04:00
  • dc5123c836 Allow multiple textbook edit forms on the page simultaneously David Baumgold 2013-06-24 16:50:39 -04:00
  • 404c36b8f4 PDF textbooks: namespace JS variables for URLs David Baumgold 2013-06-24 15:56:45 -04:00
  • 696a795c12 Don't remove all chapters on closing EditTextbook view David Baumgold 2013-06-24 15:21:27 -04:00
  • 0048c82092 Simply context passing for textbooks David Baumgold 2013-06-24 15:08:23 -04:00
  • 5836286fda PDF textbooks: unified naming conventions David Baumgold 2013-06-24 14:47:43 -04:00
  • c45dbca771 Fix JS dependency issues David Baumgold 2013-06-24 14:18:30 -04:00
  • 414c9d38b6 studio - revises plus icon treatment throughout new-button actions Brian Talbot 2013-06-24 12:13:05 -04:00
  • a861e01536 Reorganize Jasmine uploader tests David Baumgold 2013-06-21 16:23:45 -04:00
  • c2ef6a53f5 PDF textbook upload: show success message for 2 seconds following successful upload David Baumgold 2013-06-21 16:18:30 -04:00
  • cae5c324a6 modifications to Backbone textbook structure David Baumgold 2013-06-21 15:57:42 -04:00
  • 27f2339537 additional refinements to PDF textbooks, including making the edit buttons work again Frances Botsford 2013-06-21 14:53:45 -04:00
  • 7b02932fea Add tests for CMS.Views.ChapterEdit, save content before opening upload dialog David Baumgold 2013-06-21 14:36:05 -04:00
  • c750f08d21 Fix failing unit tests due to bad rebase David Baumgold 2013-06-21 13:47:35 -04:00
  • 3b0b1b36b3 Import gettext in textbook template David Baumgold 2013-06-21 13:45:15 -04:00
  • 33a78eaeb7 Fix missing } from bad rebase David Baumgold 2013-06-21 13:40:33 -04:00
  • 947a4ee714 adding some finesse to the PDF textbooks page Frances Botsford 2013-06-21 13:29:00 -04:00
  • 0673c79f28 i18n David Baumgold 2013-06-21 13:16:47 -04:00
  • 4c1ea5aaac PDF Textbook i18n David Baumgold 2013-06-21 12:03:15 -04:00
  • e059060cf3 updated textbook page html and sass, and added basic styling for error on wrong file type Frances Botsford 2013-06-20 22:51:46 -04:00
  • e8b79dc696 PDF textbooks only accept PDF files David Baumgold 2013-06-20 11:34:20 -04:00
  • 4c304f1d18 Add unit test for failure case David Baumgold 2013-06-20 10:16:11 -04:00
  • 6c313339e1 Updated Backbone-Associations to v0.5.0 David Baumgold 2013-06-20 09:28:14 -04:00
  • 05cb13b171 Adding and fixing tests David Baumgold 2013-06-19 16:59:57 -04:00
  • 77db1f8a5a Fixups and test fixes post-rebase David Baumgold 2013-06-19 11:57:06 -04:00
  • 4b2eb79de9 revamp of textbook list html, stage 1 Frances Botsford 2013-06-19 11:01:08 -04:00
  • 8934cf35ba Add pdf_textbooks tab when textbooks are created David Baumgold 2013-06-19 09:51:05 -04:00
  • c59d515cdf Added unit tests for file upload widget David Baumgold 2013-06-17 14:50:24 -04:00
  • 7bb86b6cd2 Fix showSpies and editSpies resetting in tests David Baumgold 2013-06-17 13:39:38 -04:00
  • 27398a5c6f Added tests for CMS.Views.ListTextbooks David Baumgold 2013-06-17 13:37:20 -04:00
  • 8ba21ca34a More backbone view tests David Baumgold 2013-06-14 16:05:28 -04:00
  • 5fa05a50b9 Make gettext perform sanely in test David Baumgold 2013-06-14 16:05:13 -04:00
  • 3f0efe70cf Added jasmine-stealth library, v0.0.12 David Baumgold 2013-06-14 15:19:18 -04:00
  • 8227a8c3db Started adding tests for textbook backbone views David Baumgold 2013-06-14 15:10:58 -04:00
  • 609c299f48 Finished backbone model tests for textbooks David Baumgold 2013-06-14 13:09:53 -04:00
  • 207453a37c Further basic tests for Backbone models David Baumgold 2013-06-14 12:48:20 -04:00
  • 001cd5d004 First few unit tests David Baumgold 2013-06-12 14:03:44 -04:00
  • 40098f6593 renamed textbooks.js to textbook.js David Baumgold 2013-06-12 13:59:50 -04:00
  • 9af447de97 Moved Backbone models/views out to separate files for pdf textbooks project David Baumgold 2013-06-12 13:40:40 -04:00
  • 0d415d814b Remove unused imports David Baumgold 2013-06-12 13:14:45 -04:00
  • 14be4310c3 Add confirmation step for deleting a textbook David Baumgold 2013-06-12 11:16:41 -04:00
  • 9de2dc51ec Can't add new textbook if the currently-editing textbook is empty David Baumgold 2013-06-12 11:04:51 -04:00
  • c0b00f7dd5 persist textbook deletions to the server David Baumgold 2013-06-12 11:00:58 -04:00
  • 486bacede4 Clean up HTML structure in textbooks page David Baumgold 2013-06-12 10:54:04 -04:00
  • 4509dc03b0 Pull and save pdf textbook information to/from the correct modulestore David Baumgold 2013-06-12 10:36:43 -04:00
  • 64adb62d48 make sure to save textbook name when it changes David Baumgold 2013-06-11 17:08:32 -04:00
  • ce26d52420 set order attribute on chapters from server David Baumgold 2013-06-11 16:48:22 -04:00
  • f6ee5cf680 rename view.save() to view.setValues() David Baumgold 2013-06-11 16:41:37 -04:00
  • 6a3360cefa Full front-end/back-end connection via Backbone.sync. No data validation whatsoever. David Baumgold 2013-06-11 16:26:36 -04:00
  • 22a7735ae2 Added parse functions to handle backend representation of textbooks David Baumgold 2013-06-11 15:36:19 -04:00
  • 9e5df7e28a Integrated PDF textbooks with Backbone Associations David Baumgold 2013-06-11 15:22:26 -04:00
  • 00f76f3cda Added Backbone Associations v0.4.2 David Baumgold 2013-06-11 15:09:36 -04:00