Commit Graph

796 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
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
b79f3db883
Merge pull request #507 from creative-commoners/pulls/3.0/vendorise-module
Review SS4 update
2018-01-30 11:55:29 +13:00
Raissa North
84ef592297 FIX Update template based requirement calss 2018-01-30 11:31:26 +13:00
Raissa North
8dfb4426a4 Remove unneeded requirement 2018-01-29 16:17:41 +13:00
Raissa North
1feaa52ed7 ENHANCEMENT Update hard reference to png file 2018-01-29 16:16:45 +13:00
Raissa North
e437e7ac42 Optimise imports 2018-01-29 16:13:19 +13:00
Raissa North
f2ef7a945e FIX Fix line length 2018-01-29 16:10:45 +13:00
Raissa North
ba6328f558 Run TextCollector task 2018-01-29 16:08:45 +13:00
Raissa North
f131daf5f5 ENHANCEMENT Vendorise module and expose dist and images directory 2018-01-29 16:07:07 +13:00
Raissa North
6ce8871e87 Remove old compiled CSS files, they live in client now 2018-01-29 16:04:18 +13:00
Raissa North
8b005b3251 FIX Javascript and SCSS linting and removed unused images 2018-01-29 16:03:51 +13:00
Raissa North
12e8025e6f Update license year 2018-01-29 16:01:17 +13:00
Raissa North
f3c7c402d8 Update readme, editorconfig, phpcs ruleset 2018-01-29 16:01:08 +13:00
Raissa North
12c4b717ed API Remove default values from GridField class constructors 2018-01-29 15:59:46 +13:00
Raissa North
b4d7530082 API Rename GridFieldConfig so it has no underscore in the class name 2018-01-29 15:57:17 +13:00
Raissa North
ac5a736542 Add PHP 7.2 to Travis build configuration 2018-01-29 15:51:37 +13:00
Raissa North
bf13d522a3 FIX Update Requirements references to new build paths 2018-01-29 11:50:39 +13:00
Raissa North
7ef456a1e6 API Convert gulp and Compass builds to use Webpack 2018-01-29 11:46:54 +13:00
Robbie Averill
ef2f1165d7
Merge pull request #505 from creative-commoners/pulls/3.0/blogpoststate-icons
FIX Replace jQuery UI icons with admin font icons
2018-01-25 10:54:05 +13:00
Raissa North
c122f17d91 FIX Use clock icon for scheduled posts 2018-01-25 08:46:05 +13:00
Raissa North
dd66125f3a FIX Remove timer icon image and associated CSS styles 2018-01-24 16:57:09 +13:00
Raissa North
f38630c894 FIX Auto publish a Member's profile image when saving 2018-01-24 16:54:56 +13:00
Raissa North
b37ad24930 FIX Replace jQuery UI icons with admin font icons 2018-01-24 16:28:12 +13:00
Robbie Averill
649536521d
Merge pull request #500 from dhensby/pulls/test-fixes
Fix regression in tests
2018-01-11 07:40:57 +13:00
Daniel Hensby
b7510c8a56
Remove use of deprecated assertDOSContains 2018-01-10 12:27:00 +00:00
Daniel Hensby
0c23c78bfa
Publish test widget explicitly 2018-01-10 12:25:23 +00:00
Daniel Hensby
51edd8d620
Reorganise imports and class detection for WidgetControllers 2018-01-10 09:08:40 +00:00
Daniel Hensby
66531fd95a
Merge pull request #499 from nspyke/fix-widget-templates
#498: Moved widget templates
2018-01-10 08:51:11 +00:00
Nik Spijkerman
59bd411f19 #498: Moved widget templates 2018-01-10 18:47:39 +13:00
Robbie Averill
e4d389aeb2
Merge pull request #496 from korthjp17/bugfix/widgetNameSpacing
fixed namespacing for widgets
2018-01-09 10:19:01 +13:00
Jason Korth
64437b974d fixed namespacing for widgets
fixes #495
2018-01-04 14:07:28 -06:00
Daniel Hensby
ae72dbe166
Merge pull request #494 from jsirish/bugfix/setTableNames
bugfix - set $table_name for widgets
2017-12-15 15:04:31 +00:00
Jason Irish
db071b2692 bugfix - set $table_name for widgets
SilverStripe 4.0.1 throws warnings when the widget module is installed.
2017-12-14 22:24:20 -06: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
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
Daniel Hensby
1d6cf1dec6
Merge pull request #486 from zanderwar/pulls/3.0/optional-profiles
Allow a user to disable all profiles
2017-11-06 15:56:55 +00:00
Robbie Averill
271fbfeae7 Merge branch '2' 2017-11-03 15:39:57 +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
zanderwar
99112e6eef Test for disable_profiles option 2017-11-03 08:32:38 +13:00
zanderwar
2e01219e8f Documentation for disabling user profiles 2017-11-03 08:32:25 +13:00
zanderwar
3d8f0941ed Added config option check for disable_profiles and removed linking if it is disabled 2017-11-03 08:32:03 +13:00
zanderwar
54aeb23356 Fixed return tags and values 2017-11-01 22:00:33 +13:00
Daniel Hensby
49744a0a94
Updating travis install steps 2017-10-12 13:28:32 +01:00