Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use new ssh type test | Phillip Smyth | 2017-10-13 | 1 | -4/+1 |
| | |||||
* | Use new ssh type test | Phillip Smyth | 2017-10-13 | 1 | -4/+2 |
| | |||||
* | Added ssh_type_is_invalid function | Phillip Smyth | 2017-10-13 | 1 | -0/+13 |
| | |||||
* | Add config list example to config help | Richard Ipsum | 2017-08-06 | 1 | -0/+6 |
| | | | | And a newline. | ||||
* | Bump version to 1.2.0 ready for development cycle | Daniel Silverstone | 2017-08-03 | 1 | -1/+1 |
| | |||||
* | Move post-push dangling-HEAD check to post-receive hook | Richard Maw | 2017-08-01 | 1 | -8/+1 |
| | | | | | | | | | | | The smart-http interface starts http-backend which calls receive-pack. Unfortunately we were performing the dangling-HEAD check after calling receive-pack ourselves, so when using smart-http we weren't performing the check. By moving this into the post-receive hook the check can be performed in smart-http too. | ||||
* | Use new lock/unlock functions to guard htpasswd updatesdsilvers/sysbranch-fixes | Daniel Silverstone | 2017-07-31 | 2 | -1/+4 |
| | |||||
* | Add lock and unlock utility functions | Daniel Silverstone | 2017-07-31 | 1 | -0/+18 |
| | |||||
* | Update htpasswd when user names change | Daniel Silverstone | 2017-07-31 | 1 | -0/+32 |
| | | | | | | When deleting or renaming users, the htpasswd file needs updating so that we don't leave stale or incorrectly assigned user credentials around. | ||||
* | Fix an oopsie from the merge | Daniel Silverstone | 2017-07-09 | 1 | -3/+0 |
| | |||||
* | Merge branch 'dsilvers/hooks' | Daniel Silverstone | 2017-07-08 | 3 | -1/+161 |
|\ | |||||
| * | Add pre-authorisation commandline hook | Daniel Silverstone | 2017-07-02 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | This hook is permitted to adjust the command line before it is passed on to command authorisation. This is needed for a number of use-cases requested around permitting a plugin to provide domain specific command line shapes without needing to adjust Gitano's core command structures. | ||||
| * | Export the gitano.hooks API | Daniel Silverstone | 2017-06-17 | 1 | -1/+3 |
| | | | | | | | | | | | | | | This adjusts the core gitano module to export gitano.hooks. In addition, we bump the API version to 1.1.0 since we're adding in a new API (hooks) | ||||
| * | Add hook names to hooks API | Daniel Silverstone | 2017-06-17 | 1 | -0/+36 |
| | | | | | | | | | | | | This adds hook names to the gitano.hooks API which is there to explain what the hook functions should do, and to provide a logical name for hooks, rather than expecting people to not typo strings. | ||||
| * | Add gitano.hooks module with basic functionality | Daniel Silverstone | 2017-06-17 | 1 | -0/+101 |
| | | | | | | | | | | | | | | | | The gitano.hooks module is intended to support a variety of hooks, both those defined by Gitano itself; and those added by plugins. Hooks are meant as a means to propagate information and also to permit alteration of arguments before work is done. | ||||
* | | Re-own repos when renaming users | Daniel Silverstone | 2017-07-08 | 1 | -0/+14 |
| | | |||||
* | | Reduce verbosity of pattern definitionsrichardmaw/unified-patterns | Richard Maw | 2017-07-08 | 1 | -68/+27 |
| | | | | | | | | | | | | | | Having both local definitions for each exported pattern and the export in the package was not helpful, and in fact caused accidents while developing where the package was filled with undefined variables. | ||||
* | | Export patterns as API and consume them in executables | Richard Maw | 2017-07-08 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | Gitano's executables, in addition to being required for operation, are intended to be examples of how to use the gitano library, so rather than importing with require "gitano.patterns", gitano should be imported and use gitano.patterns. No changes to imports are made inside lib/gitano/ because this would cause an import loop. | ||||
* | | Centralise patterns into a single module | Richard Maw | 2017-06-17 | 10 | -59/+180 |
|/ | | | | | | | This has moved every pattern that wasn't obviously just for string manipulation and has in the process of doing so reworked some logic so that fewer distinct patterns are used, and the repository path normalisation has been unified. | ||||
* | ensures server-info files exist on new reposdsilvers/update-on-create | Daniel Silverstone | 2017-04-08 | 1 | -0/+5 |
| | | | | | This change ensures that the server-info files are created at the point that a repository is realised. | ||||
* | adds support for coverage testing | Daniel Silverstone | 2017-03-04 | 1 | -0/+52 |
| | |||||
* | fixes HTTP action POST content-type defaulting | Daniel Silverstone | 2017-02-12 | 1 | -1/+1 |
| | | | | | | Correct the default expression for content-type in POST actions from application/octet-stream to "application/octet-stream" which is less likely to cause a nil/nil-nil type evaluation. | ||||
* | Add a version number system to Gitano | Daniel Silverstone | 2017-01-15 | 2 | -0/+67 |
| | |||||
* | Copyright cleanups | Daniel Silverstone | 2017-01-15 | 16 | -15/+435 |
| | |||||
* | keyring: Make keyring name variable consistently named | Richard Maw | 2017-01-08 | 1 | -1/+1 |
| | | | | | It was named keyring when listing keyrings, but all the other keyring commands called it keyringname. | ||||
* | testing: Disable variable dump by default | Richard Maw | 2017-01-08 | 1 | -0/+2 |
| | | | | | | | | | It's a security risk to allow gitano to write to an arbitrary path based on the value of an environment variable. It's low risk since by default gitano is run directly by the http or ssh server, which do not set variables by default, but it's trivial enough to leave it commented out. | ||||
* | testing: Add a way to extract variables from the test suite | Richard Maw | 2017-01-08 | 1 | -0/+23 |
| | |||||
* | Remove /{prefix,suffix} matches | Richard Maw | 2017-01-02 | 1 | -4/+0 |
| | | | | `prefix` and `suffix` operators exist, and make this redundant. | ||||
* | Remove broken match type alias | Richard Maw | 2017-01-02 | 1 | -3/+0 |
| | |||||
* | cleanups: Whitespace and indentation and untabify | Daniel Silverstone | 2017-01-02 | 15 | -1102/+1099 |
| | | | | | | This is a massive unpleasant commit which does whitespace cleanup and fixes indentation (including untabifying). Hopefully we won't need to do this ever again, if we keep an eye on commits. | ||||
* | Ensure that if there is no : then readme gets one, for safety | Daniel Silverstone | 2017-01-02 | 1 | -0/+3 |
| | |||||
* | Remove markdown.lua | Daniel Silverstone | 2017-01-02 | 3 | -1036/+0 |
| | |||||
* | Remove README support from repository | Daniel Silverstone | 2017-01-02 | 1 | -53/+0 |
| | |||||
* | Remove readme command, and (somewhat) empty test | Daniel Silverstone | 2017-01-02 | 1 | -71/+0 |
| | |||||
* | Fix updating htpasswd files | Richard Maw | 2016-12-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | This would previously break because if it's updating htpasswd it passes an empty argument rather than no argument. Rather than stop it passing the empty argument this patch instead passes -i flags unconditionally and merges the flags argument. This is to make it use the batch-input code-path which doesn't attempt to use a tty for its input, since it caused issues in the test suite which fakes the server. This requires changing it to only pass the password as input once. | ||||
* | Honour suppression of error messages from running comands | Daniel Silverstone | 2016-12-13 | 1 | -5/+7 |
| | |||||
* | Support suppression of error messages from commands | Daniel Silverstone | 2016-12-13 | 1 | -2/+6 |
| | |||||
* | Explain error codes when a command fails | Daniel Silverstone | 2016-12-13 | 1 | -1/+1 |
| | |||||
* | Fix broken match by moving dash to end of set | Ben Brown | 2016-12-11 | 1 | -1/+1 |
| | | | | The '-' fails to represent a range between '.' and '_'. | ||||
* | If you try to sshkey del the key you're using, you get told you can't | Daniel Silverstone | 2016-12-03 | 1 | -0/+4 |
| | |||||
* | Finalise lace context simple matches | Daniel Silverstone | 2016-12-03 | 1 | -0/+4 |
| | |||||
* | No BANANA today | Daniel Silverstone | 2016-12-03 | 1 | -1/+0 |
| | |||||
* | Ensure gitano-auth passes the keytag through and that ↵ | Daniel Silverstone | 2016-12-03 | 1 | -2/+1 |
| | | | | gitano.auth.is_authorized uses it | ||||
* | Support whining for supple, and clean up a few bits | Daniel Silverstone | 2016-12-03 | 4 | -10/+17 |
| | |||||
* | Ensure that lace warns if an ACL check is being bypassed | Daniel Silverstone | 2016-12-03 | 1 | -0/+13 |
| | |||||
* | Ensure that if the gitano-bypass user is invoked, Gitano whines loudly | Daniel Silverstone | 2016-12-03 | 1 | -0/+6 |
| | |||||
* | Ensure config parsing fails if gitano-bypass is not viable | Daniel Silverstone | 2016-12-03 | 1 | -0/+16 |
| | |||||
* | Remove legacy repo:set_owner() and repo:set_description() calls | Daniel Silverstone | 2016-12-03 | 3 | -21/+10 |
| | |||||
* | Support gathering output from gc/fsck/count-objects | Daniel Silverstone | 2016-12-03 | 1 | -3/+11 |
| | |||||
* | Switch destroy to use stdout instead of stderr when it ought to | Daniel Silverstone | 2016-12-03 | 1 | -13/+13 |
| |