Commit graph

600 commits

Author SHA1 Message Date
Woody Gilk 3438d2a5ef Added Request::redirect() as a redirect helper 2009-06-11 14:23:02 -05:00
Woody Gilk 117033252f Kohana_Error and Kohana_Exception can fail miserably if they are transparently extensible 2009-06-11 14:22:08 -05:00
Woody Gilk 858b44550c Started tracking kohana-paypal as a module 2009-06-11 11:51:26 -05:00
Woody Gilk 2fae48e2a2 Updated Kohana_Log __construct() to be final 2009-06-10 10:58:03 -05:00
Woody Gilk db755f45f2 If the profiler is 100% wide, it has the potential to cause conflicts with other CSS (notably body width 100%) 2009-06-10 10:56:35 -05:00
Woody Gilk 73e17eec06 Added private constructors (final) to all static classe to prevent them from being used as objects 2009-06-09 09:51:53 -05:00
Woody Gilk 5d522d0a67 Fixing the comment for date::fuzzy_span() to be accurate 2009-06-09 09:44:52 -05:00
Woody Gilk c134e48149 Form submit buttons must have values 2009-06-09 09:44:11 -05:00
Woody Gilk 8b879d6bf4 File inputs cannot have initial values 2009-06-09 09:43:59 -05:00
Woody Gilk 4204efb473 Started porting validation class, only supports one-dimensional validation right now 2009-06-07 19:10:02 -05:00
Woody Gilk 32b3acdbd3 Cleaned up valid helper, added required, min_length, max_length, and regex methods 2009-06-07 19:09:34 -05:00
Woody Gilk daffc50f49 Added valid helper class 2009-06-06 12:53:15 -05:00
Woody Gilk a2bd5f208e Added Request::send_file() to support file downloads as request responses 2009-06-04 15:35:21 -05:00
Woody Gilk 9e58203787 Request::send_headers() should only attempt to send headers when no headers have been sent 2009-06-04 15:34:54 -05:00
Woody Gilk c2365495fe Fixing a couple of porting bugs in file::mime() 2009-06-03 22:23:52 -05:00
Woody Gilk 4bd2ede0e8 Started tracking shadowhand/kohana-image as a module 2009-06-03 21:56:28 -05:00
Woody Gilk 458ba6d5c5 Ported security helper from 2.4, added Bitflux XSS cleaning method as security::xss_clean() 2009-06-03 17:44:10 -05:00
Woody Gilk 6fd690911c Added remote::status() from 2.4, finishes remote helper porting 2009-06-03 17:38:15 -05:00
Woody Gilk 9bf3bdcba4 Ported and cleaned up file helper from 2.4 2009-06-03 17:31:05 -05:00
Woody Gilk a04c71d0b3 Updated date::fuzzy_span(), allowing future times to be used and tweaking dates to be more accurate 2009-06-03 16:38:09 -05:00
Woody Gilk 9ec50a65d3 Start tracking GeertDD/kohana-pagination as a module 2009-06-03 16:23:15 -05:00
Woody Gilk 6afc1b78fb Cleaning up Request::_parse_accept code a little 2009-06-01 10:15:09 -05:00
Woody Gilk 344f398b97 Merge branch 'master' of git://github.com/GeertDD/kohana 2009-06-01 09:58:03 -05:00
Woody Gilk dfc2f3339c Cleaned up form helper, massively cutting down on unnecessary code and making the method names reflect the input type (eg: dropdown() is now called select()) 2009-05-31 17:49:34 -05:00
Woody Gilk 64f1ca7e2a Updated HTML comments, removed encoding of default link text for anchor, file_anchor, and mailto 2009-05-31 17:40:47 -05:00
Woody Gilk 0ad4f2c8bb Updated html helper, do not add attributes that have NULL values 2009-05-31 17:40:02 -05:00
Woody Gilk 74f4cd8e8e Fixing #1, thanks colinmollenhour! 2009-05-31 12:46:17 -05:00
Woody Gilk eedd372a22 Updated Session_Database to use the 'default' database group if no group is defined, rather than throwing an exception 2009-05-31 12:24:40 -05:00
Woody Gilk c6e7ec283e Updated Session library to allow a specific Encrypt instance to be used 2009-05-31 12:23:48 -05:00
Woody Gilk 842d13af99 Added encryption to Session reading and writing 2009-05-31 10:16:41 -05:00
Woody Gilk 472addbcdb Added accept-charset attribute to form::open() 2009-05-31 10:07:03 -05:00
Woody Gilk 13ebaf39e6 Removed form::attributes() in favor of using html::attributes(), which supports sorting in SHA 77359d8fbce30bce95ce27b4e942fa4524311e33 2009-05-31 10:07:03 -05:00
Woody Gilk 6f5c0a758c Ported the HTML helper from 2.4 and cleaned it up 2009-05-31 10:07:03 -05:00
Woody Gilk 5870833ec9 Changed i18n to use en-US instead of en_US, as hyphens are more technically accurate 2009-05-31 10:07:02 -05:00
Woody Gilk ec1f5e346b Added Kohana::list_files() method 2009-05-31 10:07:02 -05:00
Woody Gilk c810f215f1 Moved utf8::$server_utf8 detection to the class file, removed global utf8 conversion, as cleaning of data is typically not necessary 2009-05-31 10:07:02 -05:00
Woody Gilk a7e5c9174f Removed welcome view and updated welcome controller to just display a 'hello, world' message 2009-05-30 16:08:50 -05:00
Woody Gilk 0a517c909d Removed tests from application 2009-05-30 16:08:03 -05:00
Woody Gilk 27a11e8701 Added security header to utf8 2009-05-30 16:06:19 -05:00
Woody Gilk c7cdb9e054 Removed SVN $Id from View 2009-05-30 16:05:56 -05:00
Geert De Deckere b988f067c0 arsort() must always be given an array. I forgot $accepts could actually still be NULL at that point. 2009-05-30 20:30:32 +02:00
Geert De Deckere 7b396413c2 Prevent "Undefined offset: 1 SYSPATH/classes/request.php [333]" error notices caused by Accept headers like "text/html;q". Remember, Accept headers are user input. 2009-05-30 20:19:25 +02:00
Geert De Deckere cfbd4a8246 Order accept types by quality inside the parser 2009-05-30 19:04:42 +02:00
Geert De Deckere 447703a966 Optimized regex in arr::callback(). Also fixed a bug: $params should be "0" and not NULL with a callback string like "foo[0]". 2009-05-30 12:23:39 +02:00
Geert De Deckere 2ddcd9d83f Fixed comment for arr::callback(). 2009-05-30 11:08:46 +02:00
Geert De Deckere 6f08ee2ef7 Printing the cache directory with a final slash, just for the sake of consistency with SYSPATH and APPPATH. 2009-05-30 10:48:32 +02:00
Woody Gilk 230afa3031 Ported the URL helper from 2.4 2009-05-29 18:16:09 -05:00
Woody Gilk 34b50de354 Added Kohana::$index_file setting, and removed the index file from Kohana::$base_url 2009-05-29 18:15:53 -05:00
Woody Gilk e5f474144e Ported Encrypt library from 2.4 2009-05-23 15:09:47 -05:00
Woody Gilk 0a7ed20937 Updated Kohana_Log_File, tracking changes in SHA 5470b93661 2009-05-23 15:08:22 -05:00