Commit Graph

170 Commits

Author SHA1 Message Date
micmania1
e4c3b879e8 FIX #376 allow multibyte chars in url segment 2016-05-31 14:00:54 +12: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
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
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
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
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
Luke Ryley
a9e0b93f5a Minor: Changed blog page icon 2016-01-19 15:05:36 +13:00
Damian Mooyman
22682b9c4a Merge pull request #348 from steiha/patch-1
fix sql queries // widgets // LastUpdated has to be LastEdited
2015-12-15 16:24:38 +13:00
Stefan Eickhoff
c642723694 Update BlogTagsWidget.php 2015-12-05 12:07:38 +01:00
Stefan Eickhoff
c0928ffa32 Update BlogCategoriesWidget.php 2015-12-05 12:01:31 +01:00
Loz Calver
34fcafa24a Change image field label back to “Featured Image” (closes #344) 2015-12-04 10:35:47 +00: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
Thomas
4c4afd5b38 allow injection on date 2015-11-20 08:53:20 +01:00
Damian Mooyman
3d6de78df5 Merge pull request #306 from DrMartinGonzo/patch-1
i18n wrong label in BlogPost.php
2015-11-20 12:51:00 +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
Damian Mooyman
3ef14a6e1a Merge pull request #328 from silverstripe/add-hook-for-extension-filters-on-tag-blog-posts
Added hook for extension filters on tag blog posts
2015-11-17 16:37:23 +13:00
Christopher Pitt
040fb95eb6 Added hook for extension filters on tag blog posts 2015-11-17 16:09:31 +13:00
Christopher Pitt
34a45e21a7 Added hook for extension filters on category blog posts 2015-11-17 16:06:19 +13:00
Christopher Pitt
3f23add5af Merge pull request #318 from unclecheese/patch-1
BUGFIX: Dropdowns do not use unique IDs
2015-11-17 11:52:48 +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
Damian Mooyman
dd33bbfa50 Merge pull request #320 from camfindlay/feature/defaultarchiveyear
ENHANCEMENT Default archive year
2015-11-09 14:30:02 +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
unclecheese
454d31910a BUGFIX: Dropdowns do not use unique IDs
Solves problem where `DOMXPath` was throwing (in `ShortcodeParser`) due to invalid HTML
2015-11-05 12:02:00 +13:00
Damian Mooyman
e04be4cde4 BUG Fix crash if parent page isn't Blog type 2015-11-05 11:31:55 +13:00
Cam Findlay
d6c2593d61 ENHANCEMENT filtering for large user base sites. 2015-11-04 12:44:15 +13:00
Cam Findlay
8a5c52a204 FIX Explicitly set the PostsPerPage during migration
Tested against the silverstripe.org codebase, BlogHolder migration fails unless you set this.
2015-10-29 13:10:10 +13:00
Michael Strong
dde32209f8 Merge pull request #301 from JorisDebonnet/patch-1
Bugfix: avoid calling "new PaginatedList(null)"
2015-10-27 13:26:16 +13:00
DrMartinGonzo
a5d242006f i18n wrong label in BlogPost.php
Wrong Description label for additional credits description, uses PublishDate_Description.
2015-10-26 15:43:21 +01:00
JorisDebonnet
2c59e50a1c Bugfix: avoid feeding null to PaginatedList constructor 2015-10-23 19:33:41 +02:00
JorisDebonnet
f311305efb Default PublishDate to NULL for drafts and sort them at the top 2015-10-23 00:40:25 +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
Damian Mooyman
4e78e581fd Merge pull request #284 from marcokernler/locallized-archive-widget-titles
i18n for the titles in the ArchiveWidget
2015-08-20 13:34:28 +12:00
Damian Mooyman
b9155bae79 BUG Fix canview for non-admins 2015-07-09 15:15:39 +12:00
Christopher Pitt
40674ab802 Extended tags and categories widgets 2015-07-08 15:27:40 +12:00
Daniel Hensby
60b575b7bb Merge pull request #280 from camfindlay/migrate
FIX Blog tag migration is per Blog
2015-07-07 15:21:12 +02:00
Cam Findlay
05a4b57fb1 FIX Blog tag migration is per Blog 2015-06-29 19:17:53 +12:00
Daniel Hensby
b2d1584adc Merge pull request #277 from camfindlay/migrate
FIX Migration of blog 1.0 to 2.0 was broken
2015-06-27 22:31:03 +01:00
Cam Findlay
f86f7751b1 FIX Migration of blog 1.0 to 2.0 was broken 2015-06-27 21:45:09 +12:00
Christopher Pitt
bd55ee3442 Ordered Tags and Categories 2015-06-18 00:26:09 +12:00
Cam Findlay
6ccb1bb5df FIX Ensures old blog 1.0 style author names are migrated into 2.0 AuthorNames
Found that old 1.0 blog author names were not being migrated over to the new 2.0 AuthorNames (noted that there is now also a relationship between Member and BlogPost). The old 1.0 did not have this relationship so when migrating no authors are brought across from BlogEntry into BlogPost during the MigrationTask.
2015-06-07 17:20:13 +12:00
Damian Mooyman
0941b4ed96 BUG Fix BlogPost crashing when created under a non-blog parent 2015-06-04 13:47:06 +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
David Craig
4ab5de839e Fix migration 2015-05-26 12:36:20 +12:00
Damian Mooyman
a536d88936 Revert "Fix migration task" 2015-05-26 12:26:22 +12:00
David Craig
228e7159a5 Fix migration script 2015-05-26 11:40:39 +12:00
Christopher Pitt
bde73eda62 Fixed migration error 2015-05-25 13:39:51 +12:00
Christopher Pitt
e4c873f08b Stabilized TagField API 2015-05-22 15:24:40 +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
Damian Mooyman
17832fd942 Merge pull request #228 from assertchris/reorder-fields
Reordered fields
2015-05-14 12:27:36 +12:00
David Craig
b7b0c99c21 Fix excerpt parsing 2015-05-14 12:11:09 +12:00
Christopher Pitt
b62370cddd Reordered fields 2015-05-14 11:55:01 +12: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
Christopher Pitt
0dd0bf0670 Reorder tabs 2015-05-09 20:27:56 +12:00
Christopher Pitt
1427cbdf6b Merge pull request #196 from tractorcow/pulls/2.0/blogtree-migration
BUG Fix blogtree with non-blogpost children breaking on migration
2015-04-28 14:18:38 +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
Christopher Pitt
c7b374f800 Hide merge for empty parents 2015-04-24 09:45:28 +12:00
Damian Mooyman
48051024aa Merge pull request #203 from assertchris/small-improvements-to-merge-column
Small improvements to merge column
2015-04-23 17:13:03 +12:00
Christopher Pitt
5c099aa0dc Small improvements to merge column 2015-04-23 16:50:50 +12:00
Christopher Pitt
97498cc3f6 Hide current parent for merge options 2015-04-23 16:47:54 +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
0c6f5122ed BUG Fix blogtree with non-blogpost children breaking on migration 2015-04-23 12:47:03 +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
Damian Mooyman
d4c80750ad Add class to summary holder 2015-04-21 13:21:22 +12:00
Damian Mooyman
e024fcb97a BUG Fix php 5.3 compatibility 2015-04-14 15:16:07 +12:00
Christopher Pitt
61f996461c Merge pull request #185 from tractorcow/pulls/2.0/summary-size
Adjust size of custom summary and remove extra title
2015-04-14 14:27:59 +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
Damian Mooyman
467a50175e Adjust size of custom summary and remove extra title
Depends on https://github.com/silverstripe/silverstripe-framework/pull/4072
2015-04-14 14:22:52 +12:00
Christopher Pitt
3e29c378ed Added tag field 2015-04-14 14:12:59 +12:00
Damian Mooyman
6283122c9c API Enable custom summaries for blogposts 2015-04-13 17:13:53 +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
Christopher Pitt
23c38002c4 Merge pull request #177 from tractorcow/pulls/2.0/role-helpers
API Add role-helpers for templates
2015-04-09 16:20:27 +12:00
Damian Mooyman
0dd2d2504b API Add role-helpers for templates 2015-04-09 16:13:05 +12:00
Damian Mooyman
81c0ca2c55 Comment notification extensions 2015-04-09 16:03:30 +12:00
Damian Mooyman
5817eea314 API Enable comment specific enhancements
If an author creates a comment include a highlight class
2015-04-09 14:12:34 +12:00
Christopher Pitt
330401683a Added role help 2015-04-09 13:04:47 +12:00
David Craig
99b03b555c Make BlogPost::isAuthor public 2015-04-02 14:50:46 +13:00
Christopher Pitt
342d2a3d2a Better credits description in admin 2015-04-02 12:52:44 +13:00
Christopher Pitt
4ee278abb3 Fixed credits 2015-04-01 15:06:54 +13:00