Commit Graph

458 Commits

Author SHA1 Message Date
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
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
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
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
Florian Thoma
4f1eb3d227 add meta links for previous and next pages in pagination 2017-05-26 09:43:27 +10:00
Daniel Hensby
0132a02cf0 Adding .codecov.yml file 2017-05-25 08:57:47 +01:00