Commit Graph

927 Commits

Author SHA1 Message Date
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
Serge Latyntsev
46f2608cfa
Merge pull request #620 from wernerkrauss/patch-1
FIX: augmentLoadLazyFields doesn't work with renamed tables
2020-08-28 11:26:03 +12: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
Robbie Averill
8096c50130
Merge pull request #612 from creative-commoners/pulls/3.5/travis
Travis 3.5
2020-06-23 10:17:28 -07:00
Steve Boyd
8d5f020ad2 Travis 3.5 2020-06-23 12:27:34 +12:00
Maxime Rainville
92eb4f5da0 Merge branch '3.4' into 3.5 2020-06-12 14:24:02 +12:00
Maxime Rainville
44904cebf8 Merge branch '3.3' into 3.4 2020-06-12 14:21:47 +12:00
Maxime Rainville
7c338c5398 Merge branch '3.2' into 3.3 2020-06-12 14:20:26 +12:00
Maxime Rainville
e919071f82 Merge branch '3.1' into 3.2 2020-06-12 14:19:48 +12:00
Maxime Rainville
d108ccf883 Merge branch '3.0' into 3.1 2020-06-12 14:19:15 +12:00
Robbie Averill
c4d11e2510
Merge pull request #597 from creative-commoners/pulls/3.0/upgrade.widgets
Add missing widget models to db classname remapping
2019-12-13 17:54:48 -08:00
Serge Latyntcev
21c858b9d5 Merge branch '3.4' into 3 2019-11-18 11:21:20 +13:00
Andre Kiste
43861a0347
Merge pull request #598 from creative-commoners/pulls/3/upgrade-dependencies
Upgrading dependencies
2019-11-11 20:10:34 +13:00
Maxime Rainville
69395eaeaa Add jQuery dependency 2019-11-11 14:36:32 +13:00
Maxime Rainville
d1e8b518a6 Upgradeing dependencies 2019-11-08 17:33:51 +13:00
Dylan Wagstaff
6e1c77af0b Add missing widget models to db classname remapping
SilverStripe 4 has introduced namespacing, and thus ClassName field in
the database is now referring to classes that no longer exist. However
on a dev/build these will be updated so long as there is configuration
mapping the old class name to the new class name. However Blog module
here is missing the widget classes, which causes problems with
migrations. This will fix that.
2019-11-04 11:31:20 +13:00
Guy Marriott
d06fe86d54
Update translations 2019-08-20 16:37:58 +12:00
Robbie Averill
3fa6a1b45f Merge branch '3.4' into 3 2019-08-15 13:51:11 +12:00
Robbie Averill
1216106ad4 Merge branch '3.3' into 3.4 2019-08-15 13:51:04 +12:00
Robbie Averill
40eb69ef62 Use trusty distro in Travis builds 2019-08-15 13:50:58 +12:00
Robbie Averill
8db2e681a2 Merge branch '3.4' into 3 2019-08-15 09:46:26 +12:00
Robbie Averill
c134ce44c1 Switch assertions to test the end of the strings 2019-08-15 09:46:05 +12: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
651d6c1da9 Remove .idea folder from version control 2019-08-15 09:44:47 +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
Robbie Averill
e2bf714757 Merge branch '3.2' into 3.3 2019-07-01 10:15:47 +12:00
Robbie Averill
e6a7a4c8e8 Update SilverStripe versions in Travis builds 2019-07-01 10:15:17 +12:00
Guy Marriott
b1c853eafe
UX expand custom summary if field has value (#587)
UX expand custom summary if field has value
2019-05-17 16:51:08 +12:00
Nic Horstmeier
679e690ca5 UX expand custom summary if field has value
resolves #566
2019-05-16 23:27:14 -05:00
Robbie Averill
98183ad677 Update references to text fixtures and SS_List class namespace from cherry-picked SilverStripe 3 commit 2019-05-13 09:18:27 +12:00
3Dgoo
3d9031aaac Adding ansi quote to identifier 2019-05-13 09:14:42 +12:00
3Dgoo
317729604d Adding tests
Adding tests to check that archive widget correctly only shows blog posts from the related blog and not any other blog.
2019-05-13 09:13:52 +12:00
3Dgoo
ebd135b029 Adding tests
Adding tests to check that archive widget correctly only shows blog posts from the related blog and not any other blog.
2019-05-13 09:10:47 +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
Robbie Averill
705c2de93f Merge branch '3.3' into 3 2019-05-10 10:01:26 +12:00
Robbie Averill
ec116870f5 Update translations 2019-05-10 10:00:21 +12:00
Guy Marriott
3204d25c06
Update translations 2019-05-09 15:44:57 +12:00
Dylan Wagstaff
b94e02d56a
Merge pull request #580 from creative-commoners/pulls/3.3/widget-titles
FIX Widget titles may not be defined, in which case having an empty heading element is bad for accessibility
2019-05-02 14:35:50 +12:00
Robbie Averill
04dfad688e FIX Widget titles may not be defined, in which case having an empty heading element is bad for accessibility 2019-05-02 13:46:57 +12:00
Robbie Averill
ad320d7d88
Merge pull request #578 from SpeksForks/featured-blog-posts-widget
Featured Blog posts widget
2019-04-15 18:06:22 +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