Commit graph

635 commits

Author SHA1 Message Date
Woody Gilk 100f8a7abd Created new file system/base.php with low-level functions, moved __() to base.php, moved environment setup to bootstrap.php, and updated index.php accordingly 2009-05-20 14:13:02 -05:00
Woody Gilk c3aaae8491 Added arr::extract(), arr::merge(), arr::unshift(), and arr::callback(); cleaned up comments 2009-05-20 12:29:53 -05:00
Woody Gilk 19c30f7a7d Cleaned up cookie comments and source 2009-05-20 12:25:28 -05:00
Woody Gilk 391505ac09 Handle unset HTTP_USER_AGENT gracefully in cookie::salt() 2009-05-20 12:24:46 -05:00
Woody Gilk 7e457043f6 Added accept_type(), accept_lang(), and accept_encoding() to Request, as well as _parse_accept() as a helper method to parse various accept headers 2009-05-06 16:20:50 -05:00
Woody Gilk b6a97bccb8 Tracking Request changes in the base controllers (SHA be1fe04e4d) 2009-05-01 16:46:39 -05:00
Woody Gilk 92b5e18a42 Added a set of request tests 2009-05-01 16:45:18 -05:00
Woody Gilk 7958d055f6 Moved the profiler views to their own profiler/ directory 2009-05-01 16:45:17 -05:00
Woody Gilk 72e4e6b719 Updated Profiler: added the constant KOHANA_START_TIME that has the application starting microtime and added Profiler::application() to return the cross-request application stats. Caching between requests gives stats for the entire application over time. 2009-05-01 16:45:17 -05:00
Woody Gilk be1fe04e4d Modified Request to be much more strict and static. Each request now consists of only a URI and all other request parameters are statically shared between requests. Implementing a full HTTP stack in PHP it out of the scope of Kohana. 2009-05-01 16:45:17 -05:00
Woody Gilk d52e0a9d34 Tracking changes to Profiler (SHA 6d7f2ed6f8) 2009-04-29 15:43:38 -05:00
Woody Gilk cc1bf667f4 Added Kohana::$profile configuration variable to enable profiling of init(), auto_load(), modules(), and find_file() 2009-04-29 15:42:01 -05:00
Woody Gilk 6d7f2ed6f8 Made the $group parameter for Profiler::start() mandatory 2009-04-29 15:40:45 -05:00
Woody Gilk d5db2dc321 Minor optimization for persistent connections in Database_MySQL 2009-04-29 00:57:50 -05:00
Woody Gilk 07e1c0f5aa Fixing Database_Query::execute(), the last commit not have included this file 2009-04-29 00:56:26 -05:00
Woody Gilk 0f6acc6387 Tweaked how Database instances are created, forcing all instances to be named and present in Datbase::$instances 2009-04-29 00:52:18 -05:00
Woody Gilk bc5ee99df0 Cleaning up Profiler, removed unnecessary isset() check and fixed a comment 2009-04-29 00:48:56 -05:00
Woody Gilk ada2e6d0a4 Added Profiler::delete() method 2009-04-29 00:48:56 -05:00
Woody Gilk be67e798a0 Fixing a typo in the Profiler view and tweaking the CSS for better style 2009-04-29 00:29:38 -05:00
Woody Gilk 4364bd2bb6 Created initial Profiler class and empty extension 2009-04-29 00:23:51 -05:00
Woody Gilk fcfae630fa Fixed a bug and a typo in View::set_filename() that would prevent mission view filenames from being found 2009-04-27 16:20:18 -05:00
Woody Gilk 7389941d31 Added cookie test 2009-04-23 08:19:13 -05:00
Woody Gilk 5e5d72576d Moving HTML from Test controller index() to a view 2009-04-20 23:47:47 -05:00
Woody Gilk c708fad7e1 Added es_ES and fr_FR translations for i18n testing 2009-04-20 23:34:30 -05:00
Woody Gilk 2c1dd196cd Started creating a set of controllers to test parts of the framework. This will be replaced by unit testing before release 2009-04-20 23:33:22 -05:00
Woody Gilk 75e43232d6 Added uri() and url() methods to Request 2009-04-20 22:24:52 -05:00
Woody Gilk 4a4d94263a Updated Request to follow the changes to Route in a0b95e2 2009-04-20 22:24:05 -05:00
Woody Gilk a0b95e2478 Changed Route::add() back into Route::set() (ugh) and make the 'directory' setting a normal parameter that is set with defaults(), rather than directory() 2009-04-20 22:22:10 -05:00
Woody Gilk f2316befc5 Make the default action 'index' if no action is specified 2009-04-20 20:27:49 -05:00
Geert De Deckere dc79241673 Made cookie::delete() static 2009-04-19 22:04:33 +02:00
Geert De Deckere 134b4d36e0 Merge branch 'master' of git://github.com/shadowhand/kohana 2009-04-19 21:33:49 +02:00
Woody Gilk f3d0ea671d Fixing View::__toString() exception handling 2009-04-19 13:42:34 -05:00
Woody Gilk b6d85cb485 Added template controller 2009-04-19 13:41:47 -05:00
Woody Gilk ab2334b2b2 Tracking kohana-todoist changes 2009-04-17 18:53:44 -05:00
Woody Gilk a6b890b846 Cleaning up database and handling array values in queries 2009-04-17 16:46:48 -05:00
Woody Gilk 9d4783c634 Throw exceptions when remote:: calls result in errors 2009-04-17 16:45:09 -05:00
Woody Gilk 8156a8c99f Added inflector helper and config 2009-04-17 16:44:18 -05:00
Woody Gilk 533cd102bd Added "base_url" setting for Kohana::init() 2009-04-17 16:41:28 -05:00
Woody Gilk 1100d23757 Cleaning up application directory 2009-04-17 16:40:11 -05:00
Woody Gilk ac113c2e09 Tracking kohana-todoist updates 2009-04-16 16:22:35 -05:00
Woody Gilk 7b685a132a Started tracking kohana-todoist as a submodule in modules/ 2009-04-16 16:09:55 -05:00
Woody Gilk 66b2cc7521 Added E_STRICT error reporting to index.php 2009-04-09 17:24:51 -05:00
Woody Gilk 82a1721632 Changed Request to take a URI and an array of parameters (get, post, method, etc) as a more flexible format; updated CLI request handling to use the new cli helper 2009-04-09 17:01:40 -05:00
Woody Gilk 0446235fca Fixing up some issues in Kohana::cache() with directory permissions 2009-04-09 16:58:49 -05:00
Woody Gilk 79e6caf4a7 Added cli helper class 2009-04-09 16:58:15 -05:00
Woody Gilk 9d640028cd Added a missing comment and syntax error in Model 2009-04-09 15:46:12 -05:00
Woody Gilk f92bb3ed58 Tweaking cookie helper for clarity 2009-04-09 15:45:51 -05:00
Woody Gilk ab1d950deb Updated database module, changed Query::set() to Query::value(), added list_tables() and list_columns() to MySQL class 2009-04-09 13:05:02 -05:00
Woody Gilk 15b9ca1785 Added a missing comment to Session_Database and used the lifetime parameter when setting the cookie 2009-04-07 10:42:29 -05:00
Woody Gilk f91ed1a136 Added abstract Model class and empty extension 2009-04-07 10:37:48 -05:00