summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* adds support for coverage testingDaniel Silverstone2017-03-041-0/+52
|
* fixes HTTP action POST content-type defaultingDaniel Silverstone2017-02-121-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 GitanoDaniel Silverstone2017-01-152-0/+67
|
* Copyright cleanupsDaniel Silverstone2017-01-1516-15/+435
|
* keyring: Make keyring name variable consistently namedRichard Maw2017-01-081-1/+1
| | | | | It was named keyring when listing keyrings, but all the other keyring commands called it keyringname.
* testing: Disable variable dump by defaultRichard Maw2017-01-081-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 suiteRichard Maw2017-01-081-0/+23
|
* Remove /{prefix,suffix} matchesRichard Maw2017-01-021-4/+0
| | | | `prefix` and `suffix` operators exist, and make this redundant.
* Remove broken match type aliasRichard Maw2017-01-021-3/+0
|
* cleanups: Whitespace and indentation and untabifyDaniel Silverstone2017-01-0215-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 safetyDaniel Silverstone2017-01-021-0/+3
|
* Remove markdown.luaDaniel Silverstone2017-01-023-1036/+0
|
* Remove README support from repositoryDaniel Silverstone2017-01-021-53/+0
|
* Remove readme command, and (somewhat) empty testDaniel Silverstone2017-01-021-71/+0
|
* Fix updating htpasswd filesRichard Maw2016-12-181-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 comandsDaniel Silverstone2016-12-131-5/+7
|
* Support suppression of error messages from commandsDaniel Silverstone2016-12-131-2/+6
|
* Explain error codes when a command failsDaniel Silverstone2016-12-131-1/+1
|
* Fix broken match by moving dash to end of setBen Brown2016-12-111-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'tDaniel Silverstone2016-12-031-0/+4
|
* Finalise lace context simple matchesDaniel Silverstone2016-12-031-0/+4
|
* No BANANA todayDaniel Silverstone2016-12-031-1/+0
|
* Ensure gitano-auth passes the keytag through and that ↵Daniel Silverstone2016-12-031-2/+1
| | | | gitano.auth.is_authorized uses it
* Support whining for supple, and clean up a few bitsDaniel Silverstone2016-12-034-10/+17
|
* Ensure that lace warns if an ACL check is being bypassedDaniel Silverstone2016-12-031-0/+13
|
* Ensure that if the gitano-bypass user is invoked, Gitano whines loudlyDaniel Silverstone2016-12-031-0/+6
|
* Ensure config parsing fails if gitano-bypass is not viableDaniel Silverstone2016-12-031-0/+16
|
* Remove legacy repo:set_owner() and repo:set_description() callsDaniel Silverstone2016-12-033-21/+10
|
* Support gathering output from gc/fsck/count-objectsDaniel Silverstone2016-12-031-3/+11
|
* Switch destroy to use stdout instead of stderr when it ought toDaniel Silverstone2016-12-031-13/+13
|
* Move graveyard list to stdout where it belongs, fix up testsDaniel Silverstone2016-12-031-1/+1
|
* Fix information leak in rename command, enable the tests for that, disable a ↵Daniel Silverstone2016-11-131-13/+10
| | | | test which now shouldn't pass
* i18n work for gitano.utilDaniel Silverstone2016-11-051-22/+30
|
* Soft-load the gitano.util moduleDaniel Silverstone2016-11-051-3/+9
|
* I18N messages for supple moduleDaniel Silverstone2016-11-051-10/+9
|
* Internationalisation of repository moduleDaniel Silverstone2016-11-051-51/+57
|
* Added i18n for plugin moduleDaniel Silverstone2016-11-051-8/+10
|
* i18n for the gitano.lace moduleDaniel Silverstone2016-11-051-7/+7
|
* Extract messages from config.luaDaniel Silverstone2016-11-051-28/+35
|
* Update auth.lua with i18n tokensDaniel Silverstone2016-11-051-12/+14
|
* Remove legacy support for http_get and http.get/http.post in the supple ↵Daniel Silverstone2016-11-051-13/+0
| | | | environment
* Messages from actions.luaDaniel Silverstone2016-11-051-4/+5
|
* Remove owner fromthe lace contextDaniel Silverstone2016-10-252-6/+1
|
* Provide is, {start,end}s{,with}, with auto-inversion; and 'not' without; as ↵v0.1Daniel Silverstone2016-10-041-0/+11
| | | | lace match types
* Remove automatic user/group because we now have [user exact ...] stuffDaniel Silverstone2016-10-041-22/+0
|
* Fix up simple_match to remove legacy operationDaniel Silverstone2016-09-241-23/+7
|
* copy: Don't leak the existence of repositoriesRichard Maw2016-09-241-8/+10
| | | | | | | | | | | | | | | Previously copy would report that the target existed before running ACLs. While saving a bunch of effort by reporting this early, this means you can see if a repository exists by copying to it even if you haven't got read access to the repository. This is now changed to only report that after the writability check. This has been moved to before the creation check since for the sake of error reporting we should check in order of ascending privilege, and post-write-check is the earliest we can reveal the repository's existence.
* Ensure we use the pid when preparing new versions of files to prevent race ↵Daniel Silverstone2016-09-241-6/+6
| | | | condition
* REPO: Add check_signature method and export to suppleDaniel Silverstone2016-09-242-0/+48
|
* KEYRING: Support the rest of the keyring subcommandsDaniel Silverstone2016-09-241-3/+283
|