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

367 Коммитов

Автор SHA1 Сообщение Дата
Zachary Carter 3e18f54a39 Move things around to handle awsbox deploy 2014-01-10 13:00:59 -08:00
Shane Tomlinson 0ba2bcbf9d Merge pull request #209 from mozilla/rfk/add-trink-ssh-key
Add Mike Trinkala to authorized_keys on the awsbox.

r+.

@rfk - does it make sense to add this pubkey to [identity/pubkeys](https://github.com/mozilla/identity-pubkeys) too?
2014-01-10 04:40:31 -08:00
Nick Chapman 4cf948bc13 Added basic responsiveness. 2014-01-09 21:08:15 -08:00
Nick Chapman b35bc8a045 Beginning visual styles. 2014-01-09 21:05:58 -08:00
Ryan Kelly 839d030df3 Add Mike Trinkala to authorized_keys on the awsbox. 2014-01-10 10:53:52 +11:00
Nick Chapman 13dba5b993 Merge pull request #195 from mozilla/issue-194-email-verification-screens
email confirmation flow.
2014-01-09 15:41:00 -08:00
Shane Tomlinson 1f40811dfc Start the complete_sign_up screen.
* Fetch the code, uid, and service from the URL search string.
* Handle errors
* In the create_account screen, only attempt to create an account if both email and password are available.
* rename tests/functional/signIn.js => sign_in.js and signUp.js => sign_up.js for consistency.
2014-01-09 22:53:28 +00:00
Zach Carter 8c7f440181 Merge pull request #204 from mozilla/issue-203-new-js-client
Hook up the new FxA JS client.
2014-01-09 14:51:09 -08:00
Shane Tomlinson 3754f56c13 Updates with @zaach's suggestions.
* Rename gherkin to fxaClient
* Use the special xmlhttprequest that supports .onerror
* Rename the FxaClient wrapper to FxaClientWrapper internally
2014-01-09 22:29:40 +00:00
Shane Tomlinson 0b911c94f6 Hook up the new FxA JS client.
* Update bower config to fetch the new FxA JS client.
* In postinstall npm command, install the FxA JS client's dependencies and do a build so the client is available.
* Create a light wrapper around the FxaJSClient to reduce boilerplate code.
* Use the fxa-js-client from the bower install, get rid of picl-gherkin
2014-01-09 18:15:17 +00:00
Shane Tomlinson 252e719b75 Merge pull request #206 from mozilla/issue-199-remove-polyfills
Temporarily removed reference to polyfills to fix issue in dist.

This failure is caused by running the old FxA JS client with the new fxa-auth-server. I am OK with this failure, because it goes away when using the new client.

r+. Thanks @nchapman!
2014-01-09 10:10:12 -08:00
Nick Chapman 2fd61166bd Temporarily removed reference to polyfills to fix issue in dist. 2014-01-09 09:46:08 -08:00
Nick Chapman 3d453dbd36 Merge pull request #198 from mozilla/issue-196-fonts
Web Fonts FTW!
2014-01-08 14:27:13 -08:00
Shane Tomlinson 1ebddded08 Web Fonts FTW!
* Use Clear Sans for body text, Fira Sans for headings.
* Add the font middleware and font sets

Additional work to be done:
* The font set needs updated to serve more minimized locale specific fonts.
* The grunt build step needs to be updated to include fonts.css for each locale to minimize the number of requests.

fixes #196
2014-01-08 20:55:04 +00:00
Nick Chapman ac046540cf Merge pull request #167 from mozilla/issue-83-coppa
Add support for COPPA
2014-01-08 11:50:11 -08:00
Shane Tomlinson 7b0ab452ae Add support for COPPA
fixes #83
2014-01-08 11:20:26 +00:00
Nick Chapman c7fc7a8bdf Merge pull request #184 from mozilla/issue-183-navigator-language
Assume 'en' as the default language.
2014-01-07 23:02:04 -08:00
Nick Chapman bc1ee7fab9 Merge pull request #181 from mozilla/issue-179-switch-reserved
Rename `switch` to `showView`
2014-01-07 23:00:06 -08:00
Nick Chapman 4b939967bc Merge pull request #180 from mozilla/issue-108-shim-bind
Add a polyfills.js file. Add Function.prototype.bind
2014-01-07 22:59:29 -08:00
Shane Tomlinson 1e136343ae Assume 'en' as the default language.
* window.navigator.language is unsupported by IE8. This is a workaround until we do some server side work.

fixes #183.
2014-01-06 15:56:56 +00:00
Shane Tomlinson d3a23d5619 Merge pull request #177 from mozilla/issue-154-missing-translated-text
Replace Hogan.js with Mustache.js

Looks good to me. Tests pass, manual testing all acts as expected.

r+

Thanks @nchapman!
2014-01-06 06:50:05 -08:00
Shane Tomlinson 21153911d8 Rename `switch` to `showView`
* `switch` is a reserved word that causes IE8 to blow its lid.

fixes #179
2014-01-06 14:38:11 +00:00
Shane Tomlinson 8882969e63 Add a polyfills.js file. Add Function.prototype.bind
fixes #108
2014-01-06 14:34:06 +00:00
Nick Chapman f92af1aa8b Replaced Hogan.js with Mustache.js. Fixes issue with translated strings. 2013-12-18 16:55:21 -08:00
Nick Chapman 7cc7f3a4d8 Merge pull request #176 from zaach/change-tests
Use waitForElementByCssSelector instead of an arbitrary duration
2013-12-18 15:18:58 -08:00
Nick Chapman b58dfe3414 Merge pull request #175 from zaach/fix-timeskew
update fxa-js-client - fixes #160
2013-12-18 15:00:49 -08:00
Nick Chapman 85c372cb9d Merge pull request #173 from mozilla/issues-122-123-tos-pp
Start TOS/PP pages.
2013-12-18 15:00:38 -08:00
Nick Chapman fa7c5cb739 Merge pull request #171 from mozilla/testing-docs
Add docs on running the selenium tests locally using headed browsers.
2013-12-18 14:55:36 -08:00
Zachary Carter c8f752e7cd fix for timeskew 2013-12-18 11:50:03 -08:00
Zachary Carter 15c2328750 wait for elements instead of an arbitrary duration in tests 2013-12-18 11:35:46 -08:00
Zachary Carter ff9d1d6113 update fxa-js-client - fixes #160 2013-12-18 11:31:46 -08:00
Shane Tomlinson 1ff32d7285 Fix the JSHint errors. 2013-12-18 13:50:34 +00:00
Shane Tomlinson c1370c8259 Start TOS/PP pages.
fixes #122
fixes #123
2013-12-18 13:47:11 +00:00
Shane Tomlinson 28bc1236f8 Add docs on running the selenium tests locally using headed browsers. 2013-12-18 13:08:25 +00:00
Nick Chapman e7d8d803c3 Merge pull request #169 from zaach/jshint-fix
fix jshint errors
2013-12-17 14:28:58 -08:00
Zach Carter 588cc8c314 Merge pull request #165 from mozilla/async-gherkin
WIP: load gherkin asynchronously to fix JS errors on load with production resources.
2013-12-17 13:33:56 -08:00
Zachary Carter 2b23271a0a fix jshint errors 2013-12-17 12:10:11 -08:00
Shane Tomlinson aeccc35c92 Fix JS errors on load with production resources.
* Copy all bower components to prod so gherkin is available in prod mode.
* load gherkin asynchronously
2013-12-17 12:16:12 +00:00
Nick Chapman 285d26db96 Merge pull request #161 from mozilla/stablize-tests
Wait for explicit elements when starting each test.
2013-12-16 15:13:35 -08:00
Nick Chapman 0981f1e0c1 Merge pull request #155 from mozilla/fix-jshint-errors-assertion-service
fix the jshint errors in assertion_service.js
2013-12-16 15:12:44 -08:00
Nick Chapman dbb8606b69 Merge pull request #153 from mozilla/issue-152-missing-en-locale
Add a symlink from en_US to en
2013-12-16 15:11:12 -08:00
Zachary Carter 3307fab004 update client to handle timeskew 2013-12-16 14:51:14 -08:00
Shane Tomlinson 8d18026812 Wait for explicit elements when starting each test. 2013-12-16 21:17:02 +00:00
Shane Tomlinson 635314de17 Merge pull request #144 from mozilla/preprocess-constants
Use preprocess to create constants.js

This was given r+ in a Vidyo meeting, mergine!
2013-12-16 13:16:26 -08:00
Shane Tomlinson 69cf9748b5 Add a preprocess-config task to create constants.js
* Use grunt-preprocess to do the pre-processing.
* Add a selectconfig task which will select the appropriate config file to use.
** if process.env.CONFIG_FILES is specified, use that.
** use production.json when building dist resources.
** local.json by default
2013-12-16 19:35:55 +00:00
Zach Carter 24b0f3d996 Merge pull request #159 from mozilla/travis-install
Travis now runs the tests, for realz!
2013-12-16 10:57:21 -08:00
Shane Tomlinson 9e6dc47564 Merge pull request #151 from zaach/standalone-client
Standalone client

I'm happy with this! Still seeing strangeness w.r.t. the production build, but this is a step forward on the clock skew.
2013-12-16 10:24:00 -08:00
Zach Carter 3fac128fc1 Merge pull request #157 from mozilla/issue-156-intern-blowup
Fix the intern functional tests.
2013-12-16 09:57:32 -08:00
Shane Tomlinson 7501e047e9 Travis now runs the tests, for realz!
* disable all but firefox until tests are going
* install grunt-cli
* copy local.json-dist to local.json so the server can start
2013-12-16 17:46:46 +00:00
Zachary Carter 8fb8e4c372 use standalone fxa client 2013-12-16 08:45:40 -08:00