- Feb 21, 2012
-
-
Shane Tomlinson authored
Using @fawek's pull request as a base for a full solution. * If the user clicks on the label, proxy the click event to the input element. * If the user clicks on the input element, let the browser handle things. * Add user tests to check clicks on both labels and input elements. issue #1155
-
- Feb 20, 2012
-
-
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
-
- Feb 09, 2012
-
-
Shane Tomlinson authored
close #1082
-
- Feb 08, 2012
-
-
Shane Tomlinson authored
-
Shane Tomlinson authored
-
- Feb 01, 2012
-
-
Shane Tomlinson authored
* Change the ordering of the includes so that Function.prototype.bind is declared before gettext. close #1022
-
Shane Tomlinson authored
* Pull out core state machine code from the original state_machine.js. * Update code and tests for use in new state machine. * Add new state_machine core. * Add history. * Add command. * Update tests. * Rename resources/state_machine to resources/state This should simplify a lot of these "cancel email verification" problems.
-
Shane Tomlinson authored
* Change the ordering of the includes so that Function.prototype.bind is declared before gettext. close #1022
-
Shane Tomlinson authored
* Pull out core state machine code from the original state_machine.js. * Update code and tests for use in new state machine. * Add new state_machine core. * Add history. * Add command. * Update tests. * Rename resources/state_machine to resources/state This should simplify a lot of these "cancel email verification" problems.
-
- Jan 23, 2012
-
-
Shane Tomlinson authored
* Put all tests under the cases directory. * Remove the extraneous _unit_test on the end of every file name. * Put qunit related code into qunit. * Put mocks and testHelpers into top level test directory.
-
- Jan 20, 2012
-
-
Shane Tomlinson authored
Adding the shell of a cookie check. Cleaning up network.js, changing network.js's callbacks to be simpler. * Adding complete to helpers.js, which required a reordering of scripts. * Using complete in network.js so that existence of callbacks is checked automatically. * Add a cookie_check.js module which checks which shows an error message if the user's cookies are disabled. * Get rid of yesterday's code which triggered an event if cookies were disabled. issue #835.
-
Shane Tomlinson authored
* Makes for easier debugging and testing.
-
- Jan 19, 2012
-
-
Shane Tomlinson authored
* Update network to allow for undefined code_version * Update unit tests. * Move code_check to static/shared/modules/ * Update build script for new location. issue #226
-
Shane Tomlinson authored
* Add new delay screen. * Add new tests to check for delay screen. * Simplify display logic of the error message. close #915
-
- Jan 12, 2012
-
-
Austin King authored
-
Austin King authored
Adding i18n to wsapi. Split strings into client.po and messages.po. Switched email from mustache to EJS templates. Created fake locale db-LB for development and debugging. Updated scripts. See http://viewvc.svn.mozilla.org/vc?view=revision&revision=99911
-
Shane Tomlinson authored
* Remove the set_password controller, which was never used. * Remove the set_password test suite. * Remove the set_password HTML with the autofocus element, which caused some versions of WebKit to wig out. * In storage.js, make sure when we do JSON.parse, there is something to parse. close #851 close #889
-
- Jan 10, 2012
-
-
Gervase Markham authored
-
- Jan 06, 2012
-
-
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.
-
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.
-
- Jan 05, 2012
-
-
Shane Tomlinson authored
* Add function.prototype.curry * Make sure all callbacks are called through the "safe" complete function. close #732
-
- Jan 03, 2012
-
-
Shane Tomlinson authored
Fixing up a bunch of async problems that were causing the unit tests to error out. Only call complete whenever jQuery animations are complete.
-
- Dec 30, 2011
-
-
Shane Tomlinson authored
Upgrading jQuery to 1.7.1. Fixes a crash bug in IE8 where loading browserid.org would cause IE to restart. close #806
-
- Dec 29, 2011
-
-
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.
-
- Dec 28, 2011
-
-
Shane Tomlinson authored
* Not actually hooked up in the dialog yet. * Need backend support.
-
Shane Tomlinson authored
* Added a new controller, primary_user_provisioned. * Slimmed down user.provisionPrimaryUser so that it does not authenticate users. * Using ADD_EMAIL and CREATE_EMAIL as the hash when redirecting back from an IdP as bits of state.
-
- Dec 23, 2011
-
-
Shane Tomlinson authored
* A lot of cleanup and test adding for handling primary users. * Trying to genericize a lot of the message names and leave the state machine decide on state. * Simplifying the ActionsMock in state_machine_unit_test. * Loads of file renames to make easier to read.
-
Shane Tomlinson authored
* Hacktastic and minimal tests - loads of tests needed. * Assume if the #EMAIL=<email> hash is specified on the URL, then try provisioning the user. * Fixed all previously broken, non-completing tests. * Added several new controllers - email_chosen, provision_primary_user, verify_primary_user.
-
- Dec 22, 2011
-
-
Shane Tomlinson authored
* Use WinChan to open a new window to the primary. * Add the idp_auth_complete page for the IdP to redirect back to. * When the window closes, re-try to authenticate the user with the primary. * Add a helper to show an error message. * Add a WinChan mock. * Update unit tests to handle the "need to authenticate with IdP" scenario. * Update compression scripts for WinChan to be included on the main site.
-
Shane Tomlinson authored
* Match the text on the verify_user page. * Add a new PageHelper function, replaceFormWithNotice. * Replacing the specialized code in verify_email_address.js with above function.
-
- Dec 21, 2011
-
-
Shane Tomlinson authored
* Adding a window Mock. * Adding a new template for the "you've gotta verify" screen. * Hooking up the logic to redirect - which closes the window.
-
Shane Tomlinson authored
* Add network.authenticateWithAssertion and related tests. * On signup page, start the redirection code to verify with primary in new tab. * in network.js, rename all the onSuccess to onComplete for clarity. * Simplify tests for primary user provisioning while "not authenticated". * Generate fake keys/certs in the provisioning mock. * Save off the keypair/cert given to us by the provisioning frame before getting an assertion. * Generate an assertion and log the user in on primary provisioning success.
-
- Dec 20, 2011
-
-
Lloyd Hilaiel authored
-
Shane Tomlinson authored
-
Shane Tomlinson authored
* Adding unit tests for network.addressInfo * to the XHR mock, adding info needed to test primary/secondary flow. * Adding a BrowserID.Mock.Provisioning to handle mocking out provisioning capabilities. * Creating a new User.createUser that handles creating users on either primaryies or secondaries. * Adding unit tests for the signup page for primary, updating old tests for secondary. * Starting a shell of error messages and success markup on signup page. * Starting to hook up the dialog, adding loads of tests. Secondary based user creation good again.
-
Lloyd Hilaiel authored
stub in a new javascript library that will abstract dialog code from the details of embedding and interacting with a primary's provisioning content.
-
Shane Tomlinson authored
* Add markup/CSS, including tooltips. * Add logic to manage_account.js. * Add changePassword to network/user.js. Add related tests. * Update xhr mock so that session_context always returns "valid" info unless contextAjaxError is specified. * Update the tooltip so that it has a reset function. close #771 close #114
-
- Dec 19, 2011
-
-
Lloyd Hilaiel authored
stub in a new javascript library that will abstract dialog code from the details of embedding and interacting with a primary's provisioning content.
-
Shane Tomlinson authored
-
- Dec 16, 2011
-
-
Lloyd Hilaiel authored
-