Commit Graph

443 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Rastislav Brandobur
abe6015a34 added BlogMemberExtension definitions to lang subfolder 2017-06-15 02:00:40 +02:00
Robbie Averill
16d684dcfa Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 09:58:30 +12:00
Daniel Hensby
ef67447ad5 Merge pull request #444 from alex-dna/2.4
Prevent user_error when querying object from Solr
2017-06-14 13:05:27 +01:00
Alexandre Saelens
bd23bb2f0a Prevent user_error when querying object from Solr 2017-06-14 14:05:40 +12:00
Daniel Hensby
0132a02cf0 Adding .codecov.yml file 2017-05-25 08:57:47 +01:00
Rastislav Brandobur
2cd7db9beb FIX Add translation to some areas of BlogMemberExtension that were missing them 2017-04-12 10:33:29 +02:00
Damian Mooyman
7583e0bcd5 Update translations 2016-11-17 12:39:49 +13:00
Damian Mooyman
b4050a7392 Remove obsolete branch-alias 2016-11-17 10:17:56 +13:00
Damian Mooyman
033a7bb96f Merge pull request #414 from dhensby/pulls/casting-fix
FIX Excerpt should be casted as HTMLText
2016-09-08 22:45:10 +12:00
Daniel Hensby
ffab2df9d2
FIX Excerpt should be casted as HTMLText 2016-09-08 11:00:15 +01:00
Loz Calver
0f77789eb5 Merge pull request #412 from dhensby/pulls/cast-date
FIX Cast Date method on BlogPost
2016-08-30 09:07:28 +01:00
Daniel Hensby
91abe1f9f8
FIX Cast Date method on BlogPost 2016-08-27 22:50:45 +01:00
Damian Mooyman
7f7459f769 Update translations 2016-08-17 11:08:00 +12:00
Daniel Hensby
9f09218da2 Merge pull request #411 from lekoala/patch-1
remove i18n formatting in links
2016-07-15 14:16:56 +01:00
Thomas Portelange
2dd5fd8596 remove i18n formatting in links
the getArchiveMonth and getArchiveYear only accepts number in Blog.php. Removing i18n formatting restore the functionnality.
2016-07-15 14:31:11 +02:00
Damian Mooyman
9e117b64ea Merge pull request #406 from TheBnl/entry-meta-multiple-authors-localisation
Localisation for multiple authors
2016-07-05 18:43:25 +12:00
Damian Mooyman
226d8282fd Merge pull request #401 from micmania1/fix-close-p-tags
FIX closing p tag
2016-06-30 10:16:28 +12:00