Commit Graph

19 Commits

Author SHA1 Message Date
Steve Boyd
f194344efe MNT Explicitly test with default_spam_protector set to null 2023-01-18 15:52:48 +13:00
Sabina Talipova
2a55708ae8 FIX Check value is not NULL 2023-01-17 08:30:17 +13:00
Maxime Rainville
228f2a3058 Merge branch '3.1' into 3.2 2022-03-17 15:20:37 +13:00
Steve Boyd
46169f71a0 API phpunit 9 support 2021-10-27 18:14:42 +13:00
Steve Boyd
643fedaf21 FIX Allow fields without parents to be programatically created 2021-08-12 13:35:02 +12:00
Robbie Averill
47eef922c7 FIX Ensure getIcon returns exposed resource URL for icon 2017-11-03 11:12:20 +13:00
Robbie Averill
e38c6c3a87 FIX Update for polymorphic relationship for UserDefinedForm and child Fields 2017-11-02 14:53:20 +13:00
Robbie Averill
680411e2ac FIX Missing syntax opening in readme, and tweaks for pre-emptive userforms compatibility 2017-08-28 13:44:53 +12:00
Robbie Averill
c5f0827c2e Add namespaces, separate test classes, add PSR-4 autoloader, update PSR-2 compliance 2017-08-28 13:19:03 +12:00
Robbie Averill
5f8d2af0d1 Merge branch '2' 2017-08-28 11:20:58 +12:00
James Ellis
ef3e6d45b6 Configurable fieldname (#56)
* Allow for a configurable field name

* Add a test for configurable field name

* Remove extra conditional by storing the field name in a private static

* No need for field_name config removal as it's now specified as a class property
2017-08-24 11:16:19 +01:00
Robbie Averill
3e7f021de7 FIX Compatibility with userforms 3/4 getCMSFields, remove deprecated getSettings use etc 2017-07-07 16:13:10 +12:00
Robbie Averill
5cc9312a8d Move stub classes to their own files, run PSR-2 linter 2017-07-07 14:23:01 +12:00
Ingo Schommer
84bbe9d153 Tests for EditableSpamProtectionField validation
Requires setFormField() method to avoid excessive mocking
2016-01-08 16:35:46 +13:00
helpfulrobot
7ee2dcea0f Converted to PSR-2 2015-11-21 19:15:15 +13:00
Damian Mooyman
c7b211e585 BUG Fix travis / unit tests 2015-03-25 08:53:17 +13:00
Damian Mooyman
007a52eb0c API Re-introduced ability to insert spam field before another existing field 2014-03-07 17:03:08 +13:00
Damian Mooyman
c050dcc05a API Refactor field mapping from FormSpamProtectionExtension into SpamProtector
API EditableSpamProtectionField may now be configured for spam on an individual field basis
Translations added
2014-02-19 08:40:07 +13:00
Will Rossiter
03ebf8e19a Add basic tests 2014-02-10 20:54:13 +13:00