mark_story
8775f15375
Updating multiple validation generation.
...
Adding test coverage for interactive validations.
2009-05-09 00:35:03 -04:00
mark_story
103b97493a
Adding test cases for validation generation
...
Updating validation generation functions.
2009-05-08 01:09:19 -04:00
mark_story
fae7ed5584
Refactoring model task. Starting to refactor
...
validation generation to enable multiple validation.
2009-05-08 00:49:26 -04:00
mark_story
fd5b422357
Fixing error when no connection is specified and
...
bake fixture Foo is used.
2009-05-07 23:59:43 -04:00
mark_story
37d81cb92d
Adding __()
...
Refactoring duplicate code, and pulling out separate methods.
2009-05-05 00:43:29 -04:00
mark_story
bb2f6b2ef5
Consolidating $useDbConfig to $this->connection.
...
Updating test cases.
2009-05-05 00:10:24 -04:00
mark_story
f4dc4bc1ed
Adding test cases to FixtureTask.
...
Removing useless param.
2009-05-04 23:08:15 -04:00
mark_story
e21cc3db72
Adding test cases for bake()
...
Adding support for -connection param
Adding partial support for -plugin param
Separating file writing and code generation functions.
Updating help()
2009-05-03 21:43:22 -04:00
mark_story
6180ca80c9
Adding common parameter handling for connection
...
and plugin params.
2009-05-03 20:48:13 -04:00
mark_story
1cc3a6ecfb
Removing unused variable.
2009-04-29 22:50:57 -04:00
mark_story
40ebdf8aac
Adding fixture all command.
...
Fixing errors with maxlength and timestamp fields
Adding return for ModelTask::listAll()
2009-04-29 22:50:43 -04:00
mark_story
d3fe3d5959
Adding fixture <name> baking
2009-04-29 22:42:11 -04:00
mark_story
2b87be1d7c
Updating FixtureTask help
...
Adding test case for FixtureTask
2009-04-29 22:40:49 -04:00
mark_story
80287223f1
Additional Test for ModelTask
2009-04-29 22:25:42 -04:00
mark_story
aad2bd702d
Adding test case for Model Task
2009-04-29 22:17:08 -04:00
mark_story
f992406501
Removing fixture generation from ModelTask
2009-04-29 21:18:08 -04:00
mark_story
0b2232d05a
Updating fixture task. Refactored methods.
...
Multiple rows can now be generated.
2009-04-29 20:52:12 -04:00
mark_story
d705e8943a
Refactoring table naming interaction into getTable()
2009-04-28 21:20:34 -04:00
mark_story
0b40e5c709
Refactoring out to use DbConfig::getConfig
...
Continuing fixture bake
2009-04-28 20:45:07 -04:00
mark_story
802ed73c0a
Adding getConfig() so other tasks can pick connections more easily.
2009-04-28 20:44:23 -04:00
mark_story
b5cc69c37c
Adding Fixture task to bake.
2009-04-28 20:32:15 -04:00
mark_story
f7a7b07740
Turning off interactive for bake all commands.
2009-04-27 23:58:36 -04:00
mark_story
1291d4f025
Adding cake bake view all
2009-04-27 23:55:34 -04:00
mark_story
73b9cbfead
Adding help text entries for controller all and model all.
2009-04-27 23:43:06 -04:00
mark_story
f0543987e1
Adding cake bake controller all
2009-04-27 23:36:57 -04:00
mark_story
798a9d5e43
Adding cake bake model all
.
2009-04-27 23:15:28 -04:00
gwoo
ec18aac4ab
Merge branch 1.2 into 1.3
2009-04-15 15:16:01 -07:00
mark_story
8db4fe682b
Allowing name attribute to pass on to hidden field in FormHelper::radio().
...
Fixes inconsistency with checkbox(). Test case added.
Fixes #6260
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8145 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-15 17:18:01 +00:00
mark_story
377108f930
Adding tests to show correct usage of form::create() with querystring params. Closes #6278
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8144 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-15 02:29:50 +00:00
mark_story
32107f5fba
Fixing test broken in [8136]. Adding Configure::write() to prevent fails when running helpers as a group.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8143 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-15 02:14:04 +00:00
mark_story
fcb8ef25d6
Renaming setUp() to startTest() in Controller task. Fixes issues with fixtures and baked controller tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8142 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-14 23:13:43 +00:00
mark_story
97652231a0
Fixing RequestHandlerComponent::prefers() with array input. Test case updated. Fixes #6290
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8141 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-14 13:16:25 +00:00
jperras
225e5e6aa8
Adding missing fixtures from last commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8140 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-13 14:25:01 +00:00
jperras
066629d566
Removing hard-coded 'id' field from Model::_prepareUpdateFields. Fixes #6274 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8139 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-13 14:15:58 +00:00
the_undefined
bf2829a896
Fixed bug related to the order in which some replacement take place
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8138 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-09 13:15:43 +00:00
mark_story
9491e4632d
Applying patch from 'SkieDr' to fix custom find type pagination. Removes parameters from exiting paginate(). Test case added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8137 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-07 14:56:30 +00:00
mark_story
5f4cdf91ac
Fixing AjaxHelper::dragOptions to match scriptaculous docs.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8136 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-06 00:57:46 +00:00
mark_story
5c4f838f5a
Adding buffer flush to ajax helper test. Test suite menus now properly display.
...
Fixing Drag options. Adding test coverage. Fixes #6266
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8135 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-06 00:45:53 +00:00
mark_story
d74e2d1a73
Fixing newline escaping for single quote strings, output now matches json_encode().
...
Test added, and old test fixed.
Fixing buffering issues, causing test suite menu to disappear when running JavascriptHelper Test case.
Fixes #6167
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8134 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-04 02:42:46 +00:00
davidpersson
392a6b195d
Adding tests for Folder::copy and ::move showing that
...
skipping existing subdirectories is the intended behavior.
Disproves #6529 . Refs #6529 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8133 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-01 17:54:25 +00:00
mark_story
6551e2a45d
Adding test for file input creation on hasOne relationship. Refs #6223
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8132 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-28 02:46:23 +00:00
davidpersson
5d23f46118
Adding tests to disprove #6236 . Closes #6236 .
...
Removing return from testWriteEmptyValues method to enable the test.
Updating CacheTest to revert settings changed in the tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8131 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-26 20:40:45 +00:00
renan.saddam
9f0cbb00ce
Adding tests to Session Save Handler callbacks. Refs #6229 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8130 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-26 14:25:47 +00:00
renan.saddam
2082239969
Calling the right Garbage Colector callback when using Cache as Session Save Handler. Fixes #6229 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8129 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-26 13:50:25 +00:00
mark_story
0516fb2090
Enabling disabled attribute to be passed to hidden input when making checkboxes.
...
Test case added.
Fixes #6226
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8128 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-25 16:58:29 +00:00
davidpersson
0a610d2c30
Updating Debugger::log to get the source from the end of the stack
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8127 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-23 18:59:37 +00:00
jperras
14aaa1682f
Updating doc block for Valdation::url optional parameter. Fixes #6220 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8126 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-23 13:48:37 +00:00
jperras
4439bc4f70
Fixing regression in PaginatorHelper. Adding tests for PaginatorHelper::sortDir, as well as fixing incorrect test for sorting with Model.field dot notation. Fixes #6218 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8125 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-22 18:59:53 +00:00
mariano.iglesias
364fe18208
Adding test to disprove issue. Closes #4693
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8124 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-22 13:09:50 +00:00
davidpersson
fd7d6718a1
Updating tests to not affect other ones when run from a group
...
Adding NoCrossContamination group
Shortening group class names
Renaming lib_controller group
Updating test imports to include the core AppController by default
Some cosmetics
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8123 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-21 23:55:39 +00:00