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

4563 Коммитов

Автор SHA1 Сообщение Дата
Shane Tomlinson c897b6d1ce refactor(gravatar): Remove gravatar (#4927) r=vladikoff
Fixes #4931
2017-04-28 09:58:41 -04:00
Vlad Filippov d3668b997d feat(devices): add OS device icons (#4975) r=shane-tomlinson
Fixes #4049
Fixes #4985
2017-04-26 12:32:33 -04:00
Shane Tomlinson e80fba2015 refactor(test): Remove the oauth `keys` tests. (#5002) r=vladikoff
`keys` support was removed a while ago, yet the tests remain. This removes
the leftovers from the tests, as well as from the relier.

fixes #5001
2017-04-26 12:22:08 -04:00
Vlad Filippov 0a32f082b1 fix(csp): adjust CSP validation for edge cases (#4998) r=shane-tomlinson
Fixes #4886
2017-04-26 11:20:36 -04:00
vladikoff 9128cbaa55 Release v1.85.3 2017-04-26 10:45:49 -04:00
Ryan Kelly 6e9a824813 Disable web sessions by default (#4999) r=vladikoff 2017-04-26 10:45:49 -04:00
Shane Tomlinson 5515f609a1 fix(sms): Fix the SMS experiment bucketing logic. (#4977) r=vladikoff
Issue #4944


Users in the SMS "control" group must be in CAD, we are comparing
SMS against the CAD screens, not the general population.

This PR makes that happen. The SMS/CAD selection logic is extracted
into its own mixin so that it can be independently tested and
used on the "signup" page too.

From the experiment-mixin, trigger `flow.initialized` which
will force the flow model to initialize for experiments
that are created at runtime.
2017-04-26 10:36:04 -04:00
John Morrison aa73dab429 chore(test): add a latestd config 2017-04-25 13:13:30 -07:00
Vlad Filippov fd9a0fb989 feat(docker): remove the old docker file (#4997) 2017-04-25 12:47:03 -04:00
Vlad Filippov 8d3ce17183 feat(docker): push branches to dockerhub (#4990) r=jrgm 2017-04-25 11:09:06 -04:00
Shane Tomlinson 7648a8c7dd refactor(validation): Use VAT for validation everywhere on the front. (#4981) r=@philbooth
What does this do?
Replaces direct references to lib/validate w/ lib/vat.
VAT still delegates to Validate, the next step is for VAT to
take over responsibilities of Validate.

WHY?
While I was was working on using the same RegExps for both
the front and back-ends, I grew frustrated that the
front-end had multiple ways of validating. The same
mechanism should be used everywhere on the frontend.

Why did so many tests change?
The notifier now fully validates the uid and email fields. Tests that
expected proper uids and emails had to be updated. Some other tests
tried to sign in w/o a sessionTokenContext.
2017-04-25 12:27:06 +01:00
Shane Tomlinson 39b8267dba fix(test): Fix the StaleElementReference in 'rp listed in apps, can be deleted' (#4979) r=vladikoff
wait for the element to be gone or else it's possible for the subsequent
`click` can fail with a StaleElementReference because click on 123Done's
button happens, the XHR request takes a bit of time, the reference to the
321 Done button is fetched, the XHR request completes and updates the DOM,
making the reference to the 321 Done button stale.

fixes #4968
2017-04-24 09:56:42 -04:00
Shane Tomlinson 0477e9e1a4 refactor(test): Modernize the settings.js functional suite. (#4980) r=@philbooth 2017-04-24 13:15:54 +01:00
John Morrison c51e6b3574 fix(tests): remove obsolete test check for node < 0.11.11 (#4976) 2017-04-23 10:00:38 -04:00
Shane Tomlinson ecc007c6f8 feat(channels): Unify how channels handle errors. (#4889) r=vladikoff
Pass errors back to the caller of `request`, if possible.

This will be used when requesting user data from the browser,
if for whatever the web channel returns an error, the user
should continue with the flow, so the caller should be
responsible for stopping the flow.
2017-04-21 15:34:22 -04:00
vladikoff 7fb07ae529 Release v1.85.2 2017-04-21 15:12:39 -04:00
Vlad Filippov 2d3914b7c6 fix(tests): make tests support Firefox 53 (#4973)
Unblocks running tests locally with the latest version of Firefox (53)
2017-04-21 14:47:03 -04:00
Shane Tomlinson e0ecc620e6 fix(test): Fix the "delete oauth sessions" test. (#4969) r=vladikoff
With the introduction of web sessions in the UI, the OAuth session
selectors were no longer valid. This fixes that.

Instead, use the data-name attribute and look for 123 and 321.

fixes #4968
2017-04-21 12:12:49 -04:00
Princi Vershwal 1760d1e983 fix(setting): Made Add… buttons blue. (#4823) r=@shane-tomlinson
fixes #4818

This is excellent work @vershwal, thanks for working through it with me! r+
2017-04-21 13:41:40 +01:00
Shane Tomlinson 770fbe8847 feat(test): Make it easier to load screenshots in the browser. (#4970) r=vladikoff
Add the `data:image/jpeg;base64` prefix to screenshots so that
the screenshot can be copied directly from logs into the browser
URL bar.
2017-04-20 18:28:24 -04:00
Vijay Budhram bb8d298701 fix(validation): Add validation rules for resume and utm_* (#4956), r=@shane-tomlinson, @philbooth 2017-04-20 10:46:40 -04:00
Jon Buckley eb057d3e06 chore(docker): Use official node image & update to Node.js v4.8.2 (#4961) r=vladikoff 2017-04-19 16:36:01 -04:00
Vlad Filippov 3dfd29579d feat(deps): fxa-js-client update to 0.1.56 (#4965), r=@vbudhram 2017-04-19 15:03:58 -04:00
vladikoff 54d3b73dae Release v1.85.1 2017-04-19 12:55:58 -04:00
Vlad Filippov e39410c42e feat(sessions): make sessions available to all (#4964) r=vbudhram 2017-04-19 11:37:35 -04:00
Shane Tomlinson c8f854a2e7 fix(test): Fix the failing unit tests in Chrome. (#4963) r=vladikoff
I made the assumption that tests would be run on Firefox Desktop. Not always
the case. Force the expected UA.

fixes #4793
2017-04-19 09:37:10 -04:00
Shane Tomlinson a0b0d1f495 fix(metrics): Allow entrypoints with the fxa: prefix (#4962) r=@philbooth
Also convert the `connect_another_device` entrypoint to `fxa:connect_another_device`

fixes #4887
2017-04-19 13:25:20 +01:00
John Morrison 9ad4bc9c22 fix(tests): add config for nightly*.dev.lcip.org (#4957) r=vladikoff 2017-04-18 11:22:52 -04:00
John Morrison d2ffbfdd17 fix(test): test on travis with node 4 and 6 (#4958) r=vladikoff 2017-04-18 10:56:58 -04:00
vladikoff e500bf02f3 Release v1.85.0 2017-04-17 19:22:15 -04:00
Vlad Filippov 8a771c5623 fix(deps): update connect fonts depenencies (#4955) 2017-04-17 17:39:06 -04:00
Ryan Feeley d4f87864e1 fix(sessions): made web session icon match add-ons colour r=vladikoff
Fies #4951
2017-04-17 15:59:22 -04:00
Shane Tomlinson 1a23841eb5 feat(test): Throw an error if emails do not contain the expected header. (#4926) r=vladikoff
I'm never certain whether signup verification emails are being sent before
the emails we expect. This PR has the tests throw an error if the expected
email headers are not present, and should help us debug intermittent errors.

issue #4925
2017-04-17 11:01:00 -04:00
Shane Tomlinson d9234a07ef feat(test): Add functional tests for the `sync-suggestion` URL. (#4921) r=@philbooth
Follow on from #4798 to add functional tests.

Also extract UA strings into a common location
so they can be shared.

issue #4605
2017-04-13 16:55:42 +01:00
Shane Tomlinson c18373771e feat(sms): SMS country based updates. (#4872) r=@philbooth, @vbudhram
* Pass the user's country to the /sms form so that
  the form's validation is set up correctly.
* Add additional gating logic for Romania, if
  the auth server says the user can send an SMS,
  only allow users with softvision.(com|ro)
  addresses to see the SMS form. This allow
  softvision to test w/o exposing the feature
  to everyone else from the country.

fixes #4861
2017-04-13 16:19:41 +01:00
Shane Tomlinson e05f95eb4d feat(test): Screenshot on error in testElementExists, visibleByQSA. (#4943) r=@philbooth 2017-04-13 10:58:59 +01:00
Vlad Filippov 1a39219618 feat(server): disable server verification (#4937) 2017-04-12 14:28:44 -04:00
Jon Buckley 2ef1e75048 fix(experiments): Really, really delete the experiments directory (#4940) r=vladikoff 2017-04-12 11:06:15 -04:00
Shane Tomlinson 1cfa0fb1c1 refactor(test): Use helpers to interact with restmail. (#4942) r=@philbooth
Use helpers to interact with restmail instead of accessing
restmail directly.

* fix(docs): clarify restmail usage docs
2017-04-12 13:17:13 +01:00
Shane Tomlinson 103fb42711 refactor(oauth): Remove support for verification_redirect (#4911) r=@vladikoff
Maintaining the functional tests is a challenge. Only
testpilot used the feature.

fixes #4870
2017-04-12 11:06:33 +01:00
Vlad Filippov 30106c1448 Release v1.84.2 (#4941)
* fix(experiments): Use train-84 experiments. (#4909) r=@jbuck

* fix(test): Fix sync v2 password reset test.

The test was trying to go to window handle 1 before it was available.

Use the helper function that ensures a window exists before calling
switchToWindow.

fixes #4894

* fix(test): Close all windows but the first after a test run.

If a test opens a new tab and checks for an element in the new
tab, but fails, then the 2nd tab is never closed. This causes
cascading failures down the line.

In `clearBrowserState`, close all windows but the first.

fixes #4896

* fix(test): Fix Firefox Desktop Sync v2 sign_in

We were checking for browser notifications before the
screen transitioned.

fixes #4898

* feat(server): disable server verification

* fix(server): add back verify_email route

* fix(errors): Add the new email bounce errors.

Without entries in auth-errors, errors show up as [Object object] in
the error logs.

fixes #4905

* Release v1.84.1

* fix(clients): set correct device type for mobile clients (#4936) r=vbudhram

Fixes #4932

* Release v1.84.2
2017-04-12 09:46:35 +01:00
Vijay Budhram 393bc15c10 feat(lb): Add lbheartbeat for dockerflow (#4919), r=@jbuck 2017-04-11 15:47:04 -04:00
Vlad Filippov 7e27246e38 fix(clients): set correct device type for mobile clients (#4935) r=vbudhram
Fixes #4932
2017-04-11 14:28:51 -04:00
Shane Tomlinson c53b91fd9b fix(test): Fix the JavaScript error in the functional tests. (#4934) r=vladikoff
Ensure the element to click is present in the DOM
before attaching a script to check its visibility.

This avoids a problem where `click` could be called
on an element before a page transition has occurred.

fixes #4929
2017-04-11 13:25:26 -04:00
Shane Tomlinson c818489447 feat(l10n): Add support for msgctxt when translating. (#4916) r=vladikoff,shane-tomlinson
Use a triple / (///) to give a t a context that will
be used as a comment for the l10n team.

Fixes #3128
2017-04-11 12:02:47 -04:00
Shane Tomlinson 1b879f1142 fix(test): Bump the timeout to 90 seconds for oauth permissions tests. (#4924) r=vladikoff
Some of these tests take close to 45 seconds locally, when run against
remote servers this could be significantly longer.

fixes #4923
2017-04-11 10:18:19 -04:00
Shane Tomlinson 75d76fb91b fix(test): Fix timing problems in functional tests. (#4912) r=self
* jQuery is only used to detect animations in visibleByQSA
* In `type`, use the `click` helper which ensures an element is visible first.
* In `visibleByQSA`, use config.pageLoadTimeout for the timeout, which is what
  we use elsewhere when searching for elements.

Bad jiji - self merge after discussing approach with other team-members.
2017-04-11 13:49:29 +01:00
Princi Vershwal 413b70f5bc feat(client): `sync-suggestion` URL is dynamic based on the environment (#4798) r=@shane-tomlinson
For users in browsers with WebChannel support, redirect to an internal URL bypassing mozilla.org. For users without WebChannel support, continue to redirect to mozilla.org.

fixes #4605
2017-04-11 13:41:39 +01:00
Shane Tomlinson 4786c1fcb1 refactor(client): Remove the password strength checker. (#4903) r=vladikoff
Not attached to any PR.
2017-04-06 14:06:46 -07:00
Shane Tomlinson 9b296fb9f7 fix(errors): Add the new email bounce errors. (#4907) r=@vbudhram
Without entries in auth-errors, errors show up as [Object object] in
the error logs.

fixes #4905
2017-04-06 13:40:04 -07:00