summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* renamed /status to /transfersGravatar Joey Hess2012-07-28
| | | | | | Also fixed a bug; the ident for the div was regnerated each time /status was called. This only was the same as the original ident due to luck.
* tune javascript refresh delaysGravatar Joey Hess2012-07-28
| | | | | | WebApp now shows changes with no delay. Comparing a running git-annex get and the webapp side-by-side, they both show each new transfer at the same time.
* add NotificationID to StatusR, and use it to blockGravatar Joey Hess2012-07-28
|
* add derives needed for use with Yesod, and fix a bugGravatar Joey Hess2012-07-28
|
* add a newtypeGravatar Joey Hess2012-07-28
|
* send notifications when the TransferQueue is changedGravatar Joey Hess2012-07-28
| | | | | | The fun part was making it move things from TransferQueue to currentTransfers entirely atomically. Which will avoid inconsistent display if the WebApp renders the current status at just the wrong time. STM to the rescue!
* move DaemonStatus manipulation out of the Annex monad to IOGravatar Joey Hess2012-07-28
| | | | | | I've convinced myself that nothing in DaemonStatus can deadlock, as it always keepts the TMVar full. That was the only reason it was in the Annex monad.
* add a NotificationBroadcaster to DaemonStatusGravatar Joey Hess2012-07-28
| | | | | First use of it is to make the status checkpointer thread block until there is really a change to the status.
* Focus today was writing a notification broadcaster.Gravatar Joey Hess2012-07-28
| | | | | | | | | | | | This is a way to send a notification to a set of clients, any of which can be blocked waiting for a new notification to arrive. A complication is that any number of clients may be be dead, and we don't want stale notifications for those clients to pile up and leak memory. It took me 3 tries to find the solution, which turns out to be simple: An array of SampleVars, one per client. Using SampleVars means that clients only see the most recent notification, but when the notification is just "the assistant's state changed somehow; display a refreshed rendering of it", that's sufficient.
* Merge branch 'master' into assistantGravatar Joey Hess2012-07-27
|\
| * initremote: Avoid recording remote's description before checking that its ↵Gravatar Joey Hess2012-07-27
| | | | | | | | config is valid.
* | template reorgGravatar Joey Hess2012-07-27
| |
* | template cleanupGravatar Joey Hess2012-07-27
| | | | | | | | use julius's nice #id and .class things
* | add alert close buttonsGravatar Joey Hess2012-07-27
| |
* | now the webapp has the same options as the assistantGravatar Joey Hess2012-07-27
| |
* | much better webapp startup of the assistantGravatar Joey Hess2012-07-27
| | | | | | | | | | | | This avoids forking another process, avoids polling, fixes a race, and avoids a rare forkProcess thread hang that I saw once time when starting the webapp.
| * Added a commentGravatar http://joeyh.name/2012-07-27
| |
| * Added a comment: auth token lengthGravatar http://jasonwoof.com/2012-07-27
| |
* | update to newer version of BootstrapGravatar Joey Hess2012-07-27
| | | | | | | | This does fix some UI issues I was having.
| * Added a commentGravatar jtang2012-07-27
| |
| * Added a commentGravatar jtang2012-07-27
| |
| * Added a commentGravatar http://joeyh.name/2012-07-27
| |
* | remove bogus AI_NUMERICSERVGravatar Joey Hess2012-07-27
| | | | | | | | | | Not needed, and causes a segfault on OSX when it tries to dereference the NULL servicename. (Linux handles this case better.)
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-07-27
| |
| * Added a commentGravatar http://joeyh.name/2012-07-27
| |
* | add warning when building without the webappGravatar Joey Hess2012-07-27
| |
| * closeGravatar Joey Hess2012-07-27
| |
* | add yesod-defaultGravatar Joey Hess2012-07-27
| | | | | | | | another dependency cabal works without here, oddly
| * blog for the "day"Gravatar Joey Hess2012-07-27
| | | | | | | | | | Or rather, for yesterday evening up until 6 am last night, and 3 hours this morning. I need to fix my sleep schedule.
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-07-27
| |\
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-07-27
| | |
* | | webapp now displays the real running and queued transfersGravatar Joey Hess2012-07-27
| | | | | | | | | | | | yowza!!!
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-07-27
| | |
* | | Merge branch 'master' into assistantGravatar Joey Hess2012-07-27
|\| |
| * | addGravatar Joey Hess2012-07-27
| | |
* | | webapp now uses twitter bootstrapGravatar Joey Hess2012-07-27
| | | | | | | | | | | | mocked up the main screen, and am actually pretty happy with it!
* | | update to newer version needed by bootstrapGravatar Joey Hess2012-07-27
| | |
| | * (no commit message)Gravatar jtang2012-07-27
| | |
| | * Added a comment: Your security solution is fineGravatar http://jasonwoof.com/2012-07-27
| |/
* | add bootstrapGravatar Joey Hess2012-07-27
| |
* | add READMEGravatar Joey Hess2012-07-27
| |
* | updateGravatar Joey Hess2012-07-27
| |
| * updateGravatar Joey Hess2012-07-27
| |
* | automatically close the webapp window after 3 errorsGravatar Joey Hess2012-07-27
| | | | | | | | | | It's unlikely an error would occur unless the server is stopped. But retrying a few times seems like a good idea anyway.
| * cleanup done things etcGravatar Joey Hess2012-07-27
| |
* | added jquery to static siteGravatar Joey Hess2012-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | Had to switch to toWaiAppPlain to avoid a seeming bug in toWaiApp; chromium only received a partial copy of jquery. Always the same length each time, which makes me think it's a bug in the compression, although a bug in the autohead middleware is also a possibility. Anyway, there's little need for compression for a local webapp. Not wasting time compressing things is probably a net gain. Similarly, I've not worried about minifying this yet. Although that would avoid bloating the git-annex binary quite so much.
* | work around GHC not knowing to rebuild files using template haskellGravatar Joey Hess2012-07-26
| | | | | | | | when things they include change
* | use widgetFileGravatar Joey Hess2012-07-26
| |
* | add threadState member, will need this later to access the daemonStatusGravatar Joey Hess2012-07-26
| |
* | update thread listGravatar Joey Hess2012-07-26
| |