Граф коммитов

604 Коммитов

Автор SHA1 Сообщение Дата
Zachary Carter 52707f0a7d add locale directories 2014-02-14 11:43:51 -08:00
Shane Tomlinson 15b3052c77 Merge pull request #522 from pdehaan/issue-513
adding styling to the h3 tag in a header so it uses the correct font-fam...

Got the all good from @johngruen and @ryanfeeley!
2014-02-13 16:31:53 +00:00
Zach Carter fd6f309ec0 Merge pull request #514 from mozilla/issue-488
Run `npm install --silent` to only show npm installation errors/compilation steps.
2014-02-12 23:16:42 -08:00
Peter deHaan c60a4e98e1 adding styling to the h3 tag in a header so it uses the correct font-family 2014-02-12 14:41:02 -08:00
Shane Tomlinson 1fc35b0f3d fix the spelling mistake 2014-02-12 21:59:29 +00:00
Shane Tomlinson 01ead87785 Run `npm install --silent` to only show npm installation errors/compilation steps
* fxa-auth-server is now a dependency in package.json and does not need a separate installation.

issue #488
2014-02-12 21:59:29 +00:00
Zach Carter b3e29437c3 install libgmp on travis 2014-02-12 13:33:16 -08:00
Zach Carter 332169c3d6 Merge pull request #510 from pdehaan/lint-take-2
retighten up the linting rules
2014-02-12 13:31:54 -08:00
Peter deHaan d5bbddce36 excluding the server directory from jscs 2014-02-12 13:09:09 -08:00
Zach Carter 1757948aa3 Merge pull request #520 from zaach/latest_js_client
update fxa-js-client
2014-02-12 10:53:56 -08:00
Zachary Carter 036e00d4bc update fxa-js-client 2014-02-12 10:29:44 -08:00
Peter deHaan 9c75a1bab5 ignore the fxa-auth-server dependency files 2014-02-12 10:01:02 -08:00
Peter deHaan 42fbf0750f Merge remote-tracking branch 'upstream/master' into lint-take-2 2014-02-12 09:55:08 -08:00
Nick Chapman 751a91ed7e Merge pull request #517 from mozilla/issue-516-failing-tests
Fix the intermittent failing front end tests.
2014-02-12 09:30:14 -08:00
Shane Tomlinson a9dacb74bf Fix the JSHint errors. 2014-02-12 16:03:07 +00:00
Shane Tomlinson 1d8389decb Merge pull request #483 from mozilla/move_email_templates
Move email templates into content server and create a route to serve them

When rebased and merged with #517, all tests pass everywhere, all the time. Code looks good to me, reads well, all my requests have either been made or answered appropriately.

Nice work @zaach!

r+
2014-02-12 15:43:34 +00:00
Shane Tomlinson 04d8322c50 Fix the intermittent failing front end tests.
The session tests attach a test "channel". "channel" cannot be cleared, and since Session is a singleton, the test channel never goes away. in fxa-clien.js->signIn, we attempt to send a message to a channel without a send function.

fixes #516
2014-02-12 15:20:33 +00:00
Shane Tomlinson a68d872d7b Merge pull request #505 from mozilla/set_client_language
update fxa-client and add accept-language header based on browser language

@zaach - I rebased and added a couple of tests using the sinon spy. Looks good to me!

r+
2014-02-12 11:23:58 +00:00
Zachary Carter e4fc85a983 restrict access to templates 2014-02-12 02:43:12 -08:00
Shane Tomlinson 9aef25eb6f Update the fxa-client tests to check for lang 2014-02-12 10:26:46 +00:00
Zachary Carter 1a7dbf40a8 update fxa-client and add accept-language header based on browser language 2014-02-12 10:17:08 +00:00
Shane Tomlinson 346a66e1da Merge pull request #508 from mozilla/issue-507-graphic-touch-up
updated intro graphics

easiest review ever. r+
2014-02-12 10:13:00 +00:00
Zachary Carter bda8e863c5 Move email templates into content server and create a route to serve them - fixes #475 2014-02-11 20:26:06 -08:00
Zach Carter 50eef95853 Merge pull request #512 from chilts/small-dev-help-in-readme
Add dev note related to config
2014-02-11 18:23:01 -08:00
Zach Carter 793cec0675 Merge pull request #506 from mozilla/issue-460-service
Ensure the `service` and `redirectTo` URL search parameters make it to the fxa-js-client.
2014-02-11 17:54:36 -08:00
Andrew Chilton e881ea0c91 Add dev note related to config 2014-02-12 10:41:12 +13:00
Peter deHaan d0541bc867 retighten up the linting rules 2014-02-11 11:48:00 -08:00
johngruen 823e596049 updated intro graphics 2014-02-11 13:33:06 -05:00
Shane Tomlinson 48a3006988 Ensure the `service` and `redirectTo` URL search parameters make it to the fxa-js-client.
* Pick `service` and `redirectTo` out of the URL search parameters on startup, add it to Session.
* Add sinon.js to ensure the fxa-js-client recieves the `service` parameter when expected.
* Update the views to get `service` from Session instead of the URL.
* Add two new test suites, complete_sign_up and reset_password_complete.
* Check whether service and redirectTo make it to the complete screens.
* Check whether the expected backend calls are made when expected.
* Hook up the real translator in the tests so string interpolation can be tested.

