Commit Graph

57 Commits

Author SHA1 Message Date
Dave Townsend
769fc8f245 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr
2016-04-05 11:33:48 -07:00
Sylvestre Ledru
a3d7a97f35 Bug 1250897 - Add build number data in Telemetry pings r=gfritzsche
MozReview-Commit-ID: 2CB5CMGQN6G
2016-02-26 14:04:12 +01:00
Alessio Placitelli
a14d03b41a Bug 1236580 - Remove the IS_UNIFIED_TELEMETRY constant and the related preferences. r=gfritzsche 2016-01-27 01:03:00 +01:00
chaithanya
6530aa0ef5 Bug 1184458- TelemetryEnvironment needs to shut down properly r=gfritzsche 2016-01-27 09:57:00 +01:00
Alessio Placitelli
f0e10564a9 Bug 1236588 - Remove the storage DB for HealthReport from user profiles. r=gfritzsche 2016-01-12 08:50:00 +01:00
Alessio Placitelli
ea8833fe9c Bug 1234526 - Remove unused healthreporter prefs. r=gfritzsche 2016-01-05 06:41:00 +01:00
rthyberg
6f5537394e Bug 1179209 - Don't throttle environment changes until there are any environment-change listeners. r=dexter 2015-12-04 00:32:00 +01:00
Georg Fritzsche
f7cf0e8613 Bug 1200164 - Only do isOfficialTelemetry checks for Telemetry uploads. r=dexter 2015-12-18 19:35:05 +07:00
Alessio Placitelli
75b5952485 Bug 1221958 - Make TelemetryController.enableTelemetryRecording pref checks more robust. r=gfritzsche 2015-11-17 07:42:00 +01:00
rthyberg
d765d526e3 Bug 1222042 - Dont try to show ping data in about:telemetry if Telemetry is disabled. r=dexter 2015-11-16 14:27:00 +01:00
Tom Zhang
415c96689f Bug 1225103 - Clarity change to debug message to reflect actual function called. r=dexter 2015-11-16 21:19:00 +01:00
Stuart
052927d064 Bug 1224135 - Updating the comment for assemblePing. r=dexter 2015-11-16 04:58:00 +01:00
Tom Zhang
a1aacb7730 Bug 1223423 - Remove |testOnly| from |TelemetryController.submitExternalPing|. r=Dexter 2015-11-15 15:03:11 +01:00
Sanchit Nevgi
3922953fb3 Bug 1152255 - Removed Telemetry.asyncFetchTelemetryData call in TelemetryController.jsm. r=Dexter 2015-11-07 02:26:00 +01:00
Alessio Placitelli
51748d69e3 Bug 1174674 - Clear out all pending pings when FHR is deactived. r=gfritzsche 2015-10-02 05:50:00 +02:00
Iaroslav (yarik) Sheptykin
808255ed7c Bug 1206085: Replacing preprocessor directives with AppConstants in Telemetry modules. r=gfritzsche 2015-09-23 11:46:56 +02:00
Dave Townsend
f657500ff0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
André Reinald
0850396f2e Bug 1197292 - Read delays from prefs, backup to defaults if not set. Shorter delays are useful to accelerate test cycles. r=gfritzsche 2015-08-24 16:50:51 +02:00
Georg Fritzsche
21ae4d1537 Bug 1191912 - Part 2 - Enable opt-out Telemetry for a 5% sample of release users. r=rvitillo 2015-08-11 12:17:30 +02:00
Georg Fritzsche
91a7206773 Bug 1191912 - Part 1 - Move client id caching to ClientID.jsm. r=rvitillo 2015-08-11 12:17:29 +02:00
Georg Fritzsche
a32f530eb7 Bug 1183632 - Don't generate child Telemetry payloads for the thumbnail service in non-e10s. r=dexter 2015-07-28 18:05:35 +02:00
Alessio Placitelli
92ef1cca67 Bug 1137355 - Refactor the logic to show TelemetryInfobar in TelemetryInfobarController. r=gfritzsche 2015-06-26 16:31:00 +02:00
Alessio Placitelli
07417f6393 Bug 1182424 - Part 1 - Always leave unified Telemetry behavior on for people who opted into Telemetry. r=gfritzsche 2015-07-10 13:31:53 +02:00
Georg Fritzsche
a53cb113d0 Bug 1181553 - Submit AsyncShutdown state information for TelemetrySend. r=dexter 2015-07-08 22:30:24 +02:00
Georg Fritzsche
8f7f64333b Bug 1156712 - Part 3 - Extend the Telemetry send test coverage. r=dexter 2015-07-07 16:49:09 +02:00
Georg Fritzsche
beb9e06b17 Bug 1156712 - Part 2: Re-design the ping sending logic. r=vladan 2015-07-07 16:49:09 +02:00
Alessio Placitelli
d77921171d Bug 1120379 - Send a ping deletion message to the server when FHR is deactivated. r=gfritzsche 2015-05-28 08:47:00 +02:00
Alessio Placitelli
7a7d6cacfe Bug 1173709 - TelemetrySend.jsm should not wait on sending pings during |setup|. r=gfritzsche 2015-06-12 06:39:00 +02:00
Alessio Placitelli
21ec46a6f8 Bug 1169159 - Refactor the |enableTelemetryRecording| logic in TelemetryController.jsm. r=gfritzsche 2015-06-12 06:09:00 +02:00
Alessio Placitelli
f9ca60929e Bug 1169159 - Add basic test coverage for Telemetry child payloads. r=gfritzsche 2015-06-08 00:12:00 +02:00
Georg Fritzsche
6a1cde5594 Bug 1156359 - Part 2: Let TelemetrySend manage the pending ping queue. r=yoric 2015-06-06 01:29:19 +07:00
Georg Fritzsche
5d54ceb252 Bug 1156359 - Part 1: Move send logic from TelemetryController to TelemetrySend. r=yoric
Also move over triggering sending of pending pings on "idle-daily" from TelemetrySession.
2015-06-06 01:29:19 +07:00
Alessio Placitelli
4dea6f1118 Bug 1167456 - Fix TelemetryController submitting non-identical pings under the same ping id. r=gfritzsche 2015-06-03 02:59:00 +02:00
Alessio Placitelli
007f8c118b Bug 1165304 - Exclude partner info from the channel entries in Telemetry pings. r=gfritzsche 2015-05-28 02:39:00 +02:00
Georg Fritzsche
02eeed87a6 Bug 1166705 - Don't send a saved-session ping when extended Telemetry is off. r=vladan
This also cleans up the pending pings persistance, putting the control of saving them out of TelemetrySession.
2015-05-22 22:42:29 +07:00
Georg Fritzsche
304a8e32f6 Bug 1166128 - Don't rely on datareporting.healthreport.uploadEnabled to control telemetry submission on Android. r=vladan 2015-05-22 00:10:29 +07:00
Georg Fritzsche
e33cc2d7bc Bug 1140037 - Improve midnight fuzzing readability and comments. r=vladan 2015-05-21 15:12:43 +07:00
Alessio Placitelli
6ed2bf416e Bug 1120380 - Update Telemetry interfaces to mention the correct number of ping retention days. r=gfritzsche 2015-05-19 09:12:00 -04:00
Alessio Placitelli
ef4c220b66 Bug 1120380 - Update the retention logic for archived pings. r=gfritzsche 2015-05-19 05:24:00 -04:00
jkang8
3b148c1dda Bug 1155272 - Add Telemetry probes for time to send a ping. r=vladan 2015-05-19 18:19:14 -04:00
Georg Fritzsche
715539207e Bug 1162476 - Telemetry should reject external pings with invalid types. r=vladan 2015-05-13 21:57:06 +02:00
Georg Fritzsche
0c1d44df74 Bug 1122480 - Part 1 - Allow collecting the current ping data from TelemetryController. r=rvitillo 2015-05-13 21:57:05 +02:00
Georg Fritzsche
aeb6db07ed Backed out changeset 3098f602db56 (bug 1162476) for xpcshell bustage on a CLOSED TREE. 2015-05-13 17:43:42 +02:00
Georg Fritzsche
d541b4dab0 Bug 1162476 - Telemetry should reject external pings with invalid types. r=vladan 2015-05-13 13:46:51 +02:00
Wes Kocher
777762cb87 Backed out 9 changesets (bug 1122480) for xpcshell orange
Backed out changeset 9fff6229aa8e (bug 1122480)
Backed out changeset 6ae5efa42928 (bug 1122480)
Backed out changeset ea2720c41747 (bug 1122480)
Backed out changeset 3eb7a0e58d4e (bug 1122480)
Backed out changeset 79a925a3dd30 (bug 1122480)
Backed out changeset 1dd431a945d0 (bug 1122480)
Backed out changeset 73e107ca87c1 (bug 1122480)
Backed out changeset c9c7cf08c7d7 (bug 1122480)
Backed out changeset eecb2b1271ca (bug 1122480)
2015-05-11 13:06:21 -07:00
Georg Fritzsche
33887127bc Bug 1122480 - Part 1 - Allow collecting the current ping data from TelemetryController. r=rvitillo 2015-05-11 19:40:22 +02:00
Georg Fritzsche
91c6b62c10 Bug 1156253 - Part 1 - Refactor aborted-session ping file details into TelemetryStorage. r=dexter 2015-05-07 14:48:29 +02:00