Commit Graph

278 Commits

Author SHA1 Message Date
Mark Goodwin
f386fadbc0 Bug 1263602 - Verify kinto collection signatures using the content signature service. r=MattN, r=leplatrem
MozReview-Commit-ID: J6fuSDaW1JR
2016-06-02 09:01:26 +01:00
Mathieu Leplatre
695a9942a4 Bug 1266235 - Use blocklist prefix in preference names. r=MattN
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : rebase_source : ff4e77c88de58923afe75be2046dcdb98e40ad2f
2016-05-19 12:51:13 +02: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
Thom Chiovoloni
45855b9236 Bug 1263280 - Dump a list of addons currently installed when writing the sync error log r=markh
MozReview-Commit-ID: KudJLUYWv1N

--HG--
extra : transplant_source : %98%7F%C9%B6l%0C%84%B0%8B%ACH%23%CC%FF%E6%04A%02-%8C
2016-05-06 14:35:40 -04: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
34370ce5a8 Bug 1266235 - Use blocklist prefix in preference names. r=Mattn
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : amend_source : bb232bb34c7a25abffac36531d5ab4d8e9c6c7af
extra : transplant_source : K%1A1d%EEc%8FY%030NRb%AFD%00.%40U8
2016-04-29 12:48:45 +02: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
ffa05b0781 Bug 1268907 - Fix kinto-offline packaging about Buffer. r=mgoodwin, r=MattN
MozReview-Commit-ID: 9vHN2COufQi

--HG--
extra : rebase_source : 7547c221f748720b6cb314c023c25af855208787
2016-05-02 12:45:50 +02:00
Johann Hofmann
a9c1b37d97 Bug 1264914: Make services.kinto.clock_skew_seconds non-absolute. r=mgoodwin,MattN
MozReview-Commit-ID: K7LSRjB3wlU

--HG--
extra : rebase_source : 0f3ffed50a7ca2f6dedd76c0a4e8fbef3a858cc3
2016-04-20 16:37:43 +02:00
Mathieu Leplatre
93af383736 Bug 1257556 - Generalize Kinto blocklist client to addons/plugins/gfx. r=MattN
MozReview-Commit-ID: DkiNF78QTId

--HG--
extra : transplant_source : %90K%5D%89%3AZW%CC%97%FE%BF%D9%CD%A5%F8%18%08%85%B02
2016-04-18 11:38:25 +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
d5be51a41a Bug 1257533 - Optimize and add safety checks in Kinto updater. r=mgoodwin,MattN
- Skip changes from other bucket
- Leverage ETag to limit bandwidth
- Use setting for collection name
- Add safety check when server is failing. This also fixes Bug 1259145.

MozReview-Commit-ID: 5YSVCrZirzQ

--HG--
extra : rebase_source : b07d0ea491875fd0dffc1bc3f918c8c668738aae
2016-04-15 16:50:51 +02:00
Thom Chiovoloni
6625026d42 Bug 655722 - Rewrite _buildGUIDMap in the sync bookmark engine to use PlacesUtils.promiseBookmarksTree. r=mak
MozReview-Commit-ID: BfcVQEldK6M

--HG--
extra : transplant_source : %21%E4%10%19n%F3%86m%A5%C8%28u%E7q%8E%F8KX/%D4
2016-04-05 16:42:10 -07: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
Tooru Fujisawa
50608d5d55 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09: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 Hammond
306ad15e8f Bug 1251057 - enable debug logging for rest.js requests and responses. r=adw 2016-03-10 17:20:29 +11:00
Mark Hammond
0f691c4a60 Bug 1243594 (part 3) - leave the utf-8 encoding of the payload to rest.js instead of directly in loop. r=Standard8 2016-02-26 15:46:30 +11:00
Mark Hammond
bed56e0809 Bug 1243594 (part 2) - have rest.js automatically encode the request body as utf-8. r=gfritzsche 2016-02-26 15:46:30 +11:00
Carsten "Tomcat" Book
bbe3d019dc merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01: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
Mark Banner
cd2ee45865 Bug 1246938 - Allow extra headers to be passed via hawk requests. r=markh
--HG--
extra : commitid : 3QxWpv2vbXh
2016-02-10 11:21:26 +00:00
Mark Goodwin
a96f295645 Bug 1244776 - Update moz-kinto-client.js to include recent Kinto.js changes r=rnewman
Please see the Kinto.js PR for the storage adapter changes:
https://github.com/Kinto/kinto.js/pull/303

