Commit Graph

739 Commits

Author SHA1 Message Date
ksdhans
ca7f09d0e0 Removed category()/tag() documentation changes
Adding "string" to the possible return types of category()/tag() didn't stop the scrutinizer from raising two new issues, so I've reverted that change. In future tags/categories may be split into separate controllers (it's cleaner that way), so these "issues" may serve as a reminder.

NOTE: This means that the documented return type for rss() is also wrong
2016-06-14 18:20:03 +12:00
ksdhans
d42b3ca57c Fixed RSS feed link for category/tag feeds
- The RSS feed link was always the blog's root URL, even for category/tag feeds. FIXED
- Changed the return type documented for category() and tag() to include string for the case where an RSS feed is returned (addresses the "Scrutinizer" issues)
2016-06-14 18:08:31 +12:00
ksdhans
95e14e5496 Performed suggested changes
- Removed hardcoded URL segment (was test code that I forgot to remove)
- Changed if($rss to if(is_string($rss)
- Moved bracket after isRSS() to next line
- Made rssFeed() protected as it's an internal function and shouldn't be part of the public API
2016-06-14 17:38:43 +12:00
ksdhans
073fca5f0d Add RSS feeds for categories and tags
This patch adds RSS feeds for tags and categories. The RSS feeds are at the following URLs:
- */category/<category-name>/rss
- */tag/<tag-name>/rss
2016-06-13 23:20:07 +12:00
Bram de Leeuw
1231d0ca92 added localisation for multiple authors in the entry meta 2016-06-10 13:04:15 +02:00
Daniel Hensby
09bdf60aa4 Merge pull request #403 from micmania1/fix-blog-rss-date
FIX #394 add getDate to proxy publish date in rss template
2016-06-06 12:44:28 +01: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
micmania1
198d3550fc FIX closing p tag 2016-05-31 11:37:26 +12:00
micmania1
f6fef9e77e Tidied the badges on reademe 2016-05-30 17:35:13 +12:00
Loz Calver
c1ae82b74b Merge pull request #399 from silverstripe/micmania1-readme-patch-1
DOCS updated installation instructions
2016-05-24 09:09:59 +01:00
Michael Strong
1876ff86d8 DOCS updated installation instructions
Fixes #398
2016-05-24 13:43:04 +12:00
Daniel Hensby
dec393d720 Merge pull request #397 from silverstripe/add-helpful-robot-badge
Added Helpful Robot badge
2016-05-21 07:58:44 +01:00
Christopher Pitt
49c3bc6c03 Added Helpful Robot badge 2016-05-21 16:56:53 +12:00
Daniel Hensby
a587dcd612 Merge pull request #395 from tractorcow/pulls/fix-widget-tests
BUG Tests don't work in non-root base url.
2016-05-20 20:52:43 +01:00
Damian Mooyman
565502fdf7 Update translations. 2016-05-20 15:23:41 +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
b5e1d191ce Update changelog for 2.4.2 2016-05-18 17:01:49 +12:00
Damian Mooyman
648aad1e92 Update translations 2016-05-18 16:58:43 +12:00
Damian Mooyman
2b699fd290 Update changelog for 2.4.1 2016-05-18 15:42:33 +12:00
Daniel Hensby
cba4bd8b59 Merge pull request #388 from IOTI/patch-1
Added missing title attribute
2016-03-21 00:19:12 +00:00
Ryan McLaren
bb1484b45e Added missing title attribute
post-image href was missing title="" attribute
2016-03-20 20:32:03 -03:00
Damian Mooyman
7a59c13b3f Merge pull request #385 from sekjal/Issue384
ENHANCEMENT Format dates in Blog Posts gridfield based on user preferences
2016-03-07 15:33:12 +13:00
Ian Walls
86f5295175 Format dates in Blog Posts gridfield based on user preferences
Instead of always formatting to DD/MM/YYYY as Nice() does, format
the date based on user settings, using FormatFromSettings().

Fixes silverstripe/silverstripe-blog#384
2016-03-04 14:31:22 -05:00
Daniel Hensby
84efcf126b Merge pull request #381 from gordonbanderson/377-no-tags-break
FIX: Ensure tag cloud widget does not break when there are zero tags
2016-02-24 18:09:54 +00:00
Gordon Anderson
515928b8e2 FIX: Ensure tag cloud widget does not break when there are zero tags 2016-02-24 22:01:24 +07:00
Damian Mooyman
96d8adebab Merge pull request #370 from micmania1/210-fix-message-overflow
FIX Success/error message overflow in cms
2016-02-10 10:51:36 +13:00
micmania1
95a76e11de FIX Success/error message overflow in cms 2016-02-09 04:37:14 +00: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
Damian Mooyman
067f415f33 Merge pull request #373 from micmania1/296-prevent-future-post-public
FIX Prevent showing future blog posts before their publish date
2016-02-09 14:38:36 +13:00
Damian Mooyman
17429c043f Merge pull request #371 from micmania1/266-fix-cms-hijacking-keypress
FIX Prevent the CMS Hijacking the return keypress in gridfieldaddbydb…
2016-02-09 14:31:50 +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
micmania1
2c0e1a73ed FIX Prevent the CMS Hijacking the return keypress in gridfieldaddbydbfield 2016-02-05 21:48:31 +00:00
Loz Calver
79bc18aacc Merge pull request #369 from micmania1/288-fix-mininnerwidth
FIX minInnerWidth should begin with upper-case M
2016-02-05 09:06:08 +00:00
micmania1
2b2e13f7df FIX minInnerWidth should begin with upper-case M 2016-02-04 22:06:01 +00:00
Damian Mooyman
9526e13e5c Changelog for 2.4.0 2016-02-04 11:44:26 +13:00
Damian Mooyman
1fb4c58071 Update translations 2016-02-04 11:03:41 +13: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
Daniel Hensby
80cb06f715 Merge pull request #363 from tractorcow/pulls/blog-datefilter
BUG Fix blog date filtering for additional database server types
2016-01-25 10:34:39 +00: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
Daniel Hensby
694b41176a Merge pull request #362 from gordonbanderson/postgresfixes
FIX: Tests now pass in Postgres on 3.1 and 3.2
2016-01-22 17:20:01 +00: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
7248d21b31 Merge pull request #360 from gordonbanderson/coverage_ss_branch
ENHANCEMENT: Added code coverage and extra badges on the README
2016-01-22 08:40:05 +13:00
Gordon Anderson
d8dc1e335c ENHANCEMENT: Added code coverage and extra badges on the home page 2016-01-21 12:22:28 +07:00
Damian Mooyman
2d33c52c1c Merge pull request #357 from lry6003/site-tree-icon
Minor: Changed blog page icon
2016-01-19 16:12:54 +13:00
Luke Ryley
a9e0b93f5a Minor: Changed blog page icon 2016-01-19 15:05:36 +13:00