Commit Graph

91 Commits

Author SHA1 Message Date
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
Damian Mooyman
b45a573fac BUG Fix tag / category filters not being filtered in PaginatedList() 2015-11-09 15:22:57 +13:00
Cam Findlay
43bb2248a5 ENHANCEMENT Default archive year
If no year is passed, rather than 404 it should grab the latest years posts.
2015-11-09 13:56:50 +13:00
Cam Findlay
d6c2593d61 ENHANCEMENT filtering for large user base sites. 2015-11-04 12:44:15 +13:00
Damian Mooyman
b9155bae79 BUG Fix canview for non-admins 2015-07-09 15:15:39 +12:00
Damian Mooyman
6345f9b6f7 Fix string member IDs breaking permission checking 2015-06-04 11:50:25 +12:00
Christopher Pitt
787c02a19d Clean up 2015-05-11 10:11:21 +12:00
Damian Mooyman
0dd2d2504b API Add role-helpers for templates 2015-04-09 16:13:05 +12:00
Damian Mooyman
45a1af4a0d BUG Fix editors not being able to create categories / tags
Remove debug::dump from tests
Hide options if not allowed to edit the blog
2015-03-25 15:24:40 +13:00
Damian Mooyman
eabf8cf87e API New permissions for writers, editors, and contributors
API Enable authors to be specified and displayed on post info
BUG Fix blogfilter bug
Update documentation
2015-03-13 14:16:18 +13:00
Damian Mooyman
27cc0f4261 Legacy class migration 2015-03-05 14:14:34 +13:00
micmania1
81fdf81203 BUG Unused variable put to use. Doesn't show future posts on live stage 2014-11-13 09:06:48 +00:00
micmania1
0ba513579f FIX Fixed permission to allow all blog editors tags and categories 2014-07-27 10:24:02 +01:00
micmania1
0d098ff231 FIX: Corrected checks for date validation in archive method and added supporting tests 2014-04-10 13:44:17 +01:00
micmania1
96e5a75db2 Added category tests 2014-03-23 14:40:53 +00:00
micmania1
f8eeb3b2e6 Added unit tests 2013-10-09 23:09:28 +01:00