Commit Graph

287 Commits

Author SHA1 Message Date
Daniel Hensby bdea98a875
Merge branch '0.6' into 1.0 2018-02-20 13:31:31 +00:00
Daniel Hensby e2cf6421c6
Merge branch '0.5' into 0.6 2018-02-20 13:24:43 +00:00
Daniel Hensby ded09bda7d
Merge branch '0.4' into 0.5 2018-02-20 13:20:46 +00:00
Daniel Hensby dfaa974697
Merge branch '0.3' into 0.4 2018-02-20 13:17:23 +00:00
Daniel Hensby 5e05ac92e5
Merge branch '0.2' into 0.3 2018-02-20 13:11:09 +00:00
Morven Lewis-Everley 3b9c623ca8 Add extension hooks to blog entry form (so we can customise management form) 2015-03-05 21:50:10 +00:00
Damian Mooyman 09a297da3b Merge pull request #121 from MichaelCSLWeb/master
Update ArchiveWidget.php
2015-03-06 09:20:51 +13:00
Damian Mooyman f97119941e BUG Fix issue with populateDefault breaking during dev/build 2014-12-08 18:43:50 +13:00
Phill Price 9ceb4ca05d Used 3x way to find if object exists. Split BlogHolder and BlogEntry record generation. 2014-10-24 14:08:02 +01:00
JorisDebonnet fcdf9d325a Set default author
The default author did not work, at least on my installation. I believe this is a better solution (although of course you can argue whether it should be getName() or FirstName).
2014-10-08 08:58:48 +13:00
Damian Mooyman d64b418ff1 BUG Fix publishing of blog posts 2014-08-25 11:06:01 +12:00
Michael 04d2150dc8 Update ArchiveWidget.php 2014-05-12 09:19:55 +01:00
Michael 01de0a76d6 Update ArchiveWidget.php 2014-05-08 10:54:32 +01:00
John Learn 8073827328 fix error when tagcloud appears on login page. 2014-03-21 07:20:01 -04:00
Ryan McLaren ef4d84290d Update TagCloudWidget.php
BUG: Fixes [Notice] Undefined variable: popularity.
2014-03-04 14:49:40 -04:00
Damian Mooyman d788f6a979 BUG Fixed parsing of spaces and other whitespace in tag clouds. Fixes #59
BUG Fixed incorrect encoding of SelectedAuthor and SelectedTag; Now correctly cast for templates using the `cast` config, not within filtering.
BUG Fixed TagCloudWidget.popularities config from being incorrectly accessed as a static property
BUG Fixed TagCloudWidget::getCMSFields triggering extend('updateCMSFields') twice
BUG Fixed TagCloudWidget::getTagsCollection discarding tag label capitalisation
BUG Fixed TagCloudWidget::getTagsCollection not correctly respecting minimum tag counts (as well as maximum tag counts) when determining the popularity CSS class to assign.
Test cases for TagCloudWidget
API BlogEntry::TagNames now safely extracts tags from a blog entry as an associative 'lowercase' => 'Entered Tag' format
PHPDoc fixes
Removed trailing '?>' tags from PHP files
2014-02-28 17:07:56 +13:00
Damian Mooyman 5589def46d BUG Fix BlogHolder::requireDefaultRecords not respecting SiteTree.create_default_pages config 2014-02-27 15:52:27 +13:00
Damian Mooyman ad060cabf4 BUG Fixes LandingPageFreshness parsing issue. fixes #13 2014-02-21 16:52:13 +13:00
Will Rossiter 2a25b9459c FIX: resolve virtual page use with widgets.
When using a VirtualPage mapping to a BlogTree, widgets will bypass the instanceof BlogTree check and instead fail to find the current page.
2014-01-28 12:24:31 +13:00
Will Rossiter 6653cc2546 Merge pull request #98 from tractorcow/3.0-simplepie-encoding-fix
BUG Fixed incorrect html encoding of SimplePie rss titles
2014-01-10 15:28:32 -08:00
Will Rossiter 91705ccc7d Merge pull request #108 from heffaklump90/master
removed ref to InheritSideBar
2013-10-24 17:44:48 -07:00
Björn Radon adbefd648e removed ref to InheritSideBar 2013-10-24 21:21:30 +02:00
Ingo Schommer 576e462823 PHP <5.3.4 compat (is_a() usage)
Our build infrastructure still runs an ancient 5.3.3,
and given this is the only blocker for it, worth
complicating the code a bit to retain this compatibility.
2013-10-21 10:19:41 +02:00
Damian Mooyman f4b51f0a0e BUG / Housekeeping of Widget code:
- TagCloudWidget not wrapped with if(class_exists('Widget')) check for dependency module
- Default titles for RSS Widget and TagCloudWidget not being translated.
- Fixed poor indentation, and excessive line length (scrutinizer errors)
- Removal of several blank 'private static $relation = array()' that added no value
- Missing PHPDoc for widget classes
- Fixed missing EOL and removed closing ?> from php files for consistency
2013-08-15 09:24:10 +12:00
Damian Mooyman 9555373c21 BUG Fixed incorrect html encoding of SimplePie rss titles 2013-07-29 15:16:38 +12:00
Ingo Schommer eb7f7488f1 Check for if(class_exists('Widget')) in TagCloudWidget 2013-07-17 09:20:03 +02:00
Ingo Schommer 294074ba04 Suggest install of simplepie lib (been removed from SS core master) 2013-07-01 10:02:39 +02:00
Michael Wu fecfa23326 Bug fix - change timefield format 2013-06-06 21:57:01 +10:00
madmatt a15bc7a75d Fix PUT-221 - BlogEntryForm needs an explicit call to Requirements::javascript() when Requirements::set_suffix_requirements(true) is called. 2013-04-29 20:36:18 +12:00
Ingo Schommer 83d36645f2 Merge remote-tracking branch 'origin/0.6' 2013-04-29 10:02:26 +02:00
Ingo Schommer 5e9e8e4e8c Fixed BlogEntryForm saving regression from df544e01f
Was saving to live before overwriting with draft again.
Since no write to draft ocurred before, this broke
the publish() call - e.g. visible by the test breakage
in BlogHolderFunctionalTest.
2013-04-29 09:59:35 +02:00
Ingo Schommer e33881615d Merge remote-tracking branch 'origin/0.6'
Conflicts:
	.travis.yml
	README.md
	_config.php
	code/BlogHolder.php
	code/BlogTree.php
	code/widgets/ArchiveWidget.php
	code/widgets/BlogManagementWidget.php
	code/widgets/BlogTreeExtension.php
	code/widgets/RSSWidget.php
	code/widgets/SubscribeRSSWidget.php
	composer.json
