From 64789ad7c8ffaf34499d18c89e4d26c6d6848d7c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 15 Jun 2012 16:06:50 -0400 Subject: [PATCH] Added "today" to translation file. Updated Japanese translation. --- docs/01_setup.mkd | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/docs/01_setup.mkd b/docs/01_setup.mkd index 68c1025..c8cd09d 100644 --- a/docs/01_setup.mkd +++ b/docs/01_setup.mkd @@ -398,6 +398,16 @@ Hook contributions and improvements are welcome. +### Custom Fields + +*SINCE 1.0.0* + +Gitblit allows custom repository string fields to be defined in `gitblit.properties` or `web.xml`. Entry textfields are automatically created for these fields in the Edit Repository page of Gitblit and the Edit Repository dialog of the Gitblit Manager. These fields are accessible from your Groovy hook scripts as + + repository.customFields.myField + +This feature allows you to customize the behavior of your hook scripts without hard-coding values in the hook scripts themselves. + ### Pre-Receive Pre-Receive scripts execute after the pushed objects have all been written to the Git repository but before the refs have been updated to point to these new objects. -- Gitblit v1.9.1