Commit Graph

65 Commits

Author SHA1 Message Date
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
Damian Mooyman a21b50333d Merge pull request #402 from micmania1/fix-376-url
FIX #376 allow multibyte chars in url segment
2016-06-29 17:51:22 +12:00
micmania1 299944fd1f FIX #394 add getDate to proxy publish date in rss template 2016-05-31 14:26:29 +12:00
micmania1 e4c3b879e8 FIX #376 allow multibyte chars in url segment 2016-05-31 14:00:54 +12:00
Damian Mooyman 451467823d BUG Tests don't work in non-root base url. 2016-05-20 13:18:59 +12:00
Damian Mooyman e7ef92c4e5 Merge pull request #372 from micmania1/271-prevent-duplicate-tags-categories
FIX Prevent duplicate tags and categories.
2016-02-09 14:56:36 +13:00
micmania1 8135f67b71 FIX Prevent duplicate tags and categories. 2016-02-05 23:21:13 +00:00
micmania1 f32adf1dd3 FIX Prevent showing future blog posts before their publish date 2016-02-05 22:37:01 +00:00
Damian Mooyman 2bece2e741 Merge pull request #248 from gordonbanderson/TAG_CLOUD_WIDGET
Tag cloud widget
2016-01-26 10:08:02 +13:00
Damian Mooyman 2b2e5b2593 Merge pull request #365 from gordonbanderson/patch_364
FIX: Missing Blog Post Title from Comment Notification
2016-01-26 10:05:57 +13:00
Gordon Anderson 687406dea8 FIX: Unit test for BlogPostNotifications identified a missing %s in a sprintf statement, meaning the title of a BlogPost would not show in the subject of a notification email 2016-01-25 18:33:05 +07:00
Gordon Anderson 15b197c284 ENHANCEMENT: Addition of tag cloud widget complete with tests 2016-01-25 14:39:12 +07:00
Damian Mooyman ebba5cc9fc BUG Fix blog date filtering for additional database server types 2016-01-25 11:57:26 +13:00
Gordon Anderson cb45815fbd FIX: Tests now pass in Postgres on 3.1 and 3.2
Problems resolved:
1) Case sensitivy of check on Code field of Group
2) MySQL and Postgres have different date functions
3) When BlogID is empty, explicitly set it to 0.  If not then all tests break under Postgres
2016-01-22 22:48:02 +07:00
Damian Mooyman 5282ad84f9 BUG Fix regression in #312 in PHP 5.3 2015-11-23 15:45:22 +13:00
helpfulrobot f82825d9a6 Converted to PSR-2 2015-11-21 19:17:29 +13:00
Cam Findlay 12674edb87 FIX Title bug due to #320 2015-11-10 10:20:12 +13:00
Michael Strong 930074c2a2 FIX Hardcode the year to the current year in setUp() 2015-11-09 15:52:21 +13:00
Michael Strong a27dd892f6 Merge pull request #319 from tractorcow/pulls/fix-paginated-filter
BUG Fix tag / category filters not being filtered in PaginatedList()
2015-11-09 15:30:25 +13:00