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
c6f783ebfe
Fixing issues with CakeTestCase test case and debug = 3. Fixes #189
2009-10-20 22:19:32 -04:00
mark_story
fa6b1b1a20
Changing FormHelper::button() to actually create <button> elements instead of input elements. Test cases added.
2009-10-19 23:57:23 -04:00
mark_story
08f07a9aa4
Changing FormHelper::submit() to be able to create all types of submit buttons. Use 'type' option to create reset or button type inputs.
...
Test cases added.
2009-10-19 23:44:50 -04:00
mark_story
3922f136da
Making DboMysqlTest pass when a connection with a prefix is used. Fixes #185
2009-10-19 20:54:02 -04:00
mark_story
52180d50c5
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-19 16:40:45 -04:00
mark_story
79e96e5aef
Updating localePaths path. Fixes #184
2009-10-19 16:36:44 -04:00
jperras
ae342c6f2c
Fixing skip in previous commit: if skip condition evaluates to true, to prevent a fatal error from being produced.
2009-10-19 13:22:14 -04:00
jperras
daafac8a64
Merge branch '1.2' of code.cakephp.org:cakephp into 1.2
2009-10-19 12:51:32 -04:00
jperras
7ff3fcc4c4
Adding skip for non-existence of DateTimeZone class in time helper tests.
2009-10-19 12:51:06 -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
mark_story
057e3ff0aa
Removing $showEmpty parameter from all select based widgets.
...
Use attributes[empty] instead. This change unifies the api between form->input() and other widget methods.
Tests and docblocks updated.
2009-10-17 01:29:16 -04:00
mark_story
0dee625215
Removing escape parameter from para()
...
Renaming parameters.
2009-10-16 23:14:42 -04:00
mark_story
3c1d134685
Updating doc blocks.
...
Renaming inline param for style() to oneline.
Removing escape parameters from div() and tag()
2009-10-16 23:11:13 -04:00
mark_story
8e2f58d086
Removing HtmlHelper::css() inline parameter. Use $options[inline] instead.
...
Adding tests for inline = false script and css generation.
2009-10-16 23:00:31 -04:00
mark_story
6bb53a5c9d
Removing HtmlHelper::link()'s escapeTitle parameter. $options[escape] now controls escaping of attributes and title text.
2009-10-16 22:49:44 -04:00
mark_story
7344c0ce7d
Removing $inline parameter from HtmlHelper::meta() inline is now an option.
2009-10-16 22:31:56 -04:00
mark_story
aa0c7cbd7f
Merge branch '1.3-formhelper' into 1.3-misc
2009-10-16 22:03:07 -04:00
mark_story
f9f2986f48
Implementing Form helper default options. Allows the creation of persistent form options when opening a form.
...
Adding patch from 'Ceeram' / 'bankai'
Refs #56 .
2009-10-16 22:02:07 -04:00
mark_story
6dcc819121
Updating fileheaders.
2009-10-16 22:02:07 -04:00
mark_story
f07df02087
Making JsHelper::set() work well with setting the variables to an object property.
2009-10-16 22:02:06 -04:00
mark_story
4be98b6ed9
Adding JsHelper::set() + test cases.
2009-10-16 22:02:06 -04:00
mark_story
7b1d21692f
Updating $pluginPath loops to use App::pluginPath().
2009-10-16 22:02:06 -04:00
mark_story
ecc7d9b303
Replacing $pluginPath loops with App::pluginPath(). Minor optimization for App::pluginPath().
2009-10-16 22:02:06 -04:00
mark_story
a36c2ec5bb
Removing self inclusions for test cases. Refs #174
2009-10-16 09:21:33 -04:00
mark_story
3a85197f25
Removing self inclusions for test cases. Refs #174
2009-10-16 09:19:23 -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
906eb82e9b
Fixing typo in prototype engine helper. Fixes #172
2009-10-15 11:09:13 -04:00
mark_story
078b84500b
Adding test from 'Phally' to expand coverage of allow()
2009-10-15 09:23:24 -04:00
mark_story
6c956c27ee
Making JsHelper::set() work well with setting the variables to an object property.
2009-10-14 21:43:50 -04:00
mark_story
4a330c0920
Adding JsHelper::set() + test cases.
2009-10-14 21:26:43 -04: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
604b7e0a10
Splitting a long test for FormHelper up into smaller test cases.
2009-10-14 20:10:32 -04:00
mark_story
2f81c29def
Updating $pluginPath loops to use App::pluginPath().
2009-10-14 09:47:07 -04:00
mark_story
de8f251758
Replacing $pluginPath loops with App::pluginPath(). Minor optimization for App::pluginPath().
2009-10-14 09:28:06 -04:00
mark_story
38f65bdc24
Merge branch '1.2-merge-in' into 1.3
2009-10-14 00:55:42 -04:00
mark_story
d1f5acd0e0
Merge commit 'origin/1.2' into 1.2-merge-in
...
Conflicts:
cake/console/libs/shell.php
cake/libs/model/connection_manager.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/javascript.php
cake/tests/cases/libs/i18n.test.php
cake/tests/cases/libs/model/connection_manager.test.php
cake/tests/cases/libs/model/model_read.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/groups/database.group.php
2009-10-14 00:51:55 -04:00
José Lorenzo Rodríguez
6dbb8690ad
Fixing error in String::insert where string that contained a question mark were not propperly replaced
2009-10-13 12:07:22 -04:00
José Lorenzo Rodríguez
24c82e73c1
Fixing broken test after removing the var pageTitle from controller
2009-10-13 11:44:00 -04:00
mark_story
f2cba2f066
Updating model_write.test to not use removed validation constants.
2009-10-13 00:44:28 -04:00
mark_story
0602293d3e
Updating file headers for group tests.
2009-10-13 00:33:14 -04:00
mark_story
529f8483c4
Adding Behaviors test group.
2009-10-13 00:32:52 -04:00
mark_story
96247e827b
Adding group test for i18n, l10n and multibyte test cases.
2009-10-13 00:21:19 -04:00
mark_story
82f2291bd4
Updating Lib Group test to include files manually and run.
2009-10-13 00:19:15 -04:00
mark_story
496bfaf32e
Fixing test that relied on Late Static binding to pass.
2009-10-13 00:18:09 -04:00
mark_story
a4d09a806c
Adding tests for previous commit, showing alteration of \ into DS.
2009-10-13 00:01:09 -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
a3f38c77dd
Merge branch '1.3-console' into 1.3
2009-10-11 21:51:02 -04:00
mark_story
71f9ab1717
Merge branch '1.3-misc' into 1.3
2009-10-11 21:44:42 -04:00
mark_story
e77ff5ae50
Fixing CacheHelper tests when app/views/posts/index.ctp exists.
2009-10-11 21:42:15 -04:00
mark_story
382488a9a7
Updating tests to reflect changes in default bake templates.
2009-10-11 21:39:41 -04:00
mark_story
d59a2c8de1
Making subclassing of ErrorHandler much easier.
...
Test cases added.
2009-10-09 00:13:08 -04:00
mark_story
f59d95e348
Updating file headers.
2009-10-08 23:46:05 -04:00
mark_story
8d40532931
Applying patch from 'Ceeram'. Adds File::copy() and test case. Refs #150
2009-10-08 23:27:31 -04:00
mark_story
c5ec87e577
Adding tests for SchemaShell::generate() with plugins, testing that plugin schema files do not include non plugin models.
2009-10-08 22:40:17 -04:00
mark_story
ee7015c9bd
Adding tests for utf8 chars to TextHelper::truncate()
2009-10-07 23:56:38 -04:00
mark_story
55ef5cedfb
Updating fileheaders.
2009-10-07 23:43:02 -04:00
mark_story
fc0e50f64a
Adding tests for multibyte validation.
2009-10-07 23:43:02 -04:00
mark_story
0d3ef03b9f
Updating file headers.
2009-10-07 23:43:01 -04:00
mark_story
06162d5022
Deprecating TextHelper::trim() as it is an alias for truncate().
...
Expanding use of mb_ methods.
Tests updated.
2009-10-07 23:43:01 -04:00
mark_story
190a8b8307
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-07 01:35:42 -04:00
mark_story
4b862de085
Fixing interactions with Routing.prefixes in Controller and View task.
2009-10-07 01:35:29 -04:00
jperras
c95221919a
Removing validation tests that relied on removed define()'ed constants.
2009-10-07 01:10:51 -04:00
mark_story
651a3f16b2
Updating ProjectTask::getAdmin(). Renamed to ProjectTask::getPrefix(). Now returns the user selected prefix to use for baking.
...
Test cases updated. Use of method updated.
2009-10-07 00:46:13 -04:00
mark_story
9a023136e3
Merge branch '1.3-misc' into 1.3
2009-10-06 17:23:35 -04:00
mark_story
8acf1eeba0
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-06 09:09:18 -04:00
mark_story
3bf94e6a28
Updating documentation for Model methods to improve api parsing.
...
Removing redundant include.
2009-10-05 20:42:37 -04:00
mark_story
ace784aab5
Adding conditional check for errors only generated in PHP5.3
2009-10-04 22:22:39 -04:00
mark_story
0ba93bd579
Updating file headers, reformatting comments.
2009-10-04 22:12:13 -04:00
mark_story
d2bf31f69f
Fixing broken tests in dbo_mysql caused by changes in CakeSchema.
...
Adding tableParameter altering to DboMysql.
Tests added.
2009-10-04 21:48:20 -04:00
mark_story
778755c2b0
Implementing CakeSchema:;_compareTableParameters. Adding tests for tableParameter comparison.
2009-10-04 20:53:49 -04:00
mark_story
2dc0fbf3b3
Making schema dump work with plugins.
...
Adding tests.
Making output of dump file more flexible.
2009-10-04 14:47:35 -04:00
mark_story
75f2106420
Made SchemaShell::view() work better with plugins. Tests added.
2009-10-04 14:06:07 -04:00
mark_story
aae120a81a
Updating file headers.
2009-10-04 13:35:11 -04:00
mark_story
05f6099def
Enabling plugin.name schema file creation and addition.
...
Making CakeSchema::load() use plugin parameter, tests added.
Plugin schema file added to test_app.
2009-10-04 13:32:33 -04:00
mark_story
c2a53d3c69
Removing cake schema run
. Replacing it with cake schema create
and cake schema update
. Removes extra typing and simplifies schema shell commands.
...
Updating test cases.
2009-10-04 11:16:23 -04:00
mark_story
76a88fc477
Updating help() for Schema shell.
2009-10-04 10:04:48 -04:00
mark_story
2fe877e527
Adding method to compare tableParameters in the Schema, so they no longer fall through as fields.
2009-10-03 16:48:10 -04:00
mark_story
236a679b17
Updating tests for schema. Making tests more reliable for schema read.
2009-10-03 16:08:54 -04:00
mark_story
e733c569be
Fixing broken tests.
2009-10-03 12:44:49 -04:00
mark_story
0029a275bd
Refactoring code into a separate method. Will allow code reuse in fixture generation. Tests added.
2009-10-03 12:41:14 -04:00
mark_story
b75aa10da3
Merge branch '1.3-misc' into 1.3-schema
2009-10-03 11:55:27 -04:00
mark_story
71aa460a48
Continuing work on getting plugin support for CakeSchema and SchemaShell. Applied patch from 'SkieDr', test cases added.
2009-10-03 11:48:02 -04:00
mark_story
07002c8b09
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-03 11:44:26 -04:00
mark_story
ed2e20ed23
Merge branch '1.3-misc' into 1.3
2009-10-02 13:18:12 -04:00
mark_story
4794680444
Deprecating CakeSession::del(), use delete() instead.
...
Updating file headers.
Updating test cases.
2009-10-02 13:11:43 -04:00
mark_story
c47e899ba1
Fixing HtmlHelper::css, and JavascriptHelper::link so that files containing the asset extension always get the extension added. Test cases added. Refs #139
2009-10-02 12:53:20 -04:00
mark_story
f12cbdba38
Fixing CacheHelper and multiple cake:nocache tags in a view file, breaking cake:nocache following $content_for_layout. Fixes #136
2009-10-01 01:03:47 -04:00
mark_story
32d5b40cd0
Adding error triggering while in debug mode for unhandled validation methods.
2009-09-30 22:34:29 -04:00
mark_story
7d4510b959
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-09-30 14:26:38 -04:00
mark_story
5f49a0f25c
Updating path handling inside i18n. Removes the extra DS that was appended to some paths. Fixes #126
2009-09-30 14:25:56 -04:00
mark_story
cba8871f16
Adding tests so that adding one prefix removes other prefixes. Making it so you can only have one prefix at a time in a route. Also simplifies prefix switching.
2009-09-30 10:19:43 -04:00
mark_story
58ec259714
Merge branch '1.3-router' into 1.3-misc
2009-09-30 00:51:20 -04:00
mark_story
893e177909
Fixing isset() checks in Router to test for empty values instead.
...
Updating prefix use in paginator helper test.
2009-09-30 00:50:15 -04:00
mark_story
4094f0a696
Moving DboMysql::listDetailedSources() and DboMysql::getCharsetName() into DboMysqlBase so it works with mysqli as well. Tests added for MySqli.
2009-09-30 00:39:32 -04:00
mark_story
6dbba17d1b
Fixing issues with DboSource::execute() where queries would not be run if stats = false in the options. Tests added.
2009-09-30 00:37:06 -04:00
mark_story
17782f71b3
Removing internal magic 'id' param. It behaved inconsistently in that it defaulted into the passed parameters, even though it was input as a named/routed parameter. This change makes 'id' a regular routed/named parameter.
2009-09-29 22:53:17 -04:00
SkieDr
627eff5f24
Implementation of table level and field level parameters support
2009-09-29 22:54:48 +04:00
SkieDr
a445a12020
Implement tests for new dbo source methods for additional table and field parameters support
2009-09-29 22:54:36 +04:00
mark_story
070bbb5d0e
Removing magic 'title' key in Controller::set() and View::set()
...
Removing Controller::$pageTitle and View::$pageTitle.
Instead you should set('title_for_layout', $val) from your view or controller.
Test cases updated.
2009-09-28 21:23:40 -04:00
mark_story
bcb5e42aab
Adding test for previous commit.
2009-09-28 18:11:04 -04:00
mark_story
bc90f0aa01
Merge branch '1.3-console' into 1.3
...
Conflicts:
cake/console/libs/tasks/fixture.php
2009-09-27 16:26:45 -04:00
davidpersson
3de2f6b671
Fixing test for Shell::err().
2009-09-27 16:25:18 +02:00
mark_story
dfae21be8b
Expanding test coverage of newly added Routing.prefixes.
...
Flagging legacy support test cases.
2009-09-27 01:22:46 -04:00
mark_story
76c1c1cb8e
Implementing Routing.prefixes.
...
Replaces Routing.admin and streamlines the use of Routing prefixes so they behave more consistently with admin routing.
2009-09-27 00:12:03 -04:00
mark_story
3e394f1fa8
Adding test cases for Routing.prefixes.
2009-09-26 22:48:57 -04:00
mark_story
3904c6f7b5
Adding constructor to Router.
...
Adding __setPrefixes to initialize prefixes and merge Routing.admin with new Routing.prefixes.
2009-09-26 22:37:19 -04:00
mark_story
cf849e3cf8
Removing svn tags.
2009-09-26 22:22:43 -04:00
davidpersson
0f6bca7496
Making first parameter of Shell::out() and err() optional.
2009-09-26 23:02:54 +02:00
mark_story
508d737b6a
Updating HtmlHelper::css, JavascriptHelper::link to not replace multiple occurences of CSS_URL or JS_URL when using Asset.filter settings.
...
Test cases added.
Thanks to 'robustsolution' for the patch.
Fixes #105
2009-09-26 14:22:12 -04:00
jperras
03b1089f1d
Updating docs for Set library. Deprecating Set::isEqual().
2009-09-25 15:05:06 -04:00
jperras
1a4f806bfd
Merge branch '1.3-misc' into 1.3-misc-set-apply
2009-09-25 14:20:28 -04:00
jperras
c2ec96067a
Refactoring ConnectionManager & tests.
2009-09-25 11:08:34 -04:00
jperras
7e5fe04a77
Merge branch '1.3-misc' into 1.3-misc-plugin-datasources
2009-09-24 23:14:12 -04:00
jperras
c3cd98af42
Implementing loading datasources from plugins.
2009-09-24 22:56:02 -04:00
mark_story
06cf97459a
Fixing XmlHelper::elem() when value is null and cdata = true. Removing empty invalid tag.
...
Test cases added.
Fixes #127
2009-09-24 22:43:31 -04:00
jperras
12c5ebf5ba
Moving test plugin datasource to the correct location.
2009-09-24 19:37:07 -04:00
jperras
0c0e5d111b
Adding stub datasource to test_app.
2009-09-24 19:21:09 -04:00
jperras
23954a4b5e
Fixing incorrect path to test file in database group test.
2009-09-24 16:34:27 -04:00
jperras
fe32d38334
Adding connection manager test to database group tests.
2009-09-24 16:32:31 -04:00
jperras
eb43faf7cc
Adding connection manager tests to database group test.
2009-09-24 16:29:35 -04:00
jperras
4bf5244073
Adding tests for ConnectionManager, and fixing a missing return value for ConnectionManager::loadDataSource().
2009-09-24 16:26:56 -04:00
jperras
ffad7a74a2
Merge branch '1.3-misc-plugin-datasources' into 1.3-misc
2009-09-24 16:26:17 -04:00
jperras
ed74653d72
Adding tests for ConnectionManager, and fixing a missing return value for ConnectionManager::loadDataSource().
2009-09-24 16:23:39 -04:00
mark_story
ba7b2e9de6
Refactoring test cases to contain separate test methods for timestamped assets.
2009-09-24 00:28:27 -04:00
mark_story
bf3fe1f4f6
Merge branch '1.3-timestamp' into 1.3-misc
2009-09-24 00:22:18 -04:00
mark_story
ee514f3fc6
Adding Helper::assetTimestamp()
...
Refactor's repeated code from Html and Javascript Helpers.
Test cases added.
2009-09-23 23:45:11 -04:00
mark_story
26d2237df0
Making conditions easier to read.
...
Adding additional test for image timestamping.
Refs #108
2009-09-23 23:30:55 -04:00
ADmad
de4737323f
Updated Html and Javascript helpers to suffix asset urls with timestamp even when the app is run off a subfolder on the domain
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-09-23 23:30:34 -04:00
jperras
98bdaaf87e
Adding App::import() tests for plugin datasources.
2009-09-23 23:12:22 -04:00
jperras
33117ee13d
Adding additional class_exists tests to configure.test.php for App::import usage.
2009-09-23 23:09:15 -04:00
jperras
b2eb1882a4
Adding convenience method Set::apply().
2009-09-23 21:03:09 -04:00
mark_story
c330934b93
Adding test cases for view task.
2009-09-23 13:27:47 -04:00
jperras
1ed4a63416
Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc
2009-09-22 22:49:23 -04:00
mark_story
022f8ccaa2
Making conditions easier to read.
...
Adding additional test for image timestamping.
Refs #108
2009-09-22 19:04:40 -04:00
ADmad
07a89cd953
Updated Html and Javascript helpers to suffix asset urls with timestamp even when the app is run off a subfolder on the domain
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-09-22 18:57:30 -04:00
renan.saddam
7116c01642
Fixing Xml::toArray() when blank nodes are provided. Fixes #87 .
2009-09-22 17:58:12 -03:00
renan.saddam
42fac9ec71
Fixing Xml::toArray() when blank nodes are provided. Fixes #87 .
2009-09-22 17:47:11 -03:00
davidpersson
5ac7361a76
Removing support for string input in Shell::nl().
...
Updating Shell::out() and Shell::err() parameter usage.
Updating method to always return strings, renaming parameter.
Updating docblocks.
Updating test.
2009-09-21 22:39:45 +02:00
jperras
2b0d13733e
Fixing parameter ordering error of array_map in AuthComponent::allow(). Adding test.
2009-09-21 12:14:20 -04:00
mark_story
42017e95c6
Merge branch '1.3-console' into 1.3
...
Conflicts:
cake/tests/cases/console/libs/schema.test.php
2009-09-20 19:05:03 -04:00
mark_story
89bf3440da
Fixing failing test.
2009-09-20 19:02:05 -04:00
mark_story
3c21fa32ba
Changing syntax to reflect updated api's
2009-09-20 18:38:26 -04:00
mark_story
c1056676ec
Fixing failing test.
2009-09-20 18:31:49 -04:00
mark_story
a839c29eb8
Fixing use of deprecated methods in Auth test.
2009-09-20 18:16:26 -04:00
mark_story
37b575496c
Fixing capitalization in ControllerTask & test cases.
2009-09-20 18:13:53 -04:00
mark_story
50bd279018
Merge branch '1.3-auth' into 1.3
2009-09-20 17:53:23 -04:00
mark_story
e6cc81226d
Merge branch '1.3-jshelper' into 1.3
2009-09-20 17:46:30 -04:00
mark_story
a3cd80bf52
Merge branch '1.3-bake' into 1.3
2009-09-20 17:42:43 -04:00
jperras
ca632461f1
Adding tilde (~) to accepted characters for URL validation. Fixes #52 , and legacy trac enhancement 6213.
2009-09-19 12:14:47 -04:00
mark_story
d5376e64aa
Adding patch from 'Ceeram' and 'TehTreag' to implement automatic updating of Aro/Aco nodes created AclBehavior. Test cases added. Fixes #33 and #4261
2009-09-19 01:17:20 -04:00
mark_story
b95d9e1060
Fixing time tracking on group test cases.
2009-09-18 00:54:13 -04:00
renan.saddam
317049b736
Fixing bug when value is '0', it was generating a blank node.
2009-09-17 23:08:32 -03:00
mark_story
0d6f6232e6
Updating test case to fix issues when running in group context.
2009-09-17 20:23:36 -04:00
mark_story
e0b6b25365
Fixing inherited public properties not being set in SessionHelper.
...
Adding tests for SessionHelper construction and the setting of inherited properties. Fixes #94
2009-09-17 19:57:56 -04:00
mark_story
99095daf5c
Adding drop statements so tables aren't left in the test db.
2009-09-16 02:02:40 -04:00
mark_story
5717e3b59c
Merge branch '1.2' into 1.2-merger
...
Conflicts:
app/webroot/test.php
cake/VERSION.txt
cake/bootstrap.php
cake/config/config.php
cake/console/cake.php
cake/console/libs/schema.php
cake/console/templates/skel/webroot/test.php
cake/libs/configure.php
cake/tests/cases/console/libs/schema.test.php
cake/tests/cases/libs/debugger.test.php
cake/tests/cases/libs/model/model_write.test.php
cake/tests/fixtures/aco_fixture.php
2009-09-16 01:23:49 -04:00
mark_story
4b4f3b1b82
Removing deprecated methods from test cases.
2009-09-16 00:33:29 -04:00
mark_story
e5083b88c4
Merge branch '1.3-test' into 1.3-misc
2009-09-14 23:57:35 -04:00
mark_story
f1194a4ec9
Commiting fix to pass tests in last commit.
...
Making View::renderCache tests more specific.
2009-09-14 23:53:04 -04:00
mark_story
8cf7dbbbfa
Adding tests for CacheHelper triggering. Was broken by previous refactoring.
2009-09-14 23:49:20 -04:00
renan.saddam
78e01cdb47
Refactoring ExtractTask to support extraction from multi-directories and splitting domain in different files.
2009-09-15 00:43:59 -03:00
mark_story
01cf40bf12
Adding automatic use of $options for $disabledOptions in PaginatorHelper::next() and PaginatorHelper::prev(). Thanks to 'joaquin_win' for the initial patch. Refs #83
2009-09-14 23:06:24 -04:00
mark_story
4a6412fb27
Adding tests for AuthComponent::action().
...
Adding plugin support for AuthComponent in actions mode. Refs #33
2009-09-14 00:29:33 -04:00
mark_story
c94698500b
Adding test case for Auth with authorize = actions.
2009-09-14 00:15:06 -04:00
mark_story
090eb27be1
Updating imports in AuthComponent and AuthComponent test case.
2009-09-13 23:42:25 -04:00
mark_story
95555eb1bd
Adding skips for cache() and clearCache() if caching is disabled.
2009-09-13 14:03:16 -04:00
mark_story
326424592d
Merge branch '1.2' into 1.2-merger
...
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/dispatcher.php
cake/libs/controller/scaffold.php
cake/libs/inflector.php
cake/libs/view/view.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/inflector.test.php
cake/tests/cases/libs/view/view.test.php
cake/tests/fixtures/counter_cache_post_fixture.php
cake/tests/fixtures/counter_cache_user_fixture.php
2009-09-13 13:52:58 -04:00
mark_story
ea7df4f7ce
Adding time and memory output to the test suite results.
2009-09-13 13:29:44 -04:00
mark_story
edf5f2d6e2
Updating doc blocks.
2009-09-13 13:11:37 -04:00
mark_story
e9c747badc
Updating all group tests to extend TestSuite instead of the deprecated GroupTest class. Updating the TestManager.
2009-09-11 21:43:53 -04:00
mark_story
76f6e3dd07
Merge branch '1.3-numberhelper' into 1.3-misc
2009-09-11 21:07:30 -04:00
mark_story
c49662e2ca
Fixing deprecation error due to changes in API
2009-09-10 22:56:44 -04:00
mark_story
9c41efd6fe
Adding NumberHelper::addFormat and test cases. Refs #5630
2009-09-10 22:54:49 -04:00
mark_story
818e7340f7
Adding test cases from #5630
2009-09-10 22:29:10 -04:00
mark_story
5f6015c3c4
Updating file headers and removing @static.
2009-09-10 22:23:48 -04:00
renan.saddam
4ec75c6052
Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc
2009-09-10 12:32:52 -03:00
renan.saddam
2e8bbd5eb1
Adding docblock for the new variable used for logging. Making the CakeLog::handleError logs the same output as in Debugger::handleError.
2009-09-10 12:32:21 -03:00
mark_story
0065005f95
Fixing custom error class not being used if error for field is a named index. Test case added. Fixes #76
2009-09-10 09:57:23 -04:00
nate
fd6538fc72
Changes Model::find() to allow modification of DataSource connection during callbacks.
2009-09-10 09:28:55 -04:00
jperras
c48d9794f6
Fixing incorrect optional parameters passed to TreeBehavior::children() in TreeBehavior test case. Fixes errors & test failures when running under PHP 5.3.
2009-09-09 21:15:22 -04:00
mark_story
4766f62029
Merge branch '1.3-logging' into 1.3-misc
2009-09-09 11:08:18 -04:00
jperras
5a432c6f71
Applying fix from Ceeram for updateAll joins on model relations with no foreign key. Fixes #69 .
2009-09-09 00:00:53 -04:00
mark_story
d0e6a79f82
Updating file headers.
...
Adding CakeLog::handleError which will log errors when debug = 0.
Test cases added.
2009-09-07 23:59:31 -04:00
mark_story
cac09481ac
Removing support for DEBUG constant. Use Configure::write('debug', 2) instead.
...
Adding 'log' interaction to error reporting settings controlled by Configure::write().
2009-09-07 23:28:50 -04:00
mark_story
90b6272a14
Updating test case for new values in error reporting.
2009-09-07 22:53:08 -04:00
mark_story
11ceae2e96
Merge branch '1.3' into 1.3-logging
2009-09-07 22:41:31 -04:00
mark_story
91503f8f8a
Adding patch from jperras to fix issues with non 'app' APP_DIR values.
2009-09-07 18:33:16 -04:00
mark_story
12e0652943
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-09-07 14:47:53 -04:00
mark_story
6821e7cec9
Fixing failing test because of unfilled SVN tag expansions.
2009-09-07 14:45:24 -04:00
mark_story
9445bd1604
Updating test case for new values in error reporting.
2009-09-07 14:41:57 -04:00
jperras
daadac03cc
Merge branch 'bug-22-schema-shell' into 1.2
2009-09-07 12:34:12 -04:00
jperras
24351b5a21
Backporting bugfix for #22 from 1.3-console to 1.2. Adds schema shell test cases, fixes for schema object references, i18n of schema schell output strings.
2009-09-07 12:24:38 -04:00
jperras
4dc656fd91
Updating EmailComponent smtp HELO handling to account for non-existence of HTTP_HOST environment variable when PHP SAPI is CLI. Fixes #41 .
2009-09-07 11:18:11 -04:00
jperras
2484179e36
DboMssql::value() now returns NULL for numeric column types (float, integer, binary) when the column data is empty. Fixes #28 .
2009-09-06 13:57:24 -04:00
Ali Farhadi
12457ac6f9
Adding testcase for bug #44
2009-09-05 00:53:06 -04:00
AD7six
e47316e74f
Correcting App::import usage
2009-09-04 11:58:20 -07:00
mark_story
4f4411126c
Fixing empty arrays being dropped with Set::sort(). Fixed #67
2009-09-03 23:09:27 -04:00
mark_story
b5a38d69a5
Merge branch '1.2-dirty' into 1.2
2009-09-03 22:47:45 -04:00
mark_story
cf3521737f
Fixing selected with interval not selecting the correct option. Fixes #70 .
2009-09-03 22:47:17 -04:00
mark_story
ce7864920f
Adding ability to add arbitrary attributes to HtmlHelper::scriptBlock. Test case added.
2009-09-03 13:50:53 -04:00
mark_story
ead3b0ecf6
Allowing HtmlHelper::script() to take an array of options, allows for custom attributes to be added to script include tags. Test cases added. Fixes #2955
2009-09-03 13:45:39 -04:00
mark_story
c963d5cc43
Updating file headers.
2009-09-03 12:43:13 -04:00
mark_story
2ff5334347
Minor refactor to remove method calls to Inflector::camelize.
...
Adding tests to ensure references are maintained.
2009-09-03 09:37:25 -04:00
evilbloodydemon
75695341fa
Helpers addressed by $this->Helper->func()
2009-09-03 00:58:26 -04:00
renan.saddam
0e9007e060
Making sure we are not making non-uniques and non-primary keys index. Also changing basic fixture schema to make tests pass.
2009-09-02 22:07:58 -03:00
mark_story
c0a19ced14
Adding DboSource::getLog() and test case.
2009-09-01 23:23:47 -04:00
mark_story
fb476f17cc
Fixing Set::extract run against hasMany records that are the result of a find('first'). Test case added.
2009-09-01 13:18:20 -04:00
mark_story
4d458e93b6
Updating SessionHelper::flash() to use elements for custom flash wrapping html instead of layouts.
2009-09-01 00:03:56 -04:00
mark_story
17e81ab346
Updating session component, to not use layout, and use elements instead.
...
Tests updated.
2009-08-31 23:59:40 -04:00
mark_story
1bedd8418b
Merge branch '1.3-deprecation' into 1.3-misc
2009-08-31 23:41:41 -04:00
mark_story
3dc12cb6da
Updating model tests to reflect deprecation of Model::bind() and Model::delete() aliases.
2009-08-31 23:40:47 -04:00
mark_story
9afa4d1c3a
Updating test case to reflect API changes.
2009-08-31 22:52:15 -04:00
mark_story
4ee70c01a8
Updating tests to reflect API deprecations.
2009-08-31 22:50:46 -04:00
mark_story
b5605b6408
Updating file headers
2009-08-31 22:48:22 -04:00
mark_story
fe3514371f
Updating folder + test case to reflect api changes.
2009-08-31 22:47:37 -04:00
mark_story
f6ce178d85
Simplifying message generation.
...
Fixing inflection of model names.
Adding tests for flash page generation. Refs #64
2009-08-31 14:24:50 -04:00
mark_story
0097e8c14b
Updating Scaffold to merge hasAndBelongsToMany keys when generating field lists for scaffolded forms. Fixes #48
2009-08-31 14:22:37 -04:00
mark_story
a678a603c0
Simplifying message generation.
...
Fixing inflection of model names.
Adding tests for flash page generation. Refs #64
2009-08-31 13:48:32 -04:00
mark_story
b4a1c4723d
Making AuthComponent::deny() case insensitive like allow(). Fixes #6261
2009-08-30 20:41:39 -04:00
mark_story
9c82d19968
Adding tests for missingBehaviorClass and missingBehaviorError methods.
2009-08-30 19:38:17 -04:00
mark_story
81cb097959
Merge branch '1.3-behavior-error' into 1.3-misc
2009-08-30 19:33:43 -04:00
mark_story
c19c1a7828
Fixing issues with cakeError call.
...
Adding tests for cakeError being called with non-existant Behaviors.
2009-08-30 19:33:21 -04:00
mark_story
29de5e515f
Allowing Controller::flash() layout to be set with a parameter. Fixes #5034
2009-08-27 23:40:36 -04:00
mark_story
213b78727f
Removing use of e() from core and test suite.
2009-08-27 22:51:10 -04:00
mark_story
7c4d60abe8
Adding patch from 'grncdr' to allow default direction to be set for sort links created with PaginatorHelper::sort. Fixes #5151
2009-08-26 23:55:19 -04:00
mark_story
4f2d415663
Applying patch from 'kuja' to give default class names to links generated by Paginator::sort().
...
Fixes #6239
2009-08-26 23:33:13 -04:00
mark_story
38a4b619e6
Adding default classes to next and prev links.
...
Switching next() and prev() to use span by default.
2009-08-26 22:55:24 -04:00
mark_story
136b4db7ad
Deprecating $escape for HtmlHelper::tag() use $attributes['escape'] instead. Test case added.
2009-08-26 22:46:49 -04:00
mark_story
2dca77cbcb
Updating Scaffold to merge hasAndBelongsToMany keys when generating field lists for scaffolded forms. Fixes #48
2009-08-25 23:34:19 -04:00
mark_story
31ec714e2e
Adding View::_paths() optimization.
...
Test cases added.
Refs #49
2009-08-23 23:13:56 -04:00
mark_story
325446a8b3
Updating View::_paths to remove an always miss file_exists() check.
...
Test case added.
Refs #49
2009-08-23 22:43:51 -04:00
jperras
6f8f4c5a05
Adding waves -> wave as irregular singularization rule. Fixes #47 .
2009-08-22 20:26:33 -04:00
mark_story
47d9181313
Adding test case from 'mradosta'.
...
Fixing issue with non-zero indexed arrays and Set::extract()
Fixes #6
2009-08-21 23:18:27 -04:00
mark_story
3f0f4b901d
Changing line endings to LF
2009-08-21 12:52:46 -04:00
mark_story
3b95b4c95d
Merge branch '1.3' into 1.3-misc
2009-08-20 01:12:09 -04:00
mark_story
ae715ef882
Adding in fallback for sql & schema dirs.
...
Starting to add plugin support for schema shell.
tests added.
2009-08-20 01:07:21 -04:00
mark_story
cca3281f8c
Fixing complex expression handling in DboSource::fields(). Making AS a variable controlled by implementing dbo.
...
Test cases added.
Fixes #38
2009-08-19 13:03:36 -04:00
AD7six
7c4dfed299
Updating view and controller tasks to use (_singluar|_plural)HumanName functions
...
Modifying the test case to expect humanized forms
2009-08-19 10:17:10 +02:00
AD7six
ce8dd039da
If there are is more than one theme, the test will hang waiting for the user to select the theme to use
2009-08-18 10:14:39 +02:00
mark_story
a7499be154
Adding missing & operators.
...
Adding tests for run update.
Adding -f param to schema run update to allow for testing and forcing of table comparison. Skips model checks and uses tables only instead.
2009-08-14 20:06:27 -04:00
gwoo
474ec34a5d
Merge commit 'origin/1.3-dev' into 1.3
2009-08-14 12:33:43 -04:00
gwoo
368c7556d4
Merge branch '1.3-console' into 1.3
2009-08-14 12:32:54 -04:00
mark_story
e306b65908
Updating View test case to work with updated API's
2009-08-14 12:08:33 -04:00
mark_story
5a971ddbf0
Fixing Xml::toArray() Where camelcased data was collapsed and corrupted. Causing unpredictable data structures with empty tags. Minor changes to existing behavior. See modified test cases. Fixes #8
2009-08-13 22:47:17 -04:00
jperras
deed69ea37
Adding ability to input an array parameter for 3rd argument of TextHelper::highlight(). Implements #17 .
2009-08-13 13:32:34 -04:00
renan.saddam
c84b4cf36d
Changing AuthComponent::deny to accepts same param as AuthComponent::allow, tests added
2009-08-13 13:08:30 -03:00
jperras
adc198805f
Dispatcher::parseParams() now works with file uploads that are not indexed by model. Fixes #9
2009-08-13 11:29:00 -04:00
renan.saddam
8d6135a8d1
Adding support for plugin models used in Auth::$userModel
2009-08-13 11:39:59 -03:00
burzum
417bdb4514
Fixing building of the right vendor path in the dispatcher in the case the plugin name appears again in the path
2009-08-12 16:08:31 +02:00
mark_story
2893b29e11
Fixing inflection of Taxes. Fixes #15
2009-08-12 09:46:18 -04:00
AD7six
9d1e556486
Revert "mend"
...
This reverts commit a0f42640cc10342f96effe4d08be188bb51bd0db.
2009-08-12 09:46:18 -04:00
mark_story
ae628f7f72
Applying patch from 'savant' Fixes usage of deprecated methods. Fixes #11
2009-08-12 09:46:18 -04:00
mark_story
0a1d8ca92a
Updating test cases to reflect changes in default templates.
2009-08-12 09:46:17 -04:00
AD7six
b53c7339c4
mend
2009-08-12 09:46:17 -04:00
mark_story
31d136ca67
Making constructClasses() call run against the correct object. test cases updated.
...
Fixes #4
2009-08-12 09:46:17 -04:00
mark_story
73a63a4b65
Fixing whitespace.
2009-08-12 09:45:43 -04:00
mark_story
459fcb7a1a
Applying patch from 'evilbloodydemon'. Fixes JqueryEngine::request() when wrapCallbacks is true. Test cases added. Fixes #20
2009-08-12 09:45:42 -04:00
mark_story
08f0c7c157
Fixing method dispatching errors in JsHelper with regards to Object::object, and PHP4 workarounds.
2009-08-12 09:45:42 -04:00
mark_story
a7e300a7c1
Adding warning errors when an incompatible class is used.
2009-08-12 09:45:42 -04:00
mark_story
29881561d3
Adding tests to test arbitrary class injection.
2009-08-12 09:45:42 -04:00
mark_story
b1a27b1760
Adding ability to inject an ajax provider class into paginator helper. updating tests.
2009-08-12 09:45:42 -04:00
mark_story
74448e4dee
Adding test cases for run create in Schema shell.
2009-08-10 21:54:29 -04:00
AD7six
98b04dc0e7
Merge branch '1.3-console' of dev@code.cakephp.org:cakephp into 1.3-console
2009-08-09 22:32:28 +02:00
AD7six
de87fbd484
updating console output to use a more concise format
...
typing "cake" on the command line will now output
...
Available Shells:
acl [CORE] bake [CORE] i18n [CORE] testsuite [CORE]
api [CORE] console [CORE] schema [CORE]
To run a command, type 'cake shell_name [args]'
...
Auto adjusting the width on *nix systems
2009-08-09 12:54:41 +02:00
mark_story
f70b97f4cb
Adding more tests for generate().
2009-08-08 23:46:00 -04:00
mark_story
a27575382b
Adding tests for generate() from jperras
2009-08-08 23:21:24 -04:00
mark_story
4965551084
Adding test cases for dump()
2009-08-08 23:00:40 -04:00
mark_story
12b94756d0
Adding tests for view()
2009-08-07 22:28:28 -04:00
mark_story
3c46b51b7f
Adding test cases for startup()
2009-08-07 22:19:40 -04:00
mark_story
32754c4261
Adding test case for SchemaShell
2009-08-07 22:10:39 -04:00
mark_story
c305b7a410
Adding tests to AclShell::view()
2009-08-07 08:37:31 -04:00
renan.saddam
ae89e709d2
Refactoring extract shell. Supporting use of $foo['bar'] as $count.
2009-08-06 18:14:25 -03:00
renan.saddam
ff04c7668a
Fixing DS for Windows
2009-08-06 15:59:47 -03:00
mark_story
8d351d90b3
Updating file headers.
2009-08-05 23:43:01 -04:00
mark_story
eda74d08b4
Updating view() to use node references.
...
updating test cases to use new formating.
2009-08-05 23:41:25 -04:00
mark_story
e6b32e21ad
Adding tests for getPath and inherit.
...
Refactoring the output of getPath
2009-08-05 23:13:48 -04:00
mark_story
3aa56e82c9
Fixing typo.
2009-08-05 12:20:12 -04:00
mark_story
cd9dd97eff
Adding test cases for AclShell
2009-08-05 00:37:53 -04:00
mark_story
9e36d1bedc
Fixing whitespacing on aco_fixture.
...
Adding tests to AclShell::grant()
Refactoring __getParams()
2009-08-05 00:23:59 -04:00
gwoo
6775e0997e
Merge branch '1.2' into 1.3
2009-08-03 13:13:18 -07:00
jperras
d41a28c975
Fixing PHP4 compatibility issues for SecurityComponent.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8282 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 19:40:02 +00:00
mark_story
72d90f2ce8
Adding tests for array_diff_key() in php4. Increasing test compatibility with php4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8281 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 19:24:38 +00:00
gwoo
33adb6e40b
fixing test header from bad merge
2009-08-03 11:57:39 -07:00
gwoo
946f0c85fc
Merge branch '1.3-jshelper' into 1.3
2009-08-03 11:55:40 -07:00
mark_story
6ca2127aea
Fixing JsHelper tests to run in php4
2009-08-03 14:47:36 -04:00
mark_story
83a705f739
Merge branch '1.3' into 1.3-jshelper
2009-08-03 14:39:21 -04:00
gwoo
57552c25fc
updating some tests for php4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8280 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:14:12 +00:00
mark_story
303b488bc1
fixing doc block indentation.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8279 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:13:46 +00:00
mark_story
bab62df0d8
Fixing fails caused by PHP4 and all lowercase classnames.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8278 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 18:12:42 +00:00
mark_story
29dd4ddf03
Fixing issues in Scaffold Test case with PHP4.
...
Cleaning up code formatting in Scaffold.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8276 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 17:38:40 +00:00
AD7six
47d50b1d93
Adding failing test case for invalid cache config causing a fatal error
2009-08-03 18:17:20 +02:00
jperras
33370fdc60
Fixing code coverage manager test.
2009-08-03 00:14:15 -04:00
jperras
6e7219b7ec
Fixing no_database group test.
2009-08-03 00:02:17 -04:00
jperras
74e6b30d7b
Removing duplicate classes & methods from a lost merge.
2009-08-02 22:59:15 -04:00
jperras
a0b04ed924
Adding proper skipIf to Javascript asset timestamp test.
2009-08-02 22:54:05 -04:00
jperras
43a7dee08a
Fixing path for cake schema test in database group
2009-08-02 22:53:35 -04:00
gwoo
e3f8ee493e
fixing path in folder test
2009-08-02 22:47:26 -04:00
jperras
31321df6ce
Removing extra newline that was causing EmailComponent test to fail.
2009-08-02 21:09:33 -04:00
mark_story
4583873379
Fixing issues in PluginTask test due to addition of cake/plugins. Fixing undefined variable.
2009-08-02 20:42:08 -04:00
gwoo
d0c7397d5d
added unlink to SchemaTest::tearDown()
2009-08-02 16:47:15 -07:00
gwoo
42d6a6f732
Merge branch '1.3-bake' into 1.3
2009-08-02 16:42:21 -07:00
gwoo
07d1ecdf6d
adding change to DboSource test that was not committed in [8267]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8275 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 23:21:24 +00:00
gwoo
d905c274c8
Merge branch '1.2' into 1.3
2009-08-02 16:18:25 -07:00
AD7six
b9987e1712
whitespace normalization
2009-08-02 16:09:39 -07:00
gwoo
15ed658a27
Revert "Merge branch '1.3-newlines' into 1.3"
...
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
2009-08-02 15:59:54 -07:00
gwoo
ffe801bb28
fixing folder class when path give does not exist
2009-08-02 15:42:27 -07:00
gwoo
f9f67a1759
fixing some test cases
2009-08-02 15:18:44 -07:00
mark_story
48a483e5ce
Fixing bake and bake related task test cases for PHP4.
2009-08-02 18:17:31 -04:00
AD7six
593bec85b7
adding tests for plugin file structure changes
2009-08-02 23:41:56 +02:00
AD7six
20b1dd795d
Revert "Changing the Plugin task to take the dirs to create from the App skeleton"
...
This reverts commit fe8b641cd3257b4aa82ce93ac8a2e8f624e4ec58.
Conflicts:
cake/console/libs/tasks/plugin.php
2009-08-02 23:39:59 +02:00
AD7six
d61e8736e4
Merge branch '1.3' into 1.3-bake
2009-08-02 22:44:28 +02:00
AD7six
7eb150b49a
Merge branch '1.3' into 1.3-bake
...
Conflicts:
cake/console/libs/tasks/model.php
2009-08-02 22:31:01 +02:00
AD7six
6d6f97de59
This will be implemented in the Folder class itself
...
Revert "preventing the possibility of trying to delete / if the test dir wasn't created correctly"
This reverts commit 61c9771e7d163d8e7131a07a304b5a8dd6a3696a.
2009-08-02 22:00:57 +02:00
gwoo
292b37c6e8
Merge branch '1.3-console' into 1.3
2009-08-02 12:31:12 -07:00
gwoo
bf2b8a60e6
Merge branch '1.3-misc' into 1.3
2009-08-02 12:20:07 -07:00
gwoo
d118c6a764
Merge branch '1.3-newlines' into 1.3
2009-08-02 12:08:55 -07:00
jperras
f426017a9e
Changing l10n language name from 'Slovack' to 'Slovak', as per ISO 693-1 guidelines. Thanks to savant for the patch. Fixes #5870 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8272 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 19:00:30 +00:00
gwoo
7fc465309e
Merge branch '1.2' into 1.3
2009-08-02 11:58:39 -07:00
gwoo
c7050c9879
Merge branch '1.3-inflector' into 1.3
2009-08-01 23:53:36 -07:00
gwoo
38221e7aa2
Merge branch '1.2' into 1.3
2009-08-01 23:47:28 -07:00
mark_story
ca8744c8b9
Updating setParent() to use either Model.key or alias. Tests added.
2009-08-01 20:56:58 -04:00
mark_story
acaba022c6
Updating delete() and adding test cases. Refactoring out common methods.
2009-08-01 20:17:44 -04:00
mark_story
449c390d48
Refactoring out Model.fk parsing. Updating create(). Adding tests.
2009-08-01 18:57:54 -04:00
renan.saddam
76e50ef625
Adding support for Model.* syntax, which translates to a list of fields from Model.
...
Fixing buildColumn for null values.
Fixing small containable merge, it was duplicating values, tests added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8265 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-31 02:08:20 +00:00
gwoo
9e1dec3ff3
fixes #6538 , xml serialization on multi dimensional
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8264 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-31 01:50:14 +00:00
jperras
bc28dd834e
Adding additional plural inflection rule.
2009-07-30 15:29:16 -04:00
gwoo
1423b0067b
Merge branch '1.2' into 1.3
2009-07-30 11:34:33 -07:00
gwoo
6cb70f0929
Merge branch '1.3-console' into 1.3
2009-07-30 11:26:23 -07:00
mark_story
6322375889
Merge branch '1.3' into 1.3-bake
2009-07-30 09:23:16 -04:00
mark_story
3a5b782737
Adding newlines and tests for slideDown slideUp alternate syntax for jquery engine.
2009-07-29 22:37:41 -04:00
mark_story
5b13b29a92
Adding callbackArguments and parseCallbacks to jQuery engine.
2009-07-29 22:19:02 -04:00
renan.saddam
90445e9119
Fixing "DEFAULT NULL" sentence, which for some reason does not work. It needs to be only "NULL", and "DEFAULT NULL NULL" works too.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8263 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-30 00:00:19 +00:00
renan.saddam
ee8d12c939
Fixing issue with "DEFAULT NULL NULL" generated by buildColumn.
...
Making the tests pass by just changing the start and end quotes.
Providing "created" values for CakeTestFixtureTestFixture Fixture.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8262 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-29 22:30:20 +00:00
gwoo
aab4dc2f1a
Merge branch '1.3-inflector' into 1.3
2009-07-29 10:32:25 -07:00
mark_story
189480e499
Correcting parameter names for ControllerTask. Updating tests in Controller and ViewTask.
2009-07-29 12:47:25 -04:00
AD7six
bbc2562d3f
Correcting use of CONSOLE_LIBS to refer to template files
2009-07-29 10:17:06 +02:00
AD7six
d54369e29e
CONSOLE_LIBS isn't an absolute path
...
Adding app vendor folders
Correcting plugin test to match changes to the task
2009-07-29 10:12:54 +02:00
AD7six
803d19c80e
preventing the possibility of trying to delete / if the test dir wasn't created correctly
...
And the ensuing exception if permission is denied
2009-07-29 09:58:35 +02:00
mark_story
24299cf943
Implementing wrapped callbacks in Mootools. Fixing implementation in Prototype. Adding JsBaseEngineHelper::_processOptions() to reduce duplicate code.
...
Test cases appended and updated.
2009-07-29 00:05:27 -04:00
mark_story
9092b25004
Fixing how scaffold arg works, now generates scaffolds.
...
Making admin arg only make admin methods and new both arg make both admin and non admin methods.
Adding test cases.
Adding new line to template.
2009-07-28 22:53:29 -04:00
DarkAngelBGE
f88cc56cfe
Coding standards fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8260 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-28 20:01:42 +00:00
mark_story
47cd941b53
Applying optimization patch to PaginatorHelper and test refactorings to PaginatorHelper test case. Thanks Phally. Fixes #6526
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8259 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-28 12:40:31 +00:00
DarkAngelBGE
9da7b6ef55
Bringing Router coverage up to 94.45%, minor router refactorings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8258 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-28 09:49:27 +00:00
mark_story
75026715d1
Adding additional tests to Request and updating callback argument list.
2009-07-28 00:04:43 -04:00
mark_story
ebc221dbf7
Updating sortable options.
...
Fixing drag() when selector is a multiple element selection.
2009-07-27 22:36:22 -04:00
gwoo
f53181bc96
fixes #6467 , cake bake on windows drive. thanks burzum
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8257 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-27 16:57:58 +00:00
mark_story
ec10e90efb
Merge branch '1.3' into 1.3-jshelper
2009-07-27 12:11:43 -04:00
mark_story
cde9afb486
Updating Mootools engine to work seamlessly with $() and $$() type selections.
2009-07-27 08:45:31 -04:00
AD7six
59317fb5a0
Merge branch '1.3' into 1.3-bake
2009-07-27 13:10:11 +02:00
AD7six
f64f4cbddc
whitespace normalization
2009-07-26 11:59:51 +02:00
mark_story
478e90240d
Updating paths in ProjectTask and PluginTask to reflect changed dirs.
...
Updating tests.
2009-07-26 01:52:05 -04:00
mark_story
b4f4aeeec7
Moving shell templates dirs.
...
Updating TemplateTask to reflect changes in directories.
Updating test cases to use App::build()/App::path()
2009-07-26 01:29:08 -04:00
gwoo
062f471b7f
updating App::import usage. ran each test and everything seems ok.
2009-07-25 18:27:02 -07:00
gwoo
0c59c137e8
adding more tests for app::import to show proper usage of importing parent classes
2009-07-25 16:39:09 -07:00
mark_story
d4d9db43a7
Updating PrototypeEngineHelper::request() to use dataExpression. Allowing Js::submit() to work with prototype.
2009-07-25 18:12:53 -04:00
mark_story
dda6c93529
implementing serializeForm() in Prototype engine.
2009-07-25 18:02:54 -04:00
mark_story
a6f25f5c64
Removing ending html tags, they were being generated before the page ended.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8256 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-25 21:45:30 +00:00
mark_story
def4c98a08
Merge branch '1.3' into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/html.php
cake/libs/view/helpers/js.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/lib/header.php
2009-07-25 17:35:27 -04:00
mark_story
ed10374a6f
Adding tests for dataExpression to mootools engine.
2009-07-25 17:14:18 -04:00
mark_story
6f10f5de6d
Fixing issues with ajax forms and mootools. post needs to be lowercase.
...
Implementing serializeForm() in MootoolsEngine.
Updating doc blocks.
2009-07-25 17:10:22 -04:00
mark_story
2414a43c91
Adding HtmlHelper::scriptStart and HtmlHelper::scriptEnd. Further deprecates JavascriptHelper. Fixing issues in test case.
2009-07-25 15:43:26 -04:00
jperras
6fd0bfc96f
Adding integration test of CacheHelper with newly modified Inflector::slug, on caching actions with non-latin characters in route.
2009-07-25 15:11:52 -04:00
jperras
54d1577276
Adding tests for Inflector::slug with non-latin characters & removing redundant element in preg_replace map.
2009-07-25 15:10:21 -04:00
jperras
659c1a65bc
Modified Inflector::slug to not drop multibyte characters. Fixes #6104 .
2009-07-25 14:25:45 -04:00
gwoo
766e12bc2a
Merge branch '1.3' into 1.3-newlines
2009-07-25 10:41:40 -07:00
gwoo
1924eb9dde
updating configure and debugger
2009-07-25 10:27:17 -07:00
mark_story
4ebf5a4e32
Merge commit 'code/1.3' into 1.3-jshelper
...
Conflicts:
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/lib/header.php
2009-07-25 01:35:36 -04:00
mark_story
9a66c2cfc5
Fixing method param in jQuery engine. Needed to be converted to 'type'.
...
Fixing issues in JsHelper::submit() related to data being escaped.
Updating tests cases.
2009-07-24 23:29:44 -04:00
mark_story
49e0e5743f
Adding tests for custom url on submit()
2009-07-24 22:54:22 -04:00
mark_story
36722c0ef2
Implementing serializeForm() in jquery engine.
2009-07-24 22:46:33 -04:00
mark_story
76c13fa98e
Adding non buffered tests to Js::link()
...
Implementing Js::submit() adding test cases.
2009-07-24 22:13:54 -04:00
gwoo
986af28de0
Merge branch '1.2' into 1.3
2009-07-24 15:57:30 -07:00
jperras
9d7b560817
Splitting model tests into separate files to allow more fine-grained test running.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8255 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-24 22:17:14 +00:00
gwoo
7f6c2b6b33
adding more levels to confiure test
2009-07-24 13:29:46 -07:00
AD7six
b2142df2bc
adding a newline before all comment blocks
2009-07-24 21:18:37 +02:00
jperras
e40428801e
Removing all uses of uses() global method & replacing with require or App::import.
2009-07-24 13:41:08 -04:00
mark_story
565cd96120
Fixing issue in CakeTestCase where fixture tables were incorrectly detected and dropped when running tests with no $test config or $test config and $default config on the same database.
...
Updating TestAppsPostsController to fix compatibility issues with postgres.
Defining $name in CakeTestFixture to remove notice errors, when constructing a nameless Fixture.
Fixes #6518
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8254 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-24 16:29:18 +00:00
jperras
d70900c540
Making basics.test.php testDebug more symlink friendly. Adding deprecated tag to global 'uses' method
2009-07-23 16:51:25 -04:00
mark_story
e382f53ead
Fixing duplicated test case class name.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8249 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 13:31:16 +00:00
gwoo
a9d98e73c3
Merge branch '1.2' into 1.3
2009-07-22 09:27:31 -07:00
gwoo
f295a21831
updating some code related to Configure/App changes. Fixing issue when cache is not configured
2009-07-22 09:11:38 -07:00
DarkAngelBGE
3e14d281df
fixes #6397 , removing unneeded line feed in email component headers, adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8248 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 16:04:53 +00:00
gwoo
8dc777a2b7
Merge branch '1.3-bake' into 1.3
2009-07-22 08:56:00 -07:00
mark_story
7ca85109cb
Updating env(HTTPS); to more accurately reflect the PHP $_SERVER docs. Fixes #6524
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8246 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 13:40:12 +00:00
DarkAngelBGE
d6a12ce5f1
2nd param init value for Router::stripPlugin(), improving router's coverage by adding tests for stripPlugin()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8245 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 13:02:31 +00:00
DarkAngelBGE
ecd001547d
fixing error in api.test.php from #8203 so it can run again
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8244 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 08:41:35 +00:00
nate
a75d1fad2a
Modifying quoting method used in conditions with array values in DboSource, fixes #6519
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8243 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-22 01:50:11 +00:00
DarkAngelBGE
caeac73562
Applying patch from ' matsinet', fixes #6475 , EmailComponent ignoring sendAs when attachments present, adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8242 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 21:54:05 +00:00
mark_story
a3d5a9beae
Adding stubs for JsHelper::submit()
2009-07-21 00:24:58 -04:00
mark_story
def848f198
removing debug();
2009-07-21 00:02:08 -04:00
mark_story
19eca9003d
Adding ability to generate fixtures from data in app tables, with custom conditions. Test cases added.
2009-07-21 00:00:39 -04:00
mark_story
f9ff43b352
Refactoring paginator.test.php to use assertTags() where it makes sense.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8240 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 02:59:30 +00:00
gwoo
56bee6e1fc
fixes #6507 paginator sort directions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8239 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 01:53:14 +00:00
gwoo
4cfdd311a9
fixes #6476 , crash on missing layout in session flash
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8238 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 01:33:12 +00:00
gwoo
025942e354
updating test header for 1.3
2009-07-20 10:06:13 -07:00
gwoo
0935eb0477
fixing up some broken tests
2009-07-20 09:59:16 -07:00
gwoo
f14a223f1d
Merge branch '1.3-bake' into 1.3
2009-07-20 09:37:18 -07:00
gwoo
a2f0ab8b27
Merge branch '1.2' into 1.3
2009-07-20 09:31:56 -07:00
mark_story
d2245fd514
Fixing Router::normalize() so that a url containing the base param more than once, which is passed into normalize() multiple times does not get url segments removed. Fixes #6338 and #5978
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8236 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-20 13:18:38 +00:00
mark_story
10f5ae22a9
Adding prompt for supplying custom conditions for fixture.
2009-07-20 00:59:18 -04:00
mark_story
de51d880fb
Adding prompts for PluginTask with no args.
...
Test cases added.
2009-07-20 00:20:58 -04:00
mark_story
74fd4849ba
Fixing issue in Router where generating plugin shortcut controller routes with admin prefixes left a :controller param behind. Fixes #6252
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8235 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-17 21:35:23 +00:00
mark_story
76d5855d72
Applying patch from 'Phally' Fixes multiple issues in PaginatorHelper related to first and last option in numbers(). Fixes #6516
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8234 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-17 19:46:33 +00:00
mark_story
4a4b9eefe5
Updating file headers.
...
Removing newlines.
2009-07-17 00:09:06 -04:00
mark_story
ad3e5f43e0
Removing newlines in files.
...
Adding and update bake.test to bake group test.
Fixing doc blocks.
2009-07-16 23:55:41 -04:00
mark_story
7b06ba2b3d
Adding support for -admin flag when baking a controller's views. Using -admin will only bake admin methods. Refactoring some methods, removing newlines.
2009-07-16 23:12:47 -04:00
mark_story
22c98cc712
Adding empty files to baked plugins.
2009-07-16 21:49:26 -04:00
mark_story
2e3a311b0d
Adding config/sql to plugin baking.
2009-07-16 21:34:14 -04:00
mark_story
9f3a9e6d78
Adding test case for BakeShell and bake all
2009-07-16 08:51:06 -04:00
renan.saddam
7fd6cc52c2
Fixing issue with timeout when reading socket.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8233 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-15 19:17:41 +00:00
mark_story
1e8d01992e
Adding test generation for controllers baked with ControllerTask::all()
2009-07-15 10:14:16 -04:00
mark_story
80b9692856
Adding test and fixture generation to ModelTask::all
2009-07-15 10:00:35 -04:00
mark_story
baea319122
Applying patch from 'Dremora' fixes JavascriptHelper::codeBlock() and blockEnd() bugs where content vanished due to incorrectly structured buffers. Minor behavior change in that codeBlock(null) no longer returns an opening script tag. The entire script tag is returned when blockEnd() is called.
...
Test cases updated and refactored.
Fixes #6504
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8231 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-14 17:11:46 +00:00
mark_story
02ed77ab20
Adding tests for calling RequestHandlerComponent::renderAs() twice.
...
Fixing issue where viewPath was not updated.
Fixes #6466
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8230 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-14 03:52:06 +00:00
mark_story
04b151edc9
Updating tests to be more specific. Adding tests for confirm.
2009-07-12 19:06:45 -04:00
mark_story
04fa46f228
Updating Js::link() adding confirm option.
2009-07-12 18:42:36 -04:00
mark_story
5119e58e3b
Starting work on Js::link()
2009-07-12 17:30:41 -04:00
mark_story
4d4bc9040e
Adding additional tests for object() encoding.
2009-07-11 17:36:48 -04:00
mark_story
69de1291e1
Removing deprecated options from object()
...
Tests updated.
2009-07-11 17:31:54 -04:00
mark_story
50c624486e
Updating tests to reflect changes in json encoding.
2009-07-11 17:21:06 -04:00
mark_story
b90b743853
Adding test cases from Javascript Helper. Preparing for refactor of
...
JsHelper::object().
2009-07-11 15:58:39 -04:00
DarkAngelBGE
44fa8d5fd0
Getting the time helper code coverage up to 99%
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8228 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-11 16:45:29 +00:00
DarkAngelBGE
11c664177f
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8227 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-11 15:36:45 +00:00
jperras
4f44a15470
EmailComponent::reset now empties out attachments array. Fixes #6498 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8226 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-10 00:07:51 +00:00
mark_story
7e1f9eeebd
Updating tests for ModelTask. Making it impossible to bake a model which does not have a table on the active connection. Fixes #6035
2009-07-08 23:30:29 -04:00
mark_story
9bbb33ef2f
Fixing Configure::read() use in PluginTask. Adding PluginTask to the bake group test. Adding vendors directory generation to baked plugins. Fixes #5200 .
2009-07-08 22:25:27 -04:00
mark_story
41eecdaa91
Adding the ability to set $displayField from bake. Refactoring ModelTask::bake() Fixes #4438 .
2009-07-08 22:06:42 -04:00
mark_story
d671056044
Adding displayField detection and interaction to ModelTask. Test Cases added.
2009-07-08 09:10:18 -04:00
mark_story
fb6b16c467
Fixing empty time value handling in Model::deconstruct(). Both null and 00:00:00 are valid values now. Test cases added and refactored. Fixes #6488 , #6018 , Refs #5659
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8225 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-08 03:25:30 +00:00
mark_story
9c51f720ed
Merge branch '1.3' into jshelper-integration
...
Conflicts:
cake/tests/cases/libs/view/helpers/js.test.php
2009-07-06 23:43:57 -04:00
mark_story
dc98184086
Updating Shell and Bake tasks to use App::path() instead of Configure::read().
2009-07-06 23:11:57 -04:00
mark_story
5c9b5febdf
Merge branch '1.3' into 1.3-bake-integration
...
Conflicts:
cake/console/libs/tasks/controller.php
2009-07-06 23:03:04 -04:00
mark_story
8d1457e048
Merge branch '1.3' into 1.3-bake-integration
...
Conflicts:
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/model.php
2009-07-06 22:20:03 -04:00
DarkAngelBGE
9918583e7e
Adding testcases to disprove #6111
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8224 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-06 22:38:37 +00:00
gwoo
508f0651a4
fixes #6492 , removing use of define LC_MESSAGES due to inconsistency on different operating systems
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8223 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-06 15:30:04 +00:00
gwoo
72546f3839
fixes #6455 , adding define for LC_MESSAGES
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8221 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-05 15:02:03 +00:00
davidpersson
68d333d088
Applying patches by ADMad updating HtmlHelper and adding test. Adding missing properties in test case. Preventing bleed through in test case. Fixes #6490
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8220 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-04 22:04:40 +00:00
jperras
d2a6be21ef
Splitting Model test into several classes for ease of testing. Creating new 'Database' test group for schema, db_acl and datasource tests. Model group test now only encompasses model & behavior test cases.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8219 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-04 19:23:22 +00:00
gwoo
7818eae206
fixes #6455 , i18n locale message category bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8218 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 15:54:26 +00:00
gwoo
f1a4352620
Merge branch '1.2' into 1.3
2009-07-03 08:24:42 -07:00
gwoo
f2b7a26be8
fixes #5710 , HABTM - constraining unique ids, but removing non-unique
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8217 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 03:31:05 +00:00
mark_story
45a51ed809
Changing return of Model::deleteAll(). When no records are matched by the delete conditions return is now (bool)true as no records matching those conditions exist.
...
Test case added.
Fixes #6453
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8216 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 00:26:58 +00:00
gwoo
8971aad8bf
closes #6413 , scaffoldFields not working with add/edit methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8214 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 00:14:36 +00:00
gwoo
9e143bc335
fixes #6473 , dot notation for sort in next/prev
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8213 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 23:48:10 +00:00
gwoo
92b8e87ed7
fix for cross database joins when recursive < 1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8212 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 23:14:38 +00:00
gwoo
2ba8e8777c
Merge branch '1.2' into 1.3
2009-07-02 16:12:50 -07:00
gwoo
3c76f173f7
removing deprecated model methods
2009-07-02 10:24:42 -07:00
gwoo
bc359259a2
Merge branch '1.2' into 1.3
2009-07-02 09:27:00 -07:00
mark_story
1a7965fde0
Adding output to getThemePath()
...
Adding param setting to getThemePath() as well so template choice is saved between file generations in the same session. Test cases added.
2009-07-01 23:49:50 -04:00