diff options
author | Jason A. Donenfeld | 2014-01-13 04:04:52 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-14 02:00:07 +0100 |
commit | a5e15537268410e268c7b26aa69d03b347c326c8 (patch) | |
tree | 77f42b7f03788d4741bfd60b49719fbc649181ff /cgitrc.5.txt | |
parent | 800380dde797ae35d738a644acdae2fabb9a0d44 (diff) | |
download | cgit-a5e15537268410e268c7b26aa69d03b347c326c8.tar.gz cgit-a5e15537268410e268c7b26aa69d03b347c326c8.tar.bz2 cgit-a5e15537268410e268c7b26aa69d03b347c326c8.zip |
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.txt | 18 |
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 | ||
120 | email-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 | |||
120 | embedded:: | 128 | embedded:: |
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:: | |||
457 | repo.desc:: | 465 | repo.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 | ||
468 | repo.email-filter:: | ||
469 | Override the default email-filter. Default value: none. See also: | ||
470 | "enable-filter-overrides". See also: "FILTER API". | ||
471 | |||
460 | repo.enable-commit-graph:: | 472 | repo.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 | ||
622 | email 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 | |||
610 | source filter:: | 628 | source 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 |