gwoo
66589e2f18
fixing undefined index in model task when defining custom additional associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 13:03:51 +00:00
mark_story
158d19e0a0
Removing variable assignment from $this->{$className}->recursive = -1; Fixes #5280
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7475 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-18 23:28:16 +00:00
gwoo
2ecfeb182d
fixes #5228 , wrong numbers in model task validation routine
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7445 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 08:53:50 +00:00
mark_story
01db539c39
Missing append operator, causing field name output to not be generated fixed. Closes #5228
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 03:59:06 +00:00
mark_story
1d94d3ccfd
Removed $ from model task. Closes #5216 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-07 17:06:03 +00:00
gwoo
c350448cd8
adding a notEmpty rule to validation and updating bake default for strings to use notEmpty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 23:58:20 +00:00
gwoo
c9eff14ca4
adding import for ConnectionManger to modelTask
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7219 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 00:42:08 +00:00
gwoo
b3f605c1d8
fixes #4836 components initialize for error pages, also changing Object::stop() to Object::_stop()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7116 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:04:58 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
nate
f2ea3c8bb0
Refactoring DboSource to use Model in order to properly quote values by column type, correcting serial integer schema generation in DboPostgres, fixes #4702 , refactoring TreeBehavior to use DboSource::calculate(), fixes #4725 , updating docblocks, fixing DboSource test to be database-agnostic, misc. whitespace fixes, updating DboSource test to reflect new quoting rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7015 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 19:05:37 +00:00
gwoo
aaab0306aa
removing exit() and replace with $this->stop();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7012 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:57:46 +00:00
DarkAngelBGE
cc5d42a851
small typo fix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6983 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 09:19:11 +00:00
gwoo
2aff396611
fixes #4538 , missing '.' in model task when creating fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6743 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:58:16 +00:00
phpnut
93d222a1a5
"Closes #4369 "
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6617 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 18:00:35 +00:00
gwoo
246095a97d
updating model task, may be related to #4363
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6599 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-25 21:39:34 +00:00
phpnut
3e61954dbc
"Fixes #4360 , Error in \"i18n\" Shell Script"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6597 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:49:49 +00:00
gwoo
aac0cecf49
another update for bake model validations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6584 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 06:07:16 +00:00
gwoo
d8a7097490
/me thinks sdevore is the only one still using php4 so he helping debug bake model validations, with much more to come
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6582 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:41:09 +00:00
gwoo
d4860f4c1d
fix for bake model validations...thanks again, sdevore
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6581 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:30:47 +00:00
gwoo
0c9023fd1d
fix for bake model validations...thanks again, sdevore
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6580 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 04:59:40 +00:00
gwoo
6a1cdf2138
updating bake and tasks, closes #4326 , closes #3993 , closes #4032 , closes #4337
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6574 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:45:43 +00:00
gwoo
199a098cf1
fixes #4160 regex validation in bake model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6531 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:32:03 +00:00
gwoo
ce4ea52136
updating paths in controller and model tasks for test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6528 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:09:37 +00:00
gwoo
3404ccc668
updating bake plugin handling, fixes #3994 , fixes #3904 , fixes #3998 , fixes #3995
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6526 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 01:05:27 +00:00
gwoo
1c894d0cfd
fixes #4111 , empty array in model task when table indexes missing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6458 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 04:48:40 +00:00
gwoo
f5de1ac9a2
adding shell loading from plugins, updating exit from lists controller and model in tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6437 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 00:44:34 +00:00
gwoo
b7aa6ada2c
updating validate in bake model task, fixes #3957
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6400 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 06:49:10 +00:00
gwoo
d901e0af31
fixed bake interactive models for self associations and error in Set:extract when data is not an array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:42:01 +00:00
phpnut
e8ec5a4667
""
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6393 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 02:54:32 +00:00
phpnut
7e1c80f9ae
"Fixes generation of model tests and fixtures"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6392 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 22:04:54 +00:00
phpnut
d3e790a27a
"Fixes #3910 , cake generates failing fixtures due to column length restrictions"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6386 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 19:38:24 +00:00
phpnut
d754adb067
"Updating controller tests created with the console.
...
Added associated fixtures to model tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6332 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-07 13:35:14 +00:00
phpnut
d6bcff4797
"Removing var $useTable; from generated model when tables follow conventions
...
Fixed issue with model tests and fixtures not being created properly when Model name does not match table name"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6331 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 19:39:25 +00:00
phpnut
92fedc4f76
"Removing unneeded :"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6327 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:50:23 +00:00
phpnut
abdf753c9e
"Adding support for test fixture generation when creating models, this will eventually be moved to a task.
...
Currently the $records are hard coded to create field type specific data, this will eventually be changed to create random data based on the field type.
Refactored tests that are created for models, 3 working tests are not created when generating tests for the model.
Added notice output to terminal when creating a project, the CAKE_CORE_INCLUDE_PATH is automatically altered and may need to be changed when moving to a production environment. "
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 19:31:29 +00:00
phpnut
cb53dc61b0
"Closes #2897 , Built-in file validation.
...
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
gwoo
1b10036712
updating model task, fixes #3782
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6275 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:48:00 +00:00
gwoo
0a703ef8c0
adding 'cake bake all' see cake bake help for more info, also refactored tasks (api changes) and class registry, closes #1470 , closes #3612 , closes #2697 , closes #3412
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:24:56 +00:00
gwoo
ef3b73d690
adding plugin task, closes #965
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 02:54:45 +00:00
gwoo
10f259c95b
updating model task, fixes #3610
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 07:21:46 +00:00
phpnut
cae7db2011
"Updating console scripts to use App::import()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6013 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 17:37:23 +00:00
gwoo
05a5aa3bc7
updating bake test file generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5963 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-07 19:34:06 +00:00
phpnut
90d6659918
Correcting file naming for test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5962 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-07 19:26:31 +00:00
mariano.iglesias
897825d596
Adding documentation to classes belonging to Cake console.
...
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
gwoo
08b690d196
updating db connection setting for model task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 20:47:37 +00:00
phpnut
563019c91f
Closes #3123 , Unnecessary comment generated by bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5660 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:56:55 +00:00
phpnut
b91f9b087d
Fixes #1166 , bake.php ability to supply alternate database configurations.
...
Removed debug code from FolderTest
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5640 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:23:30 +00:00
phpnut
a41b962ae5
Fixes #3147 , Bake not detecting all associations
...
Fixed typo in DboSource::name()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5622 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:18:52 +00:00
gwoo
8bb67d9f6a
Adding Schema support, updated fixtures, deprecated loadInfo, changed Dbo::describe in all dbos, fixed tests,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 21:46:59 +00:00