Commit graph

94 commits

Author SHA1 Message Date
Dave Townsend
4bf4f02ce7 Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM

--HG--
extra : rebase_source : 07ba1d14655f5d761624b105ef025ec88323d4d5
extra : histedit_source : 9e5ab54ce1b1a5ee1f0fb143f8d1450522455e3b
2016-04-05 11:33:33 -07:00
Mark Hammond
e7b452c2c2 Bug 1246869 - remove services.sync.syncedTabsUIRefresh preference so SyncedTabs sidebar can ride the trains. r=adw 2016-03-01 11:22:47 +11:00
Ryan VanderMeulen
6bf0eb3ad7 Backed out changeset e8a80985911b (bug 1239042) for frequent Windows intermittent browser_syncui.js failures. 2016-02-24 21:08:58 -05:00
Kit Cambridge
01c932477f Bug 1239042 - Show sync status for a minimum of 1.6s. r=markh
MozReview-Commit-ID: KWU1fXLJbKh

--HG--
extra : rebase_source : 20ab76a43aada66662d9fb930c18d5cb31b3df6a
2016-02-23 15:37:10 -08:00
Mark Hammond
fce9153eab Bug 1247114 - do a one-off move of the synced-tabs button to the panel if Sync is initialized. r=Gijs 2016-02-16 12:22:19 +11:00
Edouard Oger
d9f2e6e1c0 Bug 1245505 - Localize correctly the last sync date. r=markh 2016-02-04 05:08:00 -05:00
Zachary Carter
3f462c3a37 Bug 1243591 - Create a pref to enable/disable the Synced Tabs UI refresh and enable it for Nightly r=markh 2016-01-28 00:52:56 -08:00
Mark Hammond
7bc5ad9c02 Bug 1231535 - remove sync spinner and add ellipsis to Synced Tabs panel. r=Gijs 2015-12-10 09:28:54 -05:00
Mark Hammond
a795eb0690 Bug 1201331 (part 4) - replace "Tabs from other devices" with "Synced Tabs" on menus and history panel. r=Gijs 2015-12-03 10:05:03 +11:00
Mark Hammond
a9596f0e57 Bug 1201331 (part 1) - use a broadcaster to manage the Sync status. r=adw
This patch leverages broadcasters to keep the various sync UI elements sane.
Rather than adding yet another button ID to browser-syncui, we now just update
the broadcaster and let all the elements automagically get the attributes.
2015-12-03 10:05:03 +11:00
Felipe Gomes
335947da2c Bug 1228655 - Remove ifdefs of MOZ_SERVICES_CLOUDSYNC. r=Gijs 2015-12-01 20:06:14 -02:00
Felipe Gomes
909d49249d Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Pablo Almenar
77a625b250 Bug 691849 - Replace custom Sync notification bars with standard ones. r=markh 2015-11-04 10:21:47 +01:00
Mark Hammond
980ee43680 Bug 1213973 - ensure Sync UI state is correctly reflected even when Sync is not configured. r=adw 2015-10-14 17:38:19 +11:00
Mark Hammond
a8374caab9 Bug 1190262 - don't spin the Sync button during login as it may spin for a very long time. r=adw 2015-10-12 12:05:13 +11:00
Tooru Fujisawa
d88225d76e Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao
--HG--
extra : commitid : GTnFNtx973B
extra : rebase_source : 5bf8bb3d7ddb0234bd533cf6ddc843dd2db9d8f5
2015-09-21 00:29:37 +09:00
Mark Hammond
027b3c15a3 Bug 1206571 - ensure Sync UI is in correct state before Sync initialized. r=adw 2015-09-23 11:00:40 +10:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Mark Hammond
8ecf115473 Bug 1200886 - add tooltips to the Sync buttons which reflect the current state of Sync. r=adw 2015-09-11 10:01:22 +10:00
Mark Hammond
b6645d901e Bug 1186348 - don't initialize the sync identity (and thus don't spin the event loop) as Sync initialized. r=ckarlof 2015-09-07 18:11:40 +10:00
Mark Hammond
b2566ebe3c Bug 1082428 - the Sync toolbar button now opens Sync prefs if the user needs to re-authenticate. r=eoger 2015-09-04 11:28:13 +10:00
Edouard Oger
4426a9a7a8 Bug 1152385 - Change sync entries points linking to about:accounts to link to about:preferences#sync. r=markh 2015-08-24 19:40:00 -04:00
Mark Hammond
28ed82509d Bug 1180587 - remove most error handling from browser-syncui now it is shown in the hamburger menu. r=adw 2015-08-06 14:47:31 +10:00
Mark Hammond
4cc97da765 Bug 1184005 - Remove readinglist. r=MattN,jaws,adw 2015-08-04 12:00:43 +10:00
Edouard Oger
a451044e6c Bug 1139698 - Add Firefox Account avatar in Hamburger Menu. r=markh 2015-06-29 20:06:00 -04:00
Mark Hammond
c42810c630 Bug 1170079 - don't treat an old readinglist last-sync-date as a prolonged error if it's disabled. r=adw 2015-06-04 11:06:57 +10:00
Mark Hammond
d0e06bbecd Bug 1149729 - ignore more Sync login error states. r=adw 2015-04-24 11:49:22 +10:00
Mark Hammond
18a41c13b0 Bug 1146054 - browser now reports a prolonged readinglist sync error after the correct time. r=adw 2015-03-24 10:28:14 +11:00
Mark Hammond
06c042e85d Bug 1131413 (part 2) - add readinglist support to browser-syncui.js. r=adw 2015-02-26 18:48:11 +11:00
Matthew Noorenberghe
8afbdfd71b Bug 1110602 - Don't remove tour tabs from originTabs when switching tabs so they can continue to get notifications. r=Unfocused
--HG--
extra : rebase_source : efc2d7b81fe1df31192bef3360846e9508bcbcc3
2015-01-21 13:21:41 -08:00
Drew Willcoxon
8e8d87b6b5 Bug 1016825 - Show legacy-Sync-to-Firefox-Accounts migration notifications in the main browser window. r=markh 2014-12-11 21:06:55 -08:00
Drew Willcoxon
494752c549 Bug 1026342 - Show legacy-Sync-to-Firefox-Accounts migration indicators in the app menu panel. r=markh 2014-12-10 09:33:36 -08:00
Alan K
0efad98536 Bug 1082970 - Sync no longer shows login failed notification bar on user-initiated sync. r=mhammond 2014-10-15 19:23:00 +02:00
Alex Bardas
603011765d Bug 1053939 - pass entry point to fxa content server when opening about:accounts + tests. r=markh 2014-09-10 13:39:00 +02:00
Alan K
27d4c79cc8 Bug 1045046 - Handle manual sync event and broadcast to registered cloudsync adapters. r=ttaubert 2014-09-08 07:23:00 +02:00
Carsten "Tomcat" Book
55556328dd Backed out changeset b2cfd9248bd2 (bug 1045046) 2014-09-03 16:03:17 +02:00
Alan K
dcedcef957 Bug 1045046 - Handle manual sync event and broadcast to registered cloudsync adapters. r=jgruen 2014-08-29 10:48:00 +02:00
Gijs Kruitbosch
5afeec15c1 Bug 998523 - updateUI after logout, r=markh 2014-05-15 00:09:23 +01:00
Gavin Sharp
8ebc3e5a6d Bug 989825: remove broken Sync UI code, r=rnewman
--HG--
extra : transplant_source : %E2F%BD%9E%B9i%A3U%B6%98LP%C1%B1%C6%3B%EA%B8%D4U
2014-04-16 14:06:59 -07:00
Mark Hammond
954372b90b Bug 987468 - remove sync delayed notification. r=ttaubert 2014-04-03 09:56:59 +11:00
Gavin Sharp
b8f5d339cb Bug 982893: give up on not trying to initialize Weave.Status on window open, since we were failing at it anyways, r=markh
Changes:
 * don't try to avoid loading Weave.Status modules on window open
 * access the authManager via Weave.Status instead of Weave.Service, since Weave.Status will already be initialized in almost all cases.

