summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-05 15:05:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-05 15:06:44 -0400
commit0833eb43a6ab3cd74c8c9fc77d235fd5644ac555 (patch)
treefec0d96e440d23960e13232030a55957379a0662 /doc
parentfd61354431c0ee59e8adf6d026e14f0c718bd33b (diff)
parentb885c0c6c8faa0c56e5f8cbdaa031652df6b26b4 (diff)
Merge remote-tracking branch 'origin/master' into assistant
Conflicts: Init.hs
Diffstat (limited to 'doc')
-rw-r--r--doc/design/assistant/blog/day_52__file_browser.mdwn21
-rw-r--r--doc/design/assistant/webapp.mdwn24
-rw-r--r--doc/forum/public-web-frontend.mdwn16
-rw-r--r--doc/forum/public-web-frontend/comment_1_c73bd2dfe020c25eaad1c0707dd2db01._comment9
4 files changed, 57 insertions, 13 deletions
diff --git a/doc/design/assistant/blog/day_52__file_browser.mdwn b/doc/design/assistant/blog/day_52__file_browser.mdwn
new file mode 100644
index 000000000..a9762cc09
--- /dev/null
+++ b/doc/design/assistant/blog/day_52__file_browser.mdwn
@@ -0,0 +1,21 @@
+Today I added a "Files" link in the navbar of the WebApp. It looks like a
+regular hyperlink, but clicking on it opens up your desktop's native file
+manager, to manage the files in the repository!
+
+Quite fun to be able to do this kind of thing from a web page. :)
+
+---
+
+Made `git annex init` (and the WebApp) automatically generate a description
+of the repo when none is provided.
+
+---
+
+Also worked on the configuration pages some. I don't want to get ahead
+of myself by diving into the full configuration stage yet, but I am at
+least going to add a configuration screen to clone the repo to a removable
+drive.
+
+After that, the list of transfers on the dashboard needs some love.
+I'll probably start by adding UI to cancel running transfers, and then
+try to get drag and drop reordering of transfers working.
diff --git a/doc/design/assistant/webapp.mdwn b/doc/design/assistant/webapp.mdwn
index 7df93cf40..ddcc66153 100644
--- a/doc/design/assistant/webapp.mdwn
+++ b/doc/design/assistant/webapp.mdwn
@@ -17,10 +17,10 @@ The webapp is a web server that displays a shiny interface.
## interface
* list of files uploading and downloading **done**
-* progress bars for each file
+* button to open file browser on repo (`xdg-open $DIR`) **done**
+* progress bars for each file (see [[progressbars]])
* drag and drop to reorder
* cancel and pause
-* button to open file browser on repo (`xdg-open $DIR`)
* keep it usable w/o javascript, and accessible to blind, etc
## other features
@@ -29,18 +29,16 @@ The webapp is a web server that displays a shiny interface.
over http by the web app
* Display any relevant warning messages. One is the `inotify max_user_watches`
exceeded message.
+* possibly add a desktop file to the top of the repository that can be used
+ to open the webapp (rather than using the menus). Would be complicated
+ some by the path to git-annex sometimes needing to be hardcoded and varying
+ across systems, so it would need to be a symlink to `.git/annex/desktop`
+ which would be per-system.
-## first start
+## first start **done**
* make git repo **done**
-* generate a nice description like "joey@hostname Desktop/annex"
-* record repository that was made, and use it next time run
+* generate a nice description like "joey@hostname Desktop/annex" **done**
+* record repository that was made, and use it next time run **done**
* write a pid file, to prevent more than one first-start process running
- at once
-
-## implementation
-
-* possibly lose the ugly auth= token past the first page,
- and use a client-side session. It could be encrypted using the token
- as the `encryptKey`. Note: Would need to set the session duration
- to infinite (how?)
+ at once **done**
diff --git a/doc/forum/public-web-frontend.mdwn b/doc/forum/public-web-frontend.mdwn
new file mode 100644
index 000000000..d3fdb9b94
--- /dev/null
+++ b/doc/forum/public-web-frontend.mdwn
@@ -0,0 +1,16 @@
+Hi,
+
+Use case: I would like to have a "Public" top-level directory in my annex, which gets files in there published over HTTP on a particular server.
+
+How I see doing this:
+
+1. Put my annex to an http server with exported-over-http `/Public/` directory.
+2. Configure a `post-update` hook with the following:
+
+ $ git annex fix
+
+3. Push files on `/Public/` to that annex.
+
+Does it make sense? If yes, are there any gotchas I should beware of?
+
+Thanks.
diff --git a/doc/forum/public-web-frontend/comment_1_c73bd2dfe020c25eaad1c0707dd2db01._comment b/doc/forum/public-web-frontend/comment_1_c73bd2dfe020c25eaad1c0707dd2db01._comment
new file mode 100644
index 000000000..b9f6c9867
--- /dev/null
+++ b/doc/forum/public-web-frontend/comment_1_c73bd2dfe020c25eaad1c0707dd2db01._comment
@@ -0,0 +1,9 @@
+[[!comment format=mdwn
+ username="http://joeyh.name/"
+ subject="should work.."
+ date="2012-08-05T17:18:47Z"
+ content="""
+I see no need for `git annex fix` here.
+
+Web server default configurations may not allow following symlinks outside the web server document root. On apache, it can be enabled with `Options FollowSymLinks`
+"""]]