Zach Carter
dcf726c409
Merge pull request #314 from mozilla/unverified_login
...
Redirect unverified users to confirm screen on log in
2014-01-23 12:38:45 -08:00
Shane Tomlinson
c2e409bd13
propogate errors by adding a return statement when calling `client.recoveryEmailResendCode`
2014-01-23 20:13:45 +00:00
Shane Tomlinson
779ca72fbd
Merge pull request #315 from mozilla/select-styles
...
Fancy select tag styles
Going to open a new issue with cross browser issues.
Nice work @nchapman!
r+
2014-01-23 09:45:40 -08:00
Shane Tomlinson
f2d6d7d3f7
Simplify the sign in tests by looking for known ids. Check the email address was written in the confirm screen.
2014-01-23 11:47:22 +00:00
Shane Tomlinson
eb46334698
Save account data to the Session when signing in.
...
* This allows account data to be saved to the session in a single location and fixes the problem of the email address not being displayed on confirm.
2014-01-23 11:37:47 +00:00
Zachary Carter
bdc9ce440d
on unverified account login, resend confirmation code and redirect user to confirm screen
2014-01-23 11:22:04 +00:00
Nick Chapman
4a6f8410a3
Force wrapping long email addresses on confirm and reset screens.
2014-01-22 21:08:25 -08:00
Nick Chapman
86556e7a5f
Fancy select tag styles.
2014-01-22 20:51:50 -08:00
Zach Carter
5e04f9df9f
Merge pull request #296 from mozilla/issue-239-desktop-channel
...
Only start the FxA Desktop channel if started in the appropriate context...
2014-01-22 12:54:59 -08:00
Shane Tomlinson
96b0775960
Last bit of jscs cleanup
...
* Allow single line if/else statements
* Clean up last few offenders.
* Add meta grunt task for linting.
* Replace `grunt jshint` with `grunt lint` in the travis build.
2014-01-21 17:38:11 -08:00
Shane Tomlinson
44c0fc1eb0
Remove the intro screen.
...
* If the user lands on `/`, automatically redirect to `/signup`
fixes #290
2014-01-21 16:47:08 -08:00
Nick Chapman
2388c69010
Added displayError to sign in.
2014-01-21 16:36:51 -08:00
Shane Tomlinson
46e093be55
Ensure error strings from the server are translated before display
...
fixes #218
2014-01-21 11:45:52 -08:00
Nick Chapman
baa790f5b5
Merge pull request #295 from mozilla/issue-273-untranslated-strings
...
Ensure all strings are translated. TOS/PP styling.
2014-01-21 10:24:03 -08:00
Shane Tomlinson
b6699cd4bd
Add TOS/PP links to the /signin page
...
fixes #255
2014-01-21 10:12:18 -08:00
Shane Tomlinson
3a06202e2c
Only start the FxA Desktop channel if started in the appropriate context. Start a web channel.
...
fixes #239
2014-01-21 13:34:03 +00:00
Shane Tomlinson
b0fbe249f7
Ensure all strings are translated. TOS/PP styling.
...
fixes #273
issue #197
2014-01-21 13:02:32 +00:00
Shane Tomlinson
39c34dc1d1
Add "Must be at least 8 characters" to password fields.
...
fixes #264
2014-01-17 23:28:43 +00:00
Shane Tomlinson
8d0442417f
Show/hide passwords on sign_up, sign_in, and complete_reset_password
...
* Add a styled checkbox to each password field that toggles the show and hide.
* To show a password, change the input field type to "text"
* Add unit tests for the affected views
fixes #253
2014-01-17 23:28:43 +00:00
Shane Tomlinson
909c9dd889
Update the unit tests to handle the asynchronous sign up.
2014-01-17 22:55:32 +00:00
Shane Tomlinson
9524cd83fa
Move the call to FxaClient.signUp to the sign_up view.
...
* Delete the old interstitial screen.
* Simplify!
2014-01-17 22:52:32 +00:00
Shane Tomlinson
b3b1e65abc
Update COPPA to be done on the sign_up screen.
...
* Use a session cookie to keep track of whether the user is too young.
* If the user revisits the signup page after being booted out for being too young, ship them back to the "cannot_create_account" page.
* Update the text on the Cannot Create Account screen to go along with @jgruen's new mocks and legal's feedback.
issue #226
2014-01-17 22:52:32 +00:00
ckarlof
0624ae871f
Merge pull request #288 from mozilla/fix-promises
...
fix regression with sign in/up - fixes #284
2014-01-17 14:47:24 -08:00
Zachary Carter
7287bc55f9
fix regression with sign in/up - fixes #284
2014-01-17 14:00:51 -08:00
Nick Chapman
f7ce1d8d0b
Merge pull request #281 from mozilla/issue-266-service-name-on-confirmation
...
Make sure the service name shows up on confirmation.
2014-01-17 13:54:02 -08:00
Shane Tomlinson
940094a829
Autofocus sensible elements when using a browser that does not have touch events.
...
* Add a base.js unit test to test for focus events.
fixes #205
2014-01-17 21:39:09 +00:00
Nick Chapman
a59e873f1f
Merge pull request #249 from mozilla/issue-166-keyboard-nav-buttons
...
Ensure keyboard accessibility
2014-01-17 13:36:06 -08:00
Zach Carter
8024efd7b6
Merge pull request #279 from mozilla/issue-232-done-not-a-function
...
Fix the "Done not a function" error.
2014-01-17 12:48:29 -08:00
Zachary Carter
9fb38977ad
refactor promises
2014-01-17 10:55:19 -08:00
Shane Tomlinson
7074c7c9a4
add the missing return
2014-01-17 18:32:52 +00:00
Shane Tomlinson
a2866490f6
This is how I though promises should work, everything in a waterfall.
2014-01-17 18:27:03 +00:00
Shane Tomlinson
fb43f13d29
Simplify consumers of the FxaClientWrapper by depending on promises.
...
* Clients no longer have to call getAsync() to get a client. We do that for them.
2014-01-17 18:04:56 +00:00
Shane Tomlinson
743e60d9c8
Fix up the `this` scope problems.
2014-01-17 17:01:19 +00:00
Zachary Carter
40d45e8940
load client configuration async
2014-01-17 16:42:02 +00:00
Shane Tomlinson
504400ecff
Merge pull request #238 from zaach/real-password-reset
...
Password reset with fxa-client #235
Travis is finally green. r+. Thanks for the explanations @zaach!
2014-01-17 04:54:20 -08:00
Shane Tomlinson
d1825814af
Fix the "Done not a function" error.
...
* In init, if `done` was not passed, we called `noOp()` instead of setting a reference to it.
* Added a unit test to check for the problem
fixes #232
2014-01-17 12:16:39 +00:00
Shane Tomlinson
1a3ce8c4ad
Merge pull request #257 from pdehaan/jscslint1
...
Fixing a few style warnings from jscs
r+ - thanks @pdehaan! Always appreciate stuff like this.
2014-01-17 02:20:00 -08:00
Shane Tomlinson
d8e36fe928
Make sure the service name shows up on confirmation.
...
* Rename "siteName" to "service"
fixes #266
2014-01-16 21:27:19 +00:00
Zachary Carter
38b122f3d8
Integrate fxa-client into the password reset flows - fixes #235
2014-01-16 13:24:48 -08:00
Shane Tomlinson
9f409dfc78
Ensure keyboard accessibility
...
* Add tabindex to links without hrefs
* Hook up the back buttons to the enter key
* Add :hover and :focus states to buttons.
fixes #166
2014-01-16 10:50:26 +00:00
Zachary Carter
76870f6b59
fix typo in decktop channel code
2014-01-15 17:09:40 -08:00
Nick Chapman
d15214eb18
Merge pull request #236 from mozilla/ui-smoothness
...
UI Improvements
2014-01-15 16:25:05 -08:00
Nick Chapman
dea4b37f4c
Replaced animated GIF spinner with CSS animated PNG.
2014-01-15 15:26:55 -08:00
Nick Chapman
ed6843a01e
Reworked empty stage handling.
2014-01-15 15:14:44 -08:00
Nick Chapman
bf0436073f
Added change event for inputs to enable form.
2014-01-15 15:02:31 -08:00
Nick Chapman
bfeb8b2ce0
Fixed issue with images in dist.
...
- Moved images into CSS as background images.
- Now delivering different images for retina.
2014-01-15 14:59:02 -08:00
Peter deHaan
c37d4e8bc7
Fixing a few style warnings from jscs
2014-01-15 11:17:30 -08:00
Shane Tomlinson
6e51e7d6ae
Fix JSHint errors and cleanup of fx-desktop
...
* Only one of `done` or `handler` was needed when saving outstanding requests
Initiated by looking at issue #232
2014-01-15 13:26:22 +00:00
Nick Chapman
fcce78484f
Cleaned up settings and age verification failure page.
2014-01-14 17:04:29 -08:00
Nick Chapman
7371a707ff
Updated password reset views.
2014-01-14 16:52:28 -08:00