aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com>2014-01-13 12:04:52 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2014-01-14 10:00:07 (JST)
commita5e15537268410e268c7b26aa69d03b347c326c8 (patch)
tree77f42b7f03788d4741bfd60b49719fbc649181ff /cgitrc.5.txt
parent800380dde797ae35d738a644acdae2fabb9a0d44 (diff)
downloadcgit-a5e15537268410e268c7b26aa69d03b347c326c8.zip
cgit-a5e15537268410e268c7b26aa69d03b347c326c8.tar.gz
filter: add support for email filter
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 78f33c8..b7dc5a4 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -117,6 +117,14 @@ css::
117 Url which specifies the css document to include in all cgit pages. 117 Url which specifies the css document to include in all cgit pages.
118 Default value: "/cgit.css". 118 Default value: "/cgit.css".
119 119
120email-filter::
121 Specifies a command which will be invoked to format names and email
122 address of committers, authors, and taggers, as represented in various
123 places throughout the cgit interface. This command will receive an
124 email address as its only command line argument, and the text to
125 format on STDIN. It is to write the formatted text back out onto
126 STDOUT. Default value: none. See also: "FILTER API".
127
120embedded:: 128embedded::
121 Flag which, when set to "1", will make cgit generate a html fragment 129 Flag which, when set to "1", will make cgit generate a html fragment
122 suitable for embedding in other html pages. Default value: none. See 130 suitable for embedding in other html pages. Default value: none. See
@@ -457,6 +465,10 @@ repo.defbranch::
457repo.desc:: 465repo.desc::
458 The value to show as repository description. Default value: none. 466 The value to show as repository description. Default value: none.
459 467
468repo.email-filter::
469 Override the default email-filter. Default value: none. See also:
470 "enable-filter-overrides". See also: "FILTER API".
471
460repo.enable-commit-graph:: 472repo.enable-commit-graph::
461 A flag which can be used to disable the global setting 473 A flag which can be used to disable the global setting
462 `enable-commit-graph'. Default value: none. 474 `enable-commit-graph'. Default value: none.
@@ -607,6 +619,12 @@ commit filter::
607 be filtered is available on standard input and the filtered text is 619 be filtered is available on standard input and the filtered text is
608 expected on standard output. 620 expected on standard output.
609 621
622email filter::
623 This filter is given a single parameter: the email address of the
624 relevent user. The filter will then receive the text string to format
625 on standard input and is expected to write to standard output the
626 formatted text to be included in the page.
627
610source filter:: 628source filter::
611 This filter is given a single parameter: the filename of the source 629 This filter is given a single parameter: the filename of the source
612 file to filter. The filter can use the filename to determine (for 630 file to filter. The filter can use the filename to determine (for