Commit Graph

443 Commits

Author SHA1 Message Date
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
Mateusz Uzdowski a07694a2b7 Change dependency versions to work for 3.1.0-rc1. 2013-08-13 13:47:17 +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
Sean Harvey 573ad1bda8 Merge pull request #96 from halkyon/fixing_template_errors
BUG Fixing template errors (brackets not closed) introduced in fe5a978
2013-07-11 23:04:22 -07:00
Sean Harvey c553a536ba BUG Fixing template errors (brackets not closed) introduced in fe5a978 2013-07-12 18:02:02 +12:00
Ingo Schommer fe5a978f3a Finnish translation, and a few more localized strings
Thanks to @mediaclinic, see https://github.com/silverstripe/silverstripe-blog/pull/95
2013-07-08 12:58:45 +02:00
Ingo Schommer c044f8c7e9 Transifex translation support
Renamed auto-template entities from ".ss" to "_ss" to avoid clashes with YAML namespaces
2013-07-08 11:58:21 +02:00
Ingo Schommer 294074ba04 Suggest install of simplepie lib (been removed from SS core master) 2013-07-01 10:02:39 +02:00
Will Rossiter f7c33e440d Merge pull request #91 from yellowmamba/master
showdropdown has been removed.
2013-06-06 05:08:18 -07:00
Michael Wu fecfa23326 Bug fix - change timefield format 2013-06-06 21:57:01 +10:00
Sean Harvey 9ed2b3b930 Removing widgets from being required, add as suggestion instead 2013-05-13 22:48:55 +12:00
Ingo Schommer 404addd484 Fixed composer constraints 2013-05-07 15:18:14 +03:00
Ingo Schommer 6c1dc6fc87 Merge pull request #87 from PutmanMedia/pulls/tinymce-fix
Fix BlogHolder::BlogEntryForm() to call tinyMCE.init() if required
2013-04-29 03:58:30 -07: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 23a7ab8cb4 Merge pull request #83 from silverstripe/pulls/widget-decoupling
API Moved "SideBar" widget relation to "widgets" module
2013-04-28 23:58:28 -07:00
Ingo Schommer 3915677509 Merge pull request #81 from PutmanMedia/pulls/remove-trackback
API Remove Trackback support
2013-04-28 23:55:58 -07: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 dc4705d23a Update composer.json 2013-04-04 01:13:19 +03:00
Ingo Schommer b8c6bfd3ee Travis support 2013-03-29 10:02:11 +01:00
Ingo Schommer 2b24153126 Travis support 2013-03-29 10:01:28 +01:00
Ingo Schommer b24ebe2e66 Travis support 2013-03-29 10:00:57 +01:00
Ingo Schommer 6613739d92 Added composer.json 2013-03-29 10:00:09 +01:00
Ingo Schommer dfc3f2820e Narrowed minimum requrement to 3.0 (not compatible with 3.1) 2013-03-20 10:56:12 +01:00
Ingo Schommer b28fe93fff Merge remote-tracking branch 'origin/0.6' 2013-03-20 10:52:37 +01:00
Ingo Schommer 01a25df080 Increased minimum requirement to 3.1 2013-03-20 10:52:21 +01:00
Ingo Schommer 7ecffc568a Fixing template deprecation 2013-03-19 11:35:37 +01:00
Ingo Schommer a0736df537 Fixed add_extension() usage 2013-03-19 10:12:12 +01: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 8cfabfc3d8 MINOR: change requirements in README 2013-03-18 11:02:52 +13: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
carlos barberis d8383f00cb Merge pull request #75 from jaredkipe/master
Tags with spaces will not properly locate BlogEntries
2013-03-17 13:05:14 -07: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 2936024e8d MINOR: add widgets module and replace framework for cms 2013-03-01 09:54:48 +13: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