NOTE: I updated bower to use a specific version of sinon because the official sinon.js package in bower is not set up to correctly handle amd installs and does not give spy functionality.
2014-02-11 15:04:59 +00:00
Shane Tomlinson 66de7e2c4d Merge pull request #503 from pdehaan/issue-500
rename image, delete unused image

Looks good to me, tested using a local python server and the images still show. I'm happy.

r+
2014-02-11 10:37:29 +00:00
Shane Tomlinson 7c4e5059d8 Merge pull request #504 from pdehaan/issue-474
adding /server/ to Grunt jshint task

@pdehaan - https://www.youtube.com/watch?v=PgpDN-bARwc

r+ - Aside frommy one comment about having subdir specific jshint files, looks great! tests all pass, I'm happy.
2014-02-11 10:30:02 +00:00
Zach Carter e4542cafbc Merge pull request #479 from mozilla/issue-401-resend-all-the-time
Fix the confirmation emails being sent on every click in the confirmation form.
2014-02-10 18:08:50 -08:00
Peter deHaan 6aacc92757 adding /server/ to Grunt jshint task 2014-02-10 14:19:38 -08:00
Peter deHaan a3331cbd7c rename image, delete unused image 2014-02-10 14:08:59 -08:00
John Gruen 7c6c29bca3 Merge pull request #499 from mozilla/issue-495-intro-manage-ui
added fixes to intro and manage, legal pages, and responsive views
2014-02-10 11:56:53 -05:00
johngruen 67be94417d added fixes to intro and manage, legal pages, and responsive views 2014-02-10 11:36:05 -05:00
Shane Tomlinson 828a15dd33 Fix the confirmation emails being sent on every click in the confirmation form.
fixes #401
2014-02-10 15:22:35 +00:00
Nick Chapman 4b2b55fd1d Merge pull request #464 from mozilla/issue-252-tooltips
tooltips and generic form validation
2014-02-07 13:43:58 -08:00
Shane Tomlinson 1274f8f7c5 Add helpers.js with requiresFocus, use that in form.js when checking for focus. 2014-02-07 21:19:06 +00:00
Shane Tomlinson f3cf8a98e3 fix the show button border to handle the keyboard accessibility updates 2014-02-07 21:08:08 +00:00
johngruen 62f45f8802 tweaked tooltip spacing to avoid overlap 2014-02-07 21:05:37 +00:00
Shane Tomlinson 322105e0e2 Add red outlines to form elements when invalid.
* Remove the outline as soon as the user changes the value of the field.

fixes #435
2014-02-07 21:03:48 +00:00
Shane Tomlinson c165b1afb4 Generic form validation, support for tooltips above and below the input elemnts & cleanup.
* Add tooltip/tooltip-below classes to tooltip containers.
* Add generic form validation in form.js with the ability for descendent views to override using strategy methods.
* MOAR TESTS!
2014-02-07 21:02:44 +00:00
Shane Tomlinson cede5ece0e Let's get us some tooltips!
* Create a new "base" View - FormView - useful for doing form validation.
* A FormView must provide three functions - isFormValid, showValidationErrors and submitForm.
* When a form element is invalid, it's containing .form-row recieves a title which is displayed as a tooltip.
* Change all Views that use forms to be a FormView
* Add a ton of tests.

fixes #252
2014-02-07 20:56:06 +00:00
Nick Chapman b4f62b5cb1 Merge pull request #480 from mozilla/issue-436-tos-pp-back
Only show the back button in the tos/pp agreements if the user can go ba...
2014-02-07 11:57:19 -08:00
Nick Chapman a80d6658f6 Merge pull request #481 from mozilla/issue-437-scroll-tos-pp
Scroll to the top of the tos/pp pages after render
2014-02-07 11:10:56 -08:00
Nick Chapman f68d33c0aa Merge pull request #491 from mozilla/issue-489-failing-tests
Fix the failing tests.
2014-02-07 11:09:41 -08:00
Shane Tomlinson 1fb4c692e3 Simplify by moving the window.scrollTo into router.js->showView 2014-02-07 17:22:37 +00:00
Shane Tomlinson 5612b6f40b Scroll to the top of the tos/pp pages after render
fixes #437
2014-02-07 17:14:06 +00:00
Shane Tomlinson 4becf7d4b7 Fix the failing tests.
* Focus can only be checked for if the window is currently in focus.
* .error is used by mocha to indicate errors. Namespace all checks for .error to the view.
* Up time timeout for mocha to 5seconds and the intern to 120seconds.
* Add a unit test for signing in with a non-existent user (see https://github.com/mozilla/fxa-js-client/issues/74)

fixes #489
2014-02-07 17:05:04 +00:00