Commit graph

4857 commits

Author SHA1 Message Date
Joey Hess
b618bd8b8e Merge branch 'master' into assistant 2012-08-03 10:45:22 -04:00
Joey Hess
abde98cda2 init: If no description is provided for a new repository, one will automatically be generated, like "joey@gnu:~/foo" 2012-08-03 10:45:18 -04:00
Joey Hess
a323b0c46d update
default description will be added elsewhere
2012-08-03 10:44:13 -04:00
Joey Hess
48d9e65dee Merge branch 'master' into assistant 2012-08-03 10:20:27 -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
02556b5acd remove duplicate nojs refresher 2012-08-03 10:06:34 -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
13a7362a1a fix xdg desktop dir lookup code
had to use xdg-user-dir to query it, since it's in a shell format file.
Fall back to
2012-08-02 23:51:38 -04:00
Joey Hess
3f74377b93 Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-02 23:10:48 -04:00
Joey Hess
a0eee78da2 blog for the day 2012-08-02 23:09:07 -04:00
http://joeyh.name/
01cda6b34e Added a comment 2012-08-02 23:29:38 +00:00
http://nico.kaiser.me/
002e080846 2012-08-02 23:01:15 +00:00
http://nico.kaiser.me/
f57becc8bd 2012-08-02 23:00:54 +00:00
http://nico.kaiser.me/
83c65f05f5 2012-08-02 22:56:12 +00:00
Joey Hess
e6603f3b11 Merge branch 'assistant-fixes' of https://github.com/np/git-annex into assistant 2012-08-02 18:43:02 -04:00
Nicolas Pouillard
e11946796d Fix imports and casing in Build.InstallDesktopFile 2012-08-02 20:11:41 +02:00
Joey Hess
74fc9fcbe6 add alert when committing 2012-08-02 14:02:35 -04:00
Joey Hess
e21a32627f avoid bogus alert errors 2012-08-02 13:57:34 -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
d2f9759443 refactor 2012-08-02 13:50:35 -04:00
http://xolus.net/openid/max
f294825b89 Added a comment: What about NTFS support ? 2012-08-02 17:45:10 +00:00
Joey Hess
6b38227bad only write data file when installing as normal user 2012-08-02 13:12:36 -04:00
http://joeyh.name/
ab6ad94bb9 Added a comment 2012-08-02 16:58:41 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmnrN9a3uAu6Ur2SSyE_AiKw7bOon1yJBc
6d0353eaad 2012-08-02 14:22:28 +00:00
Joey Hess
d2b48cacdb add some strictness annotations
on general principles
2012-08-02 09:20:21 -04:00
Joey Hess
1f2127c520 trim long filenames (have to fit on the sidebar)
30 characters would mostly work, but 20 is safer due to some wider letters
like 'w'. Of course this is very heuristic based on filesize anyway.

(Bootstrap does a surprisingly bad job at dealing with overlong words
in the sidebar.)
2012-08-02 09:15:08 -04:00
Joey Hess
520a0463a7 start webapp thread earlier so it opens ASAP 2012-08-02 09:09:06 -04:00
Joey Hess
7cc5fdbd7b layout 2012-08-02 09:08:58 -04:00
Joey Hess
191ee3b697 awesome alert combining
Now an alert tracks files that have recently been added. As a large file
is added, it will have its own alert, that then combines with the tracker
when dones.

Also used for combining sanity checker alerts, as it could possibly want to
display a lot.
2012-08-02 09:03:04 -04:00
Joey Hess
3695cab949 avoid showing alert when there are no remotes to push to 2012-08-02 09:00:13 -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
adf5789c1b fix bugs, add desktop dir 2012-08-02 07:47:20 -04:00
http://piotr.ozarowski.pl/
8e1077cb62 Added a comment: XDG 2012-08-02 10:30:55 +00: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
23fe661d37 install autostart file too 2012-08-01 23:31:53 -04:00
Joey Hess
b92c3dd7a1 Merge branch 'master' of ssh://git-annex.branchable.com 2012-08-01 21:38:53 -04:00
Joey Hess
50679952d2 todo 2012-08-01 21:38:12 -04:00
Joey Hess
ffeb060002 don't use hamlet for htmlshim
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.
2012-08-01 21:28:37 -04:00
Joey Hess
e78b13c428 hook desktop menu file installation into makefile and cabal 2012-08-01 21:05:27 -04:00
Joey Hess
ed07546288 add template-haskell build-dep for webapp 2012-08-01 21:04:15 -04:00
Joey Hess
9422e27489 installing desktop file working
Not hooked up to either Makefile or cabal yet
2012-08-01 20:49:02 -04:00
Joey Hess
89ec253a6a implement enough of the fdo specs to be able to write desktop menu files
to the appropriate system or local user directory
2012-08-01 20:27:45 -04:00
https://creativecommons.net/greg/identity
d9ad123668 2012-08-01 23:35:42 +00:00
https://creativecommons.net/greg/identity
c773389482 Added a comment 2012-08-01 23:22:03 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
45a32f5542 Added a comment 2012-08-01 23:06:03 +00:00
https://creativecommons.net/greg/identity
6275146b84 more info 2012-08-01 22:41:11 +00:00
https://creativecommons.net/greg/identity
33f0368c32 linkify the logs 2012-08-01 22:31:04 +00:00
https://creativecommons.net/greg/identity
a9d3d56b80 but reported 2012-08-01 22:24:11 +00:00