1. 11 Dec, 2014 1 commit
  2. 09 Dec, 2014 1 commit
    • Limit Upload File Sizes to GridFS. · fb9320af
      This commit puts a limit on the size of files that
      course staff can upload to MongoDB. The limit is
      enforced on the frontend in javascript as well
      as backend via the /upload endpoint.
      
      The limit is hard-coded in cms/envs/common.py and
      may be changed according to the user's custom
      needs.
      
      If the user tries to upload a file that's too
      large, an error message will pop up, with a
      customizable url that pointing the user to an
      external page with an alternate upload procedure.
      This url is specified im cms/envs/common.py.
      If not set, this url will not be displayed.
      Jim committed
  3. 05 Dec, 2014 1 commit
  4. 20 Nov, 2014 1 commit
  5. 10 Nov, 2014 2 commits
  6. 06 Nov, 2014 1 commit
  7. 03 Nov, 2014 1 commit
  8. 30 Oct, 2014 1 commit
  9. 24 Oct, 2014 1 commit
  10. 20 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
  12. 02 Oct, 2014 1 commit
  13. 01 Oct, 2014 1 commit
  14. 11 Sep, 2014 1 commit
  15. 10 Sep, 2014 1 commit
  16. 08 Sep, 2014 1 commit
  17. 26 Aug, 2014 2 commits
    • Implemented Validation for Course Advanced Setting · 11d26091
      This commit adds validation for course advanced settings. Currently when course
      administrators make invalid changes in the Settings/Advanced Settings tab,
      they're not notified through a new modal window of the list of invalid settings
      changes.
      
      * Extending CourseMetadata
          - Previously, we only had update_from_json method in CourseMetadata.py,
            and it was only validating one field every POST request.
          - Now we have validate_and_update_from_json method that encapsulates the
            functionality of update_from_json into a validation call
          - To avoid discrepancy of validation standards between modules, validation
            uses the from_json method implemented to each field in xblock.
      
      * Different Response in advanced settings ajax requests
          - After receiving a POST ajax request, course.py calls
            validate_and_update_from_json, and sends a json object of either:
              1) valid course metadata model
              2) error objects
      
      * Error Messages shown in validation-error-modal
          - error objects passed through ajax are shown in a separate modal.
      Se Won Jang committed
  18. 22 Aug, 2014 3 commits
  19. 21 Aug, 2014 18 commits