git-annex/debian
Joey Hess 1d0b692198 webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading.
When a page is loaded, the javascript requests an notification url, and
does long polling on the url to be informed of changes. But if a change
occured before the notification url was requested, it would not be notified
of that change, and so the page display would not update.

I fixed this by *always* updating the page display after it gets
the notification url. This is extra work, but the overhead is not noticable
in the other overhead of loading a page.

(A nicer way would be to somehow record the version of a page initially
loaded, and then compare it with the current version when getting the
notification url, and only force an update if it's changed. But getting
the "version" of the different parts of the page that use long polling
is difficult.)
2013-03-27 14:56:20 -04:00
..
changelog webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading. 2013-03-27 14:56:20 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control add back cabal-install (for Makefile) 2013-03-10 20:16:57 -04:00
copyright clean up license file 2013-03-14 16:52:28 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
NEWS releasing version 3.20120123 2012-01-23 15:09:50 -04:00
rules cleanup 2013-02-27 15:53:19 -04:00