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

52 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 73d5a12400 Bug 1572621 - Merge services-common.js into all.js. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D41322

--HG--
extra : moz-landing-system : lando
2019-08-09 09:18:27 +00:00
Mathieu Leplatre a102f01554 Bug 1543598 - Move OneCRL and Pinning blocklist clients out of services r=jcj,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32297

--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => security/manager/ssl/tests/unit/test_blocklist_onecrl.js
rename : services/common/tests/unit/test_blocklist_pinning.js => security/manager/ssl/tests/unit/test_blocklist_pinning.js
extra : moz-landing-system : lando
2019-06-11 10:14:40 +00:00
Mathieu Leplatre d3baae5bb1 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 1940db50b675c935ff3a01b4e6ec99b0fc98df00
2018-05-24 15:32:40 +02:00
Csoregi Natalia 0301ddcd57 Backed out changeset 750295aad764 (bug 1463750) for xpcshell failures on Android on security/manager/ssl/tests/unit/test_cert_blocklist.js. CLOSED TREE
--HG--
rename : services/settings/remote-settings.js => services/common/remote-settings.js
rename : services/settings/test/unit/test_remote_settings.js => services/common/tests/unit/test_remote_settings.js
rename : services/settings/test/unit/test_remote_settings_jexl_filters.js => services/common/tests/unit/test_remote_settings_jexl_filters.js
rename : services/settings/test/unit/test_remote_settings_poll.js => services/common/tests/unit/test_remote_settings_poll.js
2018-06-02 04:15:12 +03:00
Mathieu Leplatre 5d67782ca2 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 19384aaa4f1598bccdb856d164a96b66d36d1a39
2018-05-24 15:32:40 +02:00
Coroiu Cristina 02de96494b Backed out changeset b9bf5db54805 (bug 1463750) for ESlint failure at test_remote_settings.js on a CLOSED TREE
--HG--
rename : services/settings/remote-settings.js => services/common/remote-settings.js
rename : services/settings/test/unit/test_remote_settings.js => services/common/tests/unit/test_remote_settings.js
rename : services/settings/test/unit/test_remote_settings_jexl_filters.js => services/common/tests/unit/test_remote_settings_jexl_filters.js
rename : services/settings/test/unit/test_remote_settings_poll.js => services/common/tests/unit/test_remote_settings_poll.js
2018-05-31 04:48:38 +03:00
Mathieu Leplatre af1ced8604 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 67b2fdbf7b4230ba9e9858ea7a0409a6f4d5ec75
2018-05-24 15:32:40 +02:00
Mathieu Leplatre 2dc7664a19 Bug 1450998 - Improve API and docs for Remote Settings r=mgoodwin
MozReview-Commit-ID: EszfBy3xNP9

--HG--
extra : rebase_source : c7027e100d1c47ebb4e3b81e0c74fce30240cb42
2018-03-29 14:38:16 -07:00
Mathieu Leplatre 76bc359e79 Bug 1397230 - Generalize blocklist clients to remote settings clients r=mgoodwin
MozReview-Commit-ID: 9VAsTFCuZUf

--HG--
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_remote_settings_poll.js
extra : rebase_source : 9da338f18f3860e124b315a8be3340997343e2f3
2018-03-13 16:23:57 +01:00
Edouard Oger 54088f8c9e Bug 1422115 - Remove storageserver.js from services/. r=markh,tcsc
MozReview-Commit-ID: 4UGCq6SolY1

--HG--
extra : rebase_source : 49e8a5d072d1cb15d0942e7fbc39c7a2c8c08c6f
2017-11-30 15:11:19 -05:00
Kit Cambridge 95856672f4 Bug 1400394 - Remove `TestingUtils.deepCopy`. r=markh
MozReview-Commit-ID: 3ZZpA3inWSF

--HG--
extra : rebase_source : 506d1bb5bba484e65bcd5abed196c3ecc751fb1b
2017-09-15 13:46:21 -07:00
Mathieu Leplatre 7d9c066f35 Bug 1254099 - Add Telemetry to settings update r=bsmedberg,glasserc,mgoodwin,rhelmer
MozReview-Commit-ID: 8vAuTImx7IH

