Joey Hess
e8827c29c6
Make field readonly, not disabled
...
Working on Windows horriblness all day sure did nice things to my mood,
didn't it?
2013-06-18 17:08:37 -04:00
Joey Hess
f651b87bbd
revert broken change that prevented saving changes to local repo
...
People who get annoyed at not being able to edit "here" can send me a
patch, I don't have time for this nonsense.
2013-06-18 17:02:58 -04:00
Joey Hess
c9f3082b99
disable text field for repository name for current repository
2013-06-13 13:38:46 -04:00
Joey Hess
b42fe2283a
remove unnecessary haskell extensions
2013-06-04 21:13:20 -04:00
Joey Hess
1198b5444d
now builds with both yesod 1.2 and 1.1
2013-06-03 18:14:22 -04:00
Joey Hess
31753bad46
add liftH shim between yesod versions, to avoid needing zillions of ifdefs
2013-06-03 13:51:54 -04:00
Joey Hess
79fd677805
WIP yesod 1.2
2013-06-03 11:25: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
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
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
740ec66dcf
webapp: When a repository's group is changed, rescan for transfers.
2013-04-08 16:45:12 -04:00
Joey Hess
140774a8c8
webapp: Switch all forms to POST.
2013-03-16 18:48:26 -04:00
Joey Hess
c94c99942b
make liftAnnex and liftAssistant polymorphic, like liftIO
2013-03-16 00:19:56 -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
907b0c0d78
better liftAnnex, avoid using runAnnex undefined
2013-03-04 16:36:38 -04:00
Joey Hess
53318d6ef1
webapp: fix display of paused local repo
2013-03-03 14:55:25 -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
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
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
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
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
c03d9b2310
webapp: Fix renaming of special remotes.
...
Working around what seems to me to be a git bug. Surely there are valid
setups of real git remotes that don't have fetch set?
2012-10-31 14:39:05 -04:00
Joey Hess
88d1907278
where indentation
2012-10-31 02:34:03 -04:00
Joey Hess
f6208bca0d
reload uuid map after editing repo description and saving
...
Don't rely on the ConfigMonitor thread, it might be too slow.
2012-10-30 17:22:21 -04:00
Joey Hess
93ffd47d76
finished pushing Assistant monad into all relevant files
...
All temporary and old functions are removed.
2012-10-30 17:14:51 -04:00
Joey Hess
47d94eb9a4
pushed Assistant monad down into DaemonStatus code
...
Currently have three old versions of functions that more reworking is
needed to remove: getDaemonStatusOld, modifyDaemonStatusOld_, and
modifyDaemonStatusOld
2012-10-30 15:39:15 -04:00
Joey Hess
4dbdc2b666
Assistant monad, stage 2.5
...
Converted several threads to run in the monad.
Added a lot of useful combinators for working with the monad.
Now the monad includes the name of the thread.
Some debugging messages are disabled pending converting other threads.
2012-10-29 02:21:04 -04:00
Joey Hess
4e765327ca
Assistant monad, stage 1
...
This adds the Assistant monad, and an AssistantData structure.
So far, none of the assistant's threads run in the monad yet.
2012-10-29 00:15:43 -04:00
Joey Hess
531f1d1446
add XMPP nudge alert, displayed after making a cloud repository
2012-10-27 12:25:29 -04:00
Joey Hess
362e18e3fd
allow renaming git remotes in the edit form
2012-10-14 17:18:01 -04:00
Joey Hess
08e1efb278
make repo description optional
2012-10-14 16:32:55 -04:00
Joey Hess
3f06c883f2
hook up syncing toggles
...
Although I observe that these toggles don't always prevent syncing.
When a transfer scan is active, it will still queue items from the disabled
remote.
Also, transfers from a disabled remote show up as from "unknown", which is
not ideal.
2012-10-12 12:45:16 -04:00
Joey Hess
a7642b3b6e
add syncing enabled/disabled to repo list with icon, and toggle link
...
The toggle link doesn't work yet.
Also lots of refactoring and type improvements
2012-10-12 01:09:28 -04:00
Joey Hess
9b760150b7
fix crash when editing the current repo
2012-10-11 19:36:28 -04:00
Joey Hess
0b266f970f
set/unset annex-sync, rather than annex-ignore
...
This reserves annex.ignore for repos that should not be visible at all;
repos with syncing disabled are now skipped by the assistant, but are
displayed in the list and can be configured.
2012-10-11 19:22:29 -04:00
Joey Hess
f31d292ab1
after setting up a new repo, go to a special version of the configuration page
2012-10-11 17:35:08 -04:00
Joey Hess
5b9900133c
allow disabling syncing to a repo on its edit form
...
This is not quite right yet, since it disables it so hard it doesn't show
up in the repo list anymore!
2012-10-11 17:14:42 -04:00
Joey Hess
7aef34f501
implement saving of repository settings
2012-10-10 19:13:49 -04:00
Joey Hess
4e2e08b45a
ui for selecting a repository group
2012-10-10 16:23:41 -04:00
Joey Hess
39be7eea40
add standard group selector to repo edit form
2012-10-10 16:04:28 -04:00
Joey Hess
f06587ba23
basic repository edit form
...
Only shows description so far.
2012-10-09 15:11:48 -04:00
Joey Hess
b6a3f03f82
add "configure" link to each repository in the webapp's repo list
2012-10-09 14:43:53 -04:00