summaryrefslogtreecommitdiff
path: root/Assistant/DaemonStatus.hs
Commit message (Collapse)AuthorAge
* rename moduleGravatar Joey Hess2013-05-12
|
* sync, assistant: Sync with remotes that have annex-ignore setGravatar Joey Hess2013-04-22
| | | | | | | | This is so git remotes on servers without git-annex installed can be used to keep clients' git repos in sync. This is a behavior change, but since annex-sync can be set to disable syncing with a remote, I think it's acceptable.
* refactor alert button creation codeGravatar Joey Hess2013-04-04
|
* avoid queuing transfers that are currently runningGravatar Joey Hess2013-04-02
|
* typoGravatar Joey Hess2013-03-28
|
* remove debug printGravatar Joey Hess2013-03-17
|
* add globallyAvailable to remotesGravatar Joey Hess2013-03-15
|
* clear cloud repo nudge when one is createdGravatar Joey Hess2013-03-15
|
* webapp: Display an alert when there are XMPP remotes, and a cloud transfer ↵Gravatar Joey Hess2013-03-15
| | | | repository needs to be configured.
* show paused remotes in cost order, not at end of repo listGravatar Joey Hess2013-03-14
|
* log alerts in notice mode, which is enabled by defaultGravatar Joey Hess2013-01-15
|
* write alerts to log in debug modeGravatar Joey Hess2013-01-15
|
* type based git config handling for remotesGravatar Joey Hess2013-01-01
| | | | | Still a couple of places that use git config ad-hoc, but this is most of it done.
* automatic repolist updatingGravatar Joey Hess2012-11-13
|
* don't try to transfer data to/from XMPP remotesGravatar Joey Hess2012-11-11
| | | | | Partition syncRemotes into ones needing git sync (ie, non-special remotes), and ones needing data sync (ie, non-XMPP remotes).
* use trustExcludeGravatar Joey Hess2012-11-11
|
* where indentationGravatar Joey Hess2012-10-31
|
* finished pushing Assistant monad into all relevant filesGravatar Joey Hess2012-10-30
| | | | All temporary and old functions are removed.
* pushed Assistant monad down into DaemonStatus codeGravatar Joey Hess2012-10-30
| | | | | | Currently have three old versions of functions that more reworking is needed to remove: getDaemonStatusOld, modifyDaemonStatusOld_, and modifyDaemonStatusOld
* cleanup daemonStatus accessorsGravatar Joey Hess2012-10-30
|
* split remaining assistant typesGravatar Joey Hess2012-10-30
|
* split out daemonstatus typesGravatar Joey Hess2012-10-30
|
* tweakGravatar Joey Hess2012-10-29
|
* move alert display functionsGravatar Joey Hess2012-10-29
|
* Assistant monad, stage 2.5Gravatar Joey Hess2012-10-29
| | | | | | | | | | Converted several threads to run in the monad. Added a lot of useful combinators for working with the monad. Now the monad includes the name of the thread. Some debugging messages are disabled pending converting other threads.
* better variable nameGravatar Joey Hess2012-10-14
|
* set/unset annex-sync, rather than annex-ignoreGravatar Joey Hess2012-10-11
| | | | | | This reserves annex.ignore for repos that should not be visible at all; repos with syncing disabled are now skipped by the assistant, but are displayed in the list and can be configured.
* flip catchDefaultIOGravatar Joey Hess2012-09-17
|
* add an alert while a locally initiated pairing request is in progressGravatar Joey Hess2012-09-09
| | | | Has a button to cancel the request.
* first pass at alert buttonsGravatar Joey Hess2012-09-08
| | | | | | | | | They work fine. But I had to go to a lot of trouble to get Yesod to render routes in a pure function. It may instead make more sense to have each alert have an assocated IO action, and a single route that runs the IO action of a given alert id. I just wish I'd realized that before the past several hours of struggling with something Yesod really doesn't want to allow.
* implement pair request broadcastsGravatar Joey Hess2012-09-08
| | | | | | | | | | Pair requests are sent on all network interfaces, and contain the best available hostname to use to contact the host on that interface. Added a pairing in progress page. Revert "reduce some boilerplate using ghc extensions", because it caused overlapping instances for Text.
* display errors when any named thread crashesGravatar Joey Hess2012-09-06
|
* preserve bytesComplete when updating a transfer infoGravatar Joey Hess2012-08-31
| | | | Avoids flicker to 0% when resuming a paused transfer.
* fix alterTransferInfoGravatar Joey Hess2012-08-31
| | | | don't want to stomp over fields other than the ones being changed
* fix resume buttonGravatar Joey Hess2012-08-29
| | | | | Change alterTransferInfo to not merge in old values, including transferPaused.
* avoid possibly re-adding a removed transfer when updating its infoGravatar Joey Hess2012-08-28
| | | | Doesn't fix the bug I thought it'd fix, but is clearly correct.
* add support for readonly remotesGravatar Joey Hess2012-08-26
| | | | | | | Currently only the web special remote is readonly, but it'd be possible to also have readonly drives, or other remotes. These are handled in the assistant by only downloading from them, and never trying to upload to them.
* don't exclude special remotes from the knownRemotes list used by the assistantGravatar Joey Hess2012-08-26
| | | | But do exclude them when pushing out changes.
* avoid requeueing a download from a remote that no longer has a keyGravatar Joey Hess2012-08-24
|
* remove pointless bracketGravatar Joey Hess2012-08-23
|
* avoid unnecessary transfer scans when syncing a disconnected remoteGravatar Joey Hess2012-08-22
| | | | | | | | | | | | | | | | | | | | Found a very cheap way to determine when a disconnected remote has diverged, and has new content that needs to be transferred: Piggyback on the git-annex branch update, which already checks for divergence. However, this does not check if new content has appeared locally while disconnected, that should be transferred to the remote. Also, this does not handle cases where the two git repos are in sync, but their content syncing has not caught up yet. This code could have its efficiency improved: * When multiple remotes are synced, if any one has diverged, they're all queued for transfer scans. * The transfer scanner could be told whether the remote has new content, the local repo has new content, or both, and could optimise its scan accordingly.
* implement pausing of transfersGravatar Joey Hess2012-08-10
| | | | | | A paused transfer's thread keeps running, keeping the slot in use. This is intentional; pausing a transfer should not let other queued transfers to run in its place.
* process group killingGravatar Joey Hess2012-08-10
| | | | | | | | | | | | | | | | | | | | This seems to work pretty well. Handled the process groups like this: - git-annex processes started by the assistant for transfers are run in their own process groups. - otherwise, rely on the shell to allocate a process group for git-annex There is potentially a problem if some other program runs git-annex directly (not using sh -c) The program and git-annex would then be in the same process group. If that git-annex starts a transfer and it's canceled, the program would also get killed. May or may not be a desired result. Also, the new updateTransferInfo probably closes a race where it was possible for the thread id to not be recorded in the transfer info, if the transfer info file from the transfer process is read first.
* added an alert after a file transferGravatar Joey Hess2012-08-06
|
* fix kqueue buildGravatar Joey Hess2012-07-30
|
* implement server-side alert closingGravatar Joey Hess2012-07-30
| | | | | Rather than using bootstrap's client-side closing. Now closed alerts stay closed.
* prune old filler alertsGravatar Joey Hess2012-07-30
|
* make old activiy alerts stay visibleGravatar Joey Hess2012-07-30
| | | | | | They're updated to show whether the activity succeeded or failed. This adds several TODOs to the code to fix later.
* better ordering of alertsGravatar Joey Hess2012-07-29
|
* add alerts to DaemonStatusGravatar Joey Hess2012-07-29
|