Commit Graph
51 Commits
Author SHA1 Message Date
Mark Hammond 36b93a49f7 Bug 1355677 - Make all Sync network requests promise based. r=kitcambridge,rnewman,tcsc
MozReview-Commit-ID: JSwAS4Xd1uy
2017-04-11 23:40:53 +10:00
Mayank Srivastav 8eb34f29ea Bug 694162 - Add logging for sync records. r=kit 2017-02-17 23:28:22 +05:30
Mark Hammond c3ba567079 Bug 1340357 - remove all special eslint rules in services/. r=eoger
MozReview-Commit-ID: 6zMOBoWLOhJ
2017-02-17 12:34:45 +11: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 21841a0523 Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8
2017-01-10 12:09:02 -05:00
Iris Hsiao f43c6909b5 Backed out changeset 7e0a0bd74199 (bug 1330014) 2017-01-13 11:06:43 +08:00
Jared Wein 08f94f10e4 Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8
2017-01-10 12:09:02 -05:00
Kit Cambridge 5e867ab8db Bug 1322954 - Fix incorrect instanceof negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ
2016-12-12 13:50:10 -08:00
Ethan Glasser-Camp 5aa06273af Bug 1253740 - Add crypto, including tests, r=rnewman
MozReview-Commit-ID: Jq8QRoNtPwb
2016-09-08 14:21:18 -04:00
Wes Kocher f17d46cc2b Backed out 9 changesets (bug 1253740) for xpcshell failures a=backout
Backed out changeset 903890f218dd (bug 1253740)
Backed out changeset 1b13fe394b66 (bug 1253740)
Backed out changeset e1312ab53299 (bug 1253740)
Backed out changeset 5b5338a2baeb (bug 1253740)
Backed out changeset d3d89d4e2d87 (bug 1253740)
Backed out changeset 96da5e6944b8 (bug 1253740)
Backed out changeset 4fbff333994f (bug 1253740)
Backed out changeset 653788e146f2 (bug 1253740)
Backed out changeset b98fa03d8c15 (bug 1253740)
2016-11-11 18:59:24 -08:00
Ethan Glasser-Camp b9ae29eeac Bug 1253740 - Add crypto, including tests, r=rnewman
MozReview-Commit-ID: Jq8QRoNtPwb
2016-09-08 14:21:18 -04:00
Sebastian Hengst 302c7b4e64 Backed out changeset 77be2faa619f (bug 1253740) 2016-11-02 16:40:03 +01:00
Ethan Glasser-Camp de4ff5893b Bug 1253740 - Add crypto, including tests, r=rnewman
MozReview-Commit-ID: Jq8QRoNtPwb
2016-09-08 14:21:18 -04:00
Thom Chiovoloni 5c390b20f1 Bug 1294599 - Implement batched downloads of sync collections on desktop r=markh,rnewman
MozReview-Commit-ID: 6la9t1FxQhH
2016-10-06 17:52:27 -04:00
Thom Chiovoloni 047d91b5f3 Bug 1308994 - Use encodeURIComponent on sync upload batch id, and fix configuration checking r=markh
MozReview-Commit-ID: 1OqryC5oQOj
2016-10-10 14:02:13 -04:00
Thom Chiovoloni 1d44670041 Bug 1308240 - Fix missing this. in Sync's Collection's getters. r=markh
MozReview-Commit-ID: BsYFmkCMYU5
2016-10-06 11:54:59 -04:00
Thom Chiovoloni 5397cd91a0 Bug 1253051 - Implement atomic uploads for sync collection data r=rnewman
MozReview-Commit-ID: Hm9NbnC2Vk8
2016-08-24 16:02:14 -04:00
Sumit Tiwari 9f86c8a1b3 Bug 1292995 - Replace Iterator() with Object.{values,entries} in services/; r=gps
MozReview-Commit-ID: 3VEOjAJROld
2016-08-08 22:40:23 -04:00
Hector Zhao 7b44a90045 Bug 1242975 - Make services/sync eslintable. r=markh 2016-01-26 23:13:31 +08:00
Mark Hammond 2294e8b2aa Bug 569295 - limit the number of bytes we attempt to upload to the storage servers. r=rnewman 2016-01-21 12:30:25 +11:00
Anup Kumar bc2c6c55a6 Bug 1003204: Removed CommonUtils.exceptionStr() in services/sync r=markh r=gfritzsche 2016-01-07 07:09:00 +01:00
Tooru Fujisawa 9a024d5715 Bug 1217077 - Remove for-each from services/. r=gps 2015-10-19 03:52:58 +09:00
Carsten "Tomcat" Book 036e6d2fa3 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 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa 22facfff20 Bug 1207496 - Part 4: Remove use of expression closure from services/sync/. r=gps 2015-09-23 18:40:53 +09:00
Mark Hammond 34776515a3 Bug 1195603 - prevent Sync from blocking app shutdown. r=rnewman 2015-08-31 11:57:25 +10:00
Mark Hammond 716c050560 Bug 1017433 (part 1) - Have the sync RecordManager return CryptoWrappers. r=rnewman 2014-12-10 13:02:24 +11:00
Blair McBride 04d5b1fd1e Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop 2013-08-26 11:55:58 -07:00
Kyle Huey 76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Gregory Szorc cba1324023 Bug 787273 - Part 5: Remove the CollectionKeys singleton; r=rnewman
CollectionKeys is gone. Instead, we export CollectionKeyManager (the
underlying type) and an instance is available on the Service singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc 4dae7b62b4 Bug 787273 - Part 2: Refactor Resource and Record to not rely on singletons; r=rnewman
Resource currently relies on the Identity singleton to perform
authentication. This is bad magic behavior. Resource instances should
authenticate according to the service instance they are associated with.

