Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix up set_head set_description and set_readme to thread committer | Daniel Silverstone | 2015-11-05 | 1 | -3/+3 | |
| | ||||||
* | Fix up calls to set_owner | Daniel Silverstone | 2015-11-05 | 2 | -3/+3 | |
| | ||||||
* | Ensure uses of repo:save_admin() propagate author and committer | Daniel Silverstone | 2015-11-05 | 2 | -10/+14 | |
| | ||||||
* | Support committing to adminrefs with author/committer different | Daniel Silverstone | 2015-11-05 | 1 | -7/+11 | |
| | ||||||
* | Thread the old user context through cleanly | Daniel Silverstone | 2015-11-05 | 1 | -1/+2 | |
| | ||||||
* | Support passing the committer for user and group and sshkey commands | Daniel Silverstone | 2015-11-05 | 2 | -3/+4 | |
| | ||||||
* | Support author and committer | Daniel Silverstone | 2015-11-05 | 1 | -7/+12 | |
| | ||||||
* | Support dots in users and groups | Daniel Silverstone | 2015-11-05 | 2 | -4/+4 | |
| | ||||||
* | Support renaming the user calling user rename | Daniel Silverstone | 2015-11-05 | 1 | -0/+4 | |
| | ||||||
* | Fix message on group rename | Daniel Silverstone | 2015-11-05 | 1 | -1/+1 | |
| | ||||||
* | Add support for auto_user_* and auto_group_* | Daniel Silverstone | 2015-11-05 | 1 | -1/+36 | |
| | ||||||
* | Change the http interface to use cURL | Daniel Silverstone | 2015-11-05 | 1 | -49/+40 | |
| | ||||||
* | plugins: Don't check for the file type | Richard Maw | 2015-10-30 | 1 | -1/+1 | |
| | | | | | | | dirp:iterate()'s fileinfo may not have d_type initialised, do the check could fail even if it was a valid plugin file. I think the filename check is sufficient. | |||||
* | Fix empty command bug | Richard Ipsum | 2015-10-30 | 1 | -5/+3 | |
| | | | | | | | | | This fixes a bug that causes gitano to crash when it's given an empty command list Opening and closing of the log should be done in the application, so it can log before checking for authorization, log after, and clean up at the end | |||||
* | Set hide=1 in cgitrc when project.archived | Daniel Silverstone | 2015-10-27 | 1 | -0/+4 | |
| | ||||||
* | Merge archiverepo work | Daniel Silverstone | 2015-10-13 | 1 | -6/+22 | |
| | ||||||
* | Correct false assumption, require luxio explicitly | Daniel Silverstone | 2015-02-03 | 2 | -0/+2 | |
| | ||||||
* | Clean up copy routines a little to improve repository copy functionality | Daniel Silverstone | 2014-08-24 | 1 | -7/+33 | |
| | ||||||
* | Short-circuiting hooks if repository is accessed directly | Gavin Lee | 2014-05-16 | 1 | -0/+1 | |
| | | | | Signed-off-by: Vanush "Misha" Paturyan <misha@cs.nuim.ie> | |||||
* | Make runcmd output "Unable to continue" | Richard Ipsum | 2014-05-04 | 1 | -0/+1 | |
| | | | | | At the moment the test suite requires that certain errors produce "Unable to continue" on stderr | |||||
* | Add repo_root parameter to is_authorized | Richard Ipsum | 2014-05-04 | 1 | -2/+1 | |
| | ||||||
* | Move runcmd into util | Richard Ipsum | 2014-05-04 | 1 | -0/+23 | |
| | ||||||
* | Ensure we pass the repo through otherwise HTTP commands might not work | Daniel Silverstone | 2014-04-09 | 1 | -1/+1 | |
| | ||||||
* | Cache expansions | Daniel Silverstone | 2014-03-22 | 1 | -0/+8 | |
| | ||||||
* | Use new configurable repository detectionbaserock/danielsilverstone/S10633-repo-detection | Daniel Silverstone | 2014-03-11 | 2 | -19/+8 | |
| | | | | | | | | | 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 commands | Daniel Silverstone | 2014-03-11 | 1 | -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> | |||||
* | Plugin support in Gitano | Daniel Silverstone | 2014-03-11 | 2 | -1/+66 | |
| | | | | | | | | | 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 instead | Daniel Silverstone | 2014-03-06 | 1 | -6/+6 | |
| | ||||||
* | Fatal should write contents of LogBuf to stderr | Richard Ipsum | 2014-03-06 | 1 | -1/+3 | |
| | ||||||
* | Can't close if we haven't a handle | Richard Ipsum | 2014-03-06 | 1 | -2/+7 | |
| | ||||||
* | Add auth.lua | Richard Ipsum | 2014-02-18 | 2 | -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 usercommand | Richard Ipsum | 2014-02-15 | 1 | -22/+27 | |
| | ||||||
* | Add passwd command | Richard Ipsum | 2014-02-15 | 1 | -3/+111 | |
| | ||||||
* | Make whoami exit with err if user is anonymous | Richard Ipsum | 2014-02-12 | 1 | -0/+5 | |
| | ||||||
* | Add hash_password and check_password to util | Richard Ipsum | 2014-02-12 | 1 | -0/+14 | |
| | ||||||
* | Fix some indentation in config | Richard Ipsum | 2014-01-23 | 1 | -69/+70 | |
| | ||||||
* | Don't use luxio.LOG_EMERG in syslogbaserock/richardipsum/log_emerg | Richard Ipsum | 2014-01-23 | 1 | -1/+1 | |
| | ||||||
* | Add buffering capability to gitano.log | Richard Ipsum | 2014-01-17 | 1 | -3/+50 | |
| | ||||||
* | Expose project clod in the lace context | Daniel Silverstone | 2013-11-15 | 2 | -1/+31 | |
| | ||||||
* | Fix up tabular matches to be less insane | Daniel Silverstone | 2013-11-15 | 1 | -12/+7 | |
| | ||||||
* | Add syslog support to gitano.log | Richard Ipsum | 2013-10-02 | 1 | -0/+62 | |
| | ||||||
* | ACTION: Correct mistake regarding HTTP client | Daniel Silverstone | 2013-06-24 | 1 | -1/+1 | |
| | | | | | | | | Unfortunately the fix to prevent assert()s in the HTTP client would instead result in silent death in all cases. This fixes that, by correctly locating the response in the 'ok' variable, ready for matching. | |||||
* | Fix hiccough in error path | Daniel Silverstone | 2013-06-04 | 1 | -1/+2 | |
| | ||||||
* | Merge remote-tracking branch 'richardmaw/add-copy-command-rebase3' | Daniel Silverstone | 2013-05-27 | 4 | -5/+319 | |
|\ | | | | | | | Reviewed-By: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
| * | commands: add copy <source> <target> | Richard Maw | 2013-05-27 | 2 | -0/+110 | |
| | | ||||||
| * | repository: don't break a copy in progress | Richard Maw | 2013-05-27 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | This attempts to create the target repository outside the call to util.copy_dir(), since internally it uses mkdir_p, which doesn't distinguish between a repository that already exists. If this check is not made, then it will fail to create a file inside the repository since it already exists, then attempt to clean up after itself, possibly silently breaking the in progress copy. | |||||
| * | repository: add a copy_to method | Richard Maw | 2013-05-27 | 1 | -0/+51 | |
| | | | | | | | | | | This will create a repository in a different path, so it does not appear until the copy is complete. | |||||
| * | util: add recursive directory copy functions | Richard Maw | 2013-05-27 | 1 | -0/+70 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is complicated enough it could be split out into its own module. The most important function is copy_dir, which along with the source and target, is given an optional table of functions, which can be used to change its behaviour for different types of files. It may also be given a filter function to determine which files to process. The default function excludes . and .. of each directory from the set of directories to process. It is given the parent directory, filename and fileinfo of every file to process, so it may exclude based on any combination of location, file name and file type by returning true. | |||||
| * | util: add hardlink_file and copy_symlink functions | Richard Maw | 2013-05-27 | 1 | -0/+24 | |
| | | | | | | | | | | | | | | | | | | hardlink file converts from luxio's raw interface to boolean success and error message return values, which are used elsewhere in the codebase. copy_symlink creates a symlink with the same target as the source symlink. | |||||
| * | util: add copy_file | Richard Maw | 2013-05-27 | 1 | -0/+44 | |
| | |