2f4428c0e4
use "stable" branch instead of "master"
2021-05-16 10:11:12 +02:00
e794758d77
declare compatibility with WordPress 5.7
2021-03-14 11:16:40 +01:00
91b612425b
introduce GitHub actions for automated plugin/asset deployment
2021-03-14 11:16:17 +01:00
a5e4225261
prepare release of v1.6.0
v1.6.0
2020-12-09 12:44:14 +01:00
1a621b8274
add PHP 8.0 to CI roster
2020-12-09 12:13:51 +01:00
f424909515
reduce redundancies for recurring matching loops
...
Referer, target and user agent filter share most of their logic
for different matching methods. We introduce a common routine for
all of them to not repeat ourselves. Passing a value extractor by
reference allows lazy evaluation (filter might be disabled) and
overrides for different cases (i.e. domain extractor for exact match).
2020-10-26 19:23:32 +01:00
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
e5c30c2183
rename test class files to comply with PHPUnit 8.5+ conventions
2020-10-19 16:19:23 +02: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
af2d2c5142
docs: update Travis CI badge
2020-09-09 08:58:08 +02:00
c30f07e02f
prepare release of 1.5.2 and declare WP 5.5 compatibility
v1.5.2
2020-09-03 20:49:01 +02:00
cb61210685
minor (dev-)dependency updates
2020-09-03 20:49:01 +02:00
e4fd34d036
do not rely on WP core translation and add textdomain for all texts
2020-09-03 20:49:01 +02:00
2dd8e60bd8
prepare release 1.5.1
v1.5.1
2020-05-20 10:33:05 +02:00
902e211552
postpone jump out on AJAX calls for Statify 1.7 compatibility ( #22 )
...
Statify 1.7 changed the JS tacking endpoint to WP AJAX, so we must not
skip the complete initialization on AJAX calls anymore. The routine now
breaks after adding the filter (if necessary).
2020-05-20 10:26:57 +02:00
9caa7b0678
Merge branch 'release/1.5.0'
v1.5.0
2020-05-13 19:08:14 +02:00
9e70acbace
Bump version to 1.5.0 and prepare relaase
2020-05-13 18:41:34 +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
a3741d939e
README++
...
* minor corrections
* update Statify versions
* add FAQ section for IP subnets
* CHANGELOG++
2020-05-13 18:23:12 +02:00
aa9980106e
update phpcs ignore statements; PHPdoc indentation
2020-05-10 12:13:39 +02:00
31c04d6b92
sanitize referer URI
2020-05-10 12:00:41 +02:00
d343dda6ff
update settings page screenshot
2020-05-10 11:46:25 +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
7f0523a647
declare compatibility with WP 5.4
...
skip ci
2020-04-09 10:51:44 +02:00
736cec1d12
fix use of esc_html__() for translated escape in settings page
2020-01-07 19:30:41 +01:00
253d2fadd2
use only supported PHP versions + 5.6 for CI builds
2020-01-07 19:30:40 +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
4c9d96e5a0
Merge branch 'master' into develop
2020-01-07 19:30:14 +01:00
c84eae50dd
declare compatibility with WP 5.3
...
[skip ci]
2019-11-13 17:12:23 +01:00
3f5990f1f3
update PHPCS ruleset and re-enable warnings
2019-10-06 18:07:42 +02:00
84cf79fd04
remove underscore prefix from options field
2019-10-06 17:52:08 +02:00
a88a89c442
update WP Codex and license links [skip ci]
2019-10-06 17:34:32 +02:00
82667dcf93
update Composer dependencies
2019-08-18 18:48:46 +02:00
0b07697db8
check if POST values are actually set before sanitization
2019-08-18 18:21:57 +02:00
353ca4792f
Declare compatibility with WordPress 5.2 [skip ci]
2019-05-30 15:34:18 +02:00
22373d2308
CONTRIBUTING++ [skip ci]
...
Adapt branch names to git flow and add a sentence on pull requests.
2019-03-17 17:43:29 +01:00
44ee7ee839
Check regular expressions and prevent saving invalid settings ( #13 )
2019-03-17 17:34:57 +01:00
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
84ce89b127
Add .gitattributes
...
Set development files, tests and assets to export ignore list to clean
up the package distributed via Composer/Packagist.
2019-03-17 16:46:59 +01:00
124b4ecb75
dependency corrections for PHP 5.5
...
composer-copy-file 0.3 requires PHP 5.6, so reverted back to ~0.2
2019-03-12 19:39: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
2eb08ce673
update dev dependencies
2019-03-12 17:32:32 +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
1c146a9d72
Merge branch 'master' into develop
2019-03-06 14:18:53 +01:00
f14ceac400
Bump WP compat to 5.1 [skip CI]
2019-03-02 17:08:20 +01:00