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

72 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Leplatre 8e59cea76e Bug 1634058 - Honor load_dump pref with .get() r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D73229
2020-04-30 13:40:24 +00:00
Gijs Kruitbosch b6fedc53eb Bug 1624983 - abort pending read transactions from the DB when quitting, r=asuth,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D68465

--HG--
extra : moz-landing-system : lando
2020-04-02 14:40:33 +00:00
Mathieu Leplatre aaf32a2504 Bug 1620185 - Remove usage of .openCollection() r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D66632

--HG--
extra : moz-landing-system : lando
2020-03-17 20:20:46 +00:00
Mathieu Leplatre 47e09d0ba8 Bug 1620185 - Remove usage of kinto.js collection instance r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D66630

--HG--
extra : moz-landing-system : lando
2020-03-17 20:20:05 +00:00
Mathieu Leplatre 863b4989d3 Bug 1617942 - Close Remote Settings DB connections after use r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D64303

--HG--
extra : moz-landing-system : lando
2020-03-03 16:41:47 +00:00
Mathieu Leplatre 38a37caab2 Bug 1616052 - Add low-level helpers to debug and test Remote Settings r=tarek,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D63207

--HG--
extra : moz-landing-system : lando
2020-02-25 15:29:48 +00:00
Cosmin Sabou db738a9933 Backed out changeset 78353ef17d0d (bug 1616052) for causing xpc crashes @mozilla::storage::Service::Observe.
CLOSED TREE
2020-02-21 20:18:26 +02:00
Mathieu Leplatre 71425f67b1 Bug 1616052 - Add low-level helpers to debug and test Remote Settings r=tarek,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D63207

--HG--
extra : moz-landing-system : lando
2020-02-21 16:16:10 +00:00
Daniel Varga 5ef32871a5 Backed out changeset 4d1cffb02095 (bug 1616052) for causing xpcshell failures at oolkit/components/url-classifier/tests/unit/test_features.js
CLOSED TREE
2020-02-19 23:02:45 +02:00
Mathieu Leplatre 39b0b08525 Bug 1616052 - Add low-level helpers to debug and test Remote Settings r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D63207

--HG--
extra : moz-landing-system : lando
2020-02-19 17:26:07 +00:00
Mathieu Leplatre 0ef9e2ed2f Bug 1613923 - Do not synchronize if network is offline r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D62600

--HG--
extra : moz-landing-system : lando
2020-02-17 10:52:47 +00:00
Mathieu Leplatre ccf760a4f8 Bug 1612712 - Add received polling timestamp in uptake events r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D62436

--HG--
extra : moz-landing-system : lando
2020-02-11 17:10:38 +00:00
Mathieu Leplatre 4bce641544 Bug 1598562 - Prevent Remote Settings server URL to be modified in release r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54262

--HG--
extra : source : 0e4aef99fe4b85e8d9fb6d568830c638b8c4cd73
2019-12-09 12:07:46 +00:00
Mihai Alexandru Michis 8030d47ee6 Backed out changeset 0e4aef99fe4b (bug 1598562) for causing browser-chrome failures in browser_tabMatchesInAwesomebar.js CLOSED TREE 2019-12-09 15:10:30 +02:00
Mathieu Leplatre 567d3f7b05 Bug 1598562 - Prevent Remote Settings server URL to be modified in release r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54262

--HG--
extra : moz-landing-system : lando
2019-12-09 12:07:46 +00:00
Daniel Varga b6af88ada4 Backed out changeset 6e7d21f9e8ef (bug 1598562) causing bug 1600450 in 72 beta
--HG--
extra : rebase_source : eb7b34c8d7259529189837a2a51dec53263c7cef
2019-12-02 01:19:09 +02:00
Mathieu Leplatre 11ef5b562c Bug 1598562 - Prevent Remote Settings server URL to be modified in release r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54262

--HG--
extra : moz-landing-system : lando
2019-11-29 10:29:44 +00:00
Victor Porof 9d673f1f0f Bug 1561435 - Format services/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35930

--HG--
extra : source : 073567e8ded785e46382ba7e402d8da939a69d7b
2019-07-05 10:58:22 +02:00
Mathieu Leplatre b538ac9a32 Bug 1553142 - Leverage ConsoleAPI in Remote Settings r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32138

