Commit Graph

480 Commits

Author SHA1 Message Date
Robbie Averill
f9b78e8fdf Update Travis builds to include PHP 7 2019-07-24 12:16:02 +02:00
Robbie Averill
1d5bd48fda Remove obsolete branch alias 2018-12-30 14:46:00 +00:00
Dylan Wagstaff
0189bcbbb9
Merge pull request #544 from 3Dgoo/fix-blog-archive-widget-bug
Fix blog archive widget bug
2018-07-27 10:59:21 +12:00
3Dgoo
931bcac063
Adding ansi quote to identifier 2018-07-06 15:17:38 +09:30
3Dgoo
aaf3aacd9e
Adding tests
Adding tests to check that archive widget correctly only shows blog posts from the related blog and not any other blog.
2018-06-29 21:30:38 +09:30
3Dgoo
11c99e74c8
Adding tests
Adding tests to check that archive widget correctly only shows blog posts from the related blog and not any other blog.
2018-06-29 21:29:11 +09:30
3Dgoo
ce1dee51d4
Fix blog archive widget bug
Fixes blog archive widget bug to only get the archive months for the blog linked to in this widget.
2018-06-26 13:17:47 +09:30
Guy
ae4bcebc46
Merge branch '2.5' into 2 2018-06-25 11:33:02 +12:00
Loz Calver
0a8235615d
Use Injector for creating paginated list of blog posts 2018-06-25 11:32:15 +12:00
Daniel Hensby
45c4a4aadf
Merge branch '2.5' into 2 2018-06-19 21:43:45 +01:00
Daniel Hensby
2da2c2927f
Merge branch '2.4' into 2.5 2018-06-19 21:40:41 +01:00
Robbie Averill
a4efb3409c
Merge pull request #540 from dhensby/pulls/2.4/fix-multibyte-urlfilter
FIX Make sure `setAllowMultibyte` is on when looking up by URLSegment
2018-06-20 08:24:01 +12:00
Daniel Hensby
3b14436304
TEST Fix regression in tests from new Versioned exceptions 2018-06-19 14:39:17 +01:00
Daniel Hensby
d392ca72f1
FIX Make sure setAllowMultibyte is on when looking up by URLSegment 2018-06-19 14:23:27 +01:00
Daniel Hensby
66c7881410
Merge pull request #528 from kinglozzer/injector
Use Injector for creating paginated list of blog posts
2018-04-16 12:09:50 +01:00
Loz Calver
f9530b5f05 Use Injector for creating paginated list of blog posts 2018-04-16 11:54:45 +01:00
Robbie Averill
fbfa5e38c1 Merge branch '2.5' into 2 2018-02-20 11:02:14 +13:00
Robbie Averill
c76cbcb0f0 Merge branch '2.4' into 2.5 2018-02-20 11:01:29 +13:00
Robbie Averill
767250435e Remove PHP 5.3 from Travis builds 2018-02-20 11:01:09 +13:00
3Dgoo
f948afe271 Fixing non int pagination variable server error
If a user tries to paginate the blog using a value that is not an integer SilverStripe will throw a server error.

Example. Visiting `blog/?start=10.1` will cause the following server error:

```You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10.1' at line 8```

This change casts the pagination variable to an int before using it.
2018-02-20 11:00:09 +13:00
Dylan Wagstaff
b76f1e1840
Merge pull request #509 from 3Dgoo/patch-1
Fixing non int pagination variable server error SS3
2018-02-20 10:56:29 +13:00
3Dgoo
483a384fb1
Fixing non int pagination variable server error
If a user tries to paginate the blog using a value that is not an integer SilverStripe will throw a server error.

Example. Visiting `blog/?start=10.1` will cause the following server error:

```You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10.1' at line 8```

