* added 'force_project_delete'.
* added the pre-revprop-change hook and the post-revprop-change hook.
This commit is contained in:
		| @ -169,7 +169,7 @@ top_builddir = @top_builddir@ | ||||
| top_srcdir = @top_srcdir@ | ||||
| wwwdir = @wwwdir@ | ||||
| cfg_DATA = codepot.ini codepot.sql codepot.a2ldap | ||||
| cfg_SCRIPTS = start-commit pre-commit post-commit | ||||
| cfg_SCRIPTS = start-commit pre-commit post-commit pre-revprop-change post-revprop-change | ||||
| EXTRA_DIST = $(cfg_DATA)  $(cfg_SCRIPTS) | ||||
| all: all-am | ||||
|  | ||||
|  | ||||
| @ -136,6 +136,14 @@ file_dir = "@DEPOTDIR@/files" | ||||
| ;------------------------------------------------------------------------------ | ||||
| log_threshold = 0 | ||||
|  | ||||
| ;------------------------------------------------------------------------------ | ||||
| ; When yes, a project member can delete a non-empty project containing | ||||
| ; wiki pages, file uploads, etc. An empty project can be deleted any time  | ||||
| ; regardless of this option. A system administrator(sysadmin_userids) is  | ||||
| ; allowed to delete a non-empty project also regardless of this option. | ||||
| ;------------------------------------------------------------------------------ | ||||
| force_project_delete = "no" | ||||
|  | ||||
| ;------------------------------------------------------------------------------ | ||||
| ; customized footer | ||||
| ;------------------------------------------------------------------------------ | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| REPOBASE="`basename "${1}"`" | ||||
| REV="${2}" | ||||
| REVISION="${2}" | ||||
| USER="${3}" | ||||
| PROPNAME="${4}" | ||||
| ACTION="${5}" | ||||
| @ -9,5 +9,5 @@ ACTION="${5}" | ||||
| # [STDIN] PROPVAL  ** the old property value is passed via STDIN. | ||||
|  | ||||
| # does not care if logging has failed. | ||||
| wget -q -O- "%API%/logRevpropChange/svn/${REPOBASE}/${REV}" 2>/dev/null | ||||
| wget -q -O- "%API%/logCodeRevpropChange/svn/${REPOBASE}/${REVISION}/${USER}/${PROPNAME}/${ACTION}" 2>/dev/null | ||||
| exit 0 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| REPOBASE="`basename "${1}"`" | ||||
| USER="${2}" | ||||
| REVISION="${2}" | ||||
| USER="${3}" | ||||
| PROPNAME="${4}" | ||||
| ACTION="${5}" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user