18 Commits

Author SHA1 Message Date
1c69ba31bb Preprocessing of regular expression in separate funciton 2019-03-17 17:34:47 +01:00
39dcce3eeb Harmonize helper funcitons to snake_case 2019-03-17 17:25:43 +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
0822537f0e adjustments for PHPUnit 8
Added result cache to .gitignore and replaced assertInternalType() by
assertIsArray() with backwords compatibility for PHP 5 builds.
2019-03-12 17:57:26 +01:00
74be5a2334 Merge branch 'hf12-regexSkip' into develop 2018-05-19 14:31:47 +02:00
92f8496926 Fix #12: do not skip filter chain on non-matching regex filter
Corrected the regular expression methods and unit-tested combined filters.
2018-05-19 14:22:15 +02:00
c77e1ee012 Apply coding standards to unit test (except some mocks) 2018-05-19 13:53:27 +02:00
2873df7ecf Fix forgotten renames
Corrected filenames which have been renamed, but not adjusted in .travis.yml
2017-07-16 12:39:08 +02: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
2e7883bc62 Packaging process bundled as Gulp task
Bundling a ready to use plugin ZIP has been automated into a Gulp task. After executing unit tests and code sniffer, only the relevant files are bundled.
2017-07-16 12:10:23 +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
76cd908861 Preparations for 1.4.0 release 2017-06-10 14:44:03 +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
036c1927fd Simple unit test for live filter 2016-10-10 09:17:32 +02:00