git-annex/Assistant
Joey Hess 183f7355cd global webapp redirects, to finish upgrades
When an automatic upgrade completes, or when the user clicks on the upgrade
button in one webapp, but also has it open in another browser window/tab,
we have a problem: The current web server is going to stop running in
minutes, but there is no way to send a redirect to the web browser to the
new url.

To solve this, used long polling, so the webapp is always listening for
urls it should redirect to. This allows globally redirecting every open
webapp. Works great! Tested with 2 web browsers with 2 tabs each.
May be useful for other purposes later too, dunno.

The overhead is 2 http requests per page load in the webapp. Due to yesod's
speed, this does not seem to noticibly delay it. Only 1 of the requests
could possibly block the page load, the other is async.
2013-11-23 14:47:38 -04:00
..
Alert restart on upgrade is working, including automatic restart 2013-11-23 00:54:08 -04:00
Install linux standalone auto-install icons 2013-07-09 20:50:41 -04:00
Pairing webapp can now set up gcrypt repos on ssh servers 2013-10-01 13:43:35 -04:00
Threads global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
Types global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
WebApp global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
XMPP When an XMPP server has SRV records, try them, but don't then fall back to the regular host if they all fail. 2013-07-20 21:18:55 -04:00
Alert.hs global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Changes.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
Commits.hs remove last use of TSet 2013-04-24 17:16:04 -04:00
Common.hs refactor alert button creation code 2013-04-04 01:48:26 -04:00
DaemonStatus.hs half way complete cronner thread to run scheduled activities 2013-10-08 11:48:28 -04:00
DeleteRemote.hs add config page for fsck, and alert with button when a fsck is running 2013-10-10 18:05:53 -04:00
Drop.hs moved AssociatedFile definition 2013-07-04 02:36:02 -04:00
Fsck.hs webapp: remind user when using repositories that lack consistency checks 2013-10-29 16:50:38 -04:00
Gpg.hs webapp: Support storing encrypted git repositories on rsync.net. 2013-09-26 16:43:00 -04:00
Install.hs linux standalone auto-install icons 2013-07-09 20:50:41 -04:00
MakeRemote.hs webapp: Improve UI around remote that have no annex.uuid set, either because setup of them is incomplete, or because the remote git repository is not a git-annex repository. 2013-11-07 18:02:00 -04:00
Monad.hs move code around and rename thread; no functional changes 2013-10-29 13:41:44 -04:00
NamedThread.hs restart on upgrade is working, including automatic restart 2013-11-23 00:54:08 -04:00
NetMessager.hs clarify notifyNetMessagerRestart 2013-08-24 13:49:04 -04:00
Pairing.hs Improve local pairing behavior when two computers both try to start the pairing process separately. 2013-11-02 15:10:29 -04:00
Pushes.hs whitespace fixes 2012-12-13 00:45:27 -04:00
Repair.hs add post-repair actions 2013-10-29 14:25:20 -04:00
RepoProblem.hs add post-repair actions 2013-10-29 14:25:20 -04:00
ScanRemotes.hs where indentation 2012-10-31 02:34:03 -04:00
Ssh.hs build assistant and watcher on windows (doesn't work yet) 2013-11-12 17:22:34 -04:00
Sync.hs add post-repair actions 2013-10-29 14:25:20 -04:00
TransferQueue.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
TransferrerPool.hs build assistant and watcher on windows (doesn't work yet) 2013-11-12 17:22:34 -04:00
TransferSlots.hs build assistant and watcher on windows (doesn't work yet) 2013-11-12 17:22:34 -04:00
Upgrade.hs global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
WebApp.hs clean up build warnings with yesod 1.2, while still building with 1.1 2013-06-27 01:15:28 -04:00
XMPP.hs allow to build when sandi is installed (don't use it yet) 2013-11-11 15:42:06 -04:00