Thom Chiovoloni
4e773dd17f
Bug 1423399 - Avoid duplicating synced history visits older than your most recent 20 r=kitcambridge
...
MozReview-Commit-ID: 2CAutmuJWhb
--HG--
extra : rebase_source : b145ebe8525fa6cb045f99adabfc5ce3d0984f3a
2017-12-18 19:40:38 -05:00
Edouard Oger
9aa875bf0b
Bug 664590 - Do not track file:/// visits. r=markh
...
MozReview-Commit-ID: 6oVDkJU7kai
--HG--
extra : rebase_source : 0d184abb2ba1babc6c6c3ef6ebbb3024a26f81a8
2017-12-06 16:55:45 -05:00
Thom Chiovoloni
208554ebe1
Bug 1423395 - Clamp and truncate microseconds from incoming history visit dates when deduping r=markh
...
MozReview-Commit-ID: H1lljWcSZLZ
--HG--
extra : rebase_source : c64f20dd38bf4b17f05885df1f6b3ba112efdcb6
2017-12-05 19:40:37 -05:00
Dorel Luca
19230bafde
Backed out changeset 0e26ab46cbb7 (bug 1390478) for Xpcshell failure in services/fxaccounts/tests/xpcshell/test_profile.js on a CLOSED TREE
...
--HG--
extra : amend_source : 37b6f14e6d869559d8794019ba132a061ec01378
2017-12-19 15:29:38 +02:00
Mark Hammond
8d3579fb17
Bug 1390478 - never block the UI waiting for the FxA profile. r=eoger
...
MozReview-Commit-ID: 4MNqo9AUuOz
--HG--
extra : rebase_source : 283b16e29b7a2a20e9cca87437a08f241bffa832
2017-12-08 11:27:40 +11:00
Mark Hammond
81ef0051dc
Bug 1415560 - ignore insertMany result and add an onError handler to log errors. r=tcsc
...
MozReview-Commit-ID: 8aJkRL8WCPr
--HG--
extra : rebase_source : dceb94744eef3ac50253594a70cec9f32f4cf8d3
2017-12-04 12:49:06 +11:00
Mark Hammond
6b3554dc84
Bug 1423067 - SyncedTabs.jsm now exports the loginFailed getter fixing an issue with the sidebar. r=eoger
...
MozReview-Commit-ID: AVjfXH1E9uw
--HG--
extra : rebase_source : 8ee64138f5604b12af1f4ffa0cabb73ab6ad5465
2017-12-05 14:46:53 +11:00
Mark Hammond
b5876a8b65
Bug 1407116 - Sync now enters the "please reconnect" state if Sync is configured but FxA is not. r=eoger
...
MozReview-Commit-ID: LuAdYkpe0b7
--HG--
extra : rebase_source : 0fb3ca9ef0912e61354df5ca111a169df3777526
2017-12-04 15:48:45 +11:00
Mark Hammond
734061ef82
Bug 1380215
- FxA now ensures Sync is loaded before sending observer notifications. r=eoger
...
MozReview-Commit-ID: KUKb421guxt
--HG--
extra : rebase_source : 092ad19374c2db477621c0429f45c9b669d85357
2017-12-05 13:01:05 +11:00
Mark Banner
499ca20f31
Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop
...
MozReview-Commit-ID: KOZWr7FiDQZ
--HG--
extra : rebase_source : 92c9bc236c9043f6ce25cc2ba45264918eb2ac15
2017-11-28 19:24:12 +00:00
Edouard Oger
54088f8c9e
Bug 1422115 - Remove storageserver.js from services/. r=markh,tcsc
...
MozReview-Commit-ID: 4UGCq6SolY1
--HG--
extra : rebase_source : 49e8a5d072d1cb15d0942e7fbc39c7a2c8c08c6f
2017-11-30 15:11:19 -05:00
Edouard Oger
ae62aef149
Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
...
MozReview-Commit-ID: 5vBKH9NejVV
--HG--
extra : rebase_source : c160a5a1d7753d41c7afec3a822aefa9461684e6
2017-11-17 16:48:17 -05:00
Noemi Erli
e5e82c8496
Backed out changeset 932a77d8fbae (bug 1418466) for ES failures in /builds/worker/checkouts/gecko/browser/base/content/browser-sync.js r=backout on a CLOSED TREE
2017-11-30 18:44:16 +02:00
Edouard Oger
016b5734e5
Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
...
MozReview-Commit-ID: 5vBKH9NejVV
--HG--
extra : rebase_source : e8628aba338b19142dc63add9bb380042096053f
2017-11-17 16:48:17 -05:00
Margareta Eliza Balazs
cb71a3c4fe
Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE
2017-11-30 12:55:54 +02:00
Edouard Oger
403ad27bae
Bug 1420802 - Remove NetworkLinkService from offline check. r=tcsc
...
Summary: Remove NetworkLinkService from offline check.
Reviewers: tcsc
Reviewed By: tcsc
Bug #: 1420802
Differential Revision: https://phabricator.services.mozilla.com/D300
2017-11-29 15:15:28 -05:00
Mark Hammond
0dd353e7d5
Bug 1421850 - ensure Sync is fully initialized before syncing. r=tcsc
...
MozReview-Commit-ID: 7hS3fttgqqr
--HG--
extra : rebase_source : b9a342c1a977699c3c4c42e9bca86ee087a51260
2017-11-30 14:03:57 +11:00
Thom Chiovoloni
788c2ca211
Bug 1421817 - Send a sync ping on shutdown if we have events but no syncs. r=markh
...
MozReview-Commit-ID: ExxN6UXs2Ip
--HG--
extra : rebase_source : 356d2f7bbfc856859e7b6246939b785f0984fa82
2017-11-29 17:41:59 -05:00
Thom Chiovoloni
302308a0a1
Bug 1336257
- Use HTTPS for mozqa url in TPS. r=markh
...
MozReview-Commit-ID: Admw1iKeW24
--HG--
extra : rebase_source : 836f3efb3aea6eb2a089c5aecd0f7a10a0bd6787
2017-11-29 18:35:28 -05:00
Mark Hammond
4b66d38dd6
Bug 1420810 - record why we are syncing for most syncs initiated by the scheduler. r=eoger
...
MozReview-Commit-ID: 1ntqG5yQi7q
--HG--
extra : rebase_source : 73b479ac7e602f5f491f63939a4425af17d6ce25
2017-11-27 17:32:05 +11:00
Mark Hammond
39bf8149a6
Bug 1416788 - limit number of visits we pass to PlacesUtils.history.insertMany to prevent shutdown hangs. r=kitcambridge
...
MozReview-Commit-ID: AU9AMUAD1Rw
--HG--
extra : rebase_source : 205ec0f17f94bd399f4663e552bd75e7b63f7da5
2017-11-23 16:18:55 +11:00
Thom Chiovoloni
dc2fe37c66
Bug 1421452 - Fix deprecation warning in test_bookmark_engine by passing an osfile path instead of nsifile. r=markh
...
MozReview-Commit-ID: 4XrzA0kUXzE
--HG--
extra : rebase_source : bed7a594b854969dd1932449f43ade4dc068ffeb
2017-11-28 17:35:51 -05:00
Thom Chiovoloni
a004052a6e
Bug 1421044 - Make TPS await sync initialization before trying to run r=markh
...
MozReview-Commit-ID: JSBXKHRXjc0
--HG--
extra : rebase_source : f18047d5a71d92acb9712244266909fc9e09dd0f
2017-11-28 13:56:48 -05:00
Thom Chiovoloni
6e7fbdc912
Bug 1420349 - Instantiate the sync scheduler in the service's constructor, instead of in onStartup. r=eoger
...
MozReview-Commit-ID: 3bOnRH5jR9e
--HG--
extra : rebase_source : 63eb169666e6b5694e7324f5eb01349189a895ec
2017-11-28 11:48:10 -05:00
Ryan Leake
7822b14bda
Bug 1346072 - Remove accounts.firefox.com from the whitelist of domains allowed to send objects over webchannels. r=markh
...
MozReview-Commit-ID: 4ts3uBPuXom
--HG--
extra : rebase_source : 0dced36f4c14f8fb4f7633f3b265ac22d95ecfd7
2017-11-24 20:24:42 +00:00
Mark Banner
efaca11893
Bug 1420422 - Enable ESLint rule mozilla/use-services for services/. r=markh
...
MozReview-Commit-ID: LQiMr3ppDuG
--HG--
extra : rebase_source : f509b5360e92db58f14b0f6a41c06e10fe7dd170
2017-11-24 14:46:33 +00:00
Edouard Oger
9f071e2083
Bug 1409534 - Replace Resource impl by fetch. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: 5mmVeHeMQKf
--HG--
extra : rebase_source : 84c20e3b90b5bed43e511158270761e2e1da6b15
2017-11-06 16:24:40 -05:00
Edouard Oger
438ca97ce7
Bug 1419990 - Only sync the tabs collection on sleep if there are changes. r=markh
...
MozReview-Commit-ID: GC0KMmQPqqD
--HG--
extra : rebase_source : 2039c7f644b3510dda07839c1e561786ad8c0ba1
2017-11-23 11:24:41 -05:00
Edouard Oger
0154c0f443
Bug 1416320 - Do a quick sync before going to sleep. r=markh
...
MozReview-Commit-ID: I36uvEFlEz5
--HG--
extra : rebase_source : 93812879d3ea19042356e51672f7f464e30e9ee5
2017-11-10 14:09:44 -05:00
Cosmin Sabou
959009f1a8
Backed out changeset 23fbfd83e957 (bug 1416320) for ESlint failure at gecko/services/sync/modules/policies.js:558:71 on a CLOSED TREE
2017-11-21 07:26:51 +02:00
Edouard Oger
ab35b46c98
Bug 1416320 - Do a quick sync before going to sleep. r=markh
...
MozReview-Commit-ID: I36uvEFlEz5
--HG--
extra : rebase_source : 1910ac25084f6a8c37a6d21accf17da974d56493
2017-11-10 14:09:44 -05:00
Dan Banner
b2e847755c
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Edouard Oger
afa6330a25
Bug 1416322 - Wait until the network is back up to sync after waking-up from sleep. r=markh
...
MozReview-Commit-ID: 2vzmj3UkvtD
--HG--
extra : rebase_source : a152684365627cf1ea68efe10f5e27ad15577135
2017-11-16 13:12:31 -05:00
Edouard Oger
0648f86b7f
Bug 1304898 - Include why in sync ping. r=tcsc
...
MozReview-Commit-ID: G9WnHhuWD7Z
--HG--
extra : rebase_source : 27cb3c2bdf7432e0db1e6a8431d348be50c2afd8
2017-11-15 17:10:45 -05:00
Edouard Oger
fbd7ca1890
Bug 1416807 - Don't schedule syncs while we're behind to a captive portal. r=markh
...
MozReview-Commit-ID: 2CrO3CfKgC3
--HG--
extra : rebase_source : 460fb20172e325a154a4848e6a5ed0bacefd4b77
2017-11-15 16:01:48 -05:00
Kit Cambridge
d6c28d0200
Bug 1417590 - Check for client duplicates in the Sync collection validator. r=tcsc
...
MozReview-Commit-ID: LcPnTEDhbis
--HG--
extra : rebase_source : 5070eebbb1495ac14cc140862dd78d46e638615f
2017-11-10 22:27:30 -08:00
Doug Thayer
43771ba19d
Bug 1414892 - Optimize moz_places_afterinsert_trigger r=mak
...
This uses a similar strategy as that employed by moz_places_afterdelete_trigger,
creating a temp table which we write host inserts into, and then deleting all
the rows from it when we're done inserting, effectively resulting in a per-
statement trigger to only do the significant work per host.
MozReview-Commit-ID: 5TUueknq3ng
--HG--
extra : rebase_source : 1892edfcaa7b6afd29ce794a93d6ab3d46c48895
2017-11-07 12:01:53 -08:00
Thom Chiovoloni
9e62cc5726
Bug 1416313 - Drop old or low priority commands rather than failing to sync the clients engine if too many commands are sent. r=eoger,markh
...
MozReview-Commit-ID: 6BJGmUL28hp
--HG--
extra : rebase_source : 894cafb34f193b802c90052142174ea3187b8396
2017-11-10 15:57:33 -05:00
Thom Chiovoloni
892f157456
Bug 1416902 - Fix missing await in test_service_sync_updateEnabledEngines and test_interval_triggers r=kitcambridge
...
MozReview-Commit-ID: 6rFOWPsxxxj
--HG--
extra : rebase_source : 62e37062876d4dd38cc43f532df622c09b94cf1b
2017-11-13 16:53:15 -05:00
Edouard Oger
8a3dc70885
Bug 1416321 - Do a sync after we successfully connect to a captive portal. r=markh
...
MozReview-Commit-ID: HuXyJ8IrNwA
--HG--
extra : rebase_source : b1171a1235011d5393dcd90a950b55320302c254
2017-11-10 14:55:19 -05:00
Thom Chiovoloni
93a711ae04
Bug 1416374 - Handle getting an abortincoming error in sync telemetry r=markh
...
MozReview-Commit-ID: LFmbkGa4ypu
--HG--
extra : rebase_source : 93e7e9fcfbdf141c86cede055b58d82985fea370
2017-11-10 18:02:58 -05:00
Ryan VanderMeulen
177a5a8bdc
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
...
--HG--
extra : histedit_source : 46923056fd09298724464a4df4466357821a361f
2017-11-12 21:22:25 -05:00
Kit Cambridge
31aa407113
Bug 1383623 - Remove synchronous Places API usage from the Sync unit tests. r=tcsc
...
MozReview-Commit-ID: Cip7LSSi2fE
--HG--
extra : rebase_source : deaff010d15d7ae9812d1d38f3b39c1100c62cf3
2017-11-09 15:46:27 -08:00
Ryan VanderMeulen
b16410f51c
Merge inbound to m-c. a=merge
2017-11-10 16:13:15 -05:00
Geoff Brown
cbb956e0c3
Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh
2017-11-10 07:03:36 -07:00
Sebastian Hengst
96b3be2c0d
Bug 1415957 - Remove MozMill from TPS: Fix merge conflict. r=conflict-fix a=conflict-fix on a CLOSED TREE
...
--HG--
extra : amend_source : fd6fe1681aa192ed44675bd52cd46e954ffad9b8
2017-11-10 13:45:48 +02:00
Margareta Eliza Balazs
7e070192d7
Merge inbound to mozilla-central r=merge a=merge
2017-11-10 11:55:43 +02:00
Nicholas Nethercote
f4dd5e2636
Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Andrea Marchesini
207b8d909e
Bug 1347515 - Get rid of nsIJSON.decodeFromStream, r=qdot
2017-11-10 00:27:22 +01:00
Edouard Oger
1873a289f7
Bug 1415957 - Remove MozMill from TPS. r=tcsc
...
MozReview-Commit-ID: HyBXrNqhzIf
--HG--
extra : rebase_source : da197fa045f70621d5549e961876cfc6ce15264b
2017-11-09 15:34:06 -05:00