about summary refs log tree commit
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
9 dayslei: completion: bash: generalize nospace usageEric Wong1-6/+4
We'll be completing more options with ':', '//' and '=' in the future, so make it easier to disable trailing spaces on completions.
2021-02-07lei: add-external --mirror supportEric Wong1-1/+1
This can be useful for users who want to clone and mirror an existing public-inbox. This doesn't have update support, yet, so users will need to run "git fetch && public-inbox-index" for now.
2021-02-04lei add-external: completion for existing URL basenamesEric Wong1-0/+6
Given the presence of one external on a certain host or prefix path, it's logical other inboxes would share a common prefix. For bash users, attempt to complete that using the "-o nospace" option of bash
2021-01-06lei: completion: fix filename completionEric Wong1-1/+1
"-o default" is what we want from "complete", "-o filename" just tells readline the result from the "_lei" function might be a filename and quote appropriately.
2021-01-01update copyrights for 2021Eric Wong1-1/+1
Using "make update-copyrights" after setting GNULIB_PATH in my config.mak
2020-12-19lei: start working on bash completionEric Wong1-0/+11
Much work still needs to be done, but that goes for this entire project :P
2020-09-09contrib/css: limit <a> coloring to links, onlyEric Wong2-2/+2
We don't want <a> tags without href= attributes to be colored, since the `<a id=mirror>' tag in the HTML footer is intended as an anchor destination for `<a href=#mirror>' link at the top.
2019-10-31contrib/css/216light: improve contrast a bitEric Wong1-0/+24
"#ff0" foreground on a "#fff" background is just too difficult to distinguish, among other things. So choose slightly darker colors when using a (painful) "#fff" background.
2019-05-25contrib/css: mark as CC0 (public domain)Eric Wong3-0/+6
No reason to copyright colour schemes :P
2019-02-05wwwtext: inline sample CSS and use highlightEric Wong1-13/+17
For user documentation regarding CSS; showing users the sample CSS with comments is probably more helpful than having standalone documentation on CSS classes.
2019-01-29css/216dark: add comments and tweak highlight colorsEric Wong1-7/+7
Overkill, but "highlight" supports single-line comments (slc) independently of multi-line comments (com); but we'll use the same color for that. We'll also use #0f0 instead of #0ff for "kwb" (keyword class "b") since blue shades are prevalent in <a> links and comments, while green was unused.
2019-01-27viewvcs: wire up syntax-highlighting for blobsEric Wong1-0/+20
And update 216dark.css to match a color scheme I'm used to; which is fairly minimal and doesn't use all the classes "highlight" provides.
2019-01-20www: admin-configurable CSS via "publicinbox.css"Eric Wong3-0/+92
Maybe we'll default to a dark theme to promote energy savings... See contrib/css/README for details
2018-06-16Contribute SELinux policy for EL7Konstantin Ryabitsev2-0/+120
This adds a SELinux policy suitable for RHEL/CentOS 7. It assumes the following: - public-inbox-httpd and public-inbox-nntpd are running via systemd on sane ports (119 and 80/8080) - /var/lib/public-inbox is the location for mainrepos - /var/run/public-inbox is the location for PERL_INLINE_DIRECTORY - /var/log/public-inbox is the location for logs - mail delivery is done via postfix-pipe or public-inbox-watch via the provided example systemd service Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>