Juan Basso
911a99bf23
Replace function preg_split by explode when possible.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:43:52 -05:00
Juan Basso
df9e1e0bd1
Replace function join (alias) by implode.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:43:11 -05:00
Juan Basso
1acc60b04c
Replace function die (alias) by exit.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:38:11 -05:00
Juan Basso
9b6b258fed
Replace function is_integer (alias) by is_int.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:36:10 -05:00
renan.saddam
4a8808eb21
Removing the argument passed to mssql_get_last_message(), it does not accept any argument.
2009-11-19 16:35:29 -02:00
mark_story
9eb1950646
Removing duplicate condition check. Fixes #314
2009-11-16 20:10:08 -05:00
mark_story
63ab96d751
Setting $primary = false inside DboSource::queryAssociation. Fixed #208
2009-11-15 17:48:41 -05:00
mark_story
17e377de7e
Updating doc block for MemcacheEngine
2009-11-14 19:40:30 -05:00
ADmad
862ff82ad4
Updating Configure::store to fix escaping issues
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-14 19:38:53 -05:00
mark_story
06d4e5e553
Reformatting code in memcache.
...
Adding unset() to test case to remove unnecessary keys that can cause test failure.
2009-11-14 18:50:23 -05:00
mark_story
8b1a2b1f72
Applying optimization in Router::__parseExtension from 'robustsolution'. Fixes #301
2009-11-14 16:29:33 -05:00
mark_story
9376826aa4
Fixing HttpSocket::buildUri when host key is empty.
...
Tests added
Fixes #271
2009-11-13 14:42:40 -05:00
ceeram
a67a97722a
refs #291
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-13 09:25:47 -05:00
nate
1c8a2f232b
Changes Model::find() to allow modification of DataSource connection during callbacks.
2009-11-12 14:48:03 -05:00
mark_story
a7a6dc8c43
Fixing issue where SecurityComponent::_validatePost could generate notices if elements were removed from _Token array.
...
Tests Added
Fixed #228
2009-11-08 14:12:18 -05:00
mark_story
82a2b1a019
Changing import of Dispatcher to direct require.
...
Modifying order of operations in Configure::__loadBootstrap()
moving inclusion of app/config/bootstrap.php after the creation of core cache configs. This allows App::import() to be used in the bootstrap file with cached paths.
2009-11-07 17:53:14 -05:00
mark_story
6db91b0f49
Fixing issues in ContainableBehavior that could leave models unbound when 'fields' was used as part of containment conditions. Fixes #253
2009-11-07 17:43:18 -05:00
mark_story
30dc0cfe56
Removing unused $view property from CacheHelper.
...
Fixes #272
2009-11-07 10:44:14 -05:00
mark_story
4bbfcbff7e
Fixing limit:0 and controller::paginate. Removes possibilty to generate sql errors by inputting invalid limit options. Tests updated. Refs #264
2009-11-06 00:44:21 -05:00
mark_story
e609875754
Updating Model::invalidFields, so returning false from beforeValidate() will abort both the validation and saving() of the record.
...
Tests added to check beforeSave, beforeValidate, and beforeDelete return values.
Fixes #257
2009-11-04 12:36:17 -05:00
mark_story
d63218c0a0
Fixing error in previous commit.
2009-11-03 09:52:59 -05:00
mark_story
6b043c6c57
Updating doc blocks for paginator helper.
2009-11-02 21:37:20 -05:00
mark_story
9d2628f699
Removing tab
2009-11-02 00:07:16 -05:00
mark_story
a87d31cc7f
Fixing $cacheAction requiring the inclusion of the controller name for view cache files to be generated. This behavior makes the cache helper behave as documented.
...
Test cases added. Fixes #232
2009-11-02 00:07:02 -05:00
mark_story
873760aae4
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-31 15:05:51 -04:00
mark_story
0637272bd2
Updating doc block on Controller to include more information about $uses.
2009-10-31 14:25:33 -04:00
renan.saddam
84a10904fb
Fixing typo on variable name.
2009-10-30 18:42:04 -02:00
mark_story
17edec8460
Changin how HttpSocket parses query string parameters. Makes HttpSocket querystring parameter parsing more congruent with how PHP handles query string parameters in that it doesn't require urlencoded characters.
...
Tests added.
Fixes #156
2009-10-29 20:14:36 -04:00
mark_story
a31a2d264c
Fixing Debugger::log() . The method used protected properties only available in test cases. No stack trace was being logged when called either. Method has been updated to match its doc block better.
...
Fixes #222
2009-10-29 19:47:29 -04:00
mark_story
ad305a890a
Applying optimization from 'ermayer' Reduces functions called from Folder::addPathElement() Fixes #178
2009-10-27 21:06:58 -04:00
mark_story
00d7c655ce
Improving documentation for PaginatorHelper::sort() Fixes #210
2009-10-27 13:28:43 -04:00
mark_story
5a093e5627
Fixing issues in postgres with time columns and '' values.
...
Tests added.
Fixes #213
2009-10-27 13:22:34 -04:00
mark_story
14bd47842c
Removing length() from DboMysqli, fixes incorrect float length parsing.
...
Test case added.
2009-10-24 11:06:27 -04:00
mark_story
c6999aea7f
Moving DboMysqli::describe() and DboMysql::describe() into DboMysqlBase. Removes duplicated method code.
2009-10-24 10:46:28 -04:00
mark_story
8b419d2dd8
Removing use of ife() from core classes.
2009-10-21 12:57:15 -04:00
mark_story
0e23fdfbb3
Fixing infinitely nesting stack frames when TreeBehavior::reorder() is called and the models $cacheQueries = true and there are a sizable number of records being manipulated.
...
Test cases added.
Fixes #188
2009-10-21 00:22:36 -04:00
mark_story
02df92a3a3
Merge branch 'datasource-enabled' into 1.2
2009-10-20 16:19:45 -04:00
mark_story
6913dd4bae
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-20 16:18:15 -04:00
mark_story
072e1efc13
Adding Datasource::enabled()
...
Allows for checking a datasource's ability to be used before attempting to connect it.
Added enabled() to all the core dbo's.
Fixes whitescreen when trying to use a non installed database driver.
Fixes #131
2009-10-20 16:11:31 -04:00
renan.saddam
a15289fba8
Saving few Router::normalize() calls, will may increase performance. Fixes #179 .
2009-10-20 16:16:31 -02:00
mark_story
0a79822b9d
Expanding some doc blocks for DataSource.
2009-10-19 21:09:47 -04:00
mark_story
2675bbcd53
Fixing FormHelper::__selectOptions incorrectly selecting options due to type juggling. Fixes #167
2009-10-18 22:05:17 -04:00
renan.saddam
43dbf71624
Doing a little optimization for php 5.1 <, also fixing tests on Windows. Fixes #155 .
2009-10-15 18:09:58 -03:00
mark_story
082156f9a1
Fixing FormHelper::input() label's for attribute when a datetime type is created and dateFormat or timeFormat is set to NONE. Fixes #168
2009-10-14 21:17:00 -04:00
mark_story
e5a99b2685
Updating RequestHandler::renderAs() to respect DS constant, fixing issues on PHP4 + Windows. Fixes #97
2009-10-12 23:55:40 -04:00
mark_story
e04cc81613
Updating doc block.
...
Removing redundant condition.
2009-10-12 23:38:55 -04:00
mark_story
f59e4013c7
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-06 09:22:47 -04:00
mark_story
6e9ca4367e
Fixing connection methods in DboSybase. Fixes #145
2009-10-06 09:21:43 -04:00
mark_story
2d2e692b37
Updating doc blocks to improve API parsing.
2009-10-05 21:27:34 -04:00
mark_story
a99d2ea821
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
...
Conflicts:
cake/libs/model/model.php
2009-10-05 21:02:41 -04:00