Commit Graph

63 Commits

Author SHA1 Message Date
Sabina Talipova
d6b44f2385 DEP PHP Support in CMS5 2022-12-21 15:04:11 +13:00
Steve Boyd
b771bb624a API Stop using deprecated API 2022-11-29 09:35:55 +13:00
Steve Boyd
05a3628471 Merge branch '3.7' into 3.8 2022-07-25 11:20:39 +12:00
Steve Boyd
ff6db7d480 MNT Use GitHub Actions CI 2022-07-14 12:06:51 +12:00
Steve Boyd
e7f9e60352 ENH PHP 8.1 compatibility 2022-04-13 10:22:29 +12:00
Steve Boyd
91d2db1020 MNT Fix unit test 2021-11-29 17:24:29 +13:00
Steve Boyd
6d9a808cd4 MNT Fix unit test 2021-11-19 10:55:22 +13:00
Steve Boyd
305ae6b4b8 API phpunit 9 support 2021-10-27 18:03:55 +13:00
Robbie Averill
f65f5b5697 FIX Remove reliance on translations in fieldLabels test, run textcollector, remove deprecated code from CommentsTest 2019-05-10 09:33:18 +12:00
Guy Marriott
7691237fe5
FIX Correcting inconsistent capitalisation of label 2019-01-11 14:17:36 +13:00
Guy Marriott
a57c83c121
Removing superflous i18n test and updating label test to only test labels specifically added 2019-01-11 12:22:31 +13:00
Robbie Averill
c7235e1c5d FIX Comments GridField tests now use their own test stubs 2018-06-20 16:53:14 +12:00
Robbie Averill
4e23771d79 Add Team stub class to extra_dataobjects 2018-06-20 16:48:26 +12:00
Robbie Averill
32ec3bde50
FIX Add getDate method to return created date for comments, tidy up translations
RSS feeds are looking for $Date, so this method maps to the created field in these cases
2018-06-15 16:40:44 +01:00
Robbie Averill
788cb6e6d1 FIX Mock akismet spam protector if installed, fixes broken integration tests 2018-06-15 16:50:14 +12:00
Robbie Averill
eca3ac0e94
FIX Allow tests to handle extra field labels being added in global state 2018-06-13 09:59:23 +12:00
Guy
c22daa2ee0 FIX Removing ID from match in tests 2018-05-30 12:25:49 +12:00
Robbie Averill
614b525c04
FIX Loosen assertions in case extension provide extra columns in global state 2018-05-29 18:56:32 +12:00
Daniel Hensby
aa46291adf
Merge pull request #249 from Dennisprins93/master 2018-05-11 14:14:58 +01:00
Raissa North
8d5edc7821 Use FunctionalTest instead of SapphireTest to disable themes. 2018-03-09 16:45:38 +13:00
Robbie Averill
4bf0a83ad3 FIX Update CommentAdmin test to create a mock session and not assert missing translation 2017-12-19 09:32:56 +13:00
Robbie Averill
b02928e02a Merge branch '2' 2017-12-19 09:14:47 +13:00
Robbie Averill
75d7de9aa6 FIX Add extra DataObject stub to CommentsGridFieldActionTest and update expectations 2017-12-14 17:57:03 +13:00
Robbie Averill
3f6f651eea FIX Replace French translation in CommentAdminTest now that it's available 2017-12-12 17:12:10 +13:00
Robbie Averill
c6f8973342 NEW Convert to vendor module, add table_name to test stubs and add PHP 7.2 to travis 2017-12-12 17:03:04 +13:00
Robbie Averill
7700d88d4a FIX Remove base path assertions from tests which behave differently using phpdbg 2017-10-10 09:26:17 +13:00
Robbie Averill
fa61608c7d FIX Merge config in tests, add phpcs and add HTML purifier to Travis builds 2017-10-09 17:26:07 +13:00
Will Rossiter
f294ab26d6 Update tests and lang’s for 4.0 2017-09-18 14:16:24 +12:00
Will Rossiter
d9333b3160 Test fixes 2017-09-14 11:12:07 +12:00
Will Rossiter
7fff17b317 Correct extra dataobjects array name 2017-09-14 10:28:29 +12:00
Will Rossiter
0c964d1ed8 Composer lint 2017-09-14 09:41:11 +12:00
Robbie Averill
c02d851500 FIX Remove providePermissions tests
Removed the testProvidePermissions case since it is testing localisations that do not exist, and a localisation that belongs to the framework which should not be tested here.
2017-06-13 11:09:56 +12:00
Robbie Averill
fc4d78605a FIX Use a CommentableItem as the parent for the test Comment 2017-01-27 16:42:26 +13:00
Robbie Averill
d1697606e1 FIX Change BaseClass to ParentClass 2017-01-27 16:20:14 +13:00
Robbie Averill
d1b947afbe FIX Use test database in GridFieldAction test class 2017-01-27 15:56:19 +13:00
Robbie Averill
7a92b0915d Remove deprecated@2.0. Update Migrate task to check table name. Minor tweaks to class names. Use Director::absoluteURL. 2017-01-17 17:39:06 +13:00
Robbie Averill
ab3f35257b SS4 compatibility updates - ORM, Form, Controller changes
* Remove CommentList and replace with a polymorphic has_one relationship
* Tweaks for unit tests. Add tests for encode/decodeClassName.
2017-01-17 16:25:09 +13:00
Janne Klouman
b34a41e828 Added $usesDatabase = true to CommentAdminTest 2016-07-05 10:26:08 +02:00
Damian Mooyman
4b31713128 Reformat as PSR-2 2016-02-19 13:48:25 +13:00
Gordon Anderson
fd153265e9 ENHANCEMENT: Ajax spam/ham/approve/delete ressurected. Added confirm box for delete 2016-02-15 16:38:17 +07:00
Gordon Anderson
551841fbda FIX: Take account of spam/moderation status when enabling replies to a comment 2016-02-13 21:47:50 +07:00
Gordon Anderson
eba88fe869 ENHANCEMENT: Increase test coverage from 54% to 92% 2016-01-17 16:15:07 +07:00
Damian Mooyman
752d509d1e BUG Fix assignment of default values
Fixes #130
2015-08-25 16:49:58 +12:00
Damian Mooyman
468df23801 Nested comments proof of concept
Update theme to new look and feel
Add jquery-validate 1.3.1 (w/ nz dst patch)
2015-04-21 11:12:42 +12:00
Christopher Pitt
a004dfe780 Fixed comment permissions 2015-04-16 11:01:34 +12:00
Damian Mooyman
3deea94a8c API Restore ability to do frontend-moderation
This feature is disabled by default, but can be turned on either for spam, unmoderated comments, or both.
2015-04-14 14:04:29 +12:00
Damian Mooyman
6ebbd9e1ac API Allow commenting options to be set per-page in CMS 2015-04-13 15:35:25 +12:00
Damian Mooyman
1900ab14b5 API Move configuration of comments to the config API and enable per-instance configuration
Enable comment moderation per-page
2015-04-09 10:34:33 +12:00
Damian Mooyman
26d0212ef3 BUG Workaround for https://github.com/silverstripe/silverstripe-framework/pull/4053 2015-04-01 15:29:01 +13:00
Damian Mooyman
b5a53451b3 UX Improvements
Redirect to login form if lacking permissions
Better redirectBack if we can guess from the comment
2015-03-30 18:57:29 +13:00