Commit graph

308 commits

Author SHA1 Message Date
DarkAngelBGE
e38afee93d code coverage support for plugins
typo fix in testsuite shell

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 18:24:52 +00:00
DarkAngelBGE
5ea06cb29c adding testsuite shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6733 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 17:59:31 +00:00
nate
d8cb269dc3 Removing greeting from console apps
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6690 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:30:09 +00:00
nate
6a6928e084 Adding array index fix for loading vendor files in console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:29:46 +00:00
mariano.iglesias
fe350cc04a Adding documentation to show proper usage of cake schema run with a specific table, closes #4474
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6676 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 22:07:03 +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
phpnut
a9d4e821a8 "Fixes #4379, cake bake project - does not set CAKE_CORE_INCLUDE_PATH in test.php"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6603 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:51:02 +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
df15244909 fix for console on php 4 probably also related to #4326 & #4337. Thanks for testing sdevore.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6579 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 04:46:35 +00:00
gwoo
db19cb01fd forgot to add TestTask, fixes #4350
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6578 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 01:48:58 +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
3a67bdc06d fixing some errors in bake view task when no model schema is available
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6566 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 15:32:24 +00:00
phpnut
acc79fe0f3 "Closes #2508, Allow requestAction to use array urls
Fixes #4325, error pages no longer displayed since changeset
Closes #4329, remove am() usage in core"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
gwoo
4389da119d fixes #4221, AclShell <model>.<id> format
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6544 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:31:44 +00:00
gwoo
c64d4a88f0 fixes #3892, irregular plurar not reflected in baking
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6539 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 17:44:50 +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
b3842566dc removing irrelevant error message, fixes #4051
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6529 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:18:59 +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
10bdc235ee updating test suite for plugins, closes #4107, closes #2777. requires update to test.php.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6527 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:07:56 +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
phpnut
2e3391006f "Fixes #4201, Cake i18n script in command line.
Fixed i18n shell to prompt for task commands.
Changed i18n shell to create database tables using schema
Changed acl shell to create database tables using schema"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 07:14:33 +00:00
nate
1960be0dfa Deprecating vendor() and removing all instances from the core, fixes #4016
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6497 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:23:32 +00:00
gwoo
815983cd74 adding patch for AclShell::setParent(), fixes #4240
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6486 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:22:29 +00:00
nate
3a11fe2340 Refactoring find types in Model::find()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:50:38 +00:00
nate
048626c547 Fixing placement of charset tag in layout templates, fixes #4200
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6474 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:47:41 +00:00
nate
3bc622b250 Implementing non-interactive mode in console scripts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6470 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 02:44:45 +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
nate
6f73e4fd76 Updating database config docblocks and removing extra db-specific options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6429 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 01:28:43 +00:00
gwoo
f598b58465 updating console so shells and tasks do not have to extend Shell, updated error handler params and maintained backwards compatibility closes #3538, updated Object::cakeError to add app_error, closes #3982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 20:32:10 +00:00
nate
074cfeb75d Fixing Configure::listObjects() to not return incorrect core classes, closes #3954. Adding route testing support to cake console.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 04:14:58 +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
nate
188ff4737d Removing database-generated primary keys from fixture data, fixed primary key handling in schema generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 07:02:33 +00:00
gwoo
74e77b7eab adding connection param to schema shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6352 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 14:44:02 +00:00
nate
7268121495 Correcting parameter declaration in API shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6349 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:25:37 +00:00
phpnut
15be9d3cb9 "Fixes #3862, set_time_limit(0) has no effect because of ini_set('max_execution_time', 60 * 5);
changed max_execution_time , 0. Since php 4.3 this is the default anyway"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 13:53:03 +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
6e1f2fe457 Fixes #3817, Some non-executable files in source tree have executable permissions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 18:05:55 +00:00