summaryrefslogtreecommitdiff
path: root/Utility
Commit message (Collapse)AuthorAge
* import yesod qualifiedGravatar Joey Hess2012-08-30
| | | | | | To avoid conflict with different liftIO from MonadIO (in some version of yesod not the one I have here), and because it's generally clearer, since this module has both Wai and Yesod stuff, to qualify them both.
* thread safe git-annex index file useGravatar Joey Hess2012-08-24
|
* add NetWatcher threadGravatar Joey Hess2012-08-21
| | | | | | This deals with interruptions in network connectevity, by listening for a new network interface coming up (using dbus to see when network-manager or wicd do it), and forcing a rescan of
* Merge branch 'master' into assistantGravatar Joey Hess2012-08-17
|\ | | | | | | | | Conflicts: debian/changelog
| * Pass --use-agent to gpg when in no tty mode. Thanks, Eskild Hustvedt.Gravatar Joey Hess2012-08-17
| |
* | support building with yesod-default 1.1.0Gravatar Joey Hess2012-08-09
| | | | | | | | | | | | | | | | | | Old 1.0.1 version is still supported as well. Cabal autodetects which version is available, but in the Makefile, WITH_OLD_YESOD has to be configured appropriately. I have not squashed all the $newline warnings with the new Yesod. They should go away eventually anyway as Yesod moves past that transition.
* | make pid file directoryGravatar Joey Hess2012-08-08
| |
* | Merge branch 'master' into assistantGravatar Joey Hess2012-08-07
|\|
* | updateGravatar Joey Hess2012-08-07
| |
| * move commentGravatar Joey Hess2012-08-07
| |
* | addGravatar Joey Hess2012-08-06
| |
* | avoid headGravatar Joey Hess2012-08-05
| |
* | addGravatar Joey Hess2012-08-05
| |
* | work toward adding new repos on removable drivesGravatar Joey Hess2012-08-04
| | | | | | | | | | This actually does add a new repo, but it doesn't yet set up remotes, or sync to it.
* | fix xdg desktop dir lookup codeGravatar Joey Hess2012-08-02
| | | | | | | | | | had to use xdg-user-dir to query it, since it's in a shell format file. Fall back to
* | better ~/ handlingGravatar Joey Hess2012-08-02
| |
* | fix bugs, add desktop dirGravatar Joey Hess2012-08-02
| |
* | 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
* | install autostart file tooGravatar Joey Hess2012-08-01
| |
* | installing desktop file workingGravatar Joey Hess2012-08-01
| | | | | | | | Not hooked up to either Makefile or cabal yet
* | implement enough of the fdo specs to be able to write desktop menu filesGravatar Joey Hess2012-08-01
| | | | | | | | to the appropriate system or local user directory
* | 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.
* | fix push status, broken when inParallel was adapted for -threadedGravatar Joey Hess2012-07-30
| | | | | | | | | | Before pushing ran in its own process, so exitSuccess was the right thing to do, but with the threaded code, that's caught as an exception.
* | better ordering of alertsGravatar Joey Hess2012-07-29
| |
* | fix the auto token leak on auth error page issue permanantlyGravatar Joey Hess2012-07-29
| |
* | 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
| |
* | 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.
* | 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.
* | 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.)
* | use widgetFileGravatar Joey Hess2012-07-26
| |
* | webapp now does long pollingGravatar Joey Hess2012-07-26
| | | | | | | | | | | | | | | | The webapp is now a constantly updating clock! I accomplished this amazing feat using "long polling", with some jquery and a little custom java script. There are more modern techniques, but this one works everywhere.
* | fix OSX open callGravatar Joey Hess2012-07-26
| |
* | on second thought, the session cookie is still useful to support setMessageGravatar Joey Hess2012-07-26
| |
* | git annex webapp --force forces a restart of the daemonGravatar Joey Hess2012-07-26
| | | | | | | | Useful for testing..
* | update build depsGravatar Joey Hess2012-07-26
| |
* | use the secret token for authentication, and add to all dynamic urlsGravatar Joey Hess2012-07-26
| |
* | generate random token and launch webapp using itGravatar Joey Hess2012-07-26
| |
* | added a custom defaultLayout, static site, and faviconGravatar Joey Hess2012-07-26
| | | | | | | | | | | | | | | | | | | | Broke hamlet out into standalone files. I don't like the favicon display; it should be served from /favicon.ico, but I could only get the static site to serve /static/favicon.ico, so I had to use a <link rel=icon> to pull it in. I looked at Yesod.Default.Handlers.getFaviconR, but it doesn't seem to embed the favicon into the binary?
* | git annex webapp now opens a browser to the webappGravatar Joey Hess2012-07-25
| | | | | | | | Also, starts the assistant if it wasn't already running.
* | run yesod, and launch webapp on startupGravatar Joey Hess2012-07-25
| |
* | add a path field to remotesGravatar Joey Hess2012-07-22
| | | | | | | | | | Also broke out some helper functions around constructing remotes, to be used later.
* | left unsafe imports here; added a comment with a rationalleGravatar Joey Hess2012-07-20
| |
* | use safe FFI imports for diskfreeGravatar Joey Hess2012-07-20
| | | | | | | | | | | | There's a minor performance overhead to doing this, but this way I don't have to worry about a situation where statfs might block for a long time. For example, when it's on a network filesystem.
* | use safe FFI importsGravatar Joey Hess2012-07-20
| | | | | | | | | | This avoids blocking all threads when calling waitchange_kqueue, which blocks.
* | store whole MntentsGravatar Joey Hess2012-07-19
| | | | | | | | | | This way, if a mount point was already mounted, but something else gets mounted there, it'll be seen as a new mount.
* | cleanupGravatar Joey Hess2012-07-19
| |
* | now working on OSXGravatar Joey Hess2012-07-19
| | | | | | | | | | | | | | While this seems to work fine when used in a simple program, when I load it in ghci, it segfaults about half the time. Don't know why, and seems ghci specific, but if I get reports of crashes, I'll need to look into that.