Steve Boyd
8f3778f77f
ENH PHP 8.1 compatibility
2022-04-27 09:31:14 +12:00
Steve Boyd
f74c32a61e
MNT Unit test for add_default_author config
2022-03-09 15:51:28 +13:00
Steve Boyd
9a7397222d
MNT Fix behat test
2021-11-19 11:12:44 +13:00
Steve Boyd
5d8aefdfcc
MNT Require extra modules
2021-11-17 14:46:13 +13:00
Steve Boyd
e55c81ec7c
MNT Add behat tests
2021-11-13 20:33:35 +13:00
Steve Boyd
d8ecb77909
API phpunit9 support
2021-11-01 17:27:30 +13:00
Robbie Averill
c134ce44c1
Switch assertions to test the end of the strings
2019-08-15 09:46:05 +12:00
Robbie Averill
98183ad677
Update references to text fixtures and SS_List class namespace from cherry-picked SilverStripe 3 commit
2019-05-13 09:18:27 +12:00
3Dgoo
317729604d
Adding tests
...
Adding tests to check that archive widget correctly only shows blog posts from the related blog and not any other blog.
2019-05-13 09:13:52 +12:00
3Dgoo
ebd135b029
Adding tests
...
Adding tests to check that archive widget correctly only shows blog posts from the related blog and not any other blog.
2019-05-13 09:10:47 +12:00
Robbie Averill
dd8e401dbf
NEW Add tests for blog archive links and tidy up code re-use a little
2019-04-15 15:24:31 +12:00
Robbie Averill
d1ea6bb839
FIX Categories and tags now respect multibyte url configuration
...
Previously multibyte URLs would always work, regardless of URLSegmentFilter::$default_allow_multibyte.
This change means that they will only work when the setting is enabled.
2019-02-07 12:05:32 +03:00
Robbie Averill
cbbe8b94db
FIX Multibyte URL encoding for blog profiles, and encoded params in functional tests
2019-02-05 16:50:21 +03:00
Robbie Averill
85b297140f
Use FQCN in expectedException annotation
2018-04-06 10:27:18 +12:00
Robbie Averill
c0695224d6
Switch try/catch for exception to use expected exception and code
2018-04-06 10:24:22 +12:00
Robbie Averill
afc1a3dd25
Use SapphireTest::logOut over manually checking Security::getCurrentUser
2018-04-06 10:24:04 +12:00
Robbie Averill
86c0f56620
Use ::class for class_exists checks on Widget, fix setUp/tearDown method visibility
2018-04-06 10:22:58 +12:00
Robbie Averill
c123951768
Add missing class imports from docblocks and fix incorrect docblocks
2018-04-06 10:21:26 +12:00
zanderwar
3f24858b73
ENHANCEMENT added MinutesToRead()
2018-03-14 18:01:09 +10:00
Raissa North
f2ef7a945e
FIX Fix line length
2018-01-29 16:10:45 +13:00
Daniel Hensby
b7510c8a56
Remove use of deprecated assertDOSContains
2018-01-10 12:27:00 +00:00
Daniel Hensby
0c23c78bfa
Publish test widget explicitly
2018-01-10 12:25:23 +00:00
Daniel Hensby
1d6cf1dec6
Merge pull request #486 from zanderwar/pulls/3.0/optional-profiles
...
Allow a user to disable all profiles
2017-11-06 15:56:55 +00:00
Robbie Averill
271fbfeae7
Merge branch '2'
2017-11-03 15:39:57 +13:00
Robbie Averill
c2f58507a0
FIX Ensure that draft blog posts are always viewable to users with view draft permission
2017-11-03 14:00:14 +13:00
zanderwar
99112e6eef
Test for disable_profiles option
2017-11-03 08:32:38 +13:00
Franco Springveldt
f972b1cfa6
FIX testArchiveMonthlyWithNewPostsAdded SS4 friendly
2017-09-28 17:37:31 +13:00
Franco Springveldt
993846b98c
FIX merge conflicts
2017-09-28 16:53:32 +13:00
Robbie Averill
d47648a86d
FIX Archive widget shows months from posts published that day
2017-09-28 15:08:30 +13:00
Robbie Averill
6525f1c109
FIX Update BlogArchiveWidget and tests for SS4
2017-09-27 11:49:57 +13:00
Robbie Averill
75f5042d60
Merge branch '2'
2017-09-27 11:48:41 +13:00
Robbie Averill
a1e4f3efce
Add tests for BlogArchiveWidget
2017-09-26 16:17:41 +13:00
Robbie Averill
db18b5d31f
FIX Update BlogFunctionalTest for SS4
2017-09-18 15:56:31 +12:00
Robbie Averill
7f63681d33
Merge branch '2'
2017-09-14 17:11:45 +12:00
Franco Springveldt
0b5b71c0fb
FIX updated deprecated Member::logout() calls
2017-09-14 11:28:43 +12:00
Franco Springveldt
e70e051380
FIX updated traditional array syntax
2017-09-14 10:59:01 +12:00
Franco Springveldt
aec1d542b1
FIX updated depreated Member::currentUser() references
2017-09-14 09:53:29 +12:00
Robbie Averill
26311750b9
FIX Encode URLSegment to support multibyte member profile URLs
2017-09-03 21:59:15 +12:00
Robbie Averill
563e33c772
Add phpcs ruleset and fix violations
2017-07-20 10:05:29 +12:00
Andrew Aitken-Fincham
ffc12f53bc
total refactor of blog.yml for tests, use classes properly
2017-07-04 18:01:39 +01:00
Sam Minnee
f5c2537c03
MINOR: Add test to for blog tag urlsegment generation
...
This behaviour confused me so adding a test to clarify that it’s
intentional.
2017-05-11 12:29:44 +12:00
Sam Minnee
50d928101c
FIX: Speed up tests by simplifying fixture
...
Requires https://github.com/silverstripe/silverstripe-framework/pull/6872
2017-05-11 12:29:41 +12:00
Robbie Averill
c004bad7b8
FIX Update class imports, fix broken test, add missing multibyte logic back, fix condition for generating URLSegment (also missing)
2017-01-26 21:41:28 +13:00
Robbie Averill
98645af960
Implement Blog namespaces
2017-01-17 08:58:00 +13:00
Robbie Averill
5f07a3cc23
PSR-2 compat: Change Blog*_Controller to Blog*Controller
2017-01-12 10:56:08 +13:00
Robbie Averill
83db670e14
FIX Path to author profile when blog is the homepage
2017-01-12 10:20:44 +13:00
Robbie Averill
72a9f041c2
Fix some incorrect table/model namespace issues
2017-01-12 10:20:43 +13:00
Robbie Averill
13a5badff5
Move "code" to PSR-4 friendly "src" folders. Add namespacing.
2017-01-12 10:20:42 +13:00
micmania1
f5974d80a2
NEW Moved URLSegmentExtension, BlogTag and BlogCateogry shared functionality into a trait
2017-01-12 10:19:39 +13:00
micmania1
2ae1457068
Upgraded to work with silverstripe 4.x
2017-01-12 10:19:39 +13:00