Commit Graph

3374 Commits

Author SHA1 Message Date
Mark Hammond
e2705bdbf4 Bug 990834 (part 3) - Fix handling of hawk errors. r=ckarlof 2014-04-10 12:08:19 +10:00
Mark Hammond
bc93fc2b9d Bug 990834 (part 2) - Add support/tweak retry and backoff header support to hawk and tokenserverclient. r=rnewman 2014-04-10 12:08:19 +10:00
Mark Hammond
1cfe00f9c1 Bug 990834 (part 1) - minor refactor of hawk tests. r=ckarlof 2014-04-10 12:08:18 +10:00
Gregory Szorc
4adb89bc72 Bug 968419 - Store and submit a persistent health report identifier; r=rnewman, r=bsmedberg
Up to this point, Firefox Health Report has generated and submitted a
random UUID with each upload. Generated UUIDs were stored on the client.
During upload, the client asked the server to delete all old UUIDs.
Well-behaving clients thus left at most one record/ID on the server.

Unfortunately, clients in the wild have not been behaving properly. We
are seeing multiple documents on the server that appear to come from the
same client. Clients are uploading new records but failing to delete the
old ones. These old, undeleted "orphan" records are severely impacting
the ability to derive useful knowledge from FHR data because it is
difficult, resource intensive, and error prone to filter the records on
the server. This is undermining the ability for FHR data to be put to
good use.

This patch introduces a persistent client identifier. When the client is
initialized, it generates a random UUID. That UUID is persisted to the
profile and sent as part of every upload.

For privacy reasons, if a client opts out of data submission, the client
ID will be reset as soon as all remote data has been deleted.

We still issue and send upload IDs. They exist mostly for forensics
purposes so we may log client behavior and more accurately determine
what exactly misbehaving, orphan-producing clients are doing.

It is worth noting that this persistent client identifier will not solve
all problems of branching and orphaned records. For example, profile
copying will result in multiple clients sharing a client identifier. A
"client ID version" field has been added to facilitate an upgrade path
towards client IDs with different generation semantics.

