git-annex/templates
Joey Hess d1ed337035 webapp: Improve handling of remotes whose setup has stalled.
This includes recovery from the ssh-agent problem that led to many reporting
http://git-annex.branchable.com/bugs/Internal_Server_Error:_Unknown_UUID/
(Including fixing up .ssh/config to set IdentitiesOnly.)

Remotes that have no known uuid are now displayed in the webapp as
"unfinished". There's a link to check their status, and if the remote
has been set annex-ignore, a retry button can be used to unset that and
try again to set up the remote.

As this bug has shown, the process of adding a ssh remote has some failure
modes that are not really ideal. It would certianly be better if, when
setting up a ssh remote it would detect if it's failed to get the UUID,
and handle that in the remote setup process, rather than waiting until
later and handling it this way.

However, that's hard to do, particularly for local pairing, since the
PairListener runs as a background thread. The best it could do is pop up an
alert if there's a problem. This solution is not much different.

Also, this solution handles cases where the user has gotten their repo into
a mess manually and let's the assistant help with cleaning it up.

This commit was sponsored by Chia Shee Liang. Thanks!
2013-07-31 16:36:29 -04:00
..
configurators webapp: Improve handling of remotes whose setup has stalled. 2013-07-31 16:36:29 -04:00
control gratuitous rename HomeR -> DashboardR 2013-03-12 22:18:36 -04:00
dashboard animate syncing and other activity icons 2013-04-08 22:54:02 -04:00
documentation added a link to the source code 2013-07-10 11:37:32 -04:00
notifications webapp: More adjustments to longpoll code to deal with changes in variable quoting in different versions of shakespeare-js. 2013-01-14 18:35:33 -04:00
sidebar improve display of multiline messages in alerts 2013-04-24 11:45:41 -04:00
actionbutton.hamlet add tooltips 2012-09-27 12:55:00 -04:00
bootstrap.hamlet refactor 2012-11-25 00:27:17 -04:00
controlmenu.hamlet drop down menu for each repository with edit, disable, delete 2013-04-03 21:28:21 -04:00
error.cassius webapp: Prettify error display. 2012-12-02 15:02:49 -04:00
error.hamlet link to logs on error page 2013-01-15 16:32:00 -04:00
page.cassius template reorg 2012-07-27 20:47:48 -04:00
page.hamlet shorten 2013-05-06 18:15:14 -04:00
page.julius further refactoring my js 2012-07-30 20:33:23 -04:00
README add README 2012-07-27 00:40:18 -04:00
repolist.hamlet webapp: Improve handling of remotes whose setup has stalled. 2013-07-31 16:36:29 -04:00
repolist.julius webapp: Repository list is now included in the dashboard, and other UI tweaks. 2013-03-15 00:34:42 -04:00

These are template files for the git-annex webapp. They use the
Shakespearean template library, which is documented here:
http://www.yesodweb.com/book/shakespearean-templates

Note that for most of the templates, it will use files ending in
.hamlet, .julius, and .cassius if they exist. So if you need to add CSS,
or javascript, you can create the missing template files.