This change casts the pagination variable to an int before using it.
2018-02-20 07:47:49 +10:30
Robbie Averill
6929e0178b
Merge pull request #490 from creative-commoners/pulls/2.4/add-missing-translation
FIX Add missing translation for GridFieldBlogPostState
2017-12-01 17:37:24 +13:00
Raissa North
18fe0a96e7 FIX Add missing translation for GridFieldBlogPostState 2017-12-01 16:36:00 +13:00
Robbie Averill
4810e73278 Merge branch '2.5' into 2 2017-11-20 14:32:05 +13:00
Robbie Averill
0efaef958a Update branch alias for 2.6.x-dev 2017-11-20 14:31:48 +13:00
Robbie Averill
1a9cdee0f2 Remove obsolete branch alias 2017-11-20 14:31:23 +13:00
Robbie Averill
ffc0ab7f38 Merge branch '2.4' into 2 2017-11-03 15:35:11 +13:00
Damian Mooyman
f2a0c36bd6
Merge pull request #487 from creative-commoners/pulls/2.4/fix-parent-canview
FIX Ensure that draft blog posts are always viewable to users with view draft permission
2017-11-03 15:12:44 +13:00
Robbie Averill
c2f58507a0 FIX Ensure that draft blog posts are always viewable to users with view draft permission 2017-11-03 14:00:14 +13:00
Franco Springveldt
f29b73f532 Merge branch '2.4' into 2 2017-09-28 16:46:58 +13:00
Franco Springveldt
246b203452 Merge pull request #481 from creative-commoners/pulls/2.4/fix-archive-widget-date-today
FIX Archive widget shows months from posts published that day
2017-09-28 16:40:49 +13:00
Robbie Averill
d47648a86d FIX Archive widget shows months from posts published that day 2017-09-28 15:08:30 +13:00
Robbie Averill
385fe9572a Merge branch '2.4' into 2 2017-09-27 11:25:36 +13:00
Loz Calver
165ef46b64 Merge pull request #480 from creative-commoners/pulls/2.4/archived-widget-years
FIX Display individual years in blog archive widget when set to "Yearly"
2017-09-26 09:13:05 +01:00
Robbie Averill
8e684dea50 FIX BlogArchiveWidget for PostgreSQL compatibility 2017-09-26 17:17:53 +13:00
Robbie Averill
92f6192870 Increase mimumum versioned of SilverStripe to 3.2 and update versions in Travis configuration 2017-09-26 17:05:04 +13:00
Robbie Averill
a1e4f3efce Add tests for BlogArchiveWidget 2017-09-26 16:17:41 +13:00
Robbie Averill
27044d86a5 FIX Display individual years in blog archive widget when set to "Yearly" 2017-09-22 14:54:44 +12:00
Daniel Hensby
35cbc20d5f Merge pull request #437 from xini/feature-prev-next
add meta links for previous and next pages in paging and post view
2017-09-19 12:03:21 +01:00
Robbie Averill
9a5690ca3e Merge branch '2.4' into 2 2017-09-14 16:53:42 +12:00
Robbie Averill
4aa468a6ab Merge pull request #470 from creative-commoners/pulls/2/update-translations
Removing translations in preparation for namepsacing them
2017-09-14 15:57:43 +12:00
Franco Springveldt
6a16213bc7 Removing translations in preparation for namepsacing them 2017-09-14 14:00:41 +12:00
Michael Strong
66f8b80943 Merge pull request #466 from robbieaverill/pulls/2.4/multibyte-member-profiles
FIX Encode URLSegment to support multibyte member profile URLs
2017-09-06 09:37:47 +12:00
Robbie Averill
3bb197936f Always use precise on Travis 2017-09-04 06:49:34 +12:00
Robbie Averill
26311750b9 FIX Encode URLSegment to support multibyte member profile URLs 2017-09-03 21:59:15 +12:00
Franco Springveldt
a212db35b7 Update translations 2017-08-28 16:35:55 +12:00
Daniel Hensby
619df86693 Merge pull request #446 from creative-commoners/issue/ss-widgets/144
FIX select list not in group-by clause error
2017-08-17 17:44:19 +01:00
Franco Springveldt
236bf6d8fc FIX added date formatting 2017-08-09 09:49:58 +12:00
Michael Strong
58a4693129 Merge pull request #460 from dhensby/pulls/2.4/date-override
FIX If BlogPost has date field, return it in getDate
2017-07-27 11:10:25 +12:00