summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support paths.skel in gitano-setup to change skeleton pathbaserock/pedroalvarez/trove-ansible3Daniel Silverstone2014-05-211-1/+4
|
* Add support for cached ssh keys for testing. Shaves 20% off test runtimeDaniel Silverstone2014-05-177-6/+106
|
* Add tests for configDaniel Silverstone2014-05-171-0/+91
|
* Add support for server-side repo checkingDaniel Silverstone2014-05-172-0/+14
|
* Short-circuiting hooks if repository is accessed directlyGavin Lee2014-05-164-0/+19
| | | | Signed-off-by: Vanush "Misha" Paturyan <misha@cs.nuim.ie>
* Merge remote-tracking branch 'ri/richardipsum/refactor'Daniel Silverstone2014-05-165-158/+38
|\
| * Make runcmd output "Unable to continue"Richard Ipsum2014-05-041-0/+1
| | | | | | | | | | At the moment the test suite requires that certain errors produce "Unable to continue" on stderr
| * Make gitano-command cgi use runcmdRichard Ipsum2014-05-041-21/+1
| |
| * Make gitano-auth use is_authorized and runcmdRichard Ipsum2014-05-041-133/+9
| |
| * Make gitano-smart-http pass repo_root to is_authorizedRichard Ipsum2014-05-041-1/+2
| |
| * Make gitano-command pass repo_root to is_authorizedRichard Ipsum2014-05-041-1/+1
| |
| * Add repo_root parameter to is_authorizedRichard Ipsum2014-05-041-2/+1
| |
| * Move runcmd into utilRichard Ipsum2014-05-041-0/+23
|/
* Ensure we pass the repo through otherwise HTTP commands might not workDaniel Silverstone2014-04-092-4/+5
|
* UPDATE-HOOK: Extra audit message informationDaniel Silverstone2014-04-041-1/+8
| | | | | | | Increase the audit log message data to include the update action type, and the old and new SHA. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support rsync directly to subdirectoriesDaniel Silverstone2014-04-041-2/+3
|
* Cache expansionsDaniel Silverstone2014-03-221-0/+8
|
* Allow tests to run even when not inside gitano-allDaniel Silverstone2014-03-141-1/+9
|
* RSYNC: Update rsync plugin to fix hiccoughsDaniel Silverstone2014-03-121-5/+2
| | | | | | | | This removes the rsync path reporting since I'm now confident it works, also we fix a bug in the lace running so that it tests against the right repo and we hide the rsync command since it's not a normal user command. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Merge in rsync work from CodethinkDaniel Silverstone2014-03-1117-39/+291
|\ | | | | | | | | | | | | This adds support for Codethink's Trove server's rsync command and also adds a generic plugin interface and repository detection support. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
| * Support for rsync in Trovesbaserock/danielsilverstone/S10634-rsync-supportDaniel Silverstone2014-03-112-1/+107
| | | | | | | | | | | | | | | | | | | | | | | | In order to support ingesting of binary artifacts, we are proposing the use of `git-fat` which is a content filter which uses rsync to store the binary artifacts. That requires an access controlled binary artifact repository, so we take advantage of Gitano's ACLs and associate an optional rsync repository with every git repository on the server. By placing it inside the git repository, all of gitano's destroy and graveyard behaviour automatically works with the new rsync content. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Use new configurable repository detectionbaserock/danielsilverstone/S10633-repo-detectionDaniel Silverstone2014-03-113-31/+12
| | | | | | | | | | | | | | | | | | Each of these callsites independently detected repositories before. Now they use the configurable repository detection which means (a) they are unified in their behaviour and (b) they can take advantage of new commands which might not have repositories represented in the same way. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Configurable repository detection for commandsDaniel Silverstone2014-03-111-2/+22
| | | | | | | | | | | | | | | | | | | | Up until now, all commands have been restricted to expecting the repository as the second argument *ONLY*. In order to better support other styles of command, this routine combines the behaviour of all places which currently look for the repository into one place. In addition, this means we can simplify several call sites. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Demonstration Pluginbaserock/danielsilverstone/S10632-plugin-supportDaniel Silverstone2014-03-111-0/+46
| | | | | | | | | | | | | | | | | | The demo plugin shows how to hook into every **supported** interface for plugins. Use of any API beyond that which is shown in the demo plugin is not guaranteed at this point. Later a full plugin compatibility API definition will need to be written. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Install plugins during `make install`Daniel Silverstone2014-03-111-1/+8
| | | | | | | | | | | | | | Gitano *may* ship with plugins which need to be installed during the running of `make install` -- as such, support this in the Makefile. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Add plugin support to all `.in` filesDaniel Silverstone2014-03-118-0/+8
| | | | | | | | | | | | | | | | | | | | Each `.in` file needs to load plugins in order to ensure that all requisite functionality is available at all points during the lifetime of a Gitano operation. This is a largely mechanical delta. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Add support for a GITANO_PLUGIN_PATH in install-lua-binDaniel Silverstone2014-03-112-3/+19
| | | | | | | | | | | | | | | | | | The binary installer `install-lua-bin` needs to update all of the files ending in `.in` to be ready for installation. This patch ensures that we support a tag for loading plugins which the various `.in` files can then use to ensure they load plugins at an appropriate point. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
| * Plugin support in GitanoDaniel Silverstone2014-03-113-2/+67
|/ | | | | | | | | This patch adds support for Gitano to load plugins from a colon separated set of paths. While colon separation is not the best mechanism, it is in common use. We explicitly do not add any escaping rules such as :: -> : in order to remain compatible with things like PATH processing. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
* use passwd.method and passwd.hash insteadDaniel Silverstone2014-03-061-6/+6
|
* Ignore generated CGIsDaniel Silverstone2014-03-061-0/+2
|
* Mention lua-scrypt which will be mentioned on the websiteDaniel Silverstone2014-03-061-1/+2
|
* Merge branch 'richardipsum/http' which contains the HTTP work from RichardDaniel Silverstone2014-03-0614-103/+756
|\ | | | | | | Ipsum done for Baserock but rebased to remove Baserock-specific content.
| * Fatal should write contents of LogBuf to stderrRichard Ipsum2014-03-061-1/+3
| |
| * Make gitano-setup ask whether we will use htpasswdRichard Ipsum2014-03-061-0/+2
| |
| * Can't close if we haven't a handleRichard Ipsum2014-03-061-2/+7
| |
| * Update rulesetRichard Ipsum2014-03-062-1/+4
| | | | | | | | Allow users to change their own password
| * Make Makefile install our new cgisRichard Ipsum2014-02-181-1/+2
| |
| * Add gitano-smart-http cgiRichard Ipsum2014-02-181-0/+76
| |
| * Add gitano-command cgiRichard Ipsum2014-02-181-0/+91
| |
| * Make Makefile install auth.luaRichard Ipsum2014-02-181-1/+1
| |
| * Add auth.luaRichard Ipsum2014-02-182-0/+142
| | | | | | | | | | We now perform auth in 2 cgis as well as gitano-auth, so auth needs to be in the library
| * Fix some indentation in usercommandRichard Ipsum2014-02-151-22/+27
| |
| * Add htpasswd utilRichard Ipsum2014-02-151-0/+151
| |
| * Add passwd commandRichard Ipsum2014-02-151-3/+111
| |
| * Make whoami exit with err if user is anonymousRichard Ipsum2014-02-121-0/+5
| |
| * Add hash_password and check_password to utilRichard Ipsum2014-02-121-0/+14
| |
| * Fix some indentation in configRichard Ipsum2014-01-231-69/+70
| |
| * Don't use luxio.LOG_EMERG in syslogbaserock/richardipsum/log_emergRichard Ipsum2014-01-231-1/+1
| |
| * Add buffering capability to gitano.logRichard Ipsum2014-01-171-3/+50
|/
* Cope with nil back from sio:readDaniel Silverstone2013-11-171-1/+1
|