--HG--
extra : rebase_source : b761daab39fb07b6ab8883819d68bf53462314a0
2014-02-20 11:30:52 -08:00
Chris Karlof
9bc6ab6d2a Bug 989549 - Call signOut() in FxAccountsClient.jsm from signOut() in FxAccounts.jsm. r=markh 2014-04-09 16:14:19 -07:00
Marco Castelluccio
8a53b11c8e Bug 993173 - Use encoding option in readJSON. r=Yoric 2014-04-08 04:47:00 +02:00
Marco Castelluccio
6924f0bb5f Bug 988301 - Avoid main-thread IO in Sync code. r=Yoric, r=rnewman 2014-04-07 10:49:32 -04:00
David Rajchenbach-Teller
7e80df0235 Bug 992363 - Fix a few uncaught async errors in services. r=rnewman 2014-04-07 10:33:56 -04:00
Asaf Romano
5dbae2896b Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop 2014-04-07 12:26:58 +03:00
Benjamin Smedberg
cd2fddc1ce Bug 986582 - Get rid of the toolkit.telemetry.enabledPreRelease pref and make the toolkit.telemetry.enabled pref do the right thing for beta users who are testing a final release build, r=rnewman
--HG--
extra : rebase_source : 43f70e2c1c3207f37ba0789245958cb0c34187f6
2014-04-03 14:55:42 -04:00
Carsten "Tomcat" Book
d4d8a64c7a merge fx-team to mozilla-central 2014-04-03 12:46:58 +02:00
Mark Hammond
7dc2e440e9 Bug 987468 - remove sync delayed notification. r=ttaubert 2014-04-03 09:56:59 +11:00
Richard Newman
bc9c137228 Bug 990872 - Eliminate Places dependency in Sync utils. r=gps 2014-04-01 21:33:42 -07:00
Henrik Skupin
0d814619fc Bug 986190 - [tps] Synced data on the server is not always wiped at the end of a test. r=jgriffin, r=rnewman DONTBUILD 2014-04-02 22:58:14 +02:00
Henrik Skupin
5e6c5a1faf Bug 989249 - test_addon_reconciling.js broken due to missing sync. r=jgriffin DONTBUILD 2014-04-01 12:13:37 +02:00
Henrik Skupin
af7d3cf41b Bug 989045 - [tps] Registering of observer topics happens too late so 'weave:engine:start-tracking' can be missed during startup. r=jgriffin DONTBUILD 2014-04-01 08:35:32 +02:00
Mark Hammond
3d5d088ab8 Bug 985902 - expose fxaccounts/MOZ_SERVICES_FXACCOUNTS to mozinfo and only run test_hawkclient when enabled. r=ted 2014-03-31 14:15:05 +11:00
Andrei Eftimie
807e96807c Bug 983642 - [tps] AddonRepository.getAddonsByIDs fails in mutiple tps tests. r=hskupin DONTBUILD
--HG--
extra : rebase_source : 51ed8adff60cd7a0ddcd9c7c36a81f3510350089
2014-03-27 20:06:56 +01:00
Henrik Skupin
e985fb4331 Bug 981848 - [tps] Don't force login each time the browser gets started. r=jgriffin - DONTBUILD 2014-03-26 21:55:00 +01:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
0581431d4c Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Sam Penrose
3d8b5f0aad Bug 967008 - getAccounts should return the account info right away. r=jedp 2014-03-26 09:12:14 -07:00
Wes Kocher
0d58e41dd9 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Richard Newman
cc0d0bda5a Bug 841096 - Follow-up: remove debugging cruft. r=trivial 2014-03-25 09:00:07 -07:00
Wes Kocher
5389f8cd94 Merge m-c to fx-team 2014-03-25 20:23:20 -07:00
Mark Hammond
5675a1c236 Bug 988051 - lazy-load FxAccountsClient module. r=rnewman 2014-03-26 12:13:46 +11:00
Henrik Skupin
ff4ec74c43 Bug 987682 - DumpBookmarks() in bookmarks.jsm hangs due to invalid JSON data. r=jgriffin DONTBUILD 2014-03-25 19:43:33 +01:00
Nicholas Nethercote
fd38bb47c5 Bug 987146 - Represent SQL queries more efficiently. r=gps.
--HG--
extra : rebase_source : 44b196f04887d88742517e2735a33d4d79aae8d5
2014-03-24 11:31:29 -04:00
Valery Yundin
b8f18c9040 Bug 841096 - Part 2: speed up retrieval of open tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Valery Yundin
7542910281 Bug 841096 - Part 1: speed up about:sync-tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Mark Hammond
40e12f4211 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-24 11:44:43 +11:00
Phil Ringnalda
08f929b520 Back out b9597187a3d6 (bug 985212) for xpcshell bustage
CLOSED TREE
2014-03-22 21:30:46 -07:00
Mark Hammond
b52785af62 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-23 14:20:38 +11:00
Marco Bonardo
163196f903 Bug 818584 - Discard consecutive duplicate bookmark backups by comparing hashes r=mano
Original patch by Raymond Lee <raymond@appcoast.com> f=mak
2014-03-19 14:33:02 +01:00
Gregory Szorc
add4f755f7 Bug 974024 - Add FHR recording of Telemetry Experiments activity; r=bsmedberg
--HG--
extra : rebase_source : 1e875e53da49c69194ee740898ff943d1801d1cf
2014-03-20 14:16:00 -07:00
Carsten "Tomcat" Book
12e249d1fa merge fx-team to mozilla-central 2014-03-21 15:16:06 +01:00
Henrik Skupin
32625620a9 Bug 982591 - Update TPS to retrieve keys from server instead of hard-coding them. r=warner
--HG--
extra : rebase_source : 2a9449aeca2f28a2bce648971619635b19a4d670
2014-03-21 10:23:15 +01:00
Phil Ringnalda
44d24e0d0d Back out 61454adff1d6 (bug 985212) for xpcshell bustage 2014-03-20 21:50:21 -07:00
Mark Hammond
0ebee1740a Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-21 14:39:35 +11:00
Mark Hammond
f65bef3293 Bug 970167 - Disable passwords engine when a master password is set. r=rnewman 2014-03-21 14:22:02 +11:00
Fernando Jiménez
7d20b5a7ba Bug 976002 - Build time flag to enable/disable FxA. r=fabrice, r=gps 2014-03-17 09:58:16 -07:00
Mozilla Release Engineering
198567e0a0 Merging in version bump NO BUG CLOSED TREE DONTBUILD 2014-03-17 13:48:08 -07:00
Mark Hammond
0196af6a9c Bug 983270 (part 2) - _findCluster() should return null on authentication errors. r=ckarlof 2014-03-17 09:39:31 +11:00
Mark Hammond
e50a273cff Bug 983270 (part 1) - testonly refactor of FxA tests to make cluster testing easier. r=ckarlof 2014-03-17 09:39:31 +11:00
Wes Kocher
b031e3117f Merge m-c to fx-team 2014-03-14 23:19:44 -07:00
Wes Kocher
aa89f0292c Merge inbound to m-c 2014-03-14 22:20:25 -07:00
Mark Hammond
a6375e2baf Bug 983913 - ensure failure to reject a promise is actually reported. r=ttaubert 2014-03-14 18:02:01 -07:00
Chris Karlof
eab2e0d39d Bug 983256 - Change the client generated expiration time in FxA assertions to be 'forever'. r=jedp 2014-03-14 14:50:19 -07:00
Henrik Skupin
5684142d7a Bug 966434 - Refactor tps for fxaccounts and old sync authentication support. r=jgriffin 2014-03-14 21:13:38 +01:00
Richard Newman
bb5c6a7aa9 Bug 978876 - Part 3: mark engines as declined after making a datatype election. r=markh 2014-03-13 16:37:26 -07:00