git-annex/static
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
..
css template reorg 2012-07-27 20:47:48 -04:00
img add icons 2012-07-31 03:10:16 -04:00
js webapp: Added help buttons and links next to fields that require explanations. 2012-12-02 22:33:30 -04:00
activityicon.gif animate syncing and other activity icons 2013-04-08 22:54:02 -04:00
favicon.ico added a custom defaultLayout, static site, and favicon 2012-07-26 02:45:01 -04:00
jquery.full.js update to newer version needed by bootstrap 2012-07-27 04:37:29 -04:00
jquery.ui.core.js drag and drop repo list (doesn't yet actually change cost settings) 2013-03-13 22:47:16 -04:00
jquery.ui.mouse.js drag and drop repo list (doesn't yet actually change cost settings) 2013-03-13 22:47:16 -04:00
jquery.ui.sortable.js drag and drop repo list (doesn't yet actually change cost settings) 2013-03-13 22:47:16 -04:00
jquery.ui.widget.js drag and drop repo list (doesn't yet actually change cost settings) 2013-03-13 22:47:16 -04:00
longpolling.js global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
syncicon.gif animate syncing and other activity icons 2013-04-08 22:54:02 -04:00