Additions and changes to the Firefox storage adapter tests have been made
accordingly.
2016-02-01 16:11:48 +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
Christoph Kerschbaumer
150e86404a Bug 1230221 - Convert JS callsites to use asyncOpen2 within services/ (r=sicking) 2016-01-15 11:39:12 -08:00
Mark Hammond
ad3ae4193a Bug 1236383 (part 1) - remove and rework some Sync/FxA telemetry probes. r=gfritzsche/kitcambridge 2016-01-12 12:21:27 +11:00
Anup Kumar
64a1cfc0a0 Bug 1234734 - Replace CommonUtils.stackTrace() with Log.stackTrace(). r=markh
--HG--
rename : services/common/tests/unit/test_utils_stackTrace.js => toolkit/modules/tests/xpcshell/test_Log_stackTrace.js
2016-01-07 20:44:00 -05:00
Anup Kumar
c14571be80 Bug 1003204: Removed test_utils_exceptionStr.js and its entry in xpcshell.ini r=gfritzsche 2015-12-16 09:46:00 +01:00
Anup Kumar
8ae68951a8 Bug 1003204: Removed CommonUtils.exceptionStr() in services/common/ r=gfritzsche 2015-12-16 09:43:00 +01:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Rémy Hubscher
3adda86da3 Bug 1227877 — loadDump support for Firefox Storage adapter. (r=rnewman) 2015-12-14 11:01:40 +00:00
Wes Kocher
d2615415f5 Backed out 4 changesets (bug 1230221, bug 1230220, bug 1229890) for m-e10s(2) permafails in test_window_open_close.html CLOSED TREE
Backed out changeset a1cd28ddbfa2 (bug 1230221)
Backed out changeset 7e89f5020ac7 (bug 1230220)
Backed out changeset 91f6e72fa9f4 (bug 1229890)
Backed out changeset 7e717a810420 (bug 1229890)

--HG--
extra : commitid : BinvCloSNFx
extra : amend_source : 94dfb9ebf66c6e73b1b407e93d8475724d2ae7a2
2015-12-04 15:58:40 -08:00
Christoph Kerschbaumer
28da77fee9 Bug 1230221 - Convert JS callsites to use asyncOpen2 within services/ (r=sicking) 2015-12-04 09:40:11 -08:00
Tooru Fujisawa
17d87da8ac Bug 1217077 - Remove for-each from services/. r=gps
--HG--
extra : commitid : Fyer74kcwGc
2015-10-19 03:52:58 +09:00
Mark Goodwin
5d07d0d9b5 Bug 1216749 - Additional kinto client tests (r=rnewman) 2015-10-30 09:02:01 +00: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
Mark Hammond
f8d9dac2f5 Bug 1214076 - allow TokenServerClient errors to be JSON.stringify'd. r=rnewman 2015-10-15 08:57:31 +11:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
95e75e96f8 Bug 1207496 - Part 1: Remove use of expression closure from services/common/. r=gps
--HG--
extra : commitid : EeWW6zhKp9t
extra : rebase_source : b23def2c39cad03dd5e4b3a3b440e43d3b343b7a
2015-09-23 18:40:52 +09:00
Mark Hammond
e348d6bbbb Bug 1205111 - return a transient error on 401 fetching info/collections using FxA. r=rnewman 2015-09-28 17:21:42 +10:00
Kit Cambridge
053d626c80 Bug 1124428 - Add telemetry probes for FxA-related authentication issues. r=markh,vladan
--HG--
extra : commitid : AgENo3CiQTo
extra : rebase_source : 502d7dd6ac9e0931119df9ee26ab5c10fe7aa037
2015-09-15 18:18:04 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00