204 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
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
5e2dd4b6e1 Removed Gulp build script
Build process is now handled by Composer and Robo, so clean up old stuff
2018-03-21 18:27:42 +01:00
8c556ca509 Removed legacy code for WP prior to 4.6
Statify itself requires WP 4.7, so no reason to stick to legacy code
anymore.
2018-03-21 18:16:25 +01:00
66ddada63e Updated deprecated SPDX license code and removed PHP from require-dev
[ci skip]
2018-03-08 19:45:51 +01:00
fcba292698 Fixed README deploy path in Robo script [ci skip] 2018-03-08 17:21:18 +01:00
1e811957f8 Minor correction in required Statify version
'Tested up to' no longer holds with 1.6.0 now released, so now the
minimum version required is named instead of updating the maximum.
2018-03-08 17:15:50 +01:00
b9017a7b8d
Update License file
Hopefully GitHub now recognizes the GPL license again...
2018-02-04 12:00:29 +01:00
7329574d09 Contributing ++ 2018-01-20 12:38:20 +01:00
b8b1dc83de Prepare release 1.4.3 v1.4.3 2018-01-09 20:16:17 +01:00
5956059327 Cleaned up option handling for multisite
Multisite detection has been executed multiple times while the status is present in class variable after initialization.
2018-01-07 16:17:27 +01:00
c2ad908481 Fixed menu page for multisite activation 2018-01-07 16:16:01 +01: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
8b9ce4c570 Fixed issues with multisite installation (#11) 2018-01-07 14:14:48 +01:00
8a35182d81 Added SVN deployment tasks 2017-12-29 14:07:43 +01:00
0b7c9c07e2 Added Robo build script
Created tasks for building and testing using Robo build environment, installed via Composer. This is supposed to replace Gulp as default build tool and makes NPM obsolete.
2017-12-29 11:43:30 +01:00
d82de3547b Update Composer and Travis config
PHPUnit and PHPCS test execution is now available using Composer.
2017-12-03 12:49:41 +01:00
012b9a0189 Release 1.4.2 v1.4.2 2017-11-12 12:12:52 +01:00
eb63299dfc Minor code styling.
* Added some equals-alignments and removed require_once paranthesis.
* Notice: _add_menu_page() has been renamed to add_menu_page()
2017-11-12 12:12:51 +01:00
637d5f482c Preparations for 1.4.2
Supported WP version is 4.9, updated WPCS definitions.
2017-11-12 12:12:51 +01:00
f061b4c194 _add_menu_page in admin class made static
This method has been non-static for not reason which lead to reasonable warning. Simply declared static now, as there are no instance dependencies.
2017-11-12 12:12:51 +01:00
7962d4dbc9 Add required PHP version to ReadMe
This field is now parsed and displayed on WP plugin page.
2017-09-06 21:12:51 +02:00
aa40945ebd Replaced superfluous instantiation of Object with static init() method 2017-08-20 11:22:39 +02:00