Geert De Deckere
|
2ddcd9d83f
|
Fixed comment for arr::callback().
|
2009-05-30 11:08:46 +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 |
|
Woody Gilk
|
c99901501b
|
Updated some Route comments
|
2009-05-21 17:33:56 -05:00 |
|
Woody Gilk
|
17f6f3809b
|
Removed Kohana::$display_errors setting, this should be handled in bootstrap
|
2009-05-21 17:33:29 -05:00 |
|
Woody Gilk
|
f9d9b9f0f2
|
Updated Request::execute(): removed $capture parameter, load controllers and methods with Reflection, set status codes when a request results in an exception
|
2009-05-21 17:32:18 -05:00 |
|
Woody Gilk
|
abb7b68764
|
Removed Request::get() and Request::post() as GET and POST data can no longer be faked
|
2009-05-21 17:30:05 -05:00 |
|
Woody Gilk
|
09432d3885
|
Ported text and form helpers from 2.4. Form helper will need the support of the URL helper, which has not been ported yet.
|
2009-05-21 13:03:57 -05:00 |
|
Woody Gilk
|
5e38fafe58
|
Moved the date_default_timezone_set() call to bootstrap, added Kohana:: setting, updated comments in index.php
|
2009-05-21 12:43:09 -05:00 |
|
Woody Gilk
|
c95a7a8455
|
Changed how Kohana::auto_load() caches transparent extensions
|
2009-05-21 12:39:59 -05:00 |
|
Woody Gilk
|
f2208f9963
|
Updated how route regex is cached
|
2009-05-21 12:11:16 -05:00 |
|
Woody Gilk
|
5470b93661
|
Added Kohana::FILE_CACHE for formatting cache files, updated Kohana::cache() accordingly
|
2009-05-21 12:09:40 -05:00 |
|
Woody Gilk
|
e83fe09dbc
|
Changed date::timezone_offset() to date::offset() and updated how offsets are cached
|
2009-05-21 12:08:34 -05:00 |
|
Woody Gilk
|
48788809a3
|
Added empty date class extension
|
2009-05-21 12:07:38 -05:00 |
|
Woody Gilk
|
da6e065288
|
Ported date helper methods from 2.4
|
2009-05-20 16:14:53 -05:00 |
|
Woody Gilk
|
4095e166de
|
Added date helper and created date::fuzzy_span() method
|
2009-05-20 15:41:06 -05:00 |
|
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
|
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
|
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
|
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
|
c708fad7e1
|
Added es_ES and fr_FR translations for i18n testing
|
2009-04-20 23:34:30 -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 |
|
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
|
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
|
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
|
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 |
|
Woody Gilk
|
34276f1444
|
Added session config file and empty session class extensions
|
2009-04-07 10:34:18 -05:00 |
|
Woody Gilk
|
005393572e
|
Updated Session, Session_Cookie and added Session_Native and Session_Database
|
2009-04-06 21:23:08 -05:00 |
|
Woody Gilk
|
2257245ccf
|
Created abstract Session class and added Session_Cookie class
|
2009-04-06 19:24:46 -05:00 |
|
Woody Gilk
|
a8b3e4cb5b
|
Fixing some E_STRICT errors with methods not being declared static
|
2009-04-06 19:10:32 -05:00 |
|
Woody Gilk
|
1b8b7adcec
|
Added get() and set() methods to Kohana_Config for consistency
|
2009-04-06 18:29:15 -05:00 |
|
Woody Gilk
|
b91f0e06da
|
Making Kohana_Log not final and extensible
|
2009-04-06 17:03:19 -05:00 |
|
Woody Gilk
|
222c8acc6d
|
Added some missing comments to Kohana_Log and added empty extension files for new Log files
|
2009-04-04 23:27:06 -05:00 |
|
Woody Gilk
|
cf943afded
|
Overhauled logging with an observer-based writing system, removed Logger class
|
2009-04-04 23:06:18 -05:00 |
|
Woody Gilk
|
511f8199f4
|
Ported the cookie helper, simplified cookie::set() and added cookie signing
|
2009-04-04 14:15:04 -05:00 |
|
Woody Gilk
|
cd0127cd7f
|
Updated exception/error handling and optimized Kohana::trace()
|
2009-03-25 21:41:37 -05:00 |
|
Woody Gilk
|
7ff9104b4a
|
Updated Request and Controller to be REST compatible
|
2009-03-23 10:40:14 -05:00 |
|
Woody Gilk
|
50b53240d6
|
Added very basic REST controller
|
2009-03-22 23:01:53 -05:00 |
|
Woody Gilk
|
48c362da10
|
Applied proper coding style to View
|
2009-03-20 18:17:32 -04:00 |
|
Woody Gilk
|
8d8ea38d9b
|
Optimized a few minor things, added some extra comments, and changed all @package declarations to "Kohana"
|
2009-03-20 18:01:47 -04:00 |
|
Woody Gilk
|
c711143fe2
|
Renamed Route::set() to Route::add() for better consistency, added Route::directory() to set the controller directory prefix
|
2009-03-20 17:58:10 -04:00 |
|
Woody Gilk
|
bf34b744b2
|
Added empty extensions for Controller and i18n classes
|
2009-03-20 17:56:57 -04:00 |
|
Woody Gilk
|
a596c776b4
|
Added a missing "static" to Kohana::load(), thanks colinmollenhour
|
2009-03-12 10:15:38 +00:00 |
|
Woody Gilk
|
c651184ab1
|
Fixed two small bugs in remote:: helper
|
2009-03-09 09:56:07 +00:00 |
|
Woody Gilk
|
66c31ce5dc
|
Added Kohana::config() for loading Kohana_Config instances, and fixed Kohana_Config::load() to properly handle the reverse-ordered paths (can't use += append as it will merge in the wrong order
|
2009-03-09 09:54:56 +00:00 |
|
Woody Gilk
|
658eac9e66
|
Cleaned up missing end-of-file newlines and added SYSPATH checks to empty extension files
|
2009-03-08 23:55:13 +00:00 |
|
Geert De Deckere
|
5205fd8add
|
Strings with single quotes in it will now be escaped by Kohana::debug_var().
Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
|
2009-03-09 07:41:36 +08:00 |
|
Geert De Deckere
|
ea5f0b4ecd
|
Fixed some comment typos in the Kohana class.
Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
|
2009-03-09 07:41:34 +08:00 |
|
Woody Gilk
|
c4e0ed31be
|
Added mimes configuration file, copied from Kohana 2.4
|
2009-03-07 14:05:58 +00:00 |
|
Woody Gilk
|
cb3641150f
|
Started rebuilding Kohana_Cache, removing all fancy ArrayObject generation for values... if the config key does not exist, there will be an error
|
2009-03-07 14:05:18 +00:00 |
|
Woody Gilk
|
4aab14fade
|
Added missing file EOLs on several files
|
2009-03-02 00:06:44 +00:00 |
|
Woody Gilk
|
41828ce650
|
Updated exception handling: replaced ErrorException with Kohana_Error (due to bugs in ErrorException), added $code parameter to Kohana_Exception::__construct(), replaced the <pre> with <dl> in the error view, to prevent long lines causing horizontal scroll
|
2009-03-02 00:04:19 +00:00 |
|
Woody Gilk
|
2742517630
|
Added new Logger class, as the basic logging implementation and moved application/log to application/logs
|
2009-03-02 00:03:59 +00:00 |
|
Woody Gilk
|
aeab04275b
|
Moved Kohana_Exception::handle() to Kohana::exception_handler() and added comments to Kohana::debug_var()
|
2009-03-01 13:46:10 +00:00 |
|
Woody Gilk
|
7deddf4f7c
|
Controller:: must be public so that it can used in views and callbacks
|
2009-03-01 13:44:27 +00:00 |
|
Woody Gilk
|
de7b25c5b4
|
Added Kohana::sanitize(), upddated Kohana::init() to take an array of settings, do Kohana::sanitize() and utf8::clean() on GPC, and properly detect the environment
|
2009-03-01 13:43:44 +00:00 |
|
Woody Gilk
|
cc8ec56810
|
Added i18n class and initial i18n directory structure, added __() to index.php, and re-enabled translating in Kohana_Exception
|
2009-03-01 00:38:32 +00:00 |
|
Woody Gilk
|
856e2b8299
|
Fixed up some minor issues in Kohana::find_file()
|
2009-03-01 00:32:34 +00:00 |
|
Woody Gilk
|
add298ffa8
|
Made Kohana::cache() generate 2 directories of 2 characters each, which make it less possible to cripple the filesystem when many cache files are present
|
2009-03-01 00:21:53 +00:00 |
|
Woody Gilk
|
8b99f2354d
|
Added newlines to Kohana::PHP_HEADER
|
2009-03-01 00:17:49 +00:00 |
|
Woody Gilk
|
135e8133f3
|
Added a view to generate the Kohana logo view
|
2009-02-28 11:43:10 +00:00 |
|
Woody Gilk
|
72bac1eb4e
|
Cleaning up several little things in various files
|
2009-02-28 11:42:29 +00:00 |
|
Woody Gilk
|
05590b9058
|
Deleted Router, starting work on bootstrap, updated Request and Controller, and added Request_Exception
|
2009-02-28 11:42:02 +00:00 |
|
Woody Gilk
|
bb29b56448
|
Added Kohana_Exception class and error view and updated index.php to use exception handling
|
2009-02-28 11:42:01 +00:00 |
|
Woody Gilk
|
fddf36e543
|
Added arr:: array helper
|
2009-02-28 11:42:01 +00:00 |
|
Woody Gilk
|
448a05b07c
|
Correcting comments in Route
|
2009-02-27 18:21:52 +00:00 |
|
Woody Gilk
|
4e022e37cc
|
Added basic Controller class
|
2009-02-24 01:23:47 -06:00 |
|
Woody Gilk
|
12271c68dc
|
Updated Route, adding get/set/all methods to act as a singleton location for Route storage. Created initial Request class, the replacement for Router/Input.
|
2009-02-24 01:23:16 -06:00 |
|
Woody Gilk
|
020a5dde44
|
Cleaned up Kohana class, removing all unnecessary things, for better focus on the important code
|
2009-02-24 01:15:11 -06:00 |
|
Colin Mollenhour
|
7338481e06
|
Implemented new router syntax using angle brackets rather than colons.
Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
|
2009-01-14 00:50:09 +08:00 |
|
Woody Gilk
|
b62427c0a6
|
Updated Kohana::modules to fix 9c4f0ef956
|
2008-12-14 16:45:14 -06:00 |
|
Woody Gilk
|
9c4f0ef956
|
Moved module configuration back into config/kohana.php, modified Kohana::init and Kohana::modules
|
2008-12-14 16:16:00 -06:00 |
|
Woody Gilk
|
3d1970d061
|
Removed bootstrap file, separated into index.php code and Kohana::init() code.
Removed SERVER_UTF8 constant in favor of utf8::.
Added Kohana::i18n(, ) for gettext-like translations.
|
2008-12-11 23:43:18 -06:00 |
|
Woody Gilk
|
b0d1acf0a1
|
Updated Route class to include __set_state and better organization of methods
|
2008-12-11 23:40:02 -06:00 |
|