A bunch of optimizations so that we are not pinging the primaries so often.
* Only check the user's authentication status with the primary once, unless there is a reason otherwise. * Only provision the user if there is not already a cert for the email address. * Only get the address info for an address if we have not before.
Showing
- resources/static/dialog/controllers/required_email.js 7 additions, 3 deletionsresources/static/dialog/controllers/required_email.js
- resources/static/dialog/resources/state_machine.js 7 additions, 1 deletionresources/static/dialog/resources/state_machine.js
- resources/static/pages/page_helpers.js 11 additions, 1 deletionresources/static/pages/page_helpers.js
- resources/static/pages/signin.js 2 additions, 1 deletionresources/static/pages/signin.js
- resources/static/shared/user.js 34 additions, 3 deletionsresources/static/shared/user.js
- resources/static/test/qunit/mocks/winchan.js 1 addition, 0 deletionsresources/static/test/qunit/mocks/winchan.js
- resources/static/test/qunit/pages/signin_unit_test.js 3 additions, 0 deletionsresources/static/test/qunit/pages/signin_unit_test.js
- resources/static/test/qunit/pages/signup_unit_test.js 5 additions, 0 deletionsresources/static/test/qunit/pages/signup_unit_test.js
- resources/static/test/qunit/resources/state_machine_unit_test.js 7 additions, 1 deletion...es/static/test/qunit/resources/state_machine_unit_test.js
Loading
Please register or sign in to comment