Commit Graph

486 Commits

Author SHA1 Message Date
Robbie Averill
2bb61dcfcc TEST Move coverage run to PHP 7.1 (for speed). Remove ocular in favour of codecov. Add default phpunit.xml with coverage whitelist. 2017-01-27 00:10:44 +13:00
Robbie Averill
c004bad7b8 FIX Update class imports, fix broken test, add missing multibyte logic back, fix condition for generating URLSegment (also missing) 2017-01-26 21:41:28 +13:00
Robbie Averill
ea121e40da FIX Missed GridField import in BlogFilterGridField 2017-01-24 14:11:22 +13:00
Robbie Averill
3da05818af Move BlogFilter_GridField to its own class 2017-01-24 13:45:07 +13:00
Robbie Averill
bb08242edb FIX Move upgrade mapping to root folder. Fixes blog classes not being resolved by upgrader. 2017-01-19 17:09:17 +13:00
Robbie Averill
5eb9ec879d API Update Widget implementations in blog 2017-01-18 17:12:06 +13:00
Robbie Averill
98645af960 Implement Blog namespaces 2017-01-17 08:58:00 +13:00
Robbie Averill
077929f8bf Add sidebar back as a separate tab. Fix tag and category routes 2017-01-13 15:55:48 +13:00
Robbie Averill
c1cb8576b3 FIX Validation of existing tags, duplicated GridField add button, formatting in categorisation, bootstrapify buttons 2017-01-13 15:33:53 +13:00
Robbie Averill
5f07a3cc23 PSR-2 compat: Change Blog*_Controller to Blog*Controller 2017-01-12 10:56:08 +13:00
Robbie Averill
e263ba33ec Update Travis and Scrutinizer configuration, add note to readme 2017-01-12 10:21:50 +13:00
Robbie Averill
98410c7eae TEMPORARY Disable the sidebar. @todo Fix it and put it back. 2017-01-12 10:20:44 +13:00
Robbie Averill
df75c6c275 Move admin sidebar template to correct location 2017-01-12 10:20:44 +13:00
Robbie Averill
4e7e1b7975 FIX Base pase constant BLOGGER_DIR 2017-01-12 10:20:44 +13:00
Robbie Averill
c927d7e29f FIX Duplicated state in gridfield 2017-01-12 10:20:44 +13:00
Robbie Averill
cc17e81952 Remove old PHP $this casting 2017-01-12 10:20:44 +13:00
Robbie Averill
de1b947c97 Remove file that popped up during rebasing 2017-01-12 10:20:44 +13:00
Robbie Averill
83db670e14 FIX Path to author profile when blog is the homepage 2017-01-12 10:20:44 +13:00
Robbie Averill
f376b1c2f1 Update deprecated image manipulation calls 2017-01-12 10:20:44 +13:00
Robbie Averill
71890778db Move controllers to same namespace as their model 2017-01-12 10:20:44 +13:00
Robbie Averill
f35c6049d7 Move blog layouts to namespaced folder location 2017-01-12 10:20:44 +13:00
Robbie Averill
413e94e186 Add legacy class map for migrating ClassName in SiteTree 2017-01-12 10:20:44 +13:00
Robbie Averill
58e5ebb652 Fix controller names, removed Listbox methods, namespacing bugs, template locations 2017-01-12 10:20:43 +13:00
Robbie Averill
72a9f041c2 Fix some incorrect table/model namespace issues 2017-01-12 10:20:43 +13:00
Robbie Averill
13a5badff5 Move "code" to PSR-4 friendly "src" folders. Add namespacing. 2017-01-12 10:20:42 +13:00
Robbie Averill
4313643a0b Add composer alias for 3.x and update requirements for SS4 2017-01-12 10:20:02 +13:00
micmania1
37e5d106d2 FIX right sidebar was being forced to float left 2017-01-12 10:19:40 +13:00
micmania1
1e602a0ac1 Removed compass in favour of gulp 2017-01-12 10:19:40 +13:00
micmania1
f5974d80a2 NEW Moved URLSegmentExtension, BlogTag and BlogCateogry shared functionality into a trait 2017-01-12 10:19:39 +13:00
micmania1
2ae1457068 Upgraded to work with silverstripe 4.x 2017-01-12 10:19:39 +13:00
Daniel Hensby
b967860007
Updating master alias 2016-12-20 15:21:06 +00:00
Daniel Hensby
3e298b7b10
Updating composer alias 2016-12-20 15:20:16 +00: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
Damian Mooyman
fc6c86fd35 Merge pull request #400 from micmania1/tidy-readme
Tidied the badges on reademe
2016-06-29 17:52:30 +12:00
Damian Mooyman
a21b50333d Merge pull request #402 from micmania1/fix-376-url
FIX #376 allow multibyte chars in url segment
2016-06-29 17:51:22 +12:00
Michael Strong
35c5357cc6 Merge pull request #407 from ksdhans/patch-2
Add RSS feeds for categories and tags
2016-06-17 13:13:34 +12:00
ksdhans
29ffaa8295 Minor layout tweak
Correcting indentation of isRSS().
2016-06-15 19:33:29 +12:00
ksdhans
ca7f09d0e0 Removed category()/tag() documentation changes
Adding "string" to the possible return types of category()/tag() didn't stop the scrutinizer from raising two new issues, so I've reverted that change. In future tags/categories may be split into separate controllers (it's cleaner that way), so these "issues" may serve as a reminder.

NOTE: This means that the documented return type for rss() is also wrong
2016-06-14 18:20:03 +12:00
ksdhans
d42b3ca57c Fixed RSS feed link for category/tag feeds
- The RSS feed link was always the blog's root URL, even for category/tag feeds. FIXED
- Changed the return type documented for category() and tag() to include string for the case where an RSS feed is returned (addresses the "Scrutinizer" issues)
2016-06-14 18:08:31 +12:00
ksdhans
95e14e5496 Performed suggested changes
- Removed hardcoded URL segment (was test code that I forgot to remove)
- Changed if($rss to if(is_string($rss)
- Moved bracket after isRSS() to next line
- Made rssFeed() protected as it's an internal function and shouldn't be part of the public API
2016-06-14 17:38:43 +12:00