a6cc821089
implement user agent filter
...
A new live-only filter block for user agent strings is now available.
It features the known exact, keyword and regular expression modes.
2020-10-26 19:23:32 +01:00
2f8939b363
ui: correct label association for target matching method
2020-10-19 12:01:23 +02:00
06a7b1677a
rename plugin to "Statify Filter"
...
The plugins purpose is to exclude or filter certain requests from
tracking by Statify. However the current name "Statify Blacklist" is not
actually inline with today's understanding of such terms. In WordPress
Core 5.5 the word "blacklist" among others has been replaced by more
precise wording where possible.
The term "filter" has been used in various places already and clearly
describes the behavior of this plugin. So we rename the plugin to
"Statify Filter" and rephrase front-end texts.
Plugin slug (permalink), textdomain and all public class and constant
names left untouched for now, to not introduce breaking changes at this
point. To be cleaned up with next major release.
2020-10-19 10:34:09 +02:00
e4fd34d036
do not rely on WP core translation and add textdomain for all texts
2020-09-03 20:49:01 +02:00
d3eda0fc47
remove keyword description from referer blacklist settings section
...
This mode is not actually available, so is must not be documented.
Plus minor rewording of copy&paste mistakes.
2020-05-13 18:34:14 +02:00
4a6cc49fce
fix use of $options variable in settings view
...
Underscore prefix has been removed from this field, but the change
did not reach the settings page yet.
2020-05-10 11:37:17 +02:00
ac73b2316d
typo fixes
2020-05-10 11:35:18 +02:00
736cec1d12
fix use of esc_html__() for translated escape in settings page
2020-01-07 19:30:41 +01:00
ebc44c722e
use long array syntax
...
For some reason short syntax is discouraged in the latest WPCS ruleset.
To stay in line with WPCS we use long syntax now.
2020-01-07 19:30:38 +01:00
3f5990f1f3
update PHPCS ruleset and re-enable warnings
2019-10-06 18:07:42 +02:00
0b07697db8
check if POST values are actually set before sanitization
2019-08-18 18:21:57 +02:00
44ee7ee839
Check regular expressions and prevent saving invalid settings ( #13 )
2019-03-17 17:34:57 +01:00
b7c3b51873
implement keyword filter for referer blacklist ( closes #15 )
...
In addition to the pre-existing normal and regular expression filters a
keyword mode is added. This filter matches if the referer string
contains a given keyword (case insensitive).
2019-03-12 19:37:48 +01:00
b691f2c618
adjust sanitization of settings and warning messages
2019-03-06 17:23:06 +01:00
c511dcb517
rework settings page
...
The settings page now features the 2 column layout like generated by WP
settings API. The regular expression selects are slightly rewritten in
preparation of additional mathing methods.
2019-03-06 15:06:47 +01:00
35b6d5592b
Cleaned up labels and added PHPCS rule for settings view
2018-10-27 19:05:09 +02:00
9e3dc8fb86
Parameter sanitization on config update reworked
...
Verify that checkbox value is actually present in POST value and fallback to 0.
2018-01-07 16:15:46 +01:00
089ed347fa
Code style again
...
Altered variable names from camel to snake case, renamed class files from *.class.php to class-*.php, added some comments.
2017-07-16 12:34:49 +02:00
4890dbaeeb
Corrections for WP Coding Standard
...
All PHP classes have been reworked to match the WP coding standard. This includes mostly code styling, but also the use of wp_ functions instead of PHP builtins.
2017-07-15 15:58:43 +02:00
5b1e490ace
Comments and code style reworked
...
To adhere a little more to the WP Coding Standards, PHPdoc blocks and inline have been reworked. No code has been changed.
2017-07-04 14:56:56 +02:00
54149e1e8e
Fix missing locale domain
2017-06-11 10:20:15 +02:00
7929dd66bd
PHPdoc and ReadMe corrections
2017-06-05 18:13:36 +02:00
df59e43b29
Config array restructured
2017-06-05 12:03:11 +02:00
152a800a4a
#8 Target filter implemented
2017-06-04 21:29:08 +02:00
4a0fee572b
#7 implementation of IP blacklists
2017-06-04 11:42:21 +02:00
9f9c7af298
Minor corrections
2017-06-02 18:14:06 +02:00
e7e2ef639c
Corrections for case-(in)sensitive DB cleanup
2016-10-10 10:00:01 +02:00
25b16746b2
Feature #4 Regular expression filters
2016-10-10 09:17:32 +02:00
ff11cdc931
Transient Statify data deleted after DB cleanup
2016-08-29 10:39:59 +02:00
f8ab4214de
Feature #2 Hook CleanUp job to Statify cron action
2016-08-25 20:20:50 +02:00
19644dd62b
Enhancement #1 Switched from in_array() to faster isset() for referer checking
2016-08-25 20:20:43 +02:00
1e0659e649
WP coding style
2016-08-20 18:50:38 +02:00
aba620277a
Nonce verified; capabilities checked; input sanitized
2016-08-16 21:01:15 +02:00
949bf9d26f
One-time execution added
2016-08-15 11:41:01 +02:00
0a001acac9
Check for active Statify plugin
2016-08-14 16:22:26 +02:00
1e30ba334f
Config array serialized
2016-08-14 13:38:57 +02:00
4005f936cd
Initial commit. Extracted from former pull request on Statify project
2016-08-14 13:23:27 +02:00