--HG--
extra : rebase_source : a328609e5c5c461fb92b050b8d34816f08f01d8a
2014-03-13 09:52:52 -07:00
Gavin Sharp
623533edcd Bug 966342: Tools menu shows "Sync now" to unverified users in some cases, r=markh
Changes include:
- have gSyncUI._needsSetup check Weave.Service.identity._signedInUser (if already set) and return true if the user is not verified
- make the menuitem hiding/showing code in gSyncUI.updateUI a bit easier to follow

--HG--
extra : rebase_source : b5a99354e13db798ea3d0380391db1993bf36408
2014-03-10 17:24:07 -07:00
Tim Taubert
8cf5dd5be5 Bug 976683 - Tools menu copy should match customize menu for reauth, and should direct user to FxA reauth page r=markh 2014-03-06 20:42:54 +01:00
Jared Wein
c643421562 Bug 968828 - [Australis] Sync Icon for the horizontal menu. r=Gijs 2014-02-13 18:44:05 -05:00
Mark Hammond
f1829f3650 Bug 972144 - don't show error notification for LOGIN_FAILED_NOT_READY. r=ttaubert 2014-02-14 09:06:33 +11:00
Tim Taubert
9fe218dee9 Bug 962729 - Sync toolbar button and menu item need to open the prefs dialog when logged in r=markh 2014-01-22 20:53:58 +01:00
Mark Hammond
e0a80a7417 Have the sync setup dialog do the right thing if identity.fxaccounts.enabled=true 2013-12-19 16:38:35 +11:00
Tim Taubert
1216e66e74 Bug 951857 - Bring back UI entry points and the setup dialog for old sync r=markh
From 046c19dae155a175cf6fa5e480f1fa1882f7d51f Mon Sep 17 00:00:00 2001
2013-12-18 23:10:11 +01:00
Tim Taubert
a17a006bcc Bug 926709 - Replace UI entry points for sync setup with opening about:accounts; r=gavin 2013-10-16 17:42:01 -07:00
Richard Newman
be2550d749 Bug 908461 - Protocol deprecation indicators for Sync: client support. r=gps 2013-09-03 16:11:46 -07:00