--HG--
extra : moz-landing-system : lando
2019-05-22 14:01:53 +00:00
Mathieu Leplatre 64e548abb4 Bug 1549730 - Add guardrails for Remote Settings preferences r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31043

--HG--
extra : moz-landing-system : lando
2019-05-14 20:45:03 +00:00
Mathieu Leplatre 6ac6c635da Bug 1540141 - Distinguish broadcast trigger from startup trigger in Remote Settings Uptake events r=glasserc,lina
Distinguish broadcast trigger from startup trigger in Remote Settings Uptake events

Differential Revision: https://phabricator.services.mozilla.com/D25585

--HG--
extra : moz-landing-system : lando
2019-04-10 16:55:52 +00:00
Mathieu Leplatre 5d817cbe77 Bug 1541428 - Improve invalidation of polling when adding new Remote Settings client r=glasserc
Improve invalidation of polling when adding new Remote Settings client

Differential Revision: https://phabricator.services.mozilla.com/D26690

--HG--
extra : moz-landing-system : lando
2019-04-09 17:43:47 +00:00
Mathieu Leplatre 9fc31364f2 Bug 1523313 - Monitor Remote Settings synchronization duration r=glasserc
Monitor Remote Settings synchronization duration

Differential Revision: https://phabricator.services.mozilla.com/D25402

--HG--
extra : moz-landing-system : lando
2019-04-01 20:04:25 +00:00
Ethan Glasser-Camp cf4788faef Bug 1535962: Introduce a sample rate for reporting uptake telemetry events r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D23814

--HG--
extra : moz-landing-system : lando
2019-03-20 14:30:39 +00:00
Mathieu Leplatre a041a9d9d6 Bug 1523311 - Report age of Remote Settings data in Uptake telemetry r=glasserc
Report age of Remote Settings data in Uptake telemetry

Differential Revision: https://phabricator.services.mozilla.com/D23135

--HG--
extra : moz-landing-system : lando
2019-03-12 15:13:31 +00:00
Mathieu Leplatre b6bf5b0bbc Bug 1533668 - Distinguish manual sync from sync via .get() in uptake Telemetry r=glasserc
Distinguish manual sync from sync via .get() in uptake Telemetry

Differential Revision: https://phabricator.services.mozilla.com/D22661

--HG--
extra : moz-landing-system : lando
2019-03-08 19:57:46 +00:00
Mathieu Leplatre f3d65462af Bug 1523310 - Distinguish broadcast from scheduled sync in Remote Settings r=glasserc
Distinguish broadcast from scheduled sync in Remote Settings

Differential Revision: https://phabricator.services.mozilla.com/D22339

--HG--
extra : moz-landing-system : lando
2019-03-07 14:44:52 +00:00
Mathieu Leplatre d19b2d9d78 Bug 1529584 - Distinguish Remote Settings errors when reporting uptake r=glasserc
Distinguish Remote Settings errors when reporting uptake

Differential Revision: https://phabricator.services.mozilla.com/D20836

--HG--
extra : moz-landing-system : lando
2019-02-25 20:22:16 +00:00
Mathieu Leplatre c8bbaf4887 Bug 1517469 - Enable Events Telemetry for Uptake monitory r=janerik
Enable Events Telemetry for Uptake monitoring

Differential Revision: https://phabricator.services.mozilla.com/D19496

--HG--
extra : moz-landing-system : lando
2019-02-15 09:38:18 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Mathieu Leplatre 51cdff0ef9 Bug 1471524 - Add start/end notifications on RemoteSettings.pollChanges() r=glasserc
Add start/end notifications on RemoteSettings.pollChanges()

Differential Revision: https://phabricator.services.mozilla.com/D16674

--HG--
extra : moz-landing-system : lando
2019-01-16 14:19:27 +00:00
Ethan Glasser-Camp 549ac75f78 Bug 1518292: use env instead of environment in JEXL context r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D15951

--HG--
extra : moz-landing-system : lando
2019-01-08 23:52:35 +00:00
Mathieu Leplatre 57a0b8ae80 Bug 1509066 - Sync on RemoteSettings.get() when local db is empty r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D13099

--HG--
extra : moz-landing-system : lando
2018-11-29 17:35:20 +00:00
Mathieu Leplatre b0e604c32f Bug 1469564 - Split RemoteSettings client into dedicated module r=glasserc
Take RemoteSettingsClient code out of remote-settings.js

