Skip to content
Snippets Groups Projects
  1. May 04, 2012
  2. May 02, 2012
  3. Apr 27, 2012
    • Shane Tomlinson's avatar
      Change the order of assertion generation to be after the user is asked "is this your computer?" · be035ba2
      Shane Tomlinson authored
      * This fixes a problem where it is possible that a user takes more than 2 minutes to answer, making the already generated assertion invalid.
      * A lot of general cleanup of the state machine.
      * Push all post email selection flows to a new state, "email_valid_and_ready" which decides whether to ask the user the computer ownership status.
      * Assertions are generated after the "is this your computer" is asked.
      * doEmailChosen is replaced with doGenerateAssertion - there were multiple calls to generate an assertion, not very DRY.
      * Fix a problem in network.js where a user who completes user registration should be marked as authenticated.
      * rename email_chosen.js to generate_assertion.js to clarify its purpose.
      
      issue #1460
      be035ba2
  4. Mar 28, 2012
  5. Mar 16, 2012
    • Shane Tomlinson's avatar
      Some light cleanup and refactoring. · c2af660b
      Shane Tomlinson authored
      * Add a unit test harness for is_this_your_computer
      * When the user authenticates, set them as seen.
      * In storage.js, Use an object to store the usersComputer info instead of arrays for developer grok.
      * Add storage.js->clearUsersComputerOwnershipStatus for testing.
      * Clean up user.js->logout a little bit.
      * Completely clear localStorage between every test.
      * Add tests to check for when the user should see the "is this your computer" screen.
      c2af660b
  6. Feb 21, 2012
  7. Feb 20, 2012
    • Shane Tomlinson's avatar
      Fix the pick_email test failure when all tests are run. · 8d63cf25
      Shane Tomlinson authored
      The problem stemmed from the DOM was not completely reset between every test.  When the manage page inserted email addresses into its portion of the DOM, it added email addresses with elements with the same ID as the pick email controller.  Instead of ensuring we clean wipe these elements between every test, rely on QUnit's ability to reset a portion of the DOM to its initial state.
      
      * Add the `qunit-fixture` class to the bit of DOM that should be reset between every test run.
      * Add the testHelpers.setup/testHelpers.teardown functions to several suites that manually called emtpy() on DOM elements.
      
      issue #1156
      8d63cf25
  8. Feb 09, 2012
  9. Feb 08, 2012
  10. Feb 01, 2012
  11. Jan 23, 2012
  12. Jan 20, 2012
  13. Jan 19, 2012
  14. Jan 12, 2012
  15. Jan 10, 2012
  16. Jan 06, 2012
    • Shane Tomlinson's avatar
      Unit Test Cleanup! · 36684b61
      Shane Tomlinson authored
      * Simplify the signature for checkAuthenticationAndSync by removing onSuccess.
      * Simplify the user unit tests by using failureCheck.
      * Add testHelpers.failureCheck which came from network.js
      * Cleanup the user unit tests a ton.
      36684b61
    • Shane Tomlinson's avatar
      Woot! Finished up the myriad user flows for required email. Now to clean this up. · a943f021
      Shane Tomlinson authored
      * Added tests for the various flows in required_email.
      * cache off address information, clean up required_email controller a bit.
      * Add some error messages.
      * User.addressInfo now returns whether the primary users are authenticated with their IdP.
      a943f021
  17. Jan 05, 2012
  18. Jan 03, 2012
  19. Dec 30, 2011
  20. Dec 29, 2011
    • Shane Tomlinson's avatar
      General fixup. · 7f9580cc
      Shane Tomlinson authored
      * All unit tests pass again.
      * Renaming primary_user_verified to primary_user_ready
      * Adding a random_seed to the context info to fix the unit tests and the adding of the seed.
      * Renamed all ejs templates to match their URL.
      * Each page unit test writes the ejs template that it needs to the DOM.
      7f9580cc
  21. Dec 28, 2011
  22. Dec 23, 2011
  23. Dec 22, 2011
  24. Dec 21, 2011
Loading