Commit Graph

135 Commits

Author SHA1 Message Date
Steve Boyd
7ad58bb9a0 API Deprecate widget classes 2024-08-20 13:29:04 +12:00
Guy Sartorelli
6e3cf9d2e3
MNT resolve translation lint failures (#776) 2024-08-13 17:01:21 +12:00
Steve Boyd
6c37e8f774 ENH Use class name instead of self 2024-06-14 12:32:36 +12:00
Werner Krauß
bad865dc65
FIX Don't hardcode table name (#629)
BlogFilter had some hardcoded references to BlogPost table; when you rename this table, e.g. to "News", some joins broke.
2024-05-10 16:05:41 +12:00
github-actions
984bf3abd1 Merge branch '4.1' into 4.2 2024-03-23 12:28:34 +00:00
github-actions
5b41829948 Merge branch '3' into 4.1 2024-03-23 12:28:33 +00:00
James Cocker
9fae326927 FIX Use $owns instead of onBeforeWrite hook to publish profile image 2024-03-20 22:54:38 +13:00
Guy Sartorelli
5d9007d5d7
MNT Run module-standardiser (#741) 2024-02-02 13:57:32 +13:00
Guy Sartorelli
3b8092272b
ENH Add generic types (#739) 2024-01-19 09:58:02 +13:00
github-actions
a1858fad6c Merge branch '4.1' into 4 2023-12-23 12:28:31 +00:00
Mohamed Alsharaf
b2f0d12dd6 Remove icons from gridfield add button 2023-12-19 14:10:15 +13:00
Guy Sartorelli
0704d99992
Merge branch '4.1' into 4 2023-12-18 15:18:17 +13:00
Steve Boyd
33da9d042d MNT Update @methods on class docblocks 2023-12-14 15:08:00 +13:00
Lukas Erni
d6375c5048 addition to #685 also, respect mb in controller 2023-11-20 21:30:38 +01:00
github-actions
4a71f93f23 Merge branch '4.1' into 4 2023-11-04 12:28:26 +00:00
Sabina Talipova
7d15e3cc68 MNT Remove TODO comments 2023-10-26 09:14:16 +13:00
Guy Sartorelli
08e2bd38e7
Merge pull request #685 from wilr/wilr-patch-1
Allow multibyte to be configured (fixes #605)
2023-10-09 20:48:45 +13:00
Will Rossiter
99d1063361
FIX: Allow multibyte to be configured (#605) 2023-10-09 19:17:31 +13:00
github-actions
fe638a0ccb Merge branch '4.0' into 4.1 2023-09-30 12:28:25 +00:00
github-actions
38bad2d658 Merge branch '3' into 4.0 2023-09-30 12:28:24 +00:00
Nathan J. Brauer
712812332d Bugfix: Updating BlogPostFilter::augmentSQL to make use of modern Versioned methods.
This resolves an issue with some modules that rely upon get_draft_site_secured, like Elemental and sharedraftcontent
2023-09-19 21:18:06 -07:00
3Dgoo
7189427bf3
Replace deprecated sort rand with shuffle 2023-08-10 12:20:25 +09:30
Steve Boyd
9b49e1bfcc MNT Broken builds 2023-01-24 15:41:55 +13:00
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