summaryrefslogtreecommitdiff
path: root/Command/WebApp.hs
Commit message (Collapse)AuthorAge
...
* nub the autostart fileGravatar Joey Hess2012-10-14
| | | | | It's possible for the file to get duplicate lines in it, and if so, we want to ignore the dups.
* webapp: display message about starting web browserGravatar Joey Hess2012-10-11
| | | | | One reason to do this is that on OSX, it doesn't jump to the web browser when opening a new page. Linux seems ahead in usability here... :P
* better messageGravatar Joey Hess2012-10-11
|
* webapp: avoid infinite loop on startGravatar Joey Hess2012-10-11
| | | | | | | | | | | | If the autostart file lists a repository, for which a directory exists, but there's not actually a valid git repo in there, the web app used to try to use it, and see it wasn't valid, and then try to autostart again. The ensuing runaway loop also ate memory, although not as fast as I was led to belive was happening to someone on IRC yesterday. So that guy may have had a different problem. But this seems otherwise a reasonable fit for the circumstances described, if git-annex was started before something that occurred during desktop login that made the repository available.
* make the standalone OSX app automatically install itself when runGravatar Joey Hess2012-09-26
|
* avoid webapp crash on startup when there's no ~/.gitconfigGravatar Joey Hess2012-09-23
| | | | git config --list --global exits nonzero when there's no global config
* more descriptive name for oneshotGravatar Joey Hess2012-09-15
|
* hlintGravatar Joey Hess2012-09-13
|
* 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.
* display errors when any named thread crashesGravatar Joey Hess2012-09-06
|
* implement resuming of paused transfersGravatar Joey Hess2012-08-12
| | | | | Currently waits for a new transfer slot to open up, which probably needs to change..
* make the webapp honor the web.browser git configGravatar Joey Hess2012-08-08
|
* wire up scan and transfer to newly added removable driveGravatar Joey Hess2012-08-04
| | | | remote setup still todo
* full autostart supportGravatar Joey Hess2012-08-02
| | | | | | | | git annex assistant --autostart will start separate daemons in each listed autostart repo running the webapp outside any git-annex repo will open it on the first listed autostart repo
* webapp is no longer a daemonGravatar Joey Hess2012-08-01
| | | | Remove --foreground and --stop options from it.
* always run webapp in foregroundGravatar Joey Hess2012-08-01
|
* write pid file even when running in foregroundGravatar Joey Hess2012-08-01
| | | | | | | | This prevents multiple runs of the assistant in the foreground, and lets --stop stop foregrounded runs too. The webapp firstrun case also now writes a pid file, once it's made the git repo to put it in.
* implemented firstrun repository creation and redirection to full webappGravatar Joey Hess2012-08-01
| | | | Some of the trickiest code I've possibly ever written.
* when run in uninitialized git repo, do firstrunGravatar Joey Hess2012-07-31
| | | | My $HOME is in git, let's make it work :)
* don't start webapp when in a git repo that has not been git-annex inittedGravatar Joey Hess2012-07-31
| | | | | Maybe later it can prompt if they want to use the repo with git-annex, but for now this is a sane easy choice.
* webapp now starts up when run not in a git repoGravatar Joey Hess2012-07-31
|
* 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.
* increase timeout from 10 to 100 secondsGravatar Joey Hess2012-07-26
| | | | I've seen 10 be too short under load.
* when starting the assistant, wait for it to create the shim file, as well as ↵Gravatar Joey Hess2012-07-26
| | | | | | the pid file fixes a possible race
* webapp: check that the shim exists, and restart the assistant if notGravatar Joey Hess2012-07-26
|
* on second thought, let's use --restart rather than --forceGravatar Joey Hess2012-07-26
| | | | --force could enable other, unwanted behavior
* git annex webapp --force forces a restart of the daemonGravatar Joey Hess2012-07-26
| | | | Useful for testing..
* fix editor damageGravatar Joey Hess2012-07-25
|
* git annex webapp now opens a browser to the webappGravatar Joey Hess2012-07-25
Also, starts the assistant if it wasn't already running.