Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | repository: use path_join in some places | Richard Maw | 2013-05-23 | 1 | -4/+4 | |
| | | | | | | | | | | It's longer in these cases, but it's more explicitly creating a path when using a function for it. | |||||
| * | util: add path_join function | Richard Maw | 2013-05-23 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | This is like python's os.path.join. It is shorter to write `util.path_join("foo", "bar", "baz")` than `table.concat({"foo", "bar", "baz"}, "/")`, and I think it looks nicer. If any special path handling is later required, then it can go there. | |||||
| * | command: fix a typo in rename's error handler | Richard Maw | 2013-05-23 | 1 | -1/+1 | |
| | | ||||||
* | | COMMAND: Add readme set subcommand | Daniel Silverstone | 2013-05-27 | 1 | -14/+41 | |
| | | | | | | | | Add to the readme command the ability to alter the README of a repository. | |||||
* | | REPOSITORY: Add set_readme method. | Daniel Silverstone | 2013-05-27 | 1 | -0/+20 | |
| | | | | | | | | | | Add a set_readme method to gitano.repository so that we can programmatically change the README. | |||||
* | | COMMANDS: Add reasons to generate_confirmation calls | Daniel Silverstone | 2013-05-27 | 2 | -4/+5 | |
| | | | | | | | | | | This adds reasons to all generate_confirmation calls which were still lacking them. | |||||
* | | ADMINCOMMAND: Fix group del to remove subgroup membership | Daniel Silverstone | 2013-05-27 | 1 | -0/+8 | |
| | | | | | | | | | | | | Before this patch, if you used 'group del' to remove a group which was a subgroup member of another group, the resulting config would not parse. This fixes that. | |||||
* | | ADMINCOMMAND: Add group rename | Daniel Silverstone | 2013-05-27 | 1 | -5/+42 | |
| | | | | | | | | | | This adds a group rename command to allow the administrator to easily rename a group including all subgroup memberships. | |||||
* | | ADMINCOMMAND: Fix user delete for group membership | Daniel Silverstone | 2013-05-27 | 1 | -0/+1 | |
| | | | | | | | | | | Prior to this patch, if you did 'user delete' on a user in a group then the group membership change was not committed. | |||||
* | | ADMINCOMMAND: Add user rename command | Daniel Silverstone | 2013-05-27 | 1 | -7/+50 | |
| | | | | | | | | Add a rename command for users. | |||||
* | | REPOSITORY: Allow tokens to be customised with notes | Daniel Silverstone | 2013-05-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | Given we now use repository tokens in multiple places, this ensures that the tokens can be customised with notes. This might be to ensure that a delete user token doesn't match a rename user token for example. | |||||
* | | REPOCOMMAND: Add fsck command | Daniel Silverstone | 2013-05-27 | 1 | -1/+20 | |
| | | | | | | | | | | This adds an fsck command to the repocommand module. This allows git-fsck to be invoked on repositories in a Gitano instance. | |||||
* | | REPOCOMMAND: Shunt gc and count-objects to gitano.repocommand | Daniel Silverstone | 2013-05-27 | 2 | -52/+72 | |
| | | | | | | | | | | | | | | | | Move the gc and count-objects commands to a separate repocommand module so that we can group fsck in with them neatly. This new module is for commands which operate neatly on a repository with little to no extra dependencies. | |||||
* | | LACE: Add PCRE support to simple matcherdsilvers/revamp-patterns | Daniel Silverstone | 2013-05-23 | 1 | -1/+6 | |
| | | | | | | | | | | This adds PCRE support to the simple matcher. In order for this to work, lrexlib is required (lua-rex-pcre in Debian/Ubuntu). | |||||
* | | LACE: Add prefix and suffix simple matches | Daniel Silverstone | 2013-05-23 | 1 | -0/+6 | |
| | | | | | | | | | | | | This adds prefix and suffix simple matches and updates the default ruleset to use them as appropriate. This actually eliminates almost all pattern matches from the default ruleset. | |||||
* | | LACE: Update simple match with generic matchers | Daniel Silverstone | 2013-05-23 | 1 | -22/+27 | |
| | | | | | | | | | | | | This updates the simple match routine to have a table of match functions. Initially this only supports the exact and pattern matches, but we can add more. | |||||
* | | LACE: Alter simple match compiler ready for more | Daniel Silverstone | 2013-05-23 | 1 | -11/+27 | |
|/ | | | | | | | | | This alters the simple match compiler to support a definition format along the lines of: define some_name ref pattern ^refs/heads/ The accepted middle entries being exact, pattern, !exact and !pattern | |||||
* | REPOSITORY: Cope better with various cases of branch deletion | Daniel Silverstone | 2013-05-01 | 1 | -8/+13 | |
| | ||||||
* | ADMINCOMMAND: Fix 'as' to check if users exist | Daniel Silverstone | 2013-04-30 | 1 | -1/+8 | |
| | ||||||
* | REPO: Add a mechanism to update the info/web/last-modified file | Daniel Silverstone | 2013-04-24 | 1 | -0/+49 | |
| | ||||||
* | USERCOMMAND: In sshkey, ensure we refuse to continue if tag format is bad | Daniel Silverstone | 2013-04-24 | 1 | -0/+1 | |
| | ||||||
* | USERCOMMAND: Fix up whoami output a little | Daniel Silverstone | 2013-04-24 | 1 | -6/+6 | |
| | ||||||
* | COMMAND: Rearrange destroy success message to prevent tl;dr situations | Daniel Silverstone | 2013-04-24 | 1 | -2/+2 | |
| | ||||||
* | AS: Fix up some logging so as foouser cmd <repo> doesn't crash | Daniel Silverstone | 2013-04-24 | 1 | -4/+4 | |
| | ||||||
* | ACTIONS: Ensure that if we fail to read cleanly we don't assert, in HTTP client | Daniel Silverstone | 2012-11-10 | 1 | -1/+6 | |
| | ||||||
* | ACTIONS: Remove assert()s from the HTTP client to increase resilience | Daniel Silverstone | 2012-11-10 | 1 | -3/+11 | |
| | ||||||
* | ADMINCOMMAND: Lowercase user and group names | Daniel Silverstone | 2012-11-10 | 1 | -1/+10 | |
| | ||||||
* | Upgrade purge message from info to state | Daniel Silverstone | 2012-11-10 | 1 | -1/+1 | |
| | ||||||
* | ADMINCOMMAND: Add a graveyard command | Daniel Silverstone | 2012-11-10 | 1 | -0/+165 | |
| | ||||||
* | UTIL: Add rm_rf function to gitano.util | Daniel Silverstone | 2012-11-10 | 1 | -0/+32 | |
| | ||||||
* | Remove dead code | Daniel Silverstone | 2012-11-10 | 1 | -173/+0 | |
| | ||||||
* | Add --verbose support to the ls command | Daniel Silverstone | 2012-10-09 | 1 | -4/+16 | |
| | ||||||
* | Ensure spaces and nulls cannot form part of a repository name | Daniel Silverstone | 2012-10-09 | 1 | -0/+2 | |
| | ||||||
* | USERCOMMAND: Ensure sshkey is validating tag names | Daniel Silverstone | 2012-09-22 | 1 | -0/+6 | |
| | ||||||
* | COMMANDS: nascent repositories should not be pushed or pulled | Daniel Silverstone | 2012-09-22 | 1 | -0/+6 | |
| | ||||||
* | GITANO: Move the force_empty_tree() call from always, to update-hook and ↵ | Daniel Silverstone | 2012-09-10 | 1 | -4/+0 | |
| | | | | only if needed | |||||
* | UTIL: Fix up deep_copy for memoisation | Daniel Silverstone | 2012-09-09 | 1 | -2/+2 | |
| | ||||||
* | GITANO: Migrate from gitano.git to gall | Daniel Silverstone | 2012-09-08 | 12 | -979/+23 | |
| | ||||||
* | SUPPLE: Quick fix for global hook support | Daniel Silverstone | 2012-09-06 | 1 | -2/+3 | |
| | ||||||
* | ACTIONS: Transform connect errors into '500' errors instead | Daniel Silverstone | 2012-09-06 | 1 | -1/+4 | |
| | ||||||
* | ACTIONS: Support hostname:port in the host argument to the HTTP methods | Daniel Silverstone | 2012-09-06 | 1 | -1/+5 | |
| | ||||||
* | GITANO: Rationalise splittable stuff and split groups on dashes and repos on ↵ | Daniel Silverstone | 2012-09-05 | 4 | -13/+37 | |
| | | | | slashes | |||||
* | LACE: Add targetgroup and member to lace | Daniel Silverstone | 2012-09-04 | 1 | -1/+1 | |
| | ||||||
* | REPOSITORY: Add repository/{base,dir}name and repository/N to the context, ↵ | Daniel Silverstone | 2012-09-03 | 1 | -0/+10 | |
| | | | | where {base,dir}name are obvious and /N is the Nth element | |||||
* | REPOSITORY: Change reponame cleaning rules to be more pleasant and useful | Daniel Silverstone | 2012-09-01 | 1 | -5/+10 | |
| | ||||||
* | COMMAND: destroy: Also mention the token in the confirmation | Daniel Silverstone | 2012-09-01 | 1 | -0/+2 | |
| | ||||||
* | COMMAND: destroy: Fix broken time format so hour is now zero-padded | Daniel Silverstone | 2012-09-01 | 1 | -1/+1 | |
| | ||||||
* | SUPPLE: Supply an actor table in the global namespace of each hook, ↵ | Daniel Silverstone | 2012-09-01 | 1 | -3/+8 | |
| | | | | containing info about the user | |||||
* | SUPPLE: Reorder run_hook() args for neatness | Daniel Silverstone | 2012-09-01 | 1 | -1/+1 | |
| | ||||||
* | SUPPLE: Tidy _repo -> repo | Daniel Silverstone | 2012-09-01 | 1 | -3/+2 | |
| |