2013-04-29 09:26:41 +02:00
Ingo Schommer d1d9452757 API Moved "SideBar" widget relation to "widgets" module
Removed BlogTreeExtension in favour of the new WidgetPageExtension
in the "widgets module". Use the following code to update:

Object::add_extension('BlogTree', 'WidgetPageExtension');
Object::add_extension('BlogEntry', 'WidgetPageExtension');

The template placeholder has been renamed from $SideBar to
$SideBarView. In case you're overriding blog templates,
please adjust accordingly.

This change means that widgets can theoretically be applied
to individual blog entries as well, since they need the
"SideBar" relationship as well. In practice, this defaults
to "InheritSideBar" though, which pulls them from the BlogHolder as usual.
2013-04-16 16:04:44 +02:00
Ingo Schommer 1815eea00a Fixed BlogHolder->providePermissions() declaration
Placed on controller instead of model. Thanks @tractorcow
for pointing this out.
2013-04-14 23:18:00 +02:00
Ingo Schommer ee532292d2 NEW Making widgets dependency optional 2013-04-11 12:35:22 +02:00
Ingo Schommer 966d168119 Improved wording in Blog CMS fields 2013-04-11 01:30:56 +02:00
Ingo Schommer 92b6de1d77 Moved LandingPageFreshness to "Settings" tab
It just adds clutter under the main tab, and pushes
the actually important "Content" field further down the CMS screen
2013-04-11 01:30:56 +02:00
Ingo Schommer 899a81cb79 API Removed BlogTree.Name, use BlogTree.Title instead
We already have $Title and $MenuTitle, I don't really see a common
use case for $Name in addition to that
2013-04-11 01:30:55 +02:00
Ingo Schommer d351d33621 API Remove Trackback support
It was disabled since migrating the module to SS3,
and the whole concept has become less relevant since spammers discovered trackbacks
(ref http://en.wikipedia.org/wiki/Trackback#Spam).

Since we don't have the resources to make a spam-proof trackback system,
its prudent to remove it instead.
2013-04-11 01:21:04 +02:00
Ingo Schommer e265ae35e8 NEW Show "post" date and author in CMS list view for blog entries 2013-04-08 00:50:00 +02:00
Ingo Schommer 7f019444cb Merge pull request #77 from PutmanMedia/pulls/blogentry-list-view
NEW Show "post" date and author in CMS list view for blog entries
2013-04-07 15:47:58 -07:00
Sean Harvey 3c286381ec Fixing further statics for 3.1 compatibility 2013-04-05 11:20:03 +13:00
Sean Harvey 95c8a8490c Fixing static definitions to private for 3.1 compatibility 2013-04-04 15:30:33 +13:00
Sean Harvey 9bbf420e0d Fixing $allowed_actions to be private for 3.1 compatibility 2013-04-04 15:24:53 +13:00
Ingo Schommer 0aef171108 NEW Show "post" date and author in CMS list view for blog entries 2013-03-18 14:09:28 +01:00
carlos barberis df544e01f2 BUGFIX: fix post in the front end when not logged in 2013-03-18 11:01:47 +13:00
carlos barberis 94e9543f6c BUGFIX: fix post in the front end when not logged in 2013-03-18 11:00:04 +13:00
jaredkipe 7e0c58a637 SelectedTag will now 'urldecode' tag.
Inside of 'code/BlogEntry.php' the method TagsCollection() 'urlencode's the tag before making it into a link.  Tags with spaces, and other special characters, will not return any BlogEntries from BlogTree::Entries().
2013-03-16 18:39:16 -07:00
carlos barberis debd7e4e1b Merge pull request #69 from icecaster/patch-1
Fixed RSS Link, using 'rss' as $action param
2013-02-28 12:28:59 -08:00
Ingo Schommer 50b19daca1 Show "selected author" headline when filtering 2013-02-28 17:33:21 +01:00