darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net.(http://hub.darcs.net)

Add an explicit config option for the "public" folder

By default darcsden picks up static content from the Cabal data directory, but this isn't always convenient, particularly during development and testing.

ganeshThu Jun 18 06:10:16 UTC 2015

The rootDir setting isn't used for anything now

ganeshTue Jun 2 18:17:48 UTC 2015

get the contents of /public using the cabal "data dir" API

This makes it easier to find at runtime when the source tree isn't available, but may mean it doesn't work directly from the source tree

ganeshTue Jun 2 17:26:21 UTC 2015

mark files in public/ as data-files

ganeshSun May 31 23:31:45 UTC 2015

Add some spacing before the website of a repository

notdanWed Jun 10 20:15:22 UTC 2015

Move 'crumb', 'pathToRepoItem' and 'filePath' to RepoHandlerUtils/Browse

notdanWed Jun 10 14:34:12 UTC 2015

Fix warnings and add comments to FileSystem.hs

notdanWed Jun 3 11:19:00 UTC 2015

Comment some bits of code

Add comments to some functions in

  • DarcsDen.Handlers.RepoHandlerUtils.Browse
  • DarcsDen.State.Repo
  • DarcsDen.State.User
notdanTue Jun 2 09:13:28 UTC 2015

Move 'userDir' and 'repoDir' under the BackendPermanentFileSystem class.

  • comment the relevant functions
  • the default implementations stay the same
notdanWed May 27 10:06:18 UTC 2015

Remove some unused, commented out pieces of code.

notdanTue May 26 23:04:21 UTC 2015

Add missing sshPort do defSettings

Julian OspaldMon May 18 14:20:27 UTC 2015

adapt darcsden-post-hook to new config system also

simonFri May 15 19:05:38 UTC 2015

Fix the "branches" feature by expanding homeDir and friends wrt #133

Julian OspaldFri May 15 13:07:32 UTC 2015

Allow runtime configuration

Configuration is read from darcsden.conf in the current dir. Alternatively it can be specified via the '--config DIR' argument. If the file does not exist, it falls back to a default configuration.

The user configuration does not have to be complete. It is merged with the default configuration.

Julian OspaldFri May 15 12:42:46 UTC 2015

Clarify installation procedure

Julian OspaldSun May 10 20:38:10 UTC 2015

Generalize patterns in Handler.hs via new when' func

Julian OspaldFri May 8 19:36:47 UTC 2015

Remove code duplication by utilizing 'whenXML'

Julian OspaldFri May 8 19:12:39 UTC 2015

Improve OAuth settings and login/register behavior

The "Register using..." and "Sign in using..." buttons only show up if the respective OAuth providers are enabled in Settings.hs.

In addition, the "Register using..." button will be hidden after it has been clicked and the information from the OAuth provider has been inserted into the forms.

This also effectively disables the handlers, not only the web interface.

Julian OspaldFri May 8 19:11:35 UTC 2015

Update daemon sample config

The port argument is gone, it's now in Settings.hs.

Julian OspaldFri May 8 11:26:09 UTC 2015

Add nginx sample config

Tested under FreeBSD-10.1 with nginx-1.6.3.

Julian OspaldFri May 8 11:24:07 UTC 2015

Switch from system-uuid to uuid

This also fixes linking errors on FreeBSD. Thanks to notdan for the hint.

Julian OspaldThu May 7 21:02:24 UTC 2015

Allow specifying sshPort

We now specify the SSH port in Settings.hs. In addition the repo-page now shows concrete instructions in case the port is not 22.

Julian OspaldThu May 7 20:22:06 UTC 2015

Fix github OAuth linking for existing accounts

Julian OspaldThu May 7 00:12:59 UTC 2015

Fix github OAuth wrt #102

Apparently the github API has changed and now needs "read:public_key" explicitly in the OAuth token scope. Previously the lookup via "getKeys" just failed and returned a "StatusCodeException" which caused the session to be broken.

Julian OspaldWed May 6 23:49:12 UTC 2015

Add cabal-sandbox stuff and darcsden user directories to the boringfile list

notdanWed May 6 09:35:03 UTC 2015

with -fdev, change ssh server's default port to 8923

simonFri May 1 22:21:16 UTC 2015

with -fdev, just log everything to the console

simonFri May 1 22:17:16 UTC 2015

the home directory is now always the current directory at startup

simonFri May 1 22:03:43 UTC 2015

use </> consistently with homeDir

simonFri May 1 22:01:12 UTC 2015

more cleanup of ssh/closing flags

simonFri May 1 21:58:53 UTC 2015