summaryrefslogtreecommitdiff
path: root/Utility/WebApp.hs
Commit message (Collapse)AuthorAge
* 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.
* finished where indentation changesGravatar Joey Hess2012-12-13
|
* 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.
* fix warning seen on OSX, apparently something there defines a closeGravatar Joey Hess2012-11-07
|
* let's not -DOSX, that results in unwanted manglingGravatar Joey Hess2012-09-29
|
* retry bindGravatar Joey Hess2012-09-27
| | | | | | This is a workaround for bind failing with EINVAL sometimes on OSX. I don't know why; EVINAL should mean the socket is already bound to an address, but this is with a new socket.
* prefer ipv4 localhost when both are availableGravatar Joey Hess2012-09-18
| | | | | | | | | | The webapp can only run on one of ipv4 and ipv6, no both. Some web browsers may not support ipv6, so ipv4 is the safe choice. The actual problem I ran into with it only listening to ipv6 was that Utility.Url.exists was failing to connect to it. I doubt that haskell's HTTP library is ipv4 only. More likely, it was only trying one address, and tried ipv4 first.
* 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.
* 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.
* avoid headGravatar Joey Hess2012-08-05
|
* fix the auto token leak on auth error page issue permanantlyGravatar Joey Hess2012-07-29
|
* 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.)
* 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
|
* run yesod, and launch webapp on startupGravatar Joey Hess2012-07-25