This patch removes Identity magic from Resource. Everything using
Resource now explicitly assigns an authenticator which comes from
the service instance/singleton. This required API changes to Collection
and Record.

The preferred method to obtain a Resource instance is to call
getResource() on a service instance.

The end result of this patch looks a little weird, especially in test
code. You have things like Service.resource(Service.cryptoKeysURL).
This ugliness will go away when a unified storage service client is
used.
2012-09-14 16:02:32 -07:00
Gregory Szorc 3246102ee9 Bug 787273 - Part 1: Remove Records singleton; r=rnewman
RecordManager is now an instance of the Service singleton and holds a
reference back to the service which is used to obtain needed "global"
state.
2012-09-14 16:02:32 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc 5eb157b9e5 Bug 731494 - Refactor generic code from services/sync into services/common; r=rnewman 2012-04-05 23:26:06 -07:00
Pallani Kumaran a97eb2363e Bug 701967 - Misc code cleanup in Sync's util.js; r=gps
This is a re-land of eb4233025be0. References to defunct tests have been
removed.
2012-03-13 02:12:47 +08:00
Gregory Szorc 246a543a7b Bug 730989 - Refactor identity and authentication in Sync; r=rnewman 2012-03-22 15:49:50 -07:00
Gregory Szorc 4da6c1b458 Backed out changeset eb4233025be0 for xpcshell test failures 2012-03-22 15:49:39 -07:00
Pallani Kumaran a3a0127ef7 Bug 701967 - Misc code cleanup in Sync's util.js; r=gps 2012-03-13 02:12:47 +08:00
Gregory Szorc 18ae8b2435 Bug 709325 - Log records without newlines; r=rnewman 2011-12-13 14:54:17 -08:00
Philipp von Weitershausen 229e2fb292 Bug 661587 - Don't use the root logger. r=rnewman 2011-06-13 20:42:18 +02:00
Philipp von Weitershausen b9e5cfec8c Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman 2011-05-19 18:08:35 -07:00
Richard Newman 042fa691d9 Bug 650208: part 4: upload keys then download them. r=philiKON 2011-04-19 12:35:04 -07:00
Richard Newman 72dd435b94 Bug 650208: part 3: whitespace. r=philiKON 2011-04-19 12:33:47 -07:00
Richard Newman 5ce1bd8636 Bug 650208: part 1: improve printing of record ID mismatches. r=philiKON 2011-04-18 13:25:19 -07:00
Philipp von Weitershausen 7ed8ac1b89 Bug 636677 - Don't create a new nsICryptoHMAC object for each HMAC verification. r=rnewman a=blocking-fennec 2011-03-01 14:29:41 -08:00