summaryrefslogtreecommitdiff
path: root/Assistant
Commit message (Collapse)AuthorAge
* guard readSymbolicLinkGravatar Joey Hess2013-01-05
| | | | throws an exception if the file is not a symlink
* assistant: Make expensive transfer scan work fully in direct mode.Gravatar Joey Hess2013-01-05
| | | | | | | | | | | | | The expensive scan uses lookupFile, but in direct mode, that doesn't work for files that are present. So the scan was not finding things that are present that need to be uploaded. (It did find things not present that needed to be downloaded.) Now lookupFile also works in direct mode. Note that it still prefers symlinks on disk to info committed to git, in direct mode. This is necessary to make things like Assistant.Threads.Watcher.onAddSymlink work correctly, when given a new symlink not yet checked into git (or replacing a file checked into git).
* restart UIGravatar Joey Hess2013-01-03
| | | | | Browser behavior is not ideal; a new tab is opened on restart. Browsers won't let me redirect to a file:// so I cannot use the old tab.
* fix typo in name of authorized_keys file when canceling adding a keyGravatar Joey Hess2013-01-03
|
* webapp: Add UI to stop assistant.Gravatar Joey Hess2013-01-03
| | | | | | | Would like to also have restart UI, but that's rather harder to do, seems it'd need to start another copy of the webapp, and redirect the browser to its new url, but running two assistants in the same repo at the same time isn't good.
* 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.
* type based git config handlingGravatar Joey Hess2012-12-29
| | | | | | | | | | | Now there's a Config type, that's extracted from the git config at startup. Note that laziness means that individual config values are only looked up and parsed on demand, and so we get implicit memoization for all of them. So this is not only prettier and more type safe, it optimises several places that didn't have explicit memoization before. As well as getting rid of the ugly explicit memoization code. Not yet done for annex.<remote>.* configuration settings.
* avoid double commits with inotify when direct mode file is createdGravatar Joey Hess2012-12-29
|
* OSX assistant: Uses direct mode by default when setting up a new local ↵Gravatar Joey Hess2012-12-28
| | | | repository.
* add missing modifyHook for watcherGravatar Joey Hess2012-12-28
| | | | | Needed for FSEvents, which calls that hook for modified files. inotify seems to call the add hook, so I didn't notice it before.
* assistant direct mode file add/change bookkeepingGravatar Joey Hess2012-12-25
| | | | | | | | | | | | | | When a file is changed in direct mode, the old content is probably lost (at least from the local repo), and bookeeping needs to be updated to reflect this. Also, synthetic add events are generated at assistant startup, so make it detect when the file has not really changed, and avoid re-adding it. This does add the overhead of querying the runing git cat-file for the key that's recorded in git for the file, each time a file is added or modified in direct mode.
* use sync command merge engine in assistantGravatar Joey Hess2012-12-25
| | | | To handle direct mode merging.
* assistant adding of modified files in direct modeGravatar Joey Hess2012-12-24
| | | | | Works with inotify, but I think in kqueue we don't get events existing files that get modified.
* make startup scan for deleted files work in direct modeGravatar Joey Hess2012-12-24
| | | | | | | | | | git add --update cannot be used, because it'll stage typechanged direct mode files. Intead, use ls-files to find deleted files, and stage them ourselves. It seems that no commit was made before when the scan staged deleted files. (Probably masked since if files were added, a commit happened then..) Now that I'm doing the staging, I was also able to fix that bug.
* assistant adding of files in direct modeGravatar Joey Hess2012-12-24
|
* move thirdparty program installation for standalone bundle into haskell programGravatar Joey Hess2012-12-14
| | | | | | | | | This allows it to use Build.SysConfig to always install the programs configure detected. Amoung other fixes, this ensures the right uuid generator and checksum programs are installed. I also cleaned up the handling of lsof's path; configure now checks for it in PATH, but falls back to looking for it in sbin directories.
* whitespace fixesGravatar Joey Hess2012-12-13
|
* assistant: Fix syncing to just created ssh remotes.Gravatar Joey Hess2012-12-06
| | | | | This got broken when I optimised reconnecting with remotes, to not do a full scan if the remote was not diverged.
* webapp: Allow user to specify the ssh port when setting up a remote.Gravatar Joey Hess2012-12-06
|
* --auto fixesGravatar Joey Hess2012-12-06
| | | | | | | * get/copy --auto: Transfer data even if it would exceed numcopies, when preferred content settings want it. * drop --auto: Fix dropping content when there are no preferred content settings.
* assistant: Allow periods in ssh key comments.Gravatar Joey Hess2012-12-06
|
* assistant: Avoid trying to drop content from remotes that don't have it.Gravatar Joey Hess2012-12-05
|
* typoGravatar Joey Hess2012-12-05
|
* avoid crashing threads that drop content if the drop crashesGravatar Joey Hess2012-12-05
|
* remove dead codeGravatar Joey Hess2012-12-01
|
* better function nameGravatar Joey Hess2012-12-01
|
* remove hard link when sanity check failedGravatar Joey Hess2012-11-29
| | | | See http://git-annex.branchable.com/forum/dot_git_slash_annex_slash_tmp/
* assistant: Retrival from glacier now handled.Gravatar Joey Hess2012-11-29
|
* typoGravatar Joey Hess2012-11-28
|
* Fix broken .config/git-annex/program installed by standalone tarball.Gravatar Joey Hess2012-11-28
| | | | | | | | It was doubly broken; both missing a slash, and containing "runshell git-annex", while some parts of the code expected it to be a simple path to a program. This appears to include the transfer queue runner, and the code that starts a new assistant process when switching to another repository in the webapp.
* avoid using Data.AssocList, which is cunningly part of hxtGravatar Joey Hess2012-11-27
|
* The standalone builds now unset their special path and library path ↵Gravatar Joey Hess2012-11-27
| | | | | | variables before running the system web browser. Should fix a crash reported on OSX.
* allow building webapp w/o webdavGravatar Joey Hess2012-11-25
|
* webapp and assistant glacier supportGravatar Joey Hess2012-11-24
|
* queue uploads when a new or renamed symlink is handledGravatar Joey Hess2012-11-24
|
* webapp: support box.comGravatar Joey Hess2012-11-17
|
* update to dav 0.1, and basic uploading is working!Gravatar Joey Hess2012-11-15
|
* factor out CredsGravatar Joey Hess2012-11-14
|
* use System.TimeoutGravatar Joey Hess2012-11-14
| | | | I'd forgotten this existed!
* automatic repolist updatingGravatar Joey Hess2012-11-13
|
* Fix build of assistant without yesod.Gravatar Joey Hess2012-11-13
|
* upper-case first char of buddy nameGravatar Joey Hess2012-11-12
|
* add a yes/no confirm for xmpp pairing requestsGravatar Joey Hess2012-11-11
|
* auto-accept pair requests from JIDs already paired withGravatar Joey Hess2012-11-11
|
* 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).
* allow both one push and one receive-pack to run at the same timeGravatar Joey Hess2012-11-11
| | | | | | Noticed that when pairing, sometimes both sides start to push, and the other side sends a PushRequest, and the two deadlock, neither doing anything. (Timeout eventually breaks this.) So, let both run at the same time.
* add 120 second timeout when waiting for XMPP packetsGravatar Joey Hess2012-11-11
|
* use trustExcludeGravatar Joey Hess2012-11-11
|
* reword alertGravatar Joey Hess2012-11-10
|
* fix creation of creds directory for xmppGravatar Joey Hess2012-11-10
|