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

715 Коммитов

Автор SHA1 Сообщение Дата
Thom Chiovoloni c6119d78f6 Fix dubious error handling in logins and bug in ffi_support 2019-02-01 09:48:24 -08:00
JR Conlin bf5aedc616
Merge pull request from mozilla/push-storage
feat: schema and basic crud of push's storage
2019-02-01 09:16:33 -08:00
Philip Jenvey ab13427691
feat: schema and basic crud of push's storage
Issue: 
2019-01-31 21:52:12 -08:00
Thom Chiovoloni 933a55d1e3 Add a match_url function to places 2019-01-31 16:43:31 -08:00
Ben Bangert 06d90cb771
Merge pull request from mozilla/feat/issue-584
docs: add push documentation
2019-01-31 15:46:28 -08:00
Ben Bangert f4a5973d6b
docs: add push documentation
Add's the Push documentation with updates to match the current state of
Push and its ecosystem. Minor updates for docusaurus formatting.

Closes 
2019-01-31 15:40:01 -08:00
Thom Chiovoloni 22640b39d4 Add migration logic for places v2 to v3 2019-01-31 13:46:40 -08:00
Thom Chiovoloni 7b6e53c78f Add changelog entry about faster autocomplete 2019-01-31 13:46:40 -08:00
Thom Chiovoloni ed7080ebef Fix missing index on moz_origins (eh... whoops!) 2019-01-31 13:46:40 -08:00
Thom Chiovoloni cb0a91f53d Avoid expensive % decoding for urls that don't contain % 2019-01-31 13:46:40 -08:00
Thom Chiovoloni 12796ecbda Only run autocomplete queries a single time 2019-01-31 13:46:40 -08:00
Thom Chiovoloni abecd98ba5 use memchr and separate out sql_fns 2019-01-31 13:46:40 -08:00
Thom Chiovoloni d85fe6975c Use borrowed strings in sql functions 2019-01-31 13:46:40 -08:00
Edouard Oger fb5b2c101b Re-indent json! macro bodies 2019-01-30 16:43:00 -05:00
Edouard Oger fd85ecee7f Remove commented live_account_test 2019-01-30 16:43:00 -05:00
Edouard Oger 3c06997034 Add reason to UnrecoverableServerError 2019-01-30 16:43:00 -05:00
Edouard Oger 5c835dff4e Use Self where possible 2019-01-30 16:43:00 -05:00
Edouard Oger 159df3d813 Move random_base64_url_string to util module 2019-01-30 16:43:00 -05:00
Edouard Oger c9069dc250 Expose OAuth scopes constants 2019-01-30 16:43:00 -05:00
Thom e410f3df20
Add ability to automatically log query plans. ()
* Add support for automatically logging query plans to stdout or to a file
* Change sql api calls around so more of them have their query plans logged
* Make the log_query_plans feature explicit in logins/places
* Log query plans as a fancy tree, same as sqlite with `.eqp` on
* Document query plan feature of sql-support
* Use cached queries in matcher.rs
2019-01-25 11:45:50 -08:00
Justin D'Arcangelo 54c7d39aca Update Carthage dependency for sandvich-ios to v0.14.0. () 2019-01-24 15:30:30 -05:00
Edouard Oger 1040b6f1bd
Default profile avatars () 2019-01-24 14:48:41 -05:00
Thom 07bb924c63
places: Handle unicode origin searches in origins. Fixes () 2019-01-23 21:45:45 -08:00
Mark Hammond e14338cb1a
Some tweaks to the history_sync example () 2019-01-24 10:04:50 +11:00
Thom 0235e961f7
Implement a bridge from the rust log crate to android. ()
* 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
JR Conlin bc999b8b6d
Merge pull request from mozilla/push
Merging baseline push component
2019-01-23 10:12:37 -08:00
jrconlin 63b0618424
feat: Add minimal crypto module.
* crypto::Crypto::generate_key() -- generates a new key
 * crypto::Key.public:Vec<u8> -- public key vec
 * crypto::Key.auth:Vec<u8> -- auth token
* crypto::Crypto::decrypt(key, body, encoding, Option<salt>, Option<dh>) -> Result<Vec<u8>>

Issue: 
2019-01-23 09:34:32 -08:00
jrconlin bc037edcb8
feat: Push Component draft 0.1.0
This is a skeletal, nonoperational outline of the push component.
2019-01-23 09:34:32 -08:00
Thom Chiovoloni 457ef779b1 Ensure url parsing errors in noteObservation are exposed as such. Fixes 2019-01-23 09:25:10 -08:00
Thom Chiovoloni 6b8d68b720 Changelog entry for handle work 2019-01-23 09:16:02 -08:00
Thom Chiovoloni 305437ea9f Use a ConcurrentHandleMap in fxaclient ffi 2019-01-23 09:16:02 -08:00
Thom Chiovoloni 841a04515e Use a ConcurrentHandleMap in logins ffi 2019-01-23 09:16:02 -08:00
Thom Chiovoloni e78d48e27b Use a ConcurrentHandleMap for PlacesDb connections 2019-01-23 09:16:02 -08:00
Thom Chiovoloni c34230f63d Add some sanity checking that the things we're returning over the FFI as a pointer are actually Send 2019-01-22 19:57:04 -08: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 eb094fe0e9 Remove the weird import alias for sync that logins does 2019-01-22 19:57:04 -08:00
Thom Chiovoloni d91ced8903 Remove unused `timestamp` from Sync15StorageClient
Also add a test ensuring it's Send. We don't need this anymore, but
we will in the future.
2019-01-22 19:57:04 -08:00
Thom Chiovoloni caff00d3d0 Bump ffi_support version 2019-01-22 16:29:09 -08:00
Thom Chiovoloni a62bfa9435 fixup! Implement a ConcurrentHandleMap based on HandleMap 2019-01-22 16:29:09 -08:00
Thom Chiovoloni 5d3ec8d453 Implement a ConcurrentHandleMap based on HandleMap 2019-01-22 16:29:09 -08:00
Thom Chiovoloni ea86accf46 Implement a HandleMap type allowing us to expose a stable handle over the FFI 2019-01-22 16:29:09 -08:00
Ryan Kelly 9e53b9da50
Merge pull request from mozilla/clarify-metrics; r=philbooth
make email-first metrics requirements more clear
2019-01-23 10:32:54 +11:00
Edouard Oger 67eed3e285
Remove extraneous newline in build_ffi.sh () 2019-01-21 13:20:46 -05:00
Garvan Keeley b2f8c48850 XCConfigs for iOS frameworks ()
Fixes 
2019-01-21 13:17:23 -05:00
Thom Chiovoloni 10d3163fa1 Make sure taskcluster agrees to licenses before running each test 2019-01-18 17:30:35 -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 c0afe508b3 Fix cargo fmt change from rust 1.32.0 update 2019-01-17 19:05:14 -08:00
Thom Chiovoloni d3a48f93b8 Disable mlock/munlock in places if encryption wasn't requested 2019-01-17 19:05:14 -08:00
Thom Chiovoloni b8040c863c Add android tests for get_visited 2019-01-17 15:20:28 -08:00
Thom Chiovoloni 92ea7b68c1 Optimize places_get_visited and make it tolerate bad urls. 2019-01-17 15:20:28 -08:00