aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Threads/WebApp.hs
Commit message (Collapse)AuthorAge
* webapp: Now allows restarting any threads that crash.Gravatar Joey Hess2013-01-26
|
* webapp: Use IP address, rather than localhostGravatar Joey Hess2013-01-09
| | | | | | | | | since some systems may have configuration problems or other issues that prevent web browsers from connecting to the right localhost IP for the webapp. Tested on both ipv4 and ipv6 localhost. Url for the latter looks like: http://[::1]:50676
* 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.
* 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.
* allow building webapp w/o webdavGravatar Joey Hess2012-11-25
|
* webapp and assistant glacier supportGravatar Joey Hess2012-11-24
|
* webapp: support box.comGravatar Joey Hess2012-11-17
|
* moved ThreadedMonad to TypesGravatar Joey Hess2012-10-29
|
* tweakGravatar 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.
* Assistant monad, stage 1Gravatar Joey Hess2012-10-29
| | | | | This adds the Assistant monad, and an AssistantData structure. So far, none of the assistant's threads run in the monad yet.
* ensure that git-annex branch is pushed after a successful transferGravatar Joey Hess2012-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I now have this topology working: assistant ---> {bare repo, special remote} <--- assistant And, I think, also this one: +----------- bare repo --------+ v v assistant ---> special remote <--- assistant While before with assistant <---> assistant connections, both sides got location info updated after a transfer, in this topology, the bare repo *might* get its location info updated, but the other assistant has no way to know that it did. And a special remote doesn't record location info, so transfers to it won't propigate out location log changes at all. So, for these to work, after a transfer succeeds, the git-annex branch needs to be pushed. This is done by recording a synthetic commit has occurred, which lets the pusher handle pushing out the change (which will include actually committing any still journalled changes to the git-annex branch). Of course, this means rather a lot more syncing action than happened before. At least the pusher bundles together very close together pushes, somewhat. Currently it just waits 2 seconds between each push.
* (re)start XMPP when it's configured in the webappGravatar Joey Hess2012-10-27
|
* XMPP configuration formGravatar Joey Hess2012-10-26
| | | | | | Currently relies on SRV being set, or the JID's hostname being the server hostname and the port being default. Future work: Allow manual configuration of user name, hostname, and port.
* import S3 only when enabledGravatar Nicolas Pouillard2012-10-18
|
* add "configure" link to each repository in the webapp's repo listGravatar Joey Hess2012-10-09
|
* add a configurator for S3Gravatar Joey Hess2012-09-26
|
* make other repositories list list all autostarted reposGravatar Joey Hess2012-09-18
| | | | And add a form to add another, unrelated repository
* hlintGravatar Joey Hess2012-09-13
|
* render webapp staitc file url using yesodGravatar Joey Hess2012-09-08
|
* 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.
* yesod skelton and routes for pairingGravatar Joey Hess2012-09-08
| | | | yet more changes to pairing message data types
* display errors when any named thread crashesGravatar Joey Hess2012-09-06
|
* add ssh confirmation pageGravatar Joey Hess2012-09-02
| | | | also broke out webapp types into a separate module
* split out local repo configuratorsGravatar Joey Hess2012-08-31
|
* implement resuming of paused transfersGravatar Joey Hess2012-08-12
| | | | | Currently waits for a new transfer slot to open up, which probably needs to change..
* wire up scan and transfer to newly added removable driveGravatar Joey Hess2012-08-04
| | | | remote setup still todo
* better ~/ handlingGravatar Joey Hess2012-08-02
|
* don't use hamlet for htmlshimGravatar Joey Hess2012-08-01
| | | | | | This allows me to not build-depend on blaze-markup, which was causing me some trouble when tring to build with cabal on debian. Seems debian ships Text.Blaze.Renderer.String in two packages.
* implemented firstrun repository creation and redirection to full webappGravatar Joey Hess2012-08-01
| | | | Some of the trickiest code I've possibly ever written.
* webapp now starts up when run not in a git repoGravatar Joey Hess2012-07-31
|
* tweak types so the webapp can run without a threadstate when outside an annexGravatar Joey Hess2012-07-31
|
* made navbar workGravatar Joey Hess2012-07-31
| | | | also added an About page and a stub Config page.
* split up webapp filesGravatar Joey Hess2012-07-31
|
* fix noscript mode to not allocate notification ids on each refreshGravatar Joey Hess2012-07-30
| | | | | | Now the javascript does an ajax call at the start to request the url to use to poll, and the notification id is generated then, once we know javascript is working.
* Merge branch 'assistant' into assistant-longpolling-rewriteGravatar Joey Hess2012-07-30
|\
| * fix transfers display logicGravatar Joey Hess2012-07-30
| |
* | rewrote longpolling, trying to avoid duplicationGravatar Joey Hess2012-07-30
|/ | | | does not work though. stupid JS
* better connection close handlingGravatar Joey Hess2012-07-30
| | | | | | | | | | Depending on how the webapp was started up and whether the user clicked on any links in it, window.close() may be disallowed by browser security policy. Also if that fails, display a modal dialog that nicely blackens out the webapp. TODO: avoid Escape closing it. Bootstrap's docs are unclear about how to do that.
* implement server-side alert closingGravatar Joey Hess2012-07-30
| | | | | Rather than using bootstrap's client-side closing. Now closed alerts stay closed.
* spruce up display of the repo listGravatar Joey Hess2012-07-30
|
* 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.
* filter out dead repos from the introGravatar Joey Hess2012-07-30
|
* tweak introGravatar Joey Hess2012-07-29
|
* add introGravatar Joey Hess2012-07-29
|
* tweak Alert closability and constructionGravatar Joey Hess2012-07-29
|
* better ordering of alertsGravatar Joey Hess2012-07-29
|
* typo; was waiting on the wrong notifier for the sidebar!Gravatar Joey Hess2012-07-29
|
* show alerts in the sidebarGravatar Joey Hess2012-07-29
| | | | | This has a bug -- it seems long polling can only wait on one page at a time. Need to re-unify the notifiers.