Commit Graph
44 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
Kit Cambridge 1611629953 Bug 1380835 - Don't check queries with excludeQueries for cycles in the bookmark validator. r=tcsc
MozReview-Commit-ID: DsPzrCxWWMG
2017-07-13 19:52:57 -07:00
Kit Cambridge 6b790cb2fb Bug 1377183 - Manually follow folder queries when validating bookmarks. r=tcsc
MozReview-Commit-ID: K3nl5GcilMz
2017-07-05 17:00:50 -07: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
Mark Banner 4826d21014 Bug 1119282 - Fix the sync bookmark validator cycle detection to correctly get folder contents. r=kitcambridge
MozReview-Commit-ID: BjRD5wKbAoy
2017-06-29 10:49:10 -07:00
Jeongkyu Kim 71449822c2 Bug 1348727 - Write validation summary information to the sync logs r=tcsc
MozReview-Commit-ID: GRf0DeDhFqP
2017-06-24 02:08:43 +09: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
Dan Banner 45d18f9c23 Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO
2017-04-27 17:24:18 +01:00
Carsten "Tomcat" Book ecacd40794 Backed out changeset e6177d883f37 (bug 1359540) for eslint failures 2017-05-02 09:25:45 +02:00
Dan Banner f14e5856b4 Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO
2017-04-27 17:24:18 +01: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
tiago 23ec6d160f Bug 986501 - Avoid unnecessary compartments on Sync startup r=markh
MozReview-Commit-ID: 8Rr3JD4dfVy
2017-04-13 20:36:08 -03:00
Thom Chiovoloni 8b4f27681d Bug 1345754 - Skip sync bookmark repair and validation if we have pending changes r=markh
MozReview-Commit-ID: ClQRXGZGV9p
2017-03-14 14:26:20 -04:00
Mark Hammond 03d0d95e10 Bug 1317223 (part 2) - add 'doctor' concept and move bookmark validation logic to it. r=tcsc
This patch defines the concept of a "doctor" for collections. The doctor is
responsible for running all validators and deciding whether or not to initiate
a repair request based on the validation results.

MozReview-Commit-ID: 6NLRE6L0OpA
2017-03-02 17:14:31 +11:00
Carsten "Tomcat" Book 935bc0f59c Backed out changeset 705939ae18f0 (bug 1317223) 2017-03-02 13:08:46 +01:00
Mark Hammond aec00016a7 Bug 1317223 (part 2) - add 'doctor' concept and move bookmark validation logic to it. r=tcsc
This patch defines the concept of a "doctor" for collections. The doctor is
responsible for running all validators and deciding whether or not to initiate
a repair request based on the validation results.

MozReview-Commit-ID: 6NLRE6L0OpA
2017-03-02 17:14:31 +11:00
Thom Chiovoloni ca056f75a4 Bug 1336186 - Check separator position in sync bookmark validator. r=markh
This reverts bug 1276152.

MozReview-Commit-ID: Cdv4XPYl4cp
2017-02-15 16:30:59 -05:00
Kit Cambridge 7e41747cd6 Bug 1338668 - Ignore tag query folder IDs when comparing client and server bookmark records. r=tcsc
MozReview-Commit-ID: 2Mz9fTsTou5
2017-02-10 15:03:34 -08:00
Kit Cambridge 49005708a9 Bug 1323867 - Bump bookmark validation threshold to 1k. r=tcsc
This patch also refactors `compareServerWithClient` and
`inspectServerRecords` to periodically yield back to the main thread,
since validating a large number of bookmarks in a tight loop causes
jank. Yielding every 50 records for 50ms is somewhat arbitrary, but
keeps things snappy for my profile (2947 records).

MozReview-Commit-ID: 99DJtNvNeHI
2017-01-12 14:02:45 -07:00
Jared Wein eb65d6defb Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb
2017-01-12 18:02:08 -05:00
Wes Kocher 5085ed7589 Backed out 14 changesets (bug 1330791) for various android failures a=backout
Backed out changeset eada8de7256f (bug 1330791)
Backed out changeset a3c656a9f3ca (bug 1330791)
Backed out changeset e0cbc754e841 (bug 1330791)
Backed out changeset 49d8016fab12 (bug 1330791)
Backed out changeset 53d4b83ccd22 (bug 1330791)
Backed out changeset b35cbfcd801f (bug 1330791)
Backed out changeset 25a6356de622 (bug 1330791)
Backed out changeset 46f9c247550d (bug 1330791)
Backed out changeset ef7356099bd3 (bug 1330791)
Backed out changeset a5fe483288db (bug 1330791)
Backed out changeset 4902107b7568 (bug 1330791)
Backed out changeset 5b2b2be2e389 (bug 1330791)
Backed out changeset 610ec89e98bb (bug 1330791)
Backed out changeset 631adda26a21 (bug 1330791)

