Commit Graph

64 Commits

Author SHA1 Message Date
Florian Queze
6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Alisha
7fd23886d5 Bug 1346200 - Remove B2G code branches from Telemetry JS modules. r=chutten 2017-03-31 17:55:00 -04:00
Alessio Placitelli
911c61cd38 Bug 1348250 - Change TelemetryStorage to load crash pending pings outside of the profile. r=chutten
MozReview-Commit-ID: 1kqdGgEwXvI
2017-03-31 12:01:32 +02:00
Subhdeep Saha
2c32125386 Bug 1344743 - Update TelemetryStorage.jsm to async function & await. r=Dexter
MozReview-Commit-ID: 7stlyHefdbr
2017-03-10 14:59:49 +05:30
flyingrub
91ae22d9dd Bug 1342394 - Use standard pad functions in Telemetry JS modules r=gfritzsche
Replaced the handmade padding funciton by padStart

MozReview-Commit-ID: 6UyTo4OZYv4
2017-03-01 19:06:08 +01:00
Georg Fritzsche
1704939f79 Bug 1335372 - Reduce Telemetry log noise for trace level. r=dexter 2017-01-31 13:04:35 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
9f9dbce16a Bug 1328802 - Enable the no-unsafe-finally rule for eslint and fix the four errors that are triggered by it by moving the control flow statement outside of the finally block. r=mossop
MozReview-Commit-ID: 7UFBBpvptdd
2017-01-05 00:38:24 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Jared Wein
5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Georg Fritzsche
67f240b0bf Bug 1295555 - Lower client-side ping archive retention period to 60 days. r=dexter 2016-10-06 11:07:04 +02:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Ben Kelly
296e66199e Bug 1287833 Make TelemetryStorage intern the type string when building _archivedPings map. r=gfritzsche 2016-07-21 06:30:34 -07:00
Ben Kelly
5e2e5285a7 Bug 1279389 P3 Fix OS.File.DirectoryIterator leaks throughout tree. r=yoric 2016-06-28 18:47:55 -07:00
Iaroslav Sheptykin
17b9d2f2b5 Bug 1145188: Shifting TelemetrySession init control to TelemetryController (core). r=Dexter 2016-05-16 06:57:00 +02:00
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
Harshit Harchani
2a24cdbae0 Bug 1245136 - Discard old-format pending Telemetry files. r=gfritzsche 2016-03-03 06:31:02 +05:30
Dave Townsend
a215a4a95a Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08: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
Dave Townsend
66459b47af Bug 1229519: Fix toolkit/components/telemetry to pass eslint checks. r=gfritzsche 2015-12-03 10:02:02 -08:00
rthyberg
219aab6101 Bug 1190801 - Moved loadSessionData and split saveSessionData from TelemetrySession to TelemetryStorage. r=gfritzsche 2015-11-06 03:54:00 +01:00
Sanchit Nevgi
59ebec5a71 Bug 1205181 - Removed Deprecated.jsm import from TelemetryStorage.jsm. r=gfritzsche 2015-10-14 10:47:00 -07:00
Alessio Placitelli
c3c1243c36 Bug 1174674 - Always block Telemetry shutdown on pending ping writes. r=gfritzsche 2015-10-02 06:35:00 +02: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
Alessio Placitelli
410ed318df Bug 1205976 - Improve logging for TelemetryStorage.loadAbortedSessionPing. r=gfritzsche 2015-09-22 06:26:00 +02:00
rthyberg
cf0523efbc Bug 1188423 - removed all references to loadHistogram, READ_SAVED_PING_SUCCESS, addPingPendingFromFile along with their tests. r=gfritzsche 2015-09-18 02:46:00 +02: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
rthyberg
2ee0995be1 Bug 1191825 - Don't log errors if we can't find an aborted-session ping on disk. r=gfritzsche 2015-09-04 01:56:00 +02:00
Georg Fritzsche
21063d1aa4 Bug 1189425 - Remove unparsable pings from the disk. r=vladan 2015-08-18 14:15:47 +02:00
Alessio Placitelli
2ac22d8e0e Bug 1186955 - Telemetry should discard pings that are too big. r=gfritzsche 2015-07-29 11:08:00 +02:00
Alessio Placitelli
88879f39c6 Bug 1187340 - Add probe to track pending telemetry ping load failures. r=gfritzsche 2015-07-30 10:09:00 +02:00
Alessio Placitelli
9a74f71013 Bug 1178262 - Change the "deletion ping" logic to allow for persisted ping resend. r=gfritzsche 2015-07-09 09:17:00 +02:00
Alessio Placitelli
45d02c50d9 Bug 1168835 - Add Telemetry probes for pending pings. r=gfritzsche 2015-07-20 10:32:00 +02:00
Alessio Placitelli
4bccae9113 Bug 1168835 - Add test coverage for pending-pings quota. r=gfritzsche 2015-07-20 08:46:00 +02:00
Alessio Placitelli
1f7e1b2ac6 Bug 1168835 - Implement pending-pings cleanup and quota. r=Yoric 2015-07-20 10:31:00 +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
Georg Fritzsche
6a1cde5594 Bug 1156359 - Part 2: Let TelemetrySend manage the pending ping queue. r=yoric 2015-06-06 01:29:19 +07:00
Benjamin Smedberg
917a3f0fd4 Bug 1169691 - Make TelemetryStorage wait for pings that have been submitted for archiving but haven't finished submitting to disk, so that tests can reliably fetch submitted ping lists, r=gfritzsche 2015-05-29 12:55:04 -04:00
Fernando Jimenez
404783ff6d Bug 1170520 - Remove redundant semicolon in TelemetryStorage.jsm. r=Dexter 2015-06-02 15:55:40 +02:00
Alessio Placitelli
548821f252 Bug 1162538 - Add the probes for archived ping count and evicted ping count. r=gfritzsche 2015-05-29 07:48:00 +02:00
Alessio Placitelli
cd1137023a Bug 1162538 - Add test coverage for archived pings quota. r=gfritzsche 2015-05-25 04:53:00 +02:00
Alessio Placitelli
5534d9f32a Bug 1162538 - Implement archive ping storage quota. r=gfritzsche 2015-05-25 04:50:00 +02:00
Alessio Placitelli
75e0aaf986 Backed out changeset f1cdfaad161c (bug 1162538). CLOSED TREE 2015-05-29 14:40:33 +02:00