Implement client-specific tags
authorFabian Keil <fk@fabiankeil.de>
Thu, 17 Mar 2016 10:42:27 +0000 (10:42 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 17 Mar 2016 10:42:27 +0000 (10:42 +0000)
commitd6f6d40eb51a7a7f491c5c027f83bbd7f44c009f
tree206122594e6641841ce63ba068d43134ffd2290b
parenta6c770e7339eb610644e51019d1872fbc7ce5e77
Implement client-specific tags

... which allow Privoxy admins to pre-define tags that
are set for all requests from clients that previously
opted-in through the CGI interface.

They are useful in multi-user setups where admins may
want to allow users to disable certain actions and filters
for themselves without affecting others.

In single-user setups they are useful to allow more
fine-grained toggling. For example to disable request
blocking while still crunching cookies, or to disable
experimental filters only.

This is an experimental feature, to enable it configure
with --enable-client-tags. The syntax and behaviour may
change in future versions.

Implements TODO list item #144 and #145.
Funded by a donation from Robert Klemme.
16 files changed:
GNUmakefile.in
cgi.c
cgisimple.c
cgisimple.h
client-tags.c [new file with mode: 0644]
client-tags.h [new file with mode: 0644]
configure.in
filters.c
filters.h
jcc.c
jcc.h
loadcfg.c
project.h
templates/show-client-tags [new file with mode: 0644]
templates/show-status
urlmatch.c