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

108 Коммитов

Автор SHA1 Сообщение Дата
Thom Chiovoloni 5069965f19
Add `nss_sys` to our Cargo workspace 2019-04-22 12:45:16 -07:00
Thom Chiovoloni 38e18dcf73
Attempt to use a different branch name for the rusqlite `patch.crates-io` entry 2019-04-22 10:47:27 -07:00
Thom Chiovoloni 231536437b
Use `bundled` feature of rusqlite where we don't need encryption. Fixes #760 2019-04-22 10:39:13 -07:00
Mark Hammond d1029d640d
Add a generic "interruptable" and have sync use it. (#983, fixes #883) 2019-04-17 14:29:13 +10:00
Thom Chiovoloni fa513d4801
Merge branch 'master' into cleanup-push 2019-04-11 16:35:32 -07:00
Edouard Oger 7ec1742500
NSS crypto backend for SHA-256 digest 2019-04-11 17:33:03 -04:00
Thom Chiovoloni 86587359c4
Ensure push rust code has license header, and make more of it's doc comments show up in rust tooling 2019-04-11 14:14:42 -07: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 bd049f42ba
Rename support_fetch to viaduct 2019-03-21 14:05:37 -07:00
Thom Chiovoloni ef8d89a47c
Implement HTTP abstraction and reqwest backend 2019-03-21 13:15:36 -07:00
jrconlin 26352eb48b
feat: Add FFI Descriptors and integrate Push Component into Kotlin
This patch adds:
 * Kotlin FFI integration with unit tests
 * simplifies decryption to accept raw header values
 * adds new storage system

Closes  #693, #544, #543, #542
2019-03-05 16:29:09 -08:00
Garvan Keeley 6539f02a28 Megazord for iOS
The grand patch with all we learned over past 3 days.
A key factor is that Xcode legacy build must be used, or
the build.sh files need to be changed to not touch the output .a
file unless it doesn't exist or the input files have changed.
The xcrun is called twice for each project (for device and sim) and
the second run fails to access the C/Rust .a files linked in the build script.
2019-02-14 16:37:18 -05:00
Mark Hammond 6b25db1c12
Add support/cli utilities for command-line apps, and merge sync_history.rs with places-utils.rs (#672) 2019-02-14 17:31:02 +11:00
Edouard Oger 1f4b407288 Revert "Megazord (MozillaAppServices lib) for iOS (#657)"
This reverts commit ee0e17ebd0.
2019-02-12 18:53:23 -05:00
Garvan Keeley ee0e17ebd0
Megazord (MozillaAppServices lib) for iOS (#657)
* Build_megazord.sh for iOS added
* Xcode megazord project
* Update non-megazord projects to properly use SWIFT_OBJC_BRIDGING_HEADER.
* Rename and build as static framework
Add a readme
* Add build-carthage.sh for ios builds
2019-02-12 15:05:16 -05:00
Thom Chiovoloni 25ba1f2b7d Add fenix megazord 2019-02-01 11:22:07 -08:00
Thom 0235e961f7
Implement a bridge from the rust log crate to android. (#472)
* Implement a bridge from the rust log crate to android.

* Ensure we still have logs available in non-megazord contexts

* Changelog entry

* Gradle plugin bump to 0.3.0

* Android version bump to v0.14.0
2019-01-23 11:31:03 -08:00
Thom Chiovoloni c4fb69d675 Use opt-level s instead of z 2019-01-17 12:34:46 -08:00
Thom Chiovoloni dcff992367 Implement a TPS-style integration test for logins 2019-01-07 13:33:15 -08:00
Nick Alexander 7b8eb59c14 Rename "composites" to "megazords". Fixes #471. 2018-12-14 11:23:46 -08:00
Edouard Oger 1e7f6fb947 Reorganize the repo 2018-12-13 15:25:21 -05:00
Nick Alexander 5c1788431c Part 1: Add composites/{lockbox,reference-browser}. 2018-11-20 11:28:38 -08:00
Thom Chiovoloni c534f451d1 Implement initial FFI for places 2018-10-23 12:10:32 -07:00
Thom Chiovoloni 918b74767f Pre: Move places to components/places 2018-10-23 12:10:32 -07:00
Thom Chiovoloni b8482c6862 Implement a shared library for FFI utilities, primarily around error handling 2018-10-16 14:45:03 -07:00
Thom 42586d988b
Add a crate for shared rusqlite utilities, and use it in `logins-sql` and `places` (#276)
* Add a `sql-support` crate to hold shared rusqlite utilities

* Use `sql-support` in `logins-sql`

* Use `sql-support` in `places`
2018-10-08 12:48:34 -07:00
Thom Chiovoloni 9a9ab08c62 Merge branch 'master' into places 2018-09-26 09:09:43 -07:00
Edouard Oger 0810560640
Update dedupe/dependencies and remove obsolete temporary fixes (#264) 2018-09-26 11:58:19 -04:00
Thom Chiovoloni a46815f6eb Merge branch 'master' into places 2018-09-20 09:52:29 -07:00
Mark Hammond b8480c68b5 Merge remote-tracking branch 'origin/master' into places 2018-09-18 10:43:44 +10:00
Thom 2a700f7244
Build loginsapi rust code from gradle as optimized+debuginfo. Fixes #207 (#243) 2018-09-17 10:00:24 -07:00
Thom Chiovoloni 93be741b0c Implement a logins store backed by SQLCipher. 2018-09-14 15:16:57 -07:00
Thom Chiovoloni b8ee8b90b2 Remove mentat-backed implementation of login storage 2018-09-12 14:40:25 -07:00
Mark Hammond b0aee4e411 Very early WIP of the rust belt 2018-09-07 17:11:32 +10:00
Edouard Oger c23022ab96 Rename fxa-rust-client to fxa-client 2018-08-09 15:32:18 -04:00
Edouard Oger fe2bc452ae Consolidate sandvich apps in a single folder 2018-08-09 14:50:49 -04:00
Edouard Oger 61e7d4fc5b Add sandvich desktop (#149) 2018-08-03 21:51:45 -04:00
Lina Cambridge 359869f72a
Remove the Sync adapter FFI. Closes #126. 2018-07-31 23:59:36 -07:00
Nick Alexander e36a772b46 [sync15/passwords] Initial version of sync15/passwords on top of `logins` and Mentat. 2018-07-17 14:30:15 -07:00
Nick Alexander f316a9ea11 [logins] Initial landing: credentials, passwords, tests for "passwords" module. (#105)
This initial landing is still a work in progress, but the
team (nalexander/mhammond/thomcc) has agreed to land initial code
without review.

[logins] Part 1: Add "logins" crate with basic types and vocabulary definitions.

[logins] Part 2: Implement local "credentials" API.

[logins] Part 3: Implement Sync 1.5 "passwords" API.

[logins] Part 4: Maintain `last_server_timestamp`.
2018-07-17 10:49:46 -07:00
Ryan Kelly f11a3f7cb6
Retire "boxlocker", use fxa-rust-client for the sync15-adapter example. (#104); r=thomcc 2018-07-16 20:20:51 -07:00
Nick Alexander 561dad4fae Revert "[logins] Initial landing: credentials, passwords, tests for "passwords" module. (#105)"
This needs additional work to arrange for sqlcipher to be present for
Travis.  This is just like the situation with Mentat.

This reverts commit 55fe201526, reversing
changes made to 93f0c48302.
2018-07-16 16:15:22 -07:00
Nick Alexander 57245899d1 [logins] Part 1: Add "logins" crate with basic types and vocabulary definitions. 2018-07-16 14:13:16 -07:00
Edouard Oger 8a757c4923 Add temporary Android tls fix 2018-07-11 17:16:56 -04:00
Edouard Oger 0f72142e10 Reduce produced binary size 2018-07-11 16:42:01 -04:00
Edouard Oger 82521ecf60 Revert "Add native-tls fix for Android"
This reverts commit d3682e8f5b.
2018-06-25 15:24:56 -04:00
Edouard Oger d3682e8f5b Add native-tls fix for Android 2018-06-25 14:17:52 -04:00
Edouard Oger 16eb3cb98d
Taskcluster Android build (#72) 2018-06-07 14:54:11 -04:00
Edouard Oger f01b994ee3 Remove FirefoxAccount state serialization hack 2018-05-16 14:07:13 -04:00
Edouard Oger cfab884c57
Build and test the whole workspace (#48) 2018-05-15 23:51:07 -04:00
Vlad Filippov 764254594c
Reconfigure workspaces, build on Travis (#6) 2018-05-15 23:16:13 -04:00
Thom ffb3437efd
Add fxa-rust-client to workspaces and fix (remove) the workspace nesting 2018-05-02 14:46:46 -07:00
Thom Chiovoloni 635663999a Implement an FFI for sync15-adapter 2018-05-01 17:12:48 -07:00
Thom Chiovoloni 0b148c5421 Drop fxa-rust-client from workspace for now because it breaks the build 2018-04-26 13:08:32 -07:00
Thom Chiovoloni c049ccc9ce Merge branch 'master' into tcsc/sync15-adapter-WIP
Rebasing master here failed fairly hard for reasons I don't fully understand.
2018-04-25 13:37:50 -07:00
Thom Chiovoloni 0eb7d2756d Fix gitignore for rust libs, and add fxa-rust-client to the workspace in Cargo.toml 2018-04-25 13:34:50 -07:00
Thom Chiovoloni f826805a56 WIP work on storage adapter -- not working yet 2018-04-20 22:19:19 -07:00
Vlad Filippov 93e454c8b6
Add cargo workspace 2018-04-17 21:39:46 -04:00