Woody Gilk
9bd02ea8cb
Tracking kohana-todoist changes
2009-06-25 13:12:44 -05:00
Woody Gilk
6fec7f72e1
Tracking kohana-todoist changes
2009-06-25 13:10:51 -05:00
Woody Gilk
24856a530c
Tracking changes to kohana-database
2009-06-24 10:13:35 -05:00
Woody Gilk
153d29334b
Tracking kohana-core changes
2009-06-24 09:49:47 -05:00
Woody Gilk
860210bfd5
Tracking changes to kohana-core
2009-06-24 09:28:19 -05:00
Woody Gilk
c600575d57
Started tracking shadowhand/kohana-core for the system/ directory
2009-06-23 09:56:13 -05:00
Woody Gilk
f33b47d5ef
Removed system/ directory to track it as a submodule
2009-06-23 09:54:59 -05:00
Woody Gilk
d75ff79d28
Tracking changes to kohana-pagination
2009-06-23 08:14:28 -05:00
Woody Gilk
d773dde1c2
Started tracking kohana-database as a submodule
2009-06-23 08:11:46 -05:00
Woody Gilk
b11ecdff36
Removed database module to link it via a submodule
2009-06-23 08:10:05 -05:00
Woody Gilk
0c32b44e8b
Fixing some syntax errors that were hiding
2009-06-22 17:10:19 -05:00
Woody Gilk
f0af0229aa
Added Database_Query_Builder_Delete
2009-06-22 16:44:07 -05:00
Woody Gilk
015a812be6
Added Database_Query_Builder_Update
2009-06-22 16:44:07 -05:00
Woody Gilk
f471e7d803
Added Database_Query_Builder_Where, abstract base class for query builder classes that support WHERE statements, switch Database_Query_Builder_Select to extend the new class
2009-06-22 16:43:47 -05:00
Woody Gilk
7c7cd8af3a
Cleaned up Database_Query_Builder_Insert->compile()
2009-06-22 16:43:47 -05:00
Woody Gilk
3832829f13
Updated Database_MySQL to do profiling for query() calls (not in Database_Query, duh!)
2009-06-22 15:27:02 -05:00
Woody Gilk
b5a198a825
Updated Database_Query to include the SQL compiliation as part of the benchmark time/memory usage
2009-06-22 15:27:02 -05:00
Woody Gilk
8b93b497d5
Mistake! The columns part of an INSERT must always be present, even when using an INSERT INTO ... SELECT query
2009-06-22 14:54:18 -05:00
Woody Gilk
3cea136637
Updated Database_Query_Builder_Insert to allow INSERT INTO ... SELECT combinations
2009-06-22 14:47:57 -05:00
Woody Gilk
fefceb953d
Updated Database quoting, instances of Database_Query should call compile() rather than forcing __toString() to be called, so that the correct instance ($this) is always used
2009-06-22 14:47:57 -05:00
Woody Gilk
4434e15533
Updated Database_Query, added type() to get the current query type, added missing comments, and changed compile() to always require a Database instance to be passed
2009-06-22 14:47:46 -05:00
Woody Gilk
fc29f9c04b
Cleaned up Database_Query_Builder_Select comments and optimized array_map() calls in compile()
2009-06-22 13:20:35 -05:00
Woody Gilk
9af0fd6a92
Updated Database_Query_Builder_Insert: added support for multiple inserts, moved setting the columns to __construct() and added columns() method, fixed compile() quoting, removed set(), and cleaned up comments
2009-06-22 13:19:23 -05:00
Woody Gilk
006b1fde76
Removed Database_Query->resplace() because it is a nasty hack
2009-06-22 13:14:40 -05:00
Woody Gilk
0a896d8c7f
Fixing a syntax error in Database_Query->parameters()
2009-06-22 13:14:18 -05:00
Woody Gilk
6f019a6068
This should have been commited with 70113fa770
2009-06-22 12:11:46 -05:00
Woody Gilk
397ef2aec5
Added missing SYSPATH security checks, fixes #31
2009-06-22 12:08:27 -05:00
Woody Gilk
70113fa770
Added Route::$default_action to allow actions besides "index" to be used as the default, an no longer require the "action" parameter to be passed to Route::defaults(), which will prevent reverse routing from always adding the action
2009-06-22 12:03:52 -05:00
Woody Gilk
d490efe275
Route::get() now throws an exception when the specified route does not exist, rather than returning FALSE, for proper errors
2009-06-22 12:01:05 -05:00
Woody Gilk
7b3d593153
Removing the "$value = NULL" from where() methods, to prevent ambiguity about how where() methods are called
2009-06-22 11:56:55 -05:00
Woody Gilk
6ba8c262af
Updated JOIN support in Database_Query_Builder_Select, added on() method
2009-06-22 11:42:17 -05:00
Woody Gilk
6c8e840319
Added Database_Query_Builder_Join as a wrapper for JOIN statements and completed Database_Query_Builder::compile_join()
2009-06-22 11:39:37 -05:00
Woody Gilk
892f2c8d14
Trying to quote a variable that doesn't exist, fixes #30
2009-06-21 07:44:42 -05:00
Woody Gilk
ca656e0ac5
Fixing database configuration, fixes #29
2009-06-20 13:32:34 -05:00
Woody Gilk
cd77b4eb7d
Cleaning up comments in Database_Result
2009-06-20 13:28:44 -05:00
Woody Gilk
4f9bae789e
Tracking changes to modules/codebench
2009-06-20 13:27:30 -05:00
Woody Gilk
ab58f3d3aa
Database_Result::get() should check to make sure the column exists, fixes #16
2009-06-20 12:25:25 -05:00
Woody Gilk
7951ac12c9
Make it possible to use Database::instance() without configuration files by passing an array of configuration as the second parameter. Updated comments
2009-06-20 12:13:40 -05:00
Woody Gilk
193fea74cf
Added DB::insert() and Database_Query_Builder_Insert class
2009-06-20 11:51:49 -05:00
Woody Gilk
fec5e90e22
Updated Database_Query_Builder and Database_Query_Builder_Select, tracking f6dcca4634
2009-06-20 11:50:51 -05:00
Woody Gilk
9698e4a75f
Updated Database_MySQL, tracking changes in f6dcca4634
2009-06-20 11:49:32 -05:00
Woody Gilk
f6dcca4634
Added Database::$_identifier for the database specific identifier quoting character. Renamed Database::quote_column() to Database::quote_identifier() to be more technically accurate. Renamed Database::$_name to Database::$_instance for accuracy. Made __construct(), __destruct(), and __toString() final to force proper abstraction. Added missing comments.
2009-06-20 11:46:24 -05:00
Woody Gilk
93678881c1
Renamed Database_Query_Select to Database_Query_Builder_Select for consistency with Zend standards
2009-06-20 10:23:28 -05:00
Woody Gilk
9e3e3bfb9e
Renamed HTML::specialchars() to HTML::chars() to save keystrokes
2009-06-20 09:34:41 -05:00
Woody Gilk
c89ae497a5
Initialized modules/codebench
2009-06-20 08:40:57 -05:00
Geert De Deckere
5f37c21c22
Added Codebench, which is fully working at this point, as a submodule.
2009-06-20 14:33:30 +02:00
Geert De Deckere
c3547376de
Added HTML::specialchars().
...
I realize this is a very simple wrapper for htmlspecialchars(), definitely now we're requiring 5.2.3 for double_encode; however, not having to manually pass on the ENT_QUOTES and Kohana::$charset parameters would keep my views cleaner. This is by far the most used HTML helper function by me.
2009-06-20 14:21:14 +02:00
Geert De Deckere
0b4977ba10
Comment typo.
2009-06-20 13:55:57 +02:00
Geert De Deckere
4f58a1b01d
Merge branch 'master' of git://github.com/shadowhand/kohana
2009-06-20 09:14:07 +02:00
Woody Gilk
f0579d6d0d
Fixed up database module for naming conventions, and (mostly) completed the Database_Query_Builder and Database_Query_Select classes (need to finish JOIN support)
2009-06-19 18:43:52 -05:00