Commit Graph

723 Commits

Author SHA1 Message Date
Dylan Wagstaff
2d62251858
Merge pull request #524 from creative-commoners/pulls/3.2/tweaks
Minor tweaks, syntax, namespace imports, docblocks, test improvements
2018-04-09 12:06:34 +12:00
Robbie Averill
d520d9dd94 Merge branch '3.1' 2018-04-06 10:29:45 +12:00
Robbie Averill
4c1303bfb5 Remove obsolete branch alias, remove @dev constraints on assets and asset-admin 2018-04-06 10:29:02 +12:00
Robbie Averill
85b297140f Use FQCN in expectedException annotation 2018-04-06 10:27:18 +12:00
Robbie Averill
c0695224d6 Switch try/catch for exception to use expected exception and code 2018-04-06 10:24:22 +12:00
Robbie Averill
afc1a3dd25 Use SapphireTest::logOut over manually checking Security::getCurrentUser 2018-04-06 10:24:04 +12:00
Robbie Averill
9d26cff23d NEW Add translation support for blog post authors profile summary heading 2018-04-06 10:23:22 +12:00
Robbie Averill
86c0f56620 Use ::class for class_exists checks on Widget, fix setUp/tearDown method visibility 2018-04-06 10:22:58 +12:00
Robbie Averill
7c4574ba78 Switch argument order in FieldList::insertAfter calls 2018-04-06 10:21:43 +12:00
Robbie Averill
c123951768 Add missing class imports from docblocks and fix incorrect docblocks 2018-04-06 10:21:26 +12:00
Robbie Averill
ba8ad43f41 Add various installer versions to Travis build matrix 2018-04-06 10:19:55 +12:00
Dylan
392b4aafd9 Update translations 2018-04-04 10:17:01 +12:00
Daniel Hensby
fdbfa8995c
Merge pull request #520 from creative-commoners/pulls/3.0/remove-add-blog-post
FIX Remove "Add new blog post" button from Blog Posts GridField in a members profile
2018-03-22 13:21:01 +00:00
Robbie Averill
fffd2cece3 FIX Remove "Add new blog post" button from Blog Posts GridField in a members profile 2018-03-22 17:17:03 +13:00
Loz Calver
836c7b4c22
Merge pull request #517 from creative-commoners/pulls/3.0/fix-config-reference
FIX Correctly import namespaces in BlogPostNotifications class
2018-03-20 10:03:49 +00:00
Robbie Averill
29154eae4c FIX Correctly import namespaces in BlogPostNotifications class 2018-03-20 16:54:55 +13:00
Dylan Wagstaff
374c3e2893
Merge pull request #515 from DrMartinGonzo/patch-2
Fix bad date formatting
2018-03-20 14:16:03 +13:00
Martin Portevin
b483446a45
Fix bad date formatting
`m` returns minute in hour as seen here : http://userguide.icu-project.org/formatparse/datetime
2018-03-20 01:54:08 +01:00
Daniel Hensby
049e77227e
Merge pull request #512 from zanderwar/pulls/enhancement/minutes-to-read
ENHANCEMENT added getMinutesToRead()
2018-03-14 14:27:52 +00:00
zanderwar
3f24858b73 ENHANCEMENT added MinutesToRead() 2018-03-14 18:01:09 +10:00
Dylan
c4e06a4b07 Update development dependencies 2018-02-22 18:14:32 +13:00
Daniel Hensby
9cc98c3e19
Merge pull request #511 from dhensby/pull/502
Make Categorization and PostOptions localizable
2018-02-20 12:58:18 +00:00
marcio.barrientos
519fe25da1
Make Categorization and PostOptions localizable
Allow to make localizable Blog Categorization tab and BlogPost Options tab
2018-02-20 11:38:30 +00:00
Robbie Averill
5c1cedeb98 Merge branch '2' 2018-02-20 11:05:54 +13: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
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