175 Commits

Author SHA1 Message Date
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
4ce3a8f336 Add Slack notification to Travis 2018-11-02 16:05:15 +01:00
abcaab7a33
Fixed ReadMe badge links [skip ci] 2018-11-01 21:58:06 +01:00
36a65482e2 Add badges to ReadMe [skip ci] 2018-11-01 20:31:58 +01:00
f60c6ec2ff Fixed textdomain for compatibility notice 2018-10-30 19:32:52 +01:00
7e51c7d63e Add PHP 7.3 to CI matrix 2018-10-27 19:09:34 +02:00
35b6d5592b Cleaned up labels and added PHPCS rule for settings view 2018-10-27 19:05:09 +02:00
74f2e0f9a7 Removed deprecated instance() and __construct() methods from base class 2018-10-27 18:42:46 +02:00
74826384a8 Moved admin initialization to admin class 2018-10-27 18:34:23 +02:00
8e6cb5c553 Added compatibility check for WP and PHP version (closes #17) 2018-10-27 18:33:00 +02:00
59ff52cdef Merge if-clauses for cron job detection 2018-10-27 17:44:13 +02:00
4dcd52e137 Merge branch 'master' into develop 2018-10-27 17:38:41 +02:00
14ad793baf Bump WP compat to 5.0 2018-10-20 10:15:08 +02:00
bcd42bde2a Minor code style fixes 2018-10-20 10:12:38 +02:00
f34b761942 Removed load_plugin_textdomain and domain path header
Translation is handled via translate.wordpress.org and minimum required
version is greater than 4.6, so the local translation artifacts are
dropped.
2018-05-19 15:09:57 +02:00
075441d6f3 Bump version to 1.4.4 v1.4.4 2018-05-19 14:36:23 +02: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