1. 08 Aug, 2016 1 commit
  2. 24 May, 2016 1 commit
  3. 03 May, 2016 1 commit
    • Fixes for course updates date validation. · 78af4100
      If the first date the user selects is invalid it is not set on the
      model. This is because jQuery datepicker's getDate returns the
      current date when an invalid value is put in the field and the
      model's initial value is also the current date. So always update
      the date.
      Usman Khalid committed
  4. 08 Apr, 2016 1 commit
    • Course Updates date validation · 2735fdc2
      TNL-4115. Previously, course updates (which are intended to be posted with
      dates, for sorting in the LMS) could be authored in studio with a valid
      date, nothing, or a random string as the "date" for the update. As there
      is no validation for this in studio, everything succeeded with no warning.
      
      However, the LMS has problems parsing some of these values, and barfs when
      loaded by learners.
      
      The fix does two big things:
      - gracefully handles invalid dates in LMS. These updates are now treated as
      having a date of today, for sorting purposes.
      - turns on validation in studio. Now, it is not only impossible to enter
      invalid dates in studio, but notifications will draw the course author's
      eye if any invalid updates were previously saved.
      
      Test additions for this commit:
      
      Adds:
      - unit test for LMS parsing
      - Jasmine test to confirm invalid dates cannot be set by the user
          -also adds event to setAndValidate instead of using a global object
      - fix for lettuce test
          -It is no longer valid to enter the string "January 1, 2013" as this test
          had been doing. Keyed-in entries must use MM/DD/YY format.
      Eric Fischer committed
  5. 27 Jan, 2016 1 commit
  6. 26 Aug, 2015 1 commit
  7. 18 Apr, 2015 1 commit
  8. 15 Jan, 2015 1 commit
  9. 09 Apr, 2014 2 commits
  10. 11 Mar, 2014 1 commit
  11. 20 Dec, 2013 1 commit
  12. 23 Oct, 2013 1 commit
  13. 07 Oct, 2013 1 commit
  14. 04 Oct, 2013 1 commit