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
Shane Tomlinson
938518b6f8
Fix the syntax errors.
2014-01-17 22:38:19 +00:00
Zachary Carter
9bb5be63c8
fix fxa-client tests
2014-01-17 14:24:51 -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
Zach Carter
fb7f424216
Merge pull request #247 from mozilla/issue-128-noscript
...
Add a noscript tag inside the main content area that is shown if the user has JS disabled.
2014-01-15 18:16:32 -08: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
0ec5e7ed07
Fixed responsive stage.
2014-01-15 15:56:52 -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
Zach Carter
c1a7f6dc62
Merge pull request #246 from mozilla/issue-84-robots-txt
...
Update robots.txt to disallow bots.
2014-01-15 13:05:41 -08:00
Peter deHaan
c37d4e8bc7
Fixing a few style warnings from jscs
2014-01-15 11:17:30 -08:00
Shane Tomlinson
17b7e64fc5
Add a noscript tag inside the main content area that is shown if the user has JS disabled.
...
fixes #128
2014-01-15 14:31:49 +00:00
Shane Tomlinson
3fed3b1914
Update robots.txt to disallow bots.
...
* Add a functional test to test the contents.
fixes #84
2014-01-15 14:06:06 +00: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
Nick Chapman
51d59c0fbd
Merge remote-tracking branch 'origin/master' into ui-smoothness
...
Conflicts:
app/scripts/templates/sign_in.mustache
app/scripts/views/base.js
app/scripts/views/complete_sign_up.js
2014-01-14 16:34:17 -08:00
Nick Chapman
0c47e32543
Lots of UI clean up.
...
This gets us closer to the mocks. Still not 100%.
2014-01-14 16:22:29 -08:00
Nick Chapman
3fd453ac8d
Added a temporary spinner to account creation.
2014-01-14 16:22:29 -08:00
Nick Chapman
fa1ba023db
Really basic error styling.
2014-01-14 16:22:29 -08:00
Nick Chapman
7c5f3c016e
Removed unused footer tag.
2014-01-14 16:22:29 -08:00
Nick Chapman
c9bc187bee
Moved stage style onto child div for a better empty state.
2014-01-14 16:22:29 -08:00
Nick Chapman
0ba23555d6
Enabling button when valid on sign in and sign up.
2014-01-14 16:22:29 -08:00
Nick Chapman
60293dfe62
Root now loads sign up.
2014-01-14 16:22:29 -08:00
Nick Chapman
65d12d65e3
Removed animation for now.
2014-01-14 16:22:29 -08:00
Zachary Carter
45963b8e6d
Merge branch 'issue-121-password-reset-screens' of github.com:mozilla/fxa-content-server into shane-pwreset
2014-01-14 15:46:50 -08:00
Zachary Carter
4c2060277a
remove "verified" from data passed to browser
2014-01-14 14:14:15 -08:00
Zachary Carter
91efb8dfca
support login with keys flag and fix format of account data sent to browser
2014-01-14 13:08:24 -08:00