--HG--
extra : rebase_source : 15995e30bd1fdb697eb2374a0c28c68e0828e1e6
2017-03-22 11:27:17 +01:00
Joel Maher 5708b8f058 Bug 1345556 - add BUG_COMPONENT to services/* files. r=rfkelly, kit
MozReview-Commit-ID: 3QzgxUDL5xa
2017-03-09 05:33:31 -05:00
Zibi Braniecki 100766fec4 Bug 1335877 - Remove resource://services-common/stringbundle.js from gecko. r=gandalf
MozReview-Commit-ID: FNoj7XH71E4

--HG--
extra : rebase_source : 294d3e425ca60e2aac6149998da7f39f62864ae5
2017-03-06 09:39:52 -08:00
Carsten "Tomcat" Book 1bc7720a43 Backed out changeset 0bd17b868a31 (bug 1335877) for causing regression bug 1344760 2017-03-06 17:03:11 +01:00
Zibi Braniecki 4b7b3d4092 Bug 1335877 - Remove resource://services-common/stringbundle.js. r=rnewman
MozReview-Commit-ID: M7V6JS5myy

--HG--
extra : rebase_source : a47d739d3dd67ce563088aaf9fab5421de376cd7
2017-03-02 15:26:53 -08:00
Ethan Glasser-Camp 4742db4baa Bug 1317841 - Update version of kinto.js to v6.0.0, r=MattN
This major version of kinto.js released without a FirefoxStorage
adapter. Since Gecko is the only project with a need for this adapter
as well as the only one who can use it, that file moves to this repo
as a new kinto-storage-adapter.js. This file is mostly a copy of the
most recent FirefoxStorage.js, plus some other non-exported utility
functions copied from kinto.js to make it work.

This changes the export of the kinto-offline-client.js from a
`loadKinto` function which returns the Kinto class, to the actual
Kinto class itself, with the user expected to "hook up" the
adapter. It turns out that this doesn't change much in how we actually
use Kinto, since we were always previously explicitly selecting the
Kinto adapter.

This release of kinto.js also changes some of the build options
around, which changes the minified output of kinto-offline-client.js.

There are still some outstanding stylistic complaints about
FirefoxAdapter having to do with its _init static method which is
public and the fact that sometimes FirefoxAdapter manages its own
Sqlite connection and sometimes it doesn't. These will be addressed in
a future patch.

MozReview-Commit-ID: HF0oNCEDcFs

--HG--
rename : services/common/kinto-offline-client.js => services/common/kinto-storage-adapter.js
extra : rebase_source : 11d01e573b259798305494ac072575247ac01e2c
2016-11-15 19:38:53 -05:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Mathieu Leplatre fe3e7d0c4d Bug 1266235 - Rename KintoBlocklist to blocklist-clients. r=mgoodwin
MozReview-Commit-ID: Eus7sHqN6GW

--HG--
rename : services/common/KintoBlocklist.js => services/common/blocklist-clients.js
rename : services/common/tests/unit/test_kintoCertBlocklist.js => services/common/tests/unit/test_blocklist_certificates.js
rename : services/common/tests/unit/test_kintoAddonPluginBlocklist.js => services/common/tests/unit/test_blocklist_clients.js
extra : rebase_source : 4543b62309fd35139087090e1aa2445601d58eaf
2016-04-28 13:24:21 +02:00
Mathieu Leplatre 397e35b6c1 Bug 1266235 - Rename kinto-updater to blocklist-updater. r=mgoodwin
MozReview-Commit-ID: 8bDKbxbIus3

--HG--
rename : services/common/kinto-updater.js => services/common/blocklist-updater.js
rename : services/common/tests/unit/test_kinto_updater.js => services/common/tests/unit/test_blocklist_updater.js
extra : rebase_source : 4d03542a741cdd38bc048f54fea6a752e8114f40
2016-04-21 17:22:01 +02:00
Wes Kocher 26012d19b7 Backed out 4 changesets (bug 1266235) for test_ev_certs.js failures on pretty much every platform CLOSED TREE
Backed out changeset f684fac95bd9 (bug 1266235)
Backed out changeset f560cba61749 (bug 1266235)
Backed out changeset 5f321f10da1e (bug 1266235)
Backed out changeset 93deaa5641bc (bug 1266235)

--HG--
rename : services/common/blocklist-clients.js => services/common/KintoBlocklist.js
rename : services/common/blocklist-updater.js => services/common/kinto-updater.js
rename : services/common/tests/unit/test_blocklist_clients.js => services/common/tests/unit/test_kintoAddonPluginBlocklist.js
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_kintoCertBlocklist.js
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_kinto_updater.js
2016-05-10 13:46:28 -07:00
Mathieu Leplatre 8c2fad2d33 Bug 1266235 - Rename KintoBlocklist to blocklist-clients,r=mgoodwin
MozReview-Commit-ID: Eus7sHqN6GW

--HG--
rename : services/common/KintoBlocklist.js => services/common/blocklist-clients.js
rename : services/common/tests/unit/test_kintoCertBlocklist.js => services/common/tests/unit/test_blocklist_certificates.js
rename : services/common/tests/unit/test_kintoAddonPluginBlocklist.js => services/common/tests/unit/test_blocklist_clients.js
extra : transplant_source : %2B%5E%DA%B5%96%FB%8E%40%96%C0S%CDU%C3%F4w%80%20%9B%A1
2016-04-28 13:24:21 +02:00
Mathieu Leplatre 012488413a Bug 1266235 - Rename kinto-updater to blocklist-updater,r=mgoodwin
MozReview-Commit-ID: 8bDKbxbIus3

--HG--
rename : services/common/kinto-updater.js => services/common/blocklist-updater.js
rename : services/common/tests/unit/test_kinto_updater.js => services/common/tests/unit/test_blocklist_updater.js
extra : transplant_source : %95%FD%CDf%12%84%F5%AA8%8C%E4CQ%DB%40P%91%EC%C2%B4
2016-04-21 17:22:01 +02:00
Mathieu Leplatre d2b5a1e1ce Bug 1257556 - Rename KintoBlocklist client. r=MattN
MozReview-Commit-ID: 9qlb0fBxeGn

--HG--
rename : services/common/KintoCertificateBlocklist.js => services/common/KintoBlocklist.js
extra : transplant_source : %EE%C5%95w%D1Rj%7E%AB%B24s%97%BB%91%5E%EE%82%AC%19
2016-04-05 12:11:53 +02:00
Mathieu Leplatre ca88fcd131 Bug 1262389 - Update to kinto.js 2.0. r=mgoodwin,MattN
* Land kinto.js 2.0, with transactions, indexeddb optimizations and incoming-changes hooks for content signing
* Renamed moz-kinto-client.js to kinto-offline-client.js
* Introduced kinto-http-client.js for direct interaction with Kinto HTTP API

MozReview-Commit-ID: 2rOW27cB7wt

--HG--
rename : services/common/moz-kinto-client.js => services/common/kinto-offline-client.js
extra : amend_source : d1fe9291dbec41bae1b4521ab7e64ae4def6f403
2016-04-14 16:07:31 -07:00
Nick Alexander e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Mark Goodwin 985802557a Bug 1224531 - Provide a mechanism for the updater to drive kinto collection sync r=rnewman,mossop
There are two parts to this change. The first is a module to drive kinto
collection sync. This gives server-provided last-update times to each module
managing collection information so that data is only fetched when updates are
necessary. This also keeps track of when pings last took place (for future use)
and any apparent difference between client and server clock (we need this later
for the content signing work).

Currently only one module (the kinto version of the OneCRL client) consumes this
information, though more will follow.

The second is a minor change to nsBlocklistService.js to ensure that this ping
takes place whenever the existing blocklist ping happens.

MozReview-Commit-ID: 7SN03AOJ4Wc
2016-03-15 08:55:23 +00:00
Mark Goodwin 266741693f Bug 1227956 - Implement Kinto.js OneCRL client r=rnewman
--HG--
extra : rebase_source : 7f2d174df2b1e9971ddf8f9ed211b5b0e7ec2b39
2016-02-09 18:51:08 +00:00
Hector Zhao 0067cc1e04 Bug 1242965 - Make services/common eslintable. r=rnewman 2016-01-28 15:42:16 +08:00
brendan 5a94abc3f4 Bug 1237983 - Investigate and remove the Bagheera Client Implementation. r=gfritzsche 2016-01-24 22:33:52 -05:00
Carsten "Tomcat" Book 0ce9718a21 Backed out changeset 1686b901daa4 (bug 1237983) for bustage 2016-01-28 09:36:00 +01:00
brendan 9aceac8c13 Bug 1237983 - Investigate and remove the Bagheera Client Implementation. r=gfritzsche 2016-01-24 22:33:52 -05:00
Mark Goodwin 199296f744 Bug 1216749 - Land the Firefox Kinto.js client (r=rnewman)
Kinto.js lives here: https://github.com/Kinto/kinto.js - there is a set of files
(currently in a branch) that allow creation of the jsm included in this patch.

The branch is here: https://github.com/Kinto/kinto.js/tree/212-firefox-entry-point

To create the jsm, run 'npm run dist-fx' in the kinto.js dir
2015-10-30 09:01:58 +00:00
Nick Alexander d9cf646bc2 Bug 1195388 - Pre: Include services-* resource:// registrations in b2gdroid. r=fabrice
--HG--
extra : commitid : 7EAmRzwzO51
extra : rebase_source : 25fb2dbf28818ece7b86f0b0e144cdde26ce835e
2015-08-25 11:28:41 -07:00
Richard Newman cd74b28c30 Bug 1148990 - Don't ship bagheeraclient.js or tokenserverclient.js on Android. r=gps
Neither of these clients are used on Android, and the Bagheera client isn't
used anywhere unless Firefox Health Report is enabled.

This patch conditionalizes their inclusion in services-common, makes the tests
aware, and also tests that they are _not_ present on Android.

Note that some unused test helpers are also omitted.
2015-03-30 15:02:51 -07:00
Richard Newman 7437753aa4 Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Wes Kocher 63f81ffac1 Backed out changeset 9d80f8548ac9 (bug 1148933) for b2g xpcshell bustage CLOSED TREE
--HG--
extra : amend_source : 7df4682dceccd5e785a8b45d50761e87713c7fe9
2015-03-30 18:00:10 -07:00
Wes Kocher def703fa5e Backed out changeset b5e71f873231 (bug 1148990) 2015-03-30 18:00:09 -07:00
Richard Newman 067db356ca Bug 1148990 - Don't ship bagheeraclient.js or tokenserverclient.js on Android. r=gps
Neither of these clients are used on Android, and the Bagheera client isn't
used anywhere unless Firefox Health Report is enabled.

This patch conditionalizes their inclusion in services-common, makes the tests
aware, and also tests that they are _not_ present on Android.

Note that some unused test helpers are also omitted.
2015-03-30 15:02:51 -07:00
Richard Newman 884ee4f1ee Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Gregory Szorc eaf5064744 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.

--HG--
extra : rebase_source : 9e670da52247a8feb149e6419e8b488e84f93333
2015-02-26 11:43:45 -08:00
Mark Hammond 27f4146bba Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-17 22:06:00 +01:00
Carsten "Tomcat" Book f0c43be7a0 Backed out changeset cd1f981b5e58 (bug 1131410) for XPC Bustage 2015-02-25 10:41:23 +01:00
Mark Hammond fbda17121a Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-25 18:54:59 +11:00
Brian O'Keefe 1fa0eaa700 Bug 870366 - Part 2: Move PREF_JS_EXPORTS to moz.build (easy moves). r=gps 2015-01-20 13:07:03 -05:00
Nathan Froyd cd91df4210 Bug 1054476 - move INSTALL_TARGETS in services/ Makefiles to EXTRA_{PP_,}JS_MODULES; r=gps 2014-07-28 15:24:01 -04:00
Gregory Szorc 25170257c3 Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Joey Armstrong 56ab717da3 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00