Commit Graph
430 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 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
Kit Cambridge d14142ee62 Bug 1394525 - Reset tracker scores before syncing. r=markh
MozReview-Commit-ID: 1wHdOeiZOyl
2017-08-28 11:24:26 -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
Mark Hammond 70f7036a83 Bug 1355766 - don't treat a 412 response as a sync error. r=kitcambridge
MozReview-Commit-ID: 4IL6RJcP9PC
2017-08-08 12:02:28 +10:00
Mark Hammond fc1bceb8a7 Bug 1368951 - add x-if-unmodified-since support to the sync test server. r=tcsc
MozReview-Commit-ID: FF7smwdeQ0k
2017-05-31 18:42:45 +10:00
dagasatvik 91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
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 d6b5336283 Bug 1337978 - Unify the multiple notions of 'weak upload' in sync. r=kitcambridge,markh
MozReview-Commit-ID: 5vTCAhUfMzm
2017-07-18 14:18:04 -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
tiago 9b9919f638 Bug 1366081 - Excise 'mobileGUIDFetchBatchSize' and other mobile sync-related constants. r=kitcambridge
MozReview-Commit-ID: 6JTtpWFFyvD
2017-05-24 03:28:22 -03:00
Kit Cambridge dd4d95541b 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
2017-04-28 14:08:11 -07:00
Edouard Oger 75b4ce6b59 Bug 1358648 part 3 - Remove Async, Services and XPCOMUtils from util.js. r=markh
MozReview-Commit-ID: 8na204K9cXp
2017-05-02 16:57:37 -04:00
Edouard Oger 9acffcb130 Bug 1358648 part 1 - Clean-up some Weave imports. r=markh
MozReview-Commit-ID: 2NK4Mew65UT
2017-05-02 18:27:49 -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
Thom Chiovoloni 3965aae6fc Bug 1349703 - (part 1) Fix issue where sync would fail misreconcile special folders in fresh syncs r=kitcambridge
MozReview-Commit-ID: Izy9JgMYpom
2017-03-23 16:32:40 -04:00
Edouard Oger d07a58128d Bug 1343735 - Respect max_record_payload_bytes limit. r=markh
MozReview-Commit-ID: 1aDwl1cq2Hh
2017-03-15 17:12:17 -04:00
Thom Chiovoloni 0cb5aa54d8 Bug 676563 - Add dateAdded field to synced bookmarks r=markh,rnewman
MozReview-Commit-ID: 5dxoTGrypqm
2017-01-17 14:45:08 -05:00
Kit Cambridge e1e3c6edc0 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 85e2d02ed0 Backed out changeset e91a6d043fc6 (bug 1317223) 2017-03-02 13:08:42 +01:00
Kit Cambridge cc5f298427 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 6168ac2527 Bug 1335752 - Disable persistence and clean up after RotaryEngine in tests. r=markh
MozReview-Commit-ID: 8feE9O6Dv3W
2017-02-13 13:48:08 -08:00
Kit Cambridge 143ae1702c Bug 1335752 - Remove all observers when finalizing the tracker. r=markh
MozReview-Commit-ID: CKc19VAO9WW
2017-02-13 13:16:30 -08:00
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
Mayank Srivastav 32aa0d6eed Bug 1337188 - Remove unused return statement from EngineManager::register. r=kit 2017-02-15 00:42:10 +05:30
Kit Cambridge 53c682f8c9 Bug 1325523 - Persist tracked IDs on finalization, and don't persist IDs in Sync tests. r=markh
MozReview-Commit-ID: CpQP2aM1DO
2017-02-07 11:51:06 -08:00
Edouard Oger 2f1e9c9c65 Bug 1329850 - Sync records creation failures are reported to telemetry. r=markh
MozReview-Commit-ID: AEOlmkmyIvY
2017-01-24 17:05:12 -05:00
Sebastian Hengst 7b607ad74e 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 4736da4ef8 Bug 1329850 - Sync records creation failures are reported to telemetry. r=markh
MozReview-Commit-ID: AEOlmkmyIvY
2017-01-24 17:05:12 -05:00
Edouard Oger 8dedb7b93f 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 092fa0f3bc 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
2017-01-26 11:16:12 -08:00
Edouard Oger e7260315e3 Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
MozReview-Commit-ID: IC7kRjgtPp8
2017-01-13 15:02:21 -05:00
Kit Cambridge a0fd009291 Bug 1332024 - Finalize tracker storage and consolidate cleanup logic in engine tests. r=markh
MozReview-Commit-ID: 8t9bXFrLA1Z
2017-01-24 09:59:09 -08:00
Jared Wein e8689c1e59 Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: Ebl3bODX14z
2017-01-12 18:24:52 -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 a92ebb3219 Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: Ebl3bODX14z
2017-01-12 18:24:52 -05:00
Jared Wein 3dee97e6bc Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
MozReview-Commit-ID: Be36laqLQQ2
2017-01-10 12:08:32 -05: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
Iris Hsiao fe36fb6335 Backed out changeset afe70927277c (bug 1330014) for xpcshell test_storage_manager.js failures 2017-01-13 11:06:38 +08:00
Jared Wein ccb38e8104 Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
MozReview-Commit-ID: Be36laqLQQ2
2017-01-10 12:08:32 -05: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 a09a69974d Bug 1319175 - Switch to JSONFile for tracker persistence. r=markh
MozReview-Commit-ID: 6nhGe9aHSk3
2016-12-20 12:25:27 -07:00
Thom Chiovoloni 3877129606 Bug 1321396 - Skip oversized records without aborting the sync by default in sync engines. r=markh
MozReview-Commit-ID: 7hgzyKb2UxY
2016-11-30 17:28:52 -05:00
Kit Cambridge 76346e2829 Bug 1173359 - Exclude hidden pages and framed links from syncing. r=markh
MozReview-Commit-ID: 8I4Sulyr0H7
2016-11-22 12:52:09 -07:00
Thom Chiovoloni ca9876785c Bug 1273342 - Don't retry skippable records that fail to sync due to being too large. r=markh
MozReview-Commit-ID: HjzL1crTVDB
2016-11-21 15:37:35 -05:00
Kit Cambridge 8fd76ac472 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
2016-11-17 15:04:19 -08:00
Kit Cambridge 3d91020cc8 Bug 1258127 - Update the bookmarks engine to pull changes from Places. r=markh
MozReview-Commit-ID: 4YESuxP2rRf
2016-11-17 15:39:15 -08:00
Kit Cambridge b41228747f Bug 1303679 - Remove Places roots, reading list items, and pinned sites from the Sync server. r=markh
MozReview-Commit-ID: AhOBOnXsTYi
2016-11-09 14:23:54 -08:00