MozReview-Commit-ID: GGUFW29U3TL
2017-01-17 17:06:36 -08:00
Jared Wein 46ffd0bb84 Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb
2017-01-12 18:02:08 -05: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
Thom Chiovoloni 2e5438f487 Bug 1311782 - Make the sync bookmark validator ignore the title for bookmark roots r=markh
MozReview-Commit-ID: Ji1Sar0ld7j
2016-11-08 12:13:37 -05:00
Thom Chiovoloni f5a2c79418 Bug 1309774 - Part 2. Add version number to validation data in sync ping. r=markh
MozReview-Commit-ID: FlDSEsT1ah9
2016-10-20 15:20:07 -04:00
Thom Chiovoloni c279a7f8ec Bug 1309774 - Part 1. Sync bookmark validator should only expect to see children of roots on server. r=markh
MozReview-Commit-ID: EEoDmsnBraA
2016-10-20 15:17:33 -04:00
Kit Cambridge 1958c8a7ec Bug 1312494 - Fix up queries that point to the wrong folder in _ensureMobileQuery. r=tcsc
This patch also reports validation errors for left pane queries on the
server, and removes incorrect mobile query migration code.

MozReview-Commit-ID: FT7kAZJapqE
2016-10-24 12:06:00 -07: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 c4c398d452 Bug 1308841 - Sanity check client-side bookmark roots in sync validator r=markh
MozReview-Commit-ID: 6Y5qfCtVYWf
2016-10-11 12:54:01 -04:00
Wes Kocher 3e9ffbf434 Backed out changeset 62f88acbfd5a (bug 1308841) for xpcshell failures a=backout 2016-10-12 11:15:13 -07:00
Thom Chiovoloni 3d4f267b11 Bug 1308841 - Sanity check client-side bookmark roots in sync validator r=markh
MozReview-Commit-ID: 6Y5qfCtVYWf
2016-10-11 12:54:01 -04:00
Kit Cambridge debba2966b Bug 1295521 - Remove BookmarkSpecialIds from Sync. r=markh,tcsc
MozReview-Commit-ID: IUVOu0jFXRv
2016-09-16 14:08:10 -07:00
Mark Hammond f2fb36aca3 Bug 1276969 - Remove parentName checks from the bookmark validator. r=tcsc
MozReview-Commit-ID: KnF1wiluMBm
2016-09-22 17:25:22 +10:00
Thom Chiovoloni 7e09dac3bf Bug 1267917 - Hook the sync bookmark validator into the new sync telemetry ping r=bsmedberg,markh
MozReview-Commit-ID: ECACktrOhRG
2016-09-12 14:59:25 -04:00
Thom Chiovoloni 8752ddee07 Bug 1297400 - Check for client cycles in the client tree in the bookmark validator r=markh
MozReview-Commit-ID: H0L6wbszmpc
2016-09-19 11:00:04 -04:00
Thom Chiovoloni c5577feaa7 Bug 1295582 - Fix sync bookmark validator bugs around missing parents and orphans r=markh
MozReview-Commit-ID: LXZuK7ny7Ei
2016-08-25 15:39:56 -04:00
Thom Chiovoloni 1f0dcc7ec7 Bug 1296761 - Handle serverside places root in sync bookmark validator better r=markh
MozReview-Commit-ID: JzNWFCLSMcZ
2016-08-19 17:49:19 -04:00
Thom Chiovoloni 1b0e561e1b Bug 1276152 - Ignore differences in the pos property when validating bookmark separators. r=markh
MozReview-Commit-ID: KJLAI3FAh9j
2016-05-27 11:48:23 -04:00
Thom Chiovoloni 7fc3c1bd65 Bug 1273234 - Add method for summarizing sync bookmark problems generically. r=markh
MozReview-Commit-ID: 9u8J3zh4J10
2016-05-20 13:19:54 -04:00
Thom Chiovoloni 021d75bdc1 Bug 1273234 - Reduce the number of false positives reported by sync's bookmark_validator. r=markh
MozReview-Commit-ID: 6VulTTDcfs3
2016-05-19 16:14:24 -04:00
Thom Chiovoloni ccb67ad8d1 Bug 1265419 - Implement a validator for bookmarks, that reports errors in the server-side bookmark store, and inconsistencies between server and client. r=markh
MozReview-Commit-ID: Ib3wnJt1buL
2016-04-26 11:58:32 -04:00