Differential Revision: https://phabricator.services.mozilla.com/D12775

--HG--
extra : moz-landing-system : lando
2018-11-27 10:34:16 +00:00
Mathieu Leplatre 8a1e241dd1 Bug 1509003 - Document advanced Remote Settings options r=glasserc
Documents options that will be used by the Normandy client

Differential Revision: https://phabricator.services.mozilla.com/D12631

--HG--
extra : moz-landing-system : lando
2018-11-26 21:39:24 +00:00
Mathieu Leplatre 2cc780ec8e Bug 1502146 - Reduce impact of RemoteSettings synchronization on main thread r=Gijs
Move JSON dump loading and CanonicalJSON serialization to a worker to reduce impact on main thread

Differential Revision: https://phabricator.services.mozilla.com/D10064

--HG--
extra : moz-landing-system : lando
2018-11-20 14:00:06 +00:00
Andreea Pavel ec618b5047 Backed out changeset 81abb539b39c (bug 1502146) for failing services/settings/test/unit/test_remote_settings_worker.js on a CLOSED TREE 2018-11-20 02:13:24 +02:00
Mathieu Leplatre 7c4c9e8608 Bug 1502146 - Reduce impact of RemoteSettings synchronization on main tread r=Gijs
Move JSON dump loading and CanonicalJSON serialization to a worker to reduce impact on main thread

Differential Revision: https://phabricator.services.mozilla.com/D10064

--HG--
extra : moz-landing-system : lando
2018-11-19 21:56:28 +00:00
Mathieu Leplatre cb1dac2232 Bug 1493709 - Do not report error of dump load in RemoteSettings.get() r=glasserc
If the collection has no local dump, it should not report any error while trying to load the dump.

Differential Revision: https://phabricator.services.mozilla.com/D7889

--HG--
extra : moz-landing-system : lando
2018-10-11 13:53:54 +00:00
Mathieu Leplatre db4631f13b Bug 1497159 - Use Megaphone payload for cache busting r=glasserc
Pass the expected timestamp along in querystring

Differential Revision: https://phabricator.services.mozilla.com/D8002

--HG--
extra : moz-landing-system : lando
2018-10-09 14:05:01 +00:00
Mathieu Leplatre c8ed5791e4 Bug 1483948 - Upgrade vendored kinto.js to v12.0.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3610

--HG--
extra : moz-landing-system : lando
2018-09-19 10:16:41 +00:00
Mathieu Leplatre b9a29ce72d Bug 1475487 - Restartless preference change r=Gijs,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D2951

--HG--
extra : moz-landing-system : lando
2018-09-18 06:46:06 +00:00
Mathieu Leplatre ce3c80f96d Bug 1481348 - Prevent intermittent failures with fake RemoteSettings server r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3537

--HG--
extra : moz-landing-system : lando
2018-09-04 09:26:11 +00:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Mathieu Leplatre ac50fda66b Bug 1483831 - Add a localFields option r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3524

--HG--
extra : moz-landing-system : lando
2018-08-16 16:50:07 +00:00
Mathieu Leplatre 299d4c3234 Bug 1471503 - Add ability to remove event listeners r=glasserc
MozReview-Commit-ID: Jovcuz0UgCa

--HG--
extra : rebase_source : 52402e94ed89f439909d3cac2f42a2059a0c4b52
2018-07-27 18:55:37 +02:00
Mathieu Leplatre 7d0021f371 Bug 1469525 - Remove blocklist clients files from profile r=Gijs
MozReview-Commit-ID: Fm5Pegz5LcU

--HG--
extra : rebase_source : 4cf1de6b60399ab5092bf01ab4c64b255fdfb068
2018-08-06 17:34:28 +02:00
Mathieu Leplatre beee0352c1 Bug 1478336 - Reset sync status when new Remote Settings client is registered r=glasserc
MozReview-Commit-ID: 6lx90PmNRiz

--HG--
extra : rebase_source : 81dfc6ee9a0d9880f68233a17ef3280b0f8c9f32
2018-07-25 17:43:08 +02:00
Mathieu Leplatre 4300c52ada Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : f6932e5c3014ce0bb8e29e08468e4e533130273e
2018-06-14 20:54:19 +02:00
Noemi Erli d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00