shadlaws
9b9f1a7b07
#2031 - Add class_exists() before method_exists() if class existence is unknown.
...
- fixed all instances of this in core code
- deleted previous Zend Guard Loader workaround in MY_Kohana.php
- updated Bootstrap.php to reflect deleted MY_Kohana.php
2013-03-02 13:25:10 +01:00
Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
6effd5f75e
Update date format to make it RFC822 compliant. Thanks to moullas. Fixes #1798 .
2012-05-07 13:30:39 -07:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Bharat Mediratta
0dc184e99f
Overload url::current() and url::merge() to make the current url XSS
...
safe. Add tests to make sure that it doesn't relapse with future
Kohana changes. Fixes ticket #983 .
Ref: http://gallery.menalto.com/node/93738
2010-01-18 11:10:37 -08:00
Bharat Mediratta
8b9a02084a
Updates for the latest version of Kohana 2.4:
...
1) Controller::$input is gone -- use Input::instance() now
2) Handle new 'database.<default>.connection.params' parameter
3) Handle new 'cache.<default>.prefix' parameter
2009-12-21 21:27:43 -08:00
Bharat Mediratta
4a417708f0
Kohana::show_404() -> throw new Kohana_404_Exception()
2009-11-25 13:51:33 -08:00
Tim Almdal
dc67cf6481
Remove the REST_Controller and assorted baggage. Completes ticket #917
2009-11-25 13:02:14 -08:00
Tim Almdal
5fb0434a47
Clean up the rss feed for the slideshow. It now validates using " http://validator.w3.org/feed/ ". Fixes ticket #806 . Doesn't fix ticket#23.
2009-10-23 21:15:16 -07:00
Andy Staudacher
7608870537
Controller auth / CSRF fixes
2009-09-15 22:51:49 -07:00
Bharat Mediratta
03c5c11775
Allow the RSS feed page size to be customizeable, up to 100 items (to
...
mitigate DoS attacks).
Have PicLens request a 100-item page to mitigate the bug where it
refuses to load the 2nd page.
Mitigates #23 .
2009-09-01 20:13:23 -07:00
Bharat Mediratta
32ea4406c8
Refactor the way that the rss module works so that we're not allowing
...
the url to dictate arbitrary static method calls.
* Each xxx_rss helper has a single feed() call which takes an id as the argument
* xxx_rss::available_feedS() only returns feeds when they're applicable (ie
if you're viewing a tag, it won't show you an item feed).
* Feed urls are now in the module/feed_id form so that we can bind a
feed id to a given module
* Tightened up the Rss_Controller by using url::merge and some other tricks.
* Made the slideshow module express its own feed.
2009-06-14 21:51:54 -07:00
Bharat Mediratta
00fad54c0b
Refactor feed code to use stdClass everywhere. Fix bugs in the
...
max-pages calculation code. Move feed related data into the $feed
variable and only pass that to the view.
2009-06-14 16:40:57 -07:00
Tim Almdal
8b7f7a2fbe
Don't use stdClass to return the feed data. Just use an array.
2009-06-14 12:38:57 -07:00
Tim Almdal
b32670f030
Rename:
...
rss::get_feeds() -> rss::available_feeds()
rss::process_feed() -> rss::feed_data()
2009-06-14 11:20:08 -07:00
Tim Almdal
e581440c3d
Rename Rss_Controller::__call to Rss_Controller::feed, which changes the feed
...
url to rss/feed/<feed name>/[<id>]
Where feed name is the name of the feed (i.e. albums, updates, comments, tags
etc.) and id is the optional element id that the feed applies to.
2009-06-14 10:13:12 -07:00
Tim Almdal
30bdaa8123
Continue refactoring the rss module and distribute the creation of album and
...
tag feeds to the gallery and tag modules respectively. This chould close
ticket #388
2009-06-12 11:48:13 -07:00
Tim Almdal
dc6c75cd05
Move the processing of rss feeds from the rss controller to callbacks in the
...
modules that are supplying the feed. The rss controller becomes a router.
In this change the comment and updates fields are distributed.
2009-06-12 08:52:03 -07:00
Bharat Mediratta
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +00:00
Bharat Mediratta
0a520f389f
rss/updates doesn't have an item. Clean up some typos here.
2009-03-17 05:41:16 +00:00
Bharat Mediratta
a908c0e878
Fix typo: $max_page -> $max_pages
2009-03-17 05:24:19 +00:00
Tim Almdal
83563ac91a
Fix for ticket #133 : If $max_pages is zero don't try to redirect to
...
max_page, just return an empty feed.
2009-03-09 15:10:22 +00:00
Bharat Mediratta
11a7b6b751
Minor code simplification.
2009-02-26 02:09:41 +00:00
Tim Almdal
550d46da66
Added a block to the siebar that lists the available feeds
2009-02-24 19:19:58 +00:00
Tim Almdal
b6e17eb139
1) Updated the media feed with new fields
...
2) Created a comments feed (/rss/comments)
3) Created a updates feed (/rss/updates)
User interface to follow
2009-02-23 02:47:29 +00:00
Tim Almdal
8b2c05afc0
1) Rename the module media_rss to rss
...
2) Protect the fullsize image with a permission check
3) Added a content:encoded element to each item which allows the image to show up in the body of the feed.
2009-02-19 15:24:17 +00:00