Commit Graph
62 Commits
Author SHA1 Message Date
Thom Chiovoloni e85d046fcb Bug 1400467 - Make WeaveCrypto use promises instead of spinning event loops r=eoger,markh
MozReview-Commit-ID: 64dewKKaAOJ
2017-09-15 19:21:31 -07:00
Thom Chiovoloni e18991902c Bug 1401686 - Handle cases where max_post_bytes is less than max_record_payload_bytes. r=kitcambridge
MozReview-Commit-ID: AAiF2rD075A
2017-09-20 16:18:20 -04:00
Thom Chiovoloni 1c514ba37f Bug 1393659 - Fix inconsistent handling of max_post_bytes and max_request_bytes r=markh
MozReview-Commit-ID: 4jwpAYNuoQj
2017-09-13 18:02:41 -07:00
Nicolas Ouellet-Payeur 37bddf0395 Bug 1392148 - Remove aliases to CommonUtils in util.js r=markh
MozReview-Commit-ID: 1fv6AN0TMNW
2017-08-24 22:41:44 -07:00
Nicolas Ouellet-Payeur 4e15124c49 Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
MozReview-Commit-ID: KquBcbNhBEN
2017-07-22 18:55:43 -07:00
Thom Chiovoloni d63468d6af Bug 1380094 - services/sync changes to support formautofill r=markh
MozReview-Commit-ID: BdsrrFOU5ec
2017-07-11 15:15:37 -04:00
Edouard Oger 71647a4642 Bug 1210296 part 1 - Remove most event loop spinning from Sync. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 9RpgSgXykWt
2017-06-05 18:50:07 -04:00
Edouard Oger adab560751 Bug 1370985 - Change getBatched() to return records directly instead of using a callback. r=markh,tcsc
MozReview-Commit-ID: HfwPe8jSH66
2017-05-30 13:23:57 -04:00
Edouard Oger a3685b106c Bug 1368560 part 2 - Move Svc.Crypto to Weave.Crypto. r=markh
MozReview-Commit-ID: 74IFsVjZSgz
2017-05-29 13:24:01 -04:00
Sebastian Hengst cfad20caac Backed out changeset c2d00a8b897b (bug 1368560) 2017-05-31 22:52:14 +02:00
Edouard Oger 2610946399 Bug 1368560 part 2 - Move Svc.Crypto to Weave.Crypto. r=markh
MozReview-Commit-ID: 74IFsVjZSgz
2017-05-29 13:24:01 -04:00
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