aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Threads/WebApp.hs
Commit message (Collapse)AuthorAge
...
* 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.
* refactorGravatar Joey Hess2012-07-29
|
* update the sidebar by long pollingGravatar Joey Hess2012-07-29
| | | | | Needs to use a different NotificationBroadcaster, and not replace the whole sidebar div, but instead add in new content. However, it's 3:30 am.
* better noscript UIGravatar Joey Hess2012-07-29
|
* add a separate page for noscript browsersGravatar Joey Hess2012-07-29
| | | | | | This may be customised differently than the main page later on, but for now the important thing is that this constantly refreshed page does not allocate a new NotificationHandle each time it's loaded.
* renamed /status to /transfersGravatar Joey Hess2012-07-28
| | | | | | Also fixed a bug; the ident for the div was regnerated each time /status was called. This only was the same as the original ident due to luck.
* tune javascript refresh delaysGravatar Joey Hess2012-07-28
| | | | | | WebApp now shows changes with no delay. Comparing a running git-annex get and the webapp side-by-side, they both show each new transfer at the same time.
* add NotificationID to StatusR, and use it to blockGravatar Joey Hess2012-07-28
|
* move DaemonStatus manipulation out of the Annex monad to IOGravatar Joey Hess2012-07-28
| | | | | | I've convinced myself that nothing in DaemonStatus can deadlock, as it always keepts the TMVar full. That was the only reason it was in the Annex monad.
* template reorgGravatar Joey Hess2012-07-27
|
* template cleanupGravatar Joey Hess2012-07-27
| | | | use julius's nice #id and .class things
* add alert close buttonsGravatar 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.
* webapp now displays the real running and queued transfersGravatar Joey Hess2012-07-27
| | | | yowza!!!