Commit Graph

464 Commits

Author SHA1 Message Date
Loz Calver
0a8235615d
Use Injector for creating paginated list of blog posts 2018-06-25 11:32:15 +12: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
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
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
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
Daniel Hensby
3a18b9f69b
FIX If BlogPost has date field, return it in getDate 2017-07-26 15:22:36 +01:00
Daniel Hensby
c110b4e2e1
Merge branch '2.4' into 2 2017-07-20 10:33:28 +01:00
Daniel Hensby
0b6a2d710a
Merge branch '2.3' into 2.4 2017-07-20 10:33:06 +01:00
Daniel Hensby
df68e34398
Merge branch '2.2' into 2.3 2017-07-20 10:31:55 +01:00
Daniel Hensby
7bfe622909
Merge branch '2.1' into 2.2 2017-07-20 10:30:12 +01:00
Daniel Hensby
3a62155f66
Merge branch '2.0' into 2.1 2017-07-20 10:29:50 +01:00
Loz Calver
6f5d4bd658 Merge pull request #458 from dhensby/pulls/2.0/fix-url-segment-generation
FIX Dont generate urlsegments if we dont need to
2017-07-20 09:07:06 +01:00
Daniel Hensby
34b6191666
Remove HHVM from test builds 2017-07-19 17:47:04 +01:00
Daniel Hensby
c29438fd1a
FIX Dont generate urlsegments if we dont need to 2017-07-19 17:42:46 +01:00
Daniel Hensby
ca59af43e8
Merge branch '2.4' into 2 2017-07-05 14:42:23 +01:00
Daniel Hensby
91d9e42ba0 Merge pull request #450 from camfindlay/feature/config-spam-notifications
Config spam notifications
2017-07-05 14:30:24 +01:00
Cam Findlay
d5340a87dc
FEATURE config to disable sending spam notifications 2017-07-03 11:17:30 +01:00
Franco Springveldt
0d6b44aa44 FIX mysql >= 5.7 sql_mode=only_full_group_by error 2017-06-26 10:21:39 +12:00
Daniel Hensby
e737cd818b Merge pull request #445 from creative-commoners/pulls/2.4/travis-php7
Add PHP7 + SS3.6 build to Travis configuration
2017-06-18 01:03:00 +01:00
Robbie Averill
e5415b1ea8 Remove hhvm from Travis build matrix 2017-06-16 09:11:22 +12:00
Daniel Hensby
deb0a098e8 Merge pull request #435 from rasstislav/patch-1
FIX Add translation to some areas of BlogMemberExtension that were missing them
2017-06-15 16:56:31 +01:00