git-annex/Assistant
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
..
Install ifdef osx includes 2012-09-28 19:18:08 -04:00
Pairing proof of concept remote reordering UI (needs to be changed to use drag and drop) 2013-03-13 17:59:33 -04:00
Threads 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
Types maintain pools of running transferkeys processes (untested) 2013-03-19 18:46:29 -04:00
WebApp fix build with xmpp and w/o webapp 2013-03-24 18:55:19 -04:00
XMPP fix build with xmpp and w/o webapp 2013-03-24 18:55:19 -04:00
Alert.hs move display of transfer scan in progress to transfers section of dashboard 2013-03-19 13:03:41 -04:00
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Changes.hs assistant: generate better commits for renames 2013-03-10 22:10:26 -04:00
Commits.hs assistant: generate better commits for renames 2013-03-10 22:10:26 -04:00
Common.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
DaemonStatus.hs remove debug print 2013-03-17 15:44:14 -04:00
Drop.hs typo 2013-03-01 16:58:19 -04:00
Environment.hs assistant: Detect when system is not configured with a user name, and set environment to prevent git from failing. 2013-01-06 13:34:08 -04:00
Install.hs assistant: Fix ~/.ssh/git-annex-shell wrapper to work when the ssh key does not force a command. 2013-03-12 07:12:39 -04:00
MakeRemote.hs split cost out into its own module 2013-03-13 16:30:34 -04:00
Monad.hs maintain pools of running transferkeys processes (untested) 2013-03-19 18:46:29 -04:00
NamedThread.hs avoid a warning 2013-02-06 15:43:23 -04:00
NetMessager.hs assistant: XMPP git pull and push requests are cached and sent when presence of a new client is detected. 2013-03-06 21:38:01 -04:00
Pairing.hs Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags. 2013-02-27 02:39:22 -04:00
Pushes.hs whitespace fixes 2012-12-13 00:45:27 -04:00
ScanRemotes.hs where indentation 2012-10-31 02:34:03 -04:00
Ssh.hs assistant: Fix ~/.ssh/git-annex-shell wrapper to work when the ssh key does not force a command. 2013-03-12 07:12:39 -04:00
Sync.hs avoid displaying alert when syncing only to removable drives and all not attached 2013-03-27 14:25:49 -04:00
TransferQueue.hs tweak 2013-03-13 13:11:49 -04:00
TransferrerPool.hs 2 minor fixes to transferkeys, otherwise it was perfect 1st time! 2013-03-20 13:24:35 -04:00
TransferSlots.hs maintain pools of running transferkeys processes (untested) 2013-03-19 18:46:29 -04:00
WebApp.hs 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
XMPP.hs xmpp: Re-enable XA flag, since disabling it did not turn out to help with the problems Google Talk has with not always sending presence messages to clients. 2013-03-16 16:00:37 -04:00