1. 07 Apr, 2015 2 commits
    • Better i18n extraction and translation · adc6929b
      1. Extract the full sentence rather than parital of a sentence, so that languages with different word orders than English can benifit from this.
      2. Using ngettext instead of gettext with 'xxx(s)', as Transifex treats `()` as special characters so that it enforces the translated string must have the same number of `()` pairs. Such enforcement makes translations difficult, as not every language can use forms like 'xxx(s)' to represent both singular & plural within a single word.
      louyihua committed
  2. 05 Apr, 2015 1 commit
    • Fix i18n breaking in some js and underscore files · 2d47f803
      1. Spliting strings inside the call to `gettext()` in javascript breaks the string extraction process, so the string should kept in one line.
      2. Using escape string inside a string in `gettext()` may cause the extractor to misunderstand the escape string, so that it will escape this escape string.
      louyihua committed
  3. 02 Apr, 2015 1 commit
  4. 01 Apr, 2015 1 commit
  5. 31 Mar, 2015 2 commits
  6. 28 Mar, 2015 1 commit
  7. 26 Mar, 2015 3 commits
  8. 24 Mar, 2015 1 commit
  9. 19 Mar, 2015 1 commit
  10. 18 Mar, 2015 2 commits
  11. 12 Mar, 2015 1 commit
  12. 11 Mar, 2015 1 commit
  13. 10 Mar, 2015 2 commits
    • Entrance Exam authoring and messaging updates · 5a7ac441
      Multi-commit history:
      - hide drag functionality for entrance exam section.
      - hide entrance exam subsection elements e.g. delete, drag, name etc.
      - show unit/verticals expanded in case of entrance exam
      - modify code in order to allow user to update entrance exam score from UI.
      - write down unit tests.
      - write down Jasmine tests.
      - add bok-choy test
      - updated bok-choy test
      - internationalize string
      - repositioned sequential block creatori
      - SOL-221 (entrance exam message)
      - SOL-199 LMS Part (show entrance exam content) and hide the course navigation bar.
      - redirect the view in case of entrance exam.
      - update code structure as per suggestions
      - write down unit tests
      - fix pep8
      - instead of hiding the exam requirement message, now also showing the exam the completion message (success state).
      - write down unit test to show exam completion message.
      - Update code as per review suggestions
      - update doc string
      - addressed review suggestions
      - change sequential message text
      - css adjustments
      - added new css class for entrance exam score in studio
      - added Jasmine test for remaning coverage
      - sequential message should appear under the context of entrance exam subsection.
      - updated text in CMS and LMS as per suggestions.
      - added unit text to insure sequential message should not be present in other chapters rather then entrance exam.
      - skip setter if empty prerequisite course list
      - exclude logic from xblock_info.js that is specifically related to entrance exam.
      - added js tests and updated code as per suggestions
      - added tests
      - addressed several PR issues
      - Several small fixes (style, refactoring)
      - Fixed score update issue
      - added some more unit tests.
      - code suggested changes.
      - addressed PR feedback
      asadiqbal committed
  14. 06 Mar, 2015 2 commits
  15. 05 Mar, 2015 1 commit
  16. 04 Mar, 2015 1 commit
  17. 27 Feb, 2015 1 commit
  18. 25 Feb, 2015 3 commits
  19. 24 Feb, 2015 3 commits
  20. 20 Feb, 2015 1 commit
  21. 11 Feb, 2015 1 commit
  22. 10 Feb, 2015 1 commit
  23. 02 Feb, 2015 2 commits
  24. 30 Jan, 2015 1 commit
  25. 29 Jan, 2015 3 commits
    • Make sure login form can't be submitted too early · dce56b13
      Tyhe sign in form should not be submitted before the submit event is
      ready to be intercepted. This can occur if the user clicks too fast on
      the sign in button.
      Régis Behmo committed
    • Fix csrf error on studio login · c3c35f07
      Context: We have witnessed multiple, seemingly random "CSRF verification
      failed" errors while signing in (with valid ID) to the Studio.
      
      Explanation: The login form does not initially include a CSRF field.
      The CSRF header of the request is appended to the studio login request
      headers by intercepting the form validation. This intercept is performed
      by the login.js script. Unfortunately, the login.js script is loaded
      pretty late (at the end of the template). So if the login form is
      validated sufficiently fast, the login.js script has no time to load and
      append the X-CSRFToken header to the request.
      
      Proposed solution: the CSRF token is already passed to the template via
      the login view, so we just add a hidden field to the login form to
      include the csrf token.
      Régis Behmo committed
  26. 28 Jan, 2015 1 commit