Commit Graph

112 Commits

Author SHA1 Message Date
Steve Boyd
6e020c663b API Stop using deprecated API 2022-11-25 12:43:00 +13:00
Pascal Schneider
20d9f45442
Fixed type annotation
`FeaturedImage()` returns an instance of `SilverStripe\Assets\Image`, not a `Blog`.
2022-11-17 11:14:35 +01:00
Steve Boyd
8f3778f77f ENH PHP 8.1 compatibility 2022-04-27 09:31:14 +12:00
Steve Boyd
6d8822ca12 ENH Various fixes for PHP 8.1 compatibility 2022-04-14 15:17:20 +12:00
Jellygnite
b55c7aa80d ENH Add config to control if a default author is added to posts on creation 2022-03-03 18:12:36 +10:00
Dylan Wagstaff
4be03364de
Merge pull request #643 from creative-commoners/pulls/3.6/explain-defaults
DOC Add explanation for default values
2021-05-02 20:54:18 +12:00
armsofnoodle
d6d57d8689 Add doc blocks for featured image and summary 2021-04-09 15:38:15 +12:00
Steve Boyd
65f4c22e84 DOC Add explanation for default values 2021-04-07 12:14:02 +12:00
3Dgoo
6f3bc628a7
Ensure pagination start is not a negative number 2021-02-25 07:25:18 +10:30
Serge Latyntsev
fc51e77af3
Merge pull request #621 from wernerkrauss/fix-619
FIX forward IDs given by DataList::relation()
2020-09-08 08:15:53 +12:00
wernerkrauss
31a3c3e7d1 FIX forward IDs given by DataList::relation()
This way calling `->relation('BlogPosts')` does not return an UnsavedRelationList

fixes #619
2020-08-28 05:36:15 +02:00
wernerkrauss
dd8ce8b8dd FIX augmentLoadLazyFields doesn't work with renamed tables
On a project I renamed the table BlogPosts to News_Posts which led to a broken join clause.
2020-08-27 16:36:36 +02:00
Ryan Potter
14283d88b8 Set docblock for the setButtonName method, and don't invalidate localisation text. 2019-08-15 09:44:51 +12:00
Ryan Potter
ea2fcd0b6e Added a method to set the button name in a GridFieldAddByDBField component 2019-08-15 09:44:40 +12:00
Tim Burt
dd18648ed1 Make featured images directory configurable 2019-08-15 09:44:14 +12:00
Robbie Averill
a9a7c21751 Merge branch '3.3' into 3 2019-07-01 10:16:09 +12:00
Nic Horstmeier
679e690ca5 UX expand custom summary if field has value
resolves #566
2019-05-16 23:27:14 -05:00
3Dgoo
3d9031aaac Adding ansi quote to identifier 2019-05-13 09:14:42 +12:00
3Dgoo
01c1ead069 Fix blog archive widget bug
Fixes blog archive widget bug to only get the archive months for the blog linked to in this widget.
2019-05-13 09:08:42 +12:00
Peter Thaleikis
afecae4eba MINOR: tweaking implementation 2019-04-15 15:51:35 +12:00
Robbie Averill
c8914cc779 Update src/Model/BlogPostFeaturedExtension.php
Co-Authored-By: spekulatius <spekulatius@users.noreply.github.com>
2019-04-15 15:51:35 +12:00
Peter Thaleikis
fdeb101882 MINOR: implementing featured blog posts as a widget 2019-04-15 15:51:35 +12:00
Will Dawber
ab8325f965 Compatibility issues with core index (#550)
Making index function compatible with SilverStripe\CMS\Model\RedirectorPageController, this stops issues when module installed and also creating a custom index function in PageController
2019-04-15 15:25:35 +12:00
Stevie Mayhew
8ae3614335 Add index to PublishDate - also see #559 2019-04-15 15:24:59 +12:00
Sacha Judd
765b315fe7 NEW Add font-icon for site tree blog holder and posts 2019-04-15 15:24:45 +12:00
Robbie Averill
dd8e401dbf NEW Add tests for blog archive links and tidy up code re-use a little 2019-04-15 15:24:31 +12:00
Peter Thaleikis
078c877cbb MINOR: avoid current blog post being included in the recent posts widget 2019-04-15 15:24:05 +12:00
Robbie Averill
d1ea6bb839 FIX Categories and tags now respect multibyte url configuration
Previously multibyte URLs would always work, regardless of URLSegmentFilter::$default_allow_multibyte.
This change means that they will only work when the setting is enabled.
2019-02-07 12:05:32 +03:00
Robbie Averill
cbbe8b94db FIX Multibyte URL encoding for blog profiles, and encoded params in functional tests 2019-02-05 16:50:21 +03:00
Dylan Wagstaff
19cfe75671 Merge branch '3.1' into 3.2 2018-12-07 10:00:37 +13:00
Dylan Wagstaff
62d628cf62 Merge branch '3.0' into 3.1 2018-12-07 09:59:57 +13:00
Robbie Averill
233a5e6397 FIX Blog profile summary field is always inserted before the profile image field 2018-12-07 09:59:16 +13:00
Shaun Cockerill
c0895803db FIX: Update Blog archive date formats for SS4 2018-11-26 10:03:29 +08:00
Robbie Averill
fb1b6929a9 FIX Blog profile summary field is always inserted before the profile image field 2018-09-05 14:56:05 +02:00
Loz Calver
c3ac001a0a FIX: Unable to remove 'Post Options' tab 2018-07-09 10:58:10 +01:00
Robbie Averill
14eab5dc5a Merge branch '3.1' into 3.2 2018-06-11 12:02:23 +12:00
Robbie Averill
dc26478e94 FIX Use correct API for determining if record is modified on draft stage 2018-04-20 17:05:29 +12:00
Robbie Averill
c83232bd6e Merge branch '3.1' 2018-04-10 15:53:48 +12:00
Joris Debonnet
06bcd961ce Bring back BlogPost URLSegment to Main tab 2018-04-10 02:04:44 +02:00
Dylan Wagstaff
2d62251858
Merge pull request #524 from creative-commoners/pulls/3.2/tweaks
Minor tweaks, syntax, namespace imports, docblocks, test improvements
2018-04-09 12:06:34 +12:00
Robbie Averill
86c0f56620 Use ::class for class_exists checks on Widget, fix setUp/tearDown method visibility 2018-04-06 10:22:58 +12:00
Robbie Averill
7c4574ba78 Switch argument order in FieldList::insertAfter calls 2018-04-06 10:21:43 +12:00
Robbie Averill
c123951768 Add missing class imports from docblocks and fix incorrect docblocks 2018-04-06 10:21:26 +12:00
Robbie Averill
fffd2cece3 FIX Remove "Add new blog post" button from Blog Posts GridField in a members profile 2018-03-22 17:17:03 +13:00
Robbie Averill
29154eae4c FIX Correctly import namespaces in BlogPostNotifications class 2018-03-20 16:54:55 +13:00
Martin Portevin
b483446a45
Fix bad date formatting
`m` returns minute in hour as seen here : http://userguide.icu-project.org/formatparse/datetime
2018-03-20 01:54:08 +01:00
zanderwar
3f24858b73 ENHANCEMENT added MinutesToRead() 2018-03-14 18:01:09 +10:00
marcio.barrientos
519fe25da1
Make Categorization and PostOptions localizable
Allow to make localizable Blog Categorization tab and BlogPost Options tab
2018-02-20 11:38:30 +00:00
Robbie Averill
5c1cedeb98 Merge branch '2' 2018-02-20 11:05:54 +13:00
Raissa North
8dfb4426a4 Remove unneeded requirement 2018-01-29 16:17:41 +13:00