Edouard Oger
1826fefb4c
Bug 1370985 - Change getBatched() to return records directly instead of using a callback. r=markh,tcsc
...
MozReview-Commit-ID: HfwPe8jSH66
--HG--
extra : rebase_source : 12c8800f1fcc090589c2a94a0fc1608b36c54181
2017-05-30 13:23:57 -04:00
tiago
7386600327
Bug 1366081 - Excise 'mobileGUIDFetchBatchSize' and other mobile sync-related constants. r=kitcambridge
...
MozReview-Commit-ID: 6JTtpWFFyvD
--HG--
extra : rebase_source : f6ca75e91ca38d0d1ba18ff79a0872d96a878954
2017-05-24 03:28:22 -03:00
Kit Cambridge
d2833635e1
Bug 1352233 - Try to preserve synced folder child order in case of conflicts. r=tcsc
...
For folders, we resolve conflicts by taking the chronologically newer
list, then appending any missing items from the older list. This
preserves the order of those missing items relative to each other, but
not relative to those appearing in the newer list.
MozReview-Commit-ID: 6rimXpV7vLg
--HG--
extra : rebase_source : 10cda7f529cec3f71d9d45d253285d35788cb0b5
2017-04-28 14:08:11 -07:00
Edouard Oger
b80261a3ec
Bug 1358648 part 3 - Remove Async, Services and XPCOMUtils from util.js. r=markh
...
MozReview-Commit-ID: 8na204K9cXp
--HG--
extra : rebase_source : 96e7738aa6612cf67543d50053f50c2bccf1ab7e
2017-05-02 16:57:37 -04:00
Edouard Oger
712abbc07a
Bug 1358648 part 1 - Clean-up some Weave imports. r=markh
...
MozReview-Commit-ID: 2NK4Mew65UT
--HG--
extra : rebase_source : f515a4c26f2ac515c67d37f4cf01f79427b38221
2017-05-02 18:27:49 -04:00
Mark Hammond
00431016d0
Bug 1355677 - Make all Sync network requests promise based. r=kitcambridge,rnewman,tcsc
...
MozReview-Commit-ID: JSwAS4Xd1uy
--HG--
extra : rebase_source : 95724c3b59576d40cafd2f380ff42acb4fc3d553
2017-04-11 23:40:53 +10:00
Thom Chiovoloni
908a695b92
Bug 1349703 - (part 1) Fix issue where sync would fail misreconcile special folders in fresh syncs r=kitcambridge
...
MozReview-Commit-ID: Izy9JgMYpom
--HG--
extra : rebase_source : b740e81aafbabae2947fd26888c677065742db96
2017-03-23 16:32:40 -04:00
Edouard Oger
e4ec1eb1d3
Bug 1343735 - Respect max_record_payload_bytes limit. r=markh
...
MozReview-Commit-ID: 1aDwl1cq2Hh
--HG--
extra : rebase_source : a29abc5c1f3b9eefea26fe93b5ee82f4b3d12924
2017-03-15 17:12:17 -04:00
Thom Chiovoloni
577f26289e
Bug 676563 - Add dateAdded field to synced bookmarks r=markh,rnewman
...
MozReview-Commit-ID: 5dxoTGrypqm
--HG--
extra : rebase_source : 94af07afc4c0ae2faccc33247fa8f2df91683cce
2017-01-17 14:45:08 -05:00
Kit Cambridge
46e87ef366
Bug 1317223 (part 4) - formalize weak tracking in `BookmarksChangeset`. r=markh
...
MozReview-Commit-ID: C6otrtSuhZH
2017-02-06 10:19:27 -08:00
Carsten "Tomcat" Book
d059d7a430
Backed out changeset e91a6d043fc6 (bug 1317223)
...
--HG--
extra : rebase_source : 1d65763341e37e6b98312e4a20333d314bf9033a
2017-03-02 13:08:42 +01:00
Kit Cambridge
982eee5293
Bug 1317223 (part 4) - formalize weak tracking in `BookmarksChangeset`. r=markh
...
MozReview-Commit-ID: C6otrtSuhZH
2017-02-06 10:19:27 -08:00
Kit Cambridge
ffd9158f97
Bug 1335752 - Disable persistence and clean up after `RotaryEngine` in tests. r=markh
...
MozReview-Commit-ID: 8feE9O6Dv3W
--HG--
extra : rebase_source : c01eed08e72fd4ff654b3afed0472cb5185aec4e
2017-02-13 13:48:08 -08:00
Kit Cambridge
a0eae5b8e4
Bug 1335752 - Remove all observers when finalizing the tracker. r=markh
...
MozReview-Commit-ID: CKc19VAO9WW
--HG--
extra : rebase_source : 804897e8a18e740483fa96e980ee63a76fa2616a
2017-02-13 13:16:30 -08:00
Mark Hammond
cd73a70071
Bug 1340357 - remove all special eslint rules in services/. r=eoger
...
MozReview-Commit-ID: 6zMOBoWLOhJ
--HG--
extra : rebase_source : cf546abd9a52230746c0c05f7bb716cae42815bf
2017-02-17 12:34:45 +11:00
Mayank Srivastav
dcffae55e6
Bug 1337188 - Remove unused return statement from EngineManager::register. r=kit
...
--HG--
extra : rebase_source : a8eea63dc3b2c208ed8ffc3ac6d0ae36e8ec8489
2017-02-15 00:42:10 +05:30
Kit Cambridge
912d625cf7
Bug 1325523 - Persist tracked IDs on finalization, and don't persist IDs in Sync tests. r=markh
...
MozReview-Commit-ID: CpQP2aM1DO
--HG--
extra : rebase_source : 02fa555cc44bd9d94a6c3beedf00fa1746f0c637
2017-02-07 11:51:06 -08:00
Edouard Oger
f7e895d911
Bug 1329850 - Sync records creation failures are reported to telemetry. r=markh
...
MozReview-Commit-ID: AEOlmkmyIvY
--HG--
extra : rebase_source : 71c2a627bd0291fa2b9448710e6b0eb1fae36719
2017-01-24 17:05:12 -05:00
Sebastian Hengst
573326d526
Backed out changeset 20863de3b8f4 (bug 1329850) for eslint failure: redeclaration of collection in deeper scope in test_syncengine_sync.js. r=backout
2017-01-31 18:46:39 +01:00
Edouard Oger
ecdeb55693
Bug 1329850 - Sync records creation failures are reported to telemetry. r=markh
...
MozReview-Commit-ID: AEOlmkmyIvY
--HG--
extra : rebase_source : bce1d12bf1fdb7867ac0f290fdfe4e6b5d761bcc
2017-01-24 17:05:12 -05:00
Edouard Oger
bf4dae4e25
Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
...
MozReview-Commit-ID: IC7kRjgtPp8
2017-01-27 13:30:47 -05:00
Wes Kocher
c3cc3b6407
Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
...
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)
MozReview-Commit-ID: 2XBNsd8JrZL
--HG--
extra : amend_source : 1afafaa8127fcebac31ce1d7743dc16872fa0522
2017-01-26 11:16:12 -08:00
Edouard Oger
49552f7919
Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
...
MozReview-Commit-ID: IC7kRjgtPp8
--HG--
extra : rebase_source : ec10c24400afa4b1c1fd3840f31a9d57d498ec8a
2017-01-13 15:02:21 -05:00
Kit Cambridge
009412ee92
Bug 1332024 - Finalize tracker storage and consolidate cleanup logic in engine tests. r=markh
...
MozReview-Commit-ID: 8t9bXFrLA1Z
--HG--
extra : rebase_source : 51e15f6cc8fd44947f42cc59be413df6775291b0
2017-01-24 09:59:09 -08:00
Jared Wein
285bebb13e
Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
...
MozReview-Commit-ID: Ebl3bODX14z
--HG--
extra : rebase_source : 20fe1d8043b04c53b9521bc0ad30b72ebf253062
2017-01-12 18:24:52 -05:00
Wes Kocher
20dc006d88
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
3ebade8189
Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
...
MozReview-Commit-ID: Ebl3bODX14z
--HG--
extra : rebase_source : f708038a1e3d27f7397d2ff6ac8981d1e5fa5d43
2017-01-12 18:24:52 -05:00
Jared Wein
9a0aefca79
Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
...
MozReview-Commit-ID: Be36laqLQQ2
--HG--
extra : rebase_source : 48f6fc7a832e51035c04ea825f77a38cb08a7151
2017-01-10 12:08:32 -05:00
Jared Wein
65605f286e
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
--HG--
extra : rebase_source : cbfc8d4474b6c3d46eb21374e33fd3341403444f
2017-01-10 12:09:02 -05:00
Iris Hsiao
55313b4bc9
Backed out changeset 7e0a0bd74199 (bug 1330014)
2017-01-13 11:06:43 +08:00
Iris Hsiao
303147b9fa
Backed out changeset afe70927277c (bug 1330014) for xpcshell test_storage_manager.js failures
2017-01-13 11:06:38 +08:00
Jared Wein
dd7ec3a99b
Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
...
MozReview-Commit-ID: Be36laqLQQ2
--HG--
extra : rebase_source : 05c863e038aa1a6571500f4178c325b1b9913af9
2017-01-10 12:08:32 -05:00
Jared Wein
81cb5e57b9
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
--HG--
extra : rebase_source : d783829bc7fced3044d0d076c4786a6957d29bb6
2017-01-10 12:09:02 -05:00
Kit Cambridge
4797a3b6cd
Bug 1319175 - Switch to `JSONFile` for tracker persistence. r=markh
...
MozReview-Commit-ID: 6nhGe9aHSk3
--HG--
extra : rebase_source : 43449f689a47287e034b80d3cbdd2fd5fbba44ab
2016-12-20 12:25:27 -07:00
Thom Chiovoloni
39c3163cf7
Bug 1321396 - Skip oversized records without aborting the sync by default in sync engines. r=markh
...
MozReview-Commit-ID: 7hgzyKb2UxY
--HG--
extra : rebase_source : 7c7f238a8e46b0776afe83798061d1539b07f76c
2016-11-30 17:28:52 -05:00
Kit Cambridge
73fba410f4
Bug 1173359 - Exclude hidden pages and framed links from syncing. r=markh
...
MozReview-Commit-ID: 8I4Sulyr0H7
--HG--
extra : rebase_source : 55fb1ff567c0a2916bc0153a09c41b03d396cfeb
2016-11-22 12:52:09 -07:00
Thom Chiovoloni
15acd98009
Bug 1273342 - Don't retry skippable records that fail to sync due to being too large. r=markh
...
MozReview-Commit-ID: HjzL1crTVDB
--HG--
extra : rebase_source : 887c3364bf0dec05353c2ea7e7c23d6393158fa3
2016-11-21 15:37:35 -05:00
Kit Cambridge
69350f8b7b
Bug 1258127 - Move bookmark de-duping logic into `PlacesSyncUtils.bookmarks.dedupe`. r=markh
...
This patch moves the logic from `BookmarksEngine::_switchItemToDupe`
into `PlacesSyncUtils.bookmarks.dedupe`, and updates it to work with
the new tracker. `dedupe` returns an object containing new change
records, which the bookmarks engine merges into the initial changeset
from `PlacesSyncUtils.bookmarks.pullChanges`.
This patch also removes `changeItemID` and
`PlacesSyncUtils.bookmarks.changeGuid`, since `dedupe` subsumes them.
MozReview-Commit-ID: Iw3YRxWuZnK
--HG--
extra : rebase_source : 6fd80c64b160103e1090b87a300ed74b8ef85eed
2016-11-17 15:04:19 -08:00
Kit Cambridge
ccf45973d0
Bug 1258127 - Update the bookmarks engine to pull changes from Places. r=markh
...
MozReview-Commit-ID: 4YESuxP2rRf
--HG--
extra : rebase_source : 9c2f5830d10ba280e45c30076f19f498e6913fd0
2016-11-17 15:39:15 -08:00
Kit Cambridge
6cd5db91d6
Bug 1303679 - Remove Places roots, reading list items, and pinned sites from the Sync server. r=markh
...
MozReview-Commit-ID: AhOBOnXsTYi
--HG--
extra : rebase_source : 1f39b406b1a9215ca04ff4602cc8fac54163916f
2016-11-09 14:23:54 -08:00
Thom Chiovoloni
1debb3df7a
Bug 1294599 - Implement batched downloads of sync collections on desktop r=markh,rnewman
...
MozReview-Commit-ID: 6la9t1FxQhH
--HG--
extra : rebase_source : 6fb7df03219bc5643eefc9683bd584325193f3e1
2016-10-06 17:52:27 -04:00
Thom Chiovoloni
0117e0cf73
Bug 1299978 - Reupload parents of revived bookmarks and buffer folder deletion during sync r=markh,rnewman
...
MozReview-Commit-ID: BDfp5FffCWh
--HG--
extra : rebase_source : 0caecb27d753577373e150dd770370bd328dbe32
2016-10-05 14:04:50 -04:00
Mark Hammond
9ae1545799
Bug 1303945 - Avoid having TPS write directly to the form history database and remove private-browsing tests. r=tcsc
...
MozReview-Commit-ID: JsPGSJpQ7b1
--HG--
extra : rebase_source : 42011ef085f1d119d43b14c2ac0619777fcb2c68
2016-09-20 17:04:50 +10:00
Carsten "Tomcat" Book
de2be84723
Backed out changeset ce23198d0d58 (bug 1303945) on request from mark
2016-09-22 09:17:47 +02:00
Mark Hammond
c0080d341a
Bug 1303945 - Avoid having TS write directly to the form history database and remove private-browsing tests. r=tcsc
...
MozReview-Commit-ID: JsPGSJpQ7b1
--HG--
extra : rebase_source : 713e765fb617f308e9c4ca2dcce9fef32aa714b9
2016-09-20 17:04:50 +10:00
Thom Chiovoloni
2664672a1a
Bug 1267917 - Hook the sync bookmark validator into the new sync telemetry ping r=bsmedberg,markh
...
MozReview-Commit-ID: ECACktrOhRG
--HG--
extra : rebase_source : f4abf7ee1c865c925a6ee0f2418fa563edc9f4bb
2016-09-12 14:59:25 -04:00
Mark Hammond
7b00b004c4
Bug 1276823 - ensure bookmarks engine tracks parents when de-duping incoming bookmarks. r=rnewman
...
MozReview-Commit-ID: ym58KTB89b
--HG--
extra : rebase_source : 2090299a4ce68fac2979f85e5886c3c5e10c61c3
2016-07-05 16:02:19 +10:00
Kit Cambridge
be1b540390
Bug 1274496 - Filter excluded bookmarks at sync time based on their root. r=markh,rnewman
...
MozReview-Commit-ID: 6xWohLeIMha
--HG--
extra : rebase_source : 122b3026ff9608f5f528665e3c529aa92c010b5a
2016-09-06 11:39:13 -07:00
Thom Chiovoloni
9eab4938a0
Bug 1253051 - Implement atomic uploads for sync collection data r=rnewman
...
MozReview-Commit-ID: Hm9NbnC2Vk8
--HG--
extra : rebase_source : b2ce2acfcee20db9c51576ecedcc4e680ec4b13a
2016-08-24 16:02:14 -04:00
Mark Hammond
b35ef0d504
Bug 1297974 - correctly handle shutdown exceptions while applying incoming records. r=rnewman
...
MozReview-Commit-ID: 7vgaD1yLdb4
--HG--
extra : rebase_source : 5ab827785f6738c5c2e7732f52433830857350ca
2016-08-22 14:36:29 +10:00