Commit Graph

47 Commits

Author SHA1 Message Date
Robbie Averill
26311750b9 FIX Encode URLSegment to support multibyte member profile URLs 2017-09-03 21:59:15 +12:00
ksdhans
29ffaa8295 Minor layout tweak
Correcting indentation of isRSS().
2016-06-15 19:33:29 +12:00
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
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
Luke Ryley
a9e0b93f5a Minor: Changed blog page icon 2016-01-19 15:05:36 +13:00
helpfulrobot
f82825d9a6 Converted to PSR-2 2015-11-21 19:17:29 +13:00
Damian Mooyman
7bddc86ab4 Merge pull request #303 from SilbinaryWolf/fix-changing-blog-pagetype
Fix bug where can't change 'Blog' page type to non-'Blog' page type
2015-11-20 12:49:54 +13:00
Christopher Pitt
21e45ce875 Removed featured posts 2015-11-19 10:09:46 +13:00
Christopher Pitt
6d059806ea Added featured posts to CMS 2015-11-13 15:06:29 +13:00
Cam Findlay
12674edb87 FIX Title bug due to #320 2015-11-10 10:20:12 +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
JorisDebonnet
2c59e50a1c Bugfix: avoid feeding null to PaginatedList constructor 2015-10-23 19:33:41 +02:00
Jake Bentvelzen
c3b0401ee5 Fixed a bug where an error occurred when attempting to change the page type of 'Blog' 2015-10-14 14:00:24 +11:00
Christopher Pitt
bd55ee3442 Ordered Tags and Categories 2015-06-18 00:26:09 +12:00
Damian Mooyman
6345f9b6f7 Fix string member IDs breaking permission checking 2015-06-04 11:50:25 +12:00
Damian Mooyman
1382eae182 BUG Fix support for URLSegmentFilter.default_allow_multibyte 2015-06-03 18:47:49 +12:00
Christopher Pitt
1b7c312eb1 Merge pull request #245 from gordonbanderson/ISSUE_243
FIX: Fix to allow use of foreign text as tags and categories.  Fixes …
2015-06-03 18:38:34 +12:00
Christopher Pitt
f6b6f2e27a Improved member blog posts grid 2015-05-18 13:15:42 +12:00
Gordon Anderson
7c8bd693f2 FIX: Fix to allow use of foreign text as tags and categories. Fixes #243 2015-05-15 18:59:09 +07:00
Christopher Pitt
1648defec9 Clean up 2015-05-14 11:23:58 +12:00
Christopher Pitt
a978b4a9a1 Fixed regressions 2015-05-14 10:52:49 +12:00
David Craig
ea06252f2d Update default pagination 2015-05-13 15:12:48 +12:00
Christopher Pitt
787c02a19d Clean up 2015-05-11 10:11:21 +12:00
Damian Mooyman
27611c980d Merge pull request #199 from tractorcow/pulls/2.0/helper-class
Add helper class for cms styling
2015-04-28 12:34:56 +12:00
Damian Mooyman
efcdd64cf4 Add helper class for cms styling 2015-04-23 16:06:56 +12:00
Damian Mooyman
8edc079e92 API Improve sizing of blog sidebar 2015-04-23 14:30:58 +12:00
Damian Mooyman
8ff1fc178c BUG Fix typo in last merge 2015-04-21 19:17:27 +12:00
Christopher Pitt
5d9ed5b9e0 Added merging of tags and categories 2015-04-21 16:51:51 +12:00
Christopher Pitt
db69eab825 Merge pull request #179 from tractorcow/pulls/2.0/filter-description
API Add filter description to blog holder
2015-04-14 14:25:20 +12:00
scott1702
6c5ff30bfb Update descriptions of user levels 2015-04-13 11:45:57 +12:00
Damian Mooyman
64b140f044 API Add localised filter description to blog holder
Supported by the default theme via $MetaTitle
2015-04-13 11:33:14 +12:00
Damian Mooyman
0dd2d2504b API Add role-helpers for templates 2015-04-09 16:13:05 +12:00
Christopher Pitt
330401683a Added role help 2015-04-09 13:04:47 +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
David Craig
49bee390a3 Add user profiles to Blog 2015-03-24 12:25:46 +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
846eb9c270 Break out templates and expand 2015-03-05 13:05:03 +13:00
Damian Mooyman
2bacf5e6c8 BUG Fix incorrect class 2015-02-07 12:52:45 +13:00
micmania1
9feee011cf FIX GridField state was being added too late in the process which means no data was being passed through to create a new blog post. 2015-02-05 04:30:27 +00:00
vagrant
4166d025e4 NEW Decouple gridfield stuff into lumberjack module 2015-01-29 10:49:48 +00:00