Commit Graph

90 Commits

Author SHA1 Message Date
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
Aaron Klotz
42fabfe5d0 Bug 1200698: Rename async plugin init pref; r=bsmedberg 2015-09-09 01:01:13 -06: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
Aaron Raimist
a57cb8e67a Bug 1193377 - Remove SCHEDULER_COALESCE_THRESHOLD_MS from TelemetrySession.jsm. r=gfritzsche 2015-08-11 20:51:39 -05:00
Georg Fritzsche
2d70dff31a Bug 1191912 - Bonus: Remove left-over clientId getter from TelemetrySession. r=rvitillo 2015-08-11 12:17:30 +02:00
Giovanny Andres Gongora Granada
7aa1d98db4 Bug 1190421 - Remove |hasPingBeenSent| from TelemetrySession.jsm. r=Dexter 2015-08-06 23:33:00 -04:00
Alessio Placitelli
d3cf28c872 Bug 1191312 - Stop retrying daily pings in TelemetrySession scheduler. r=gfritzsche 2015-08-06 02:55:00 +02:00
Georg Fritzsche
8b592a5c90 Bug 1190302 - Add probes for Telemetry session data load & save failures. r=dexter 2015-08-03 17:37:51 +02:00
Georg Fritzsche
b17ea7ab47 Bug 1188416 - Use monotonic clocks for Telemetry subsessionLength. r=dexter 2015-07-29 14:47:01 +02:00
Georg Fritzsche
0929c262d4 Bug 1187339 - Always duplicate-save new main pings as aborted-session pings. r=dexter 2015-07-28 18:05:35 +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
8b47c06304 Bug 1186871 - Don't wait for "shutdown" ping saving before creating "saved-session" payloads. r=gfritzsche 2015-07-23 08:40:00 +02:00
Alessio Placitelli
1f7e1b2ac6 Bug 1168835 - Implement pending-pings cleanup and quota. r=Yoric 2015-07-20 10:31: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
Alessio Placitelli
87757465b3 Bug 1149537 - Daily subsession splits should not occur before midnight. r=gfritzsche 2015-06-02 01:41: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
Anthony Zhang
f6c740e573 Bug 1167689 - Send addonHistogram field in main ping only if there are actually addon histograms. r=vladan 2015-05-26 12:53:47 -04:00
Qeole
1d4553c8f2 Bug 1161515 - Add previousSessionId to Telemetry payloads. r=gfritzsche 2015-05-20 13:32:00 -04: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
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
643b564957 Bug 1161032 - Don't listen to "cycle-collector-begin" in TelemetrySession if extended recording is disabled. r=gfritzsche 2015-05-14 05:35:00 -04: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
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
Georg Fritzsche
4d9fccf91e Bug 1140037 - Fix ping fuzzing calculations. r=dexter 2015-05-06 12:54:12 +02:00
Alessio Placitelli
9441c4141e Bug 1157359 - Fix archiving aborted-session pings. r=gfritzsche 2015-05-05 01:33:37 +02:00
Alessio Placitelli
f70684e60e Bug 1157359 - Fix daily pings being incorrectly archived as "aborted-sessions". r=gfritzsche 2015-05-05 01:33:37 +02:00
Alessio Placitelli
e7b66f05cf Bug 1157359 - Fix profileSubsessionCounter and previousSubsessionId failing to update correctly. r=gfritzsche 2015-05-05 01:33:37 +02:00
Georg Fritzsche
d59431967f Bug 1148500 - Part 3 (Fx 40): Honor toolkit.telemetry.unified pref in Telemetry modules. r=dexter 2015-04-30 14:00:58 +02:00
Georg Fritzsche
06c09e4980 Bug 1149754 - Part 2: Introduce TelemetryController.submitExternalPing. r=vladan 2015-04-27 18:07:58 +02:00
Georg Fritzsche
f1b09b984d Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan 2015-04-27 18:07:58 +02:00
Georg Fritzsche
76c4f575d3 Bug 1150134 - Part 5: Rename TelemetryFile.jsm to TelemetryStorage.jsm. r=vladan 2015-04-23 19:22:28 +02:00
Georg Fritzsche
b735d6f3ba Bug 1154717 - Fix toLocalTimeISOString(). r=yoric 2015-04-15 15:48:03 +02:00
Georg Fritzsche
63319c0f3d Bug 1154856 - Fix TelemetrySession test issues. r=vladan 2015-04-20 11:54:00 +02:00
Alessio Placitelli
196f6756e0 Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Ryan VanderMeulen
d285531adc Backed out 3 changesets (bug 1137252) for suspicion of causing frequent B2G mochitest timeouts.
Backed out changeset bbb1b526cb56 (bug 1137252)
Backed out changeset 0c3d670f0c14 (bug 1137252)
Backed out changeset 1e0fa4ab7c6f (bug 1137252)

CLOSED TREE
2015-04-14 13:33:28 -04:00
Tooru Fujisawa
4282a3ce5f Bug 1154228 - Remove unnecessary semicolon in toLocalTimeISOString in TelemetrySession.jsm. r=gfritzsche 2015-04-14 21:45:05 +09:00
Alessio Placitelli
af805ef0b9 Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Alessio Placitelli
f3362ef959 Bug 1139754 - Remove idle-daily pings. r=gfritzsche 2015-04-02 08:20:00 +02:00
Alessio Placitelli
86120887ce Bug 1147522 - Move SessionRecorder usage from DRS to TelemetryPing. r=gfritzsche 2015-04-03 05:42:00 -04:00
Georg Fritzsche
aae094d764 Bug 1139751 - Fix aborted-session saves that can race to after the shutdown aborted-session removal. r=vladan 2015-04-02 21:33:47 +02:00
Georg Fritzsche
f6f36ded10 Bug 1139751 - Try to collect data for Telemetry pings when the user is idle. r=vladan 2015-04-02 21:33:47 +02:00
Alessio Placitelli
71f4f5f2c7 Bug 1143796 - Increase TelemetryScheduler ticking interval when user is not active. r=gfritzsche 2015-04-02 21:33:46 +02:00