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

50 Коммитов

Автор SHA1 Сообщение Дата
Edouard Oger 76d108d55a
Cargo update 2020-05-05 13:12:59 -04:00
Edouard Oger 25a09e62eb Relax URL version 2020-04-30 17:56:50 +00:00
James Hugman 1ecf3cb952
2334 - Add ttl to get_access_token.
Fixes #2334.

Adds an optional `ttl` parameter to kotlin and swift interfaces, to limit the time that tokens are cached.

The FFI uses a `zero` as a default parameter, but this is not exposed to either side of the boundary.

This is not expected to be a breaking change for the iOS and Android.
2020-04-08 16:36:24 +01:00
Edouard Oger b3dc635930
Extract viaduct reqwest backend into its own crate 2020-03-27 16:30:30 -04:00
dependabot-preview[bot] a21f50bf15 Bump structopt from 0.3.9 to 0.3.11
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.9 to 0.3.11.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-03 09:54:11 -05:00
Edouard Oger a9639c5246
Fix cargo clippy/fmt 2020-01-31 13:38:00 +01:00
Ryan Kelly 790f126796
WIP Add explicit documentation for our testing strategy.
This also shuffles a few bits of testing infrastructure around to
try to make things clearer and/or more consistent.
2020-01-17 14:19:24 +11:00
Edouard Oger ec952ad200
Upgrade reqwest to 0.10 2020-01-14 14:15:49 -05:00
Edouard Oger 4ffb677e66
Fix clippy issues 2020-01-03 10:11:48 -05:00
dependabot-preview[bot] 4a64bf30c7
Bump structopt from 0.3.5 to 0.3.7
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.5 to 0.3.7.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.5...v0.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-31 08:14:55 +00:00
Edouard Oger 0819c932a6
Type FxA confirmation code in integration tests 2019-12-10 18:50:53 -05:00
Edouard Oger 8577d8f336
Remove `local_id` from `TabsEngine` constructor. 2019-11-21 16:00:53 -05:00
Lina Cambridge f8e659dbd9
Comment and synced tabs example fixes. 2019-11-14 17:22:08 -08:00
dependabot-preview[bot] c26a360983
Bump structopt from 0.3.3 to 0.3.4
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 13:23:30 +00:00
Edouard Oger 19e4cef424
Synced Tabs crate initial commit 2019-11-01 14:06:32 -04:00
dependabot-preview[bot] a452bc3bce
Bump failure from 0.1.5 to 0.1.6
Bumps [failure](https://github.com/rust-lang-nursery/failure) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/rust-lang-nursery/failure/releases)
- [Changelog](https://github.com/rust-lang-nursery/failure/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-lang-nursery/failure/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 04:30:38 +00:00
Edouard Oger 5901112462
Fix verify emails predicate 2019-10-11 14:11:36 -04:00
Edouard Oger 1b43f2d6a1
Upgrade to Android NDK r20 2019-10-02 14:57:33 -04:00
dependabot-preview[bot] e38fa1ec4b
Bump env_logger from 0.6.2 to 0.7.0
Bumps [env_logger](https://github.com/sebasmagri/env_logger) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.6.2...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 14:13:10 +00:00
Edouard Oger 15282037b0
Remove usages of Once::ONCE_INIT 2019-09-26 10:50:20 -04:00
dependabot-preview[bot] be6a420818
Bump rand from 0.7.0 to 0.7.2
Bumps [rand](https://github.com/rust-random/rand) from 0.7.0 to 0.7.2.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.7.0...0.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 15:27:35 +00:00
dependabot-preview[bot] dbef561519
Bump rand from 0.7.0 to 0.7.1
Bumps [rand](https://github.com/rust-random/rand) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.7.0...0.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 18:15:19 +00:00
dependabot-preview[bot] 19ce49fc7b
Bump structopt from 0.2.18 to 0.3.0
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.2.18 to 0.3.0.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.2.18...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 15:15:58 +00:00
dependabot-preview[bot] c271c8fae5
Bump lazy_static from 1.3.0 to 1.4.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 17:47:15 +00:00
Edouard Oger a0dbc2ccd4
Remove wantsKeys from beginOAuthFlow 2019-08-06 11:36:38 -04:00
dependabot-preview[bot] 5e1e44d4ff
Bump log from 0.4.7 to 0.4.8
Bumps [log](https://github.com/rust-lang/log) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 17:45:52 +00:00
Edouard Oger 3c8780a42e
Use double square brackets in bash scripts 2019-07-24 15:55:31 -04:00
YLyu ef2f53a9d4
Use sync-guid in sync15 and logins 2019-07-17 21:15:27 -04:00
dependabot-preview[bot] a398178deb
Bump log from 0.4.6 to 0.4.7
Bumps [log](https://github.com/rust-lang/log) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-12 10:26:03 -04:00
dependabot-preview[bot] 1c4b966613
Bump env_logger from 0.5.13 to 0.6.2
Bumps [env_logger](https://github.com/sebasmagri/env_logger) from 0.5.13 to 0.6.2.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.5.13...v0.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-09 14:07:39 +00:00
dependabot-preview[bot] 7e91c7b65c
Bump structopt from 0.2.16 to 0.2.18
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.2.16 to 0.2.18.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/v0.2.18/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.2.16...v0.2.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-04 14:22:08 -04:00
dependabot-preview[bot] 1567844ccf
Bump rand from 0.6.5 to 0.7.0
Bumps [rand](https://github.com/rust-random/rand) from 0.6.5 to 0.7.0.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 16:42:51 -04:00
dependabot-preview[bot] 3df191bede
Bump structopt from 0.2.15 to 0.2.16
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.2.15...v0.2.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 14:49:54 -04:00
Edouard Oger 8959755ff2
Lint bash scripts with shellcheck 2019-05-29 19:25:41 -04:00
Mark Hammond 25c8bfbd7c
Rationalize sync storage errors and introduce ServiceStatus and SyncResult (#1158) 2019-05-24 13:59:32 +10:00
vladikoff b437ee7a7a
Fix integration tests, use the ref browser client 2019-05-22 14:03:19 -04:00
dependabot[bot] 9d28bfd491
Bump rand from 0.5.6 to 0.6.5
Bumps [rand](https://github.com/rust-random/rand) from 0.5.6 to 0.6.5.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/commits/0.6.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 22:30:16 +00:00
Thom Chiovoloni 2c31883bf1
Fix beta-only rust warnings 2019-04-17 14:06:31 -07:00
Thom Chiovoloni 8ed1225723
Turn on idiom lint warnings in all crate 2019-04-16 09:35:10 -07:00
Mark Hammond a5e8adb0bf
Refactor the global state machine on the path to a SyncManager. (#892)
* Refactor the global state machine on the path to a SyncManager.

The high-level changes are:

* There's more clarity around what is persisted in memory versus what is persisted to disk, and the data persisted to disk is now tiny.

* There's a new `CollectionState` which is used to sync collections (eg,
  `changeset.rs` now knows only about the `CollectionState` and not the `GlobalState`).

* There's migration code so engines are not reset by this patch.
2019-04-16 12:15:20 +10:00
Thom Chiovoloni 170032e7f8
Remove reqwest backend from megazords (#937)
* Prevent reqwest from being compiled into anything other than non-megazords and tests

* Detect if the non-megazord backend got compiled in taskcluster

* Changelog entry for reqwest megazord removal
2019-04-11 11:38:56 -07:00
Thom Chiovoloni 6d52efde14
Update lazy_static to 1.3.0 2019-04-08 11:38:59 -07:00
Ryan Kelly e7532c59eb
feat(deps): Add docs and CI checks for dependency management. 2019-04-02 09:17:16 +11:00
Thom Chiovoloni cbde4e342a Add #![allow(unknown_lints)] to all crates 2019-03-20 09:02:54 -07:00
Thom Chiovoloni 513dd6d8b8 Fix or ignore clippy errors 2019-03-20 09:02:54 -07:00
Thom Chiovoloni f231184b71 Only expose things that should be pub as pub from sync15 2019-01-22 19:57:04 -08:00
Thom Chiovoloni 174869fb88 Add a bunch of features to the integration tests.
Mainly this makes more resiliant in CI. They'll retry 5 times, with
pauses between each try. It also makes it easier to debug the helper
script (pass --helper-debug instead of modifying it's source), and
adds a few things that have been helpful in the past that I did by
manually modifying the source of the tests, e.g. keeping the account
around after the tests finish, pointing the account at a different Fxa
url, and using a specific username to run the tests.
2019-01-18 11:02:00 -08:00
Thom Chiovoloni 5b76b79f3f Give the integration tests a longer waitTimeout in the hope of fixing the intermittent 2019-01-16 11:28:03 -08:00
Mark Hammond ded8b8ab89
Add telemetry support (#490) 2019-01-09 10:37:57 +11:00
Thom Chiovoloni dcff992367 Implement a TPS-style integration test for logins 2019-01-07 13:33:15 -08:00