Joey Hess
e0c3958d9a
improved config
2012-08-03 20:40:34 -04:00
Joey Hess
1bd2be549f
add extra sidebar widget
...
html is slightly broken
2012-08-03 20:10:32 -04:00
Joey Hess
b1a5a4f985
moving toward configuring new repos in the webapp
2012-08-03 14:36:16 -04:00
Joey Hess
a323b0c46d
update
...
default description will be added elsewhere
2012-08-03 10:44:13 -04:00
Joey Hess
89120261e0
run the file browser in a separate thread to avoid blocking the browser
2012-08-03 10:18:57 -04:00
Joey Hess
1f89712e6b
add a navbar button that opens the repo in the desktop's native file browser
...
This should work on linux (xdg-open) and OSX (open). If the program
is not in $PATH, it falls back to opening a browser window/tab with file:///
The only tricky bit is the javascript code, that handles clicking on the
link. This is to avoid unnecessary page refreshes. Until I added the
return false at the end, the <a>'s normal click event also fired, so two
file browsers opened. I have not checked portability extensively.
2012-08-03 10:02:56 -04:00
Joey Hess
a6e4283fed
add slight delay in between sidebar updates, to avoid excessive churn
...
Tested and 0.01 seconds is not perceivable as a delay when interacting with
the UI.
2012-08-02 13:55:38 -04:00
Joey Hess
22d7447ced
fix tilde expansion
2012-08-02 07:55:10 -04:00
Joey Hess
9a038b4a9b
better ~/ handling
2012-08-02 07:50:13 -04:00
Joey Hess
112ce4f49c
support XDG_DATA_DIR
2012-08-02 07:47:39 -04:00
Joey Hess
60da0d6ad2
full autostart support
...
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
2012-08-02 00:42:33 -04:00
Joey Hess
7606f3e7c1
cleanup
2012-08-01 16:31:16 -04:00
Joey Hess
ecc168aba3
implemented firstrun repository creation and redirection to full webapp
...
Some of the trickiest code I've possibly ever written.
2012-08-01 16:10:26 -04:00
Joey Hess
1efe4f3332
only use smart default on first run
2012-07-31 21:34:29 -04:00
Joey Hess
b9afb7785e
typo
2012-07-31 21:12:58 -04:00
Joey Hess
e81e8913d9
default repository location
...
Unifying poll results, it's Annex in lowercase. :)
When cwd is HOME, use ~/Desktop/annex, unless there's no Desktop directory;
then use use ~/annex
If cwd is not $HOME, use cwd
2012-07-31 21:06:30 -04:00
Joey Hess
bab80bf24a
full input validation for repository path
...
Expands ~ , checks for every crazy input problem I can think of
2012-07-31 20:56:10 -04:00
Joey Hess
c950e8fba0
move out to template
2012-07-31 18:33:19 -04:00
Joey Hess
4b5ffe8f9b
implemented the addrepository form
...
shiny!
2012-07-31 17:57:08 -04:00
Joey Hess
c70496dc7f
improve first run screen
2012-07-31 16:13:09 -04:00
Joey Hess
04794eafc0
webapp now starts up when run not in a git repo
2012-07-31 12:17:31 -04:00
Joey Hess
b9b0097876
tweak types so the webapp can run without a threadstate when outside an annex
2012-07-31 11:19:40 -04:00
Joey Hess
e9d9d9d5ea
add icons
2012-07-31 03:10:16 -04:00
Joey Hess
f0a88e1203
change url
2012-07-31 02:36:18 -04:00
Joey Hess
02b345249b
stub
2012-07-31 02:35:07 -04:00
Joey Hess
2c8bbdf307
made navbar work
...
also added an About page and a stub Config page.
2012-07-31 02:30:26 -04:00
Joey Hess
5fed026bcd
reorg templates
2012-07-31 01:24:49 -04:00
Joey Hess
58dfa3fa5b
split up webapp files
2012-07-31 01:11:32 -04:00