Joey Hess
d9e288b0fd
fix build with S3 disabled (for Android)
2013-05-01 13:27:51 -04:00
Joey Hess
017f62654f
stop using UltDest, doesn't seem to reliably work
2013-04-30 15:21:49 -04:00
Joey Hess
c3498042fd
webapp: Now automatically fills in any creds used by an existing remote when creating a new remote of the same type. Done for Internet Archive, S3, Glacier, and Box.com remotes.
2013-04-27 15:16:06 -04:00
Joey Hess
8a7e059f54
fix build w/o s3
2013-04-26 16:12:23 -04:00
Joey Hess
b4f4ed7d93
fix build with newer yesod
2013-04-26 15:06:18 -04:00
Joey Hess
8603109294
allow configuring the preferreddir
2013-04-26 13:01:06 -04:00
Joey Hess
867cba52a0
better default collections
2013-04-26 01:46:07 -04:00
Joey Hess
0ae8c82c53
per-IA-item content directories
2013-04-25 23:44:55 -04:00
Joey Hess
e3ea36174b
webapp: Display some additional information about a repository on its edit page.
2013-04-25 16:42:17 -04:00
Joey Hess
8284b310a7
support enabling IA repositories
2013-04-25 13:14:49 -04:00
Joey Hess
2810807ca5
Internet Archive!
...
* Add public repository group.
* webapp: Can now set up Internet Archive repositories.
TODO: Enabling IA repositories.
2013-04-25 12:23:36 -04:00
Joey Hess
2c42e70f6c
rename module
2013-04-23 11:38:52 -04:00
Joey Hess
8a2d1988d3
expose Control.Monad.join
...
I think I've been looking for that function for some time.
Ie, I remember wanting to collapse Just Nothing to Nothing.
2013-04-22 20:24:53 -04:00
Joey Hess
e92a207df5
webapp: When told to add a git repository on a remote server, and the repository already exists as a non-bare repository, use it, rather than initializing a bare repository in the same directory.
2013-04-22 16:21:37 -04:00
Joey Hess
8df5be7804
fix build with xmpp enabled but not local pairing
2013-04-21 13:24:56 -04:00
Joey Hess
844e772910
fix warnings
2013-04-20 19:25:50 -04:00
Joey Hess
4ddf9b7467
webapp: Don't default to making repository in cwd when started from within a directory containing a git-annex file (eg, standalone tarball directory).
2013-04-20 18:53:04 -04:00
Joey Hess
eeaf471f2f
minor tweak to fix a build issue when TH is splices
2013-04-16 22:46:20 -04:00
Joey Hess
c1b682cb8f
another no-xmpp fix
2013-04-16 19:30:09 -04:00
Joey Hess
d0336a9475
build fix for no xmpp
2013-04-16 19:19:30 -04:00
Joey Hess
740ec66dcf
webapp: When a repository's group is changed, rescan for transfers.
2013-04-08 16:45:12 -04:00
Joey Hess
1f1cddbaa7
syncNewRemote is not only used for new remotes; rename to syncRemote
2013-04-08 15:43:43 -04:00
Joey Hess
8b329c0317
refactor alert button creation code
2013-04-04 01:48:26 -04:00
Joey Hess
a886c3b56d
drop down menu for each repository with edit, disable, delete
2013-04-03 21:28:21 -04:00
Joey Hess
37d7da4de8
streamline deletion process and improve UI
2013-04-03 20:54:53 -04:00
Joey Hess
9a5f421768
detect when unwanted remote is empty and remove it
...
Needs fixes to build when the webapp is disabled.
2013-04-03 17:01:40 -04:00
Joey Hess
d888fb6a4b
move content from remote when user asks to delete it
2013-03-31 19:00:43 -04:00
Joey Hess
c57baaaa30
webapp: Added UI to delete repositories. Closes : #689847
2013-03-31 16:38:05 -04:00
Joey Hess
6fa0d0ecc8
webapp: Run ssh server probes in a way that will work when the login shell is a monstrosity that should have died 25 years ago, such as csh.
2013-03-29 13:09:30 -04:00
Joey Hess
4ef6e8fed5
improve wording
2013-03-27 15:46:08 -04:00
Joey Hess
3ef6b6a200
fix build with xmpp and w/o webapp
2013-03-24 18:55:19 -04:00
Joey Hess
bfb63ea521
adding removable drive improvements
2013-03-20 16:47:15 -04:00
Joey Hess
0400c5f596
fix redirect from XMPP prompt to pairing pages
2013-03-16 19:19:58 -04:00
Joey Hess
140774a8c8
webapp: Switch all forms to POST.
2013-03-16 18:48:26 -04:00
Joey Hess
996e899acc
webapp: Encourage user to install git-annex on a server when adding a ssh server, rather than just funneling them through to rsync.
2013-03-16 12:58:59 -04:00
Joey Hess
c94c99942b
make liftAnnex and liftAssistant polymorphic, like liftIO
2013-03-16 00:19:56 -04:00
Joey Hess
77c82de4ea
webapp: Display an alert when there are XMPP remotes, and a cloud transfer repository needs to be configured.
2013-03-15 17:52:41 -04:00
Joey Hess
39e979fb65
webapp: Improved UI for pairing your own devices together using XMPP.
2013-03-15 15:19:07 -04:00
Joey Hess
810a06b771
webapp: Repository list is now included in the dashboard, and other UI tweaks.
2013-03-15 00:34:42 -04:00
Joey Hess
6c7ce8f193
reorg repolist
2013-03-14 22:10:51 -04:00
Joey Hess
9b657a2ccc
webapp: Set locally paired repositories to a lower cost than other network remotes.
2013-03-13 14:10:29 -04:00
Joey Hess
0ef8d806ac
gratuitous rename HomeR -> DashboardR
2013-03-12 22:18:36 -04:00
Joey Hess
8221c2b4ed
split repolist out of configuration, into its own tab (temporarily)
2013-03-12 21:51:03 -04:00
Joey Hess
46a5f1532d
fix warning
2013-03-12 15:47:30 -04:00
Joey Hess
0c3cda3293
fix warning
2013-03-12 15:36:33 -04:00
Joey Hess
2c05c85437
webapp: DTRT when told to create a git repo that already exists.
2013-03-12 08:09:31 -04:00
Joey Hess
ccb7e5cfa4
got hdevtools working on the git-annex source tree
2013-03-12 05:51:34 -04:00
Joey Hess
56830af8d8
simpler use of MIN_VERSION checks
2013-03-10 15:43:17 -04:00
Joey Hess
bf46e6f15d
fix warning
2013-03-08 22:25:23 -04:00
Joey Hess
f8c2dc82d8
show when not connected to xmpp server
2013-03-06 22:02:47 -04:00
Joey Hess
c03fdf5a15
fix password length check to match message
2013-03-05 16:21:13 -04:00
Joey Hess
907b0c0d78
better liftAnnex, avoid using runAnnex undefined
2013-03-04 16:36:38 -04:00
Joey Hess
5274713305
webapp: Proceed automatically on from "Configure jabber account" to pairing.
2013-03-04 16:03:24 -04:00
Joey Hess
a238e58365
cleanup
2013-03-03 23:27:17 -04:00
Joey Hess
6cc0d93bd6
fix year
2013-03-03 23:20:47 -04:00
Joey Hess
08bdea7e52
webapp: New preferences page allows enabling/disabling debug logging at runtime, as well as configuring numcopies and diskreserve.
2013-03-03 17:07:27 -04:00
Joey Hess
53318d6ef1
webapp: fix display of paused local repo
2013-03-03 14:55:25 -04:00
Joey Hess
789ca15012
better prevention of auto repack
...
Looking through the git sources (documentation is unclear),
it seems commit doesn't ever trigger git-gc, mostly fetching and merging
seems to. I cannot easily override the setting in all those places, so
instead set gc.auto in git config when initializing a repository with
the assistant.
This does mean that the user cannot set gc.auto=0 and completely avoid
repacks, as the assistant does it daily. But, it only does it after there
are 100x the default number of loose objects, so this is probably not going
to be too annoying.
2013-03-03 14:20:07 -04:00
Joey Hess
0c13d3065e
git subcommand cleanup
...
Pass subcommand as a regular param, which allows passing git parameters
like -c before it. This was already done in the pipeing set of functions,
but not the command running set.
2013-03-03 13:39:07 -04:00
Joey Hess
95a244d9c4
work around yesod bug that causes a warning
...
I think this is fixed in newer versions of yesod, so this commit can be
reverted when dropping support for Debian wheezy.
2013-02-27 18:31:59 -04:00
Joey Hess
cbd53b4a8c
Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags.
...
The only thing lost is ./ghci
Speed: make fast used to take 20 seconds here, when rebuilding from
touching Command/Unused.hs. With cabal, it's 29 seconds.
2013-02-27 02:39:22 -04:00
Joey Hess
9d6fd5b927
webapp: Display any error message from git init if it fails to create a repository.
2013-02-26 13:04:37 -04:00
Joey Hess
e598b78a69
webapp: Can now add a new local repository, and make it sync with the main local repository.
2013-02-18 20:37:26 -04:00
Joey Hess
127463e577
webapp: Allow creating repositories on filesystems that lack support for symlinks.
2013-02-18 12:54:41 -04:00
Joey Hess
13aaf69cdb
webapp: Fix crash adding removable drive that has an annex directory in it that is not a git repository.
2013-01-15 16:43:44 -04:00
Joey Hess
7efdab3852
avoid doing anything if new and old sanitized git remote name are the same
2013-01-14 18:42:15 -04:00
Joey Hess
0d2ac184b5
webapp: Avoid illegal characters in hostname when creating S3 or Glacier remote.
2013-01-14 12:54:29 -04:00
Joey Hess
09cbbaf537
move local repo list out of control menu
2013-01-03 16:34:57 -04:00
Joey Hess
909d726d1d
update list of other repos when adding one
...
This way, once it switches to the new repo, the user can switch back to the
old one, and its menu will allow switching to the new again.
However, if there are multiple repos, the others don't yet learn about the
new repo.
2013-01-03 15:34:50 -04:00
Joey Hess
47994ce5cd
direct mode by default in repositories created by assistant
2013-01-01 15:30:54 -04:00
Joey Hess
4008590c68
type based git config handling for remotes
...
Still a couple of places that use git config ad-hoc, but this is most of it
done.
2013-01-01 13:58:14 -04:00
Joey Hess
7f7c31df1c
type based git config handling
...
Now there's a Config type, that's extracted from the git config at startup.
Note that laziness means that individual config values are only looked up
and parsed on demand, and so we get implicit memoization for all of them.
So this is not only prettier and more type safe, it optimises several
places that didn't have explicit memoization before. As well as getting rid
of the ugly explicit memoization code.
Not yet done for annex.<remote>.* configuration settings.
2012-12-29 23:10:18 -04:00
Joey Hess
c0f9810f0b
OSX assistant: Uses direct mode by default when setting up a new local repository.
2012-12-28 16:42:11 -04:00
Joey Hess
561e317506
typo
2012-12-28 16:25:18 -04:00
Joey Hess
0d50a6105b
whitespace fixes
2012-12-13 00:45:27 -04:00
Joey Hess
551924e6be
webapp: Allow user to specify the ssh port when setting up a remote.
2012-12-06 17:09:38 -04:00
Joey Hess
c9fd389fbf
webapp: Encryption can be disabled when setting up remotes.
2012-12-04 13:28:22 -04:00
Joey Hess
4f4209b833
webapp: Added help buttons and links next to fields that require explanations.
2012-12-02 22:33:30 -04:00
Joey Hess
7b032dbbc8
webapp: Fix bad interaction between required fields and modals.
2012-12-02 17:32:54 -04:00
Joey Hess
0b6c889012
webapp: S3 and Glacier forms now have a select list of all currently-supported AWS regions.
2012-12-01 14:11:37 -04:00
Joey Hess
8dd1d9aaf9
webapp: Defaults to sharing box.com account info with friends, allowing one-click enabling of the repository.
2012-11-28 13:31:49 -04:00
Joey Hess
18fe34222a
allow building webapp w/o webdav
2012-11-25 14:36:24 -04:00
Joey Hess
3dfc9cadb0
simplify
2012-11-25 00:38:11 -04:00
Joey Hess
59733456ed
refactor
2012-11-25 00:27:17 -04:00
Joey Hess
495b0a898c
automatically create archive directory
2012-11-24 16:39:36 -04:00
Joey Hess
463cf58140
webapp and assistant glacier support
2012-11-24 16:30:15 -04:00
Joey Hess
a5111a6d85
Amazon Glacier special remote; 100% working
2012-11-20 16:43:58 -04:00
Joey Hess
dea2780b78
fix build with yesod-form-1.2.0
2012-11-18 13:21:19 -04:00
Joey Hess
453587d392
UI for enabling existing webdav remotes
2012-11-17 16:10:13 -04:00
Joey Hess
7addb89dc1
webapp: support box.com
2012-11-17 15:30:11 -04:00
Joey Hess
e250f6f11f
factor out Creds
2012-11-14 19:32:27 -04:00
Joey Hess
d468e37f46
automatic repolist updating
2012-11-13 17:50:54 -04:00
Joey Hess
75dbce69e6
Show error message to user when testing XMPP creds.
2012-11-13 13:21:09 -04:00
Joey Hess
8fd78f45a2
fix build without XMPP
...
not sure if I'll keep bothering with this option
2012-11-12 01:48:15 -04:00
Joey Hess
8b22bd8831
add a yes/no confirm for xmpp pairing requests
2012-11-11 22:29:16 -04:00
Joey Hess
b91f07fe83
split up xmpp and local pairing UIs
2012-11-11 17:41:56 -04:00
Joey Hess
5e44ab177c
don't try to transfer data to/from XMPP remotes
...
Partition syncRemotes into ones needing git sync (ie, non-special remotes),
and ones needing data sync (ie, non-XMPP remotes).
2012-11-11 16:23:16 -04:00
Joey Hess
b160856297
end of xmpp pairing page encourages adding a shared cloud repository
2012-11-10 20:38:52 -04:00
Joey Hess
fd22734392
show when a buddy is already paired
2012-11-10 16:36:21 -04:00
Joey Hess
da6fb44446
finished XMPP pairing!
...
This includes keeping track of which buddies we're pairing with, to know
which PairAck are legitimate.
2012-11-05 17:43:17 -04:00