204 Commits

Author SHA1 Message Date
12a7959982 Add PHP 7.2 build to Travis config 2017-08-17 20:02:47 +02:00
58ac6e36f1 Bump required WordPress version to 4.4 (#10) 2017-08-17 19:58:12 +02:00
bc32bd66db Minor dist bundle adjustments
The Gulp task now creates a ZIP file with the plugin-dir as root, instead of directly adding the files.
2017-08-02 13:55:50 +02:00
2b6f892b18 Contribution guidelines 2017-07-16 18:09:38 +02:00
f73d9e83e4 Preparations for v1.4.1 v1.4.1 2017-07-16 16:01:24 +02:00
c7c0f9e346 Fix filter hook if referer is disabled (#9)
The filter was only appended, if the referer live filter is set active. Now the condition checks for any available blacklist.
2017-07-16 14:14:25 +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
3206da2861 Fix cidr_match() for IPv6 with PHP 7.1
With PHP 7.1 implicit conversion of non-trimmed strings to integer raises an error. Input value fpr IPv6 subnets is now trimmed and a check for numeric value is added.
2017-07-15 17:50:55 +02:00
5f2d883186 Travis CI added
Added Travis CI builds to run PHPUnit test on every supported PHP version. Also automated PHPCS checks are performed to enforce coding standards.
2017-07-15 17:26:08 +02:00
1781335f25 Composer and PHPCS added
A composer package descriptor has been added, along with a PHPunit descriptor and code sniffer ruleset.
2017-07-15 17:05:38 +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
d769c6789c Yoda conditions and strict comparison 2017-07-04 16:52:11 +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
3428c6b711 Relicensed to GPLv2 or later
Previously the plugin has been published under GPLv3. WordPress encourages to use the same license as the base system and there is no real reason to limit this to v3.
2017-07-04 14:56:56 +02:00
ce0b68b521 Fix support forum link 2017-06-12 18:59:11 +02:00
54149e1e8e Fix missing locale domain 2017-06-11 10:20:15 +02:00
76cd908861 Preparations for 1.4.0 release v1.4.0 2017-06-10 14:44:03 +02:00
0bf0f3fb9b Change filter hook name to statify__skip_tracking (as of Statify 1.5.0) 2017-06-10 14:36:38 +02:00
9dae145637 Contribution notes added to readme 2017-06-09 09:59:41 +02:00
7929dd66bd PHPdoc and ReadMe corrections 2017-06-05 18:13:36 +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
0cf4548d45 assets added to git 2017-06-04 11:48:32 +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
e66e3745a5 Bump minimum supported PHP version to 5.5 2017-06-02 17:46:54 +02:00
4562901f59 ReadMe updates 2017-06-01 20:07:38 +02:00
35b00ac485 Fix #6: hook returns NULL instead of FALSE v1.3.1 2016-12-09 09:37:58 +01:00
d5a947cfbb Tested up to 4.7 2016-12-07 20:12:37 +01:00
b5a6cdf026 Stable tag 1.3.0 v1.3.0 2016-10-17 17:45:34 +02:00
2f55ada8e5 1.3.0 finalized 2016-10-17 17:36:13 +02:00
57e2870904 Upgrade hook adds version in options 2016-10-10 10:07:48 +02:00
e7e2ef639c Corrections for case-(in)sensitive DB cleanup 2016-10-10 10:00:01 +02:00
036c1927fd Simple unit test for live filter 2016-10-10 09:17:32 +02:00
25b16746b2 Feature #4 Regular expression filters 2016-10-10 09:17:32 +02:00
e80040fb7e fix #5 Live filter configuration inverted v1.2.1 2016-10-10 09:12:01 +02:00
f1e9ee0fbe Stable tag updated v1.2.0 2016-08-29 11:05:40 +02:00
ff11cdc931 Transient Statify data deleted after DB cleanup 2016-08-29 10:39:59 +02:00
993d0dd54c Fix #3: Compare full referer domain 2016-08-29 10:28:13 +02:00
f8ab4214de Feature #2 Hook CleanUp job to Statify cron action 2016-08-25 20:20:50 +02:00
0c9e63b7ee Equalized update_options() methods to remove warning 2016-08-25 20:20:50 +02:00
19644dd62b Enhancement #1 Switched from in_array() to faster isset() for referer checking 2016-08-25 20:20:43 +02:00
1e0659e649 WP coding style 2016-08-20 18:50:38 +02:00
bff28ce85b FAQs added to ReadMe 2016-08-19 21:01:03 +02:00
5d751e2dc6 Prepared for localization v1.1.2 2016-08-17 08:13:45 +02:00
aba620277a Nonce verified; capabilities checked; input sanitized v1.1.1 2016-08-16 21:01:15 +02:00
949bf9d26f One-time execution added 2016-08-15 11:41:01 +02:00
0a001acac9 Check for active Statify plugin 2016-08-14 16:22:26 +02:00