Commit Graph

199 Commits

Author SHA1 Message Date
b34a79068c ci: fix branches in plugin check workflow
All checks were successful
CI / unit-test (7.4) (push) Successful in 1m8s
CI / unit-test (8.0) (push) Successful in 1m6s
CI / unit-test (8.1) (push) Successful in 1m8s
CI / unit-test (8.3) (push) Successful in 1m1s
CI / unit-test (8.2) (push) Successful in 1m6s
CI / quality (push) Successful in 1m2s
CI / unit-test (5.6) (push) Successful in 1m13s
2024-11-12 16:16:02 +01:00
00aa79cb1e fix: typo and deprecated options in blueprint.json 2024-11-12 16:13:22 +01:00
96cd17c3e2 ci: add workflow to run wp plugin checks
All checks were successful
CI / unit-test (5.6) (push) Successful in 1m4s
CI / unit-test (8.1) (push) Successful in 1m0s
CI / unit-test (7.4) (push) Successful in 1m3s
CI / unit-test (8.0) (push) Successful in 1m2s
CI / unit-test (8.2) (push) Successful in 1m3s
CI / unit-test (8.3) (push) Successful in 51s
CI / quality (push) Successful in 54s
2024-10-03 15:03:05 +02:00
96214d55a0 docs: update badges in README.md 2024-10-03 15:00:55 +02:00
fbb8229c3e ci: explicitly enable xdebug coverage and add condition for analysis
All checks were successful
CI / unit-test (5.6) (push) Successful in 1m6s
CI / unit-test (7.4) (push) Successful in 1m9s
CI / unit-test (8.0) (push) Successful in 1m9s
CI / unit-test (8.1) (push) Successful in 1m4s
CI / unit-test (8.3) (push) Successful in 41s
CI / unit-test (8.2) (push) Successful in 1m2s
CI / quality (push) Successful in 56s
2024-08-08 17:37:36 +02:00
a693e0b9c0 declare compatibility with WordPress 6.6
Some checks failed
CI / unit-test (7.4) (push) Failing after 44s
CI / unit-test (5.6) (push) Failing after 47s
CI / unit-test (8.0) (push) Failing after 44s
CI / unit-test (8.1) (push) Failing after 44s
CI / unit-test (8.3) (push) Successful in 36s
CI / unit-test (8.2) (push) Failing after 45s
CI / quality (push) Successful in 50s
2024-08-08 16:41:57 +02:00
0636367e79 docs: add missing short description to README.md 2024-08-08 16:41:22 +02:00
7537261387 deps: update dev-dependencies
Some checks failed
CI / unit-test (7.4) (push) Failing after 38s
CI / unit-test (8.0) (push) Failing after 39s
CI / unit-test (8.1) (push) Failing after 39s
CI / unit-test (8.2) (push) Failing after 38s
CI / unit-test (8.3) (push) Successful in 59s
CI / unit-test (5.6) (push) Failing after 41s
CI / quality (push) Successful in 38s
2024-08-03 17:28:20 +02:00
38c1e569e6 prepare release 1.7.2 v1.7.2 2024-06-06 20:29:05 +02:00
4290aed9ce fix: restore database cleanup functionality (#37) (#38)
The cleanup request was no longer precessed since we refactored the
settings page in v1.7.0 to use the WP settings API. Process the request
including nonce verification during page creation restores it.
2024-06-06 20:17:19 +02:00
13809aeaa3 prepare release 1.7.1 v1.7.1 2024-03-24 17:44:57 +01:00
9903a6163d simplify control structures
* extract common parts from if-else branches
* convert redundante elseif to else
2024-03-24 17:39:25 +01:00
c88d716dfc introduce blueprint.json for WP playground preview 2024-03-24 16:37:56 +01:00
714512ca15 fix HTML syntax for checkboxes in settings 2024-03-24 14:42:23 +01:00
081a6abbb0 add "Requires Plugins" to plugin headers
The headers will be supported with WordPress 6.5. The dependency on
"statify" was present from the start, so this just adds another layer
of convenience for users on WP 6.5 or later.
2024-03-17 10:32:26 +01:00
6003a0d397 remove deprecated wp_get_sites() call from uninstall routine
We only support WP 4.7 and later since 1.5. Remove the 4.6 call.
2024-03-16 12:23:32 +01:00
6f4b1722bf fix contributor tag in README.md 2024-03-12 16:57:21 +01:00
1e81dd650f prepare release 1.7.0 v1.7.0 2024-03-11 18:02:04 +01:00
2437352160 deps: update dev-dependency updates 2024-03-02 10:52:19 +01:00
03c8f0126d ci: build and test with PHP 8.3 2023-11-25 15:44:44 +01:00
cf0c0a3652 deps: update WPCS definitions to v3 2023-11-09 18:05:13 +01:00
1f4749d49a rename $class parameter of autoload function to $class_name 2023-11-09 18:05:12 +01:00
fcf251967f fix routine to update options without custom changes (#31)
array_merge_recursive() results in a misbehavior making arrays from
scalar options when current and default values differ. Replcae it by
array_replace_recursive() should resolve the issue for now.
2023-09-17 15:27:23 +02:00
3b169b28a7 update settings version to 1.7 2023-09-17 15:19:10 +02:00
7fd7be6c19 ci: update actions/checkout to v4 2023-09-17 15:03:58 +02:00
633da4086d unique IP filter list 2023-09-17 14:58:33 +02:00
da6cde00cf migrate settings to WP settings API 2023-09-17 14:58:25 +02:00
ae232eceb5 prepare release 1.6.3 v1.6.3 2023-08-14 18:53:20 +02:00
93b4dd744d remove useless parenthesis around DOING_AUTOSAVE check 2023-08-14 18:47:55 +02:00
268e3933c8 declare compatibility with WordPress 6.3 2023-08-14 18:42:51 +02:00
5d7a75ed31 allow compoesr/installers v2 dependency 2023-04-01 15:15:03 +02:00
aaf054fb5b minor code style tweaks 2023-04-01 15:14:40 +02:00
17c27a7b7c add .editorconfig 2023-04-01 14:26:48 +02:00
7757142237 declare compatibility with WordPress 6.2 2023-03-27 20:46:49 +02:00
40347b0f50 ci: analyze pull requests 2023-02-25 14:34:18 +01:00
2ea3d66677 prepare release 1.6.2 v1.6.2 2023-02-25 14:29:41 +01:00
7ae0ffcb94 ci: add PHP 8.2 to test matrix 2023-02-25 14:18:55 +01:00
a533a494fa remove deprecated FILTER_SANITIZE_STRING usage 2023-02-25 14:17:24 +01:00
7ffc8074b4 restrict PHPUnit to v5-v9
PHPUnit 10 fails with old configuration schema while older releases only
print a warning.

Stick with at most v9 for now, as we are testing against older PHP
versions that to not support the new scheme.
2023-02-25 14:16:57 +01:00
8267e408f0 simply regex quantifiers and parse IPs to lowercase
Use ? instead of {0,1} and {3} instead of {3,3} where applicable.
Number groups [ß-9] are left as is for readability, i.e. prefer
[1-9][0-9] over [1-9]\d.

The whole expression is evaluated case-insensitive now, so we can omit
the "a-fA-F" and simply use "a-f".

Unit-tests extended accordingly.
2022-11-04 10:42:36 +01:00
10cc310e48 declare compatibility with WordPress 6.1 2022-11-04 10:09:10 +01:00
91fff8a32c declare compatibility with WordPress 6.0 2022-05-28 09:48:58 +02:00
7104188718 ci: update dev-dependencies and actions 2022-05-14 18:35:48 +02:00
e0a6b498af ci: add PHP 8.1 to test roster 2022-01-26 17:56:11 +01:00
e449fe02b0 declare compatibility with WordPress 5.9 2022-01-26 17:53:06 +01:00
24c32327aa declare compatibility with WordPress 5.8 2021-08-01 16:13:58 +02:00
2bf0bcb0fd bump stable tag to 1.6.1 v1.6.1 2021-05-28 11:55:21 +02:00
eb49dbc7db fix output for user agent filter on settings page 2021-05-28 11:49:31 +02:00
be173c6428 prepare release 1.6.1 2021-05-28 11:43:37 +02:00
6ffa650254 fix storage of user agent filter list (#28)
The user agent filer list is not flipped with the actual values as keys
like the lists for referrer and target. Hence the numeric keys are
compared against the actual user agent. We now flip the values in the
upgrade hook.
2021-05-28 11:11:30 +02:00