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
Shane Tomlinson
fe36cf63ad
add a footer
2014-01-14 12:52:51 +00:00
Shane Tomlinson
b7c33b0c62
Add XSS protection for redirectTo
...
* Add unit tests for Url
2014-01-14 12:47:03 +00:00
Shane Tomlinson
166118d787
Password reset_password, confirm_reset_password and complete_reset_password screens.
...
* Add a placeholders for password reset flow in FxA Client wrapper.
* Add a new file "url.js" which contains "searchParam"
* Move several common functions to base.js (isElementValid, displayError)
issue #121
2014-01-14 10:38:25 +00:00
ckarlof
0eddbca784
Merge pull request #224 from mozilla/issue222-change-verify-url
...
fix email verification url - fixes #222
2014-01-13 15:25:12 -08:00
Zachary Carter
80a3f82964
fix email verification url - fixes #222
2014-01-13 15:18:15 -08:00
Shane Tomlinson
c73d8e370e
Add the fx-desktop channel & start to set up front end unit tests.
...
* Add mocha & chai to the bower config.
* Add a functional test shell for the confirm screen.
* Go to the correct page on startup if the browser supports Fx events.
* Mocha tests now run as part of the intern functional tests.
2014-01-13 16:28:45 +00:00
Nick Chapman
b77ccb1cfd
Reformatted linear gradient definitions.
2014-01-13 07:20:07 -08:00
Nick Chapman
5f5e03aa2c
Merge branch 'develop' into issue-197-gettin-visual-visual
2014-01-12 22:19:38 -08:00
vladikoff
11be9bbe39
Removing fxa-js-client build step
2014-01-11 02:44:20 -05:00
Nick Chapman
e8fa7c2824
Updated intro screen to better match mocks.
2014-01-10 16:32:23 -08:00
Nick Chapman
44f3406c51
Styled placeholder text.
2014-01-10 15:03:54 -08:00
Nick Chapman
db37e08059
Added Firefox logo.
2014-01-10 14:56:25 -08:00
Nick Chapman
5739a3eb32
Changed breakpoint to 500px to cover landscape orientation.
2014-01-10 13:40:52 -08:00
Nick Chapman
46b4898b86
Added vendor prefixes for maximum compatibility.
2014-01-10 13:17:14 -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
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
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
Nick Chapman
2fd61166bd
Temporarily removed reference to polyfills to fix issue in dist.
2014-01-09 09:46:08 -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
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
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
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
Nick Chapman
e7d8d803c3
Merge pull request #169 from zaach/jshint-fix
...
fix jshint errors
2013-12-17 14:28:58 -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
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
Shane Tomlinson
8d18026812
Wait for explicit elements when starting each test.
2013-12-16 21:17:02 +00: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
Zachary Carter
8fb8e4c372
use standalone fxa client
2013-12-16 08:45:40 -08:00
Shane Tomlinson
f82832f6a2
Add a symlink from en_US to en
...
fixes #152
2013-12-16 11:52:16 +00:00
Zachary Carter
30422261c8
functional tests using phantomjs locally and saucelabs on travis-ci
2013-12-12 11:22:03 +00:00
Shane Tomlinson
f53acffba5
Merge pull request #143 from pdehaan/develop-jshint
...
Cleaning up some JSHint errors
Thanks @pdehaan! This looks good to me. I am working on another PR to fix up the `assertion_service.js`, but I wanna get @zaach's branch to fix up testing in general merged before submitting the code for that.
2013-12-12 03:17:53 -08:00
Peter deHaan
2e2b591d3e
Cleaning up some JSHint errors
2013-12-11 17:46:12 -08:00
Peter deHaan
392f4f0ea4
Adding missing copyright headers
2013-12-11 17:30:06 -08:00
Shane Tomlinson
4ebb1c1736
Allow the server to be started via grunt.
...
* run_locally.js only runs its initialization if run from the command line.
* Add a production.json file which switches the static root dir to "dist".
* Ditch the "mocha" task, it is not yet used.
* update README with commands.
2013-12-11 13:16:47 +00:00
Shane Tomlinson
90170ea0d3
Start a constants.js file to put constants in.
...
* e.g. the hard coded FxA Account server URI.
fixes #119
2013-12-10 10:54:02 +00:00
Shane Tomlinson
c8c1cd1869
Start to add input validation.
...
* Passwords must be at least 8 characters long.
* Add placeholder functions to do validation in the JS.
2013-12-09 15:27:43 +00:00
Nick Chapman
247ee893ee
Replaced Yeoman favicon.
2013-12-06 09:29:33 -08:00
Nick Chapman
8f52f38f1b
Added example transition animation to intro.
2013-12-06 09:25:57 -08:00
Nick Chapman
b6af50eb3b
Fixed up longer translation strings.
2013-12-05 16:44:08 -08:00
Nick Chapman
131348a7b5
Added translation tags to templates.
2013-12-05 16:33:05 -08:00
Nick Chapman
aac3f03aca
Translations proof of concept.
2013-12-05 15:57:13 -08:00
Nick Chapman
aeacaace23
Now using pushState on the front end.
2013-12-05 11:38:20 -08:00
Nick Chapman
8730f0b3c7
Formatting fixes to make jshint happy.
2013-12-05 10:13:56 -08:00
Nick Chapman
eedb27fb45
Fixed a bug in sign up. Made the router globally accessible.
2013-12-05 09:31:44 -08:00
Nick Chapman
1a9974eaa4
Simple responsiveness.
2013-12-04 17:12:28 -08:00
Nick Chapman
7457be2d4a
Working sign in.
2013-12-04 16:48:51 -08:00
Nick Chapman
2522abca7f
Visual clean up.
2013-12-04 16:35:55 -08:00
Nick Chapman
4ab8e12d18
Merge remote-tracking branch 'origin/develop' into develop
2013-12-04 16:13:13 -08:00
Nick Chapman
3c3c7e3ac3
Working account creation.
2013-12-04 16:12:38 -08:00
Nick Chapman
aab70c6fb8
Really basic styling.
2013-12-04 15:13:46 -08:00
Zachary Carter
ae914da861
add vendored jwcrypto script
2013-12-04 15:09:11 -08:00
Nick Chapman
b2590a4a79
Backbone is now serving up views with mustache templates.
2013-12-04 14:07:11 -08:00
Nick Chapman
5c49dfa1cd
Generated basic Yeoman project.
2013-12-04 11:55:48 -08:00