Commit graph

167 commits

Author SHA1 Message Date
mark_story
b4f6dd9c6e Adding tests and support for binary columns in model task. Fixes #241 2009-11-04 22:57:43 -05:00
Gordon Pettey
2e3bbe363d Array coding convention and extraneous punctuation
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 16:38:27 -04:00
mark_story
72830cb125 Adding test case for model task
Fixing missing case for float datatypes when generating fixtures.
Fixes #204
2009-10-24 11:26:06 -04:00
mark_story
0657afcf30 Removing use of low() from core classes. Refs #6525 2009-10-21 13:03:24 -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
DarkAngelBGE
9eaad7528f Removing usage of up() and low() from core
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8253 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 21:04:40 +00:00
mark_story
f712d84d33 Applying patch from 'slywalker'. Updating datetime generation in baked files.
Fixed #6505

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8229 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-14 02:30:51 +00:00
mark_story
a2a7727c00 Fixing plugin prefix handling when using plugin task to bake plugin controllers. Plugin Models are correctly found, allowing bake to work.
Fixes #5069

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8199 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-17 02:17:18 +00:00
mark_story
cd90f8c74b Fixing persistent option being forced to false when new database connections are baked. Fixes #6350
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8171 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-09 14:24:44 +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
renan.saddam
78daa13900 Defining the default answer as the current path. Fixes #6204
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8115 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-18 00:43:21 +00:00
mark_story
1497fddf80 Applying patch from 'rafaelbandeira3' fixing formatting of generated code to better follow cake coding standards. Fixes #5754
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8082 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-08 18:05:18 +00:00
mark_story
2a36e5f8cd Adding Test case for TestTask
Fixing path appending issues caused by continual baking.
Fixes #6099

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8027 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 14:22:11 +00:00
nate
440c629931 Fixing glob() handling in extract shell, added extract shell test, partial fix for #6044, code formatting changes in CakeTestCase.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8026 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 06:22:34 +00:00
mark_story
6f51f9ea2b Fixing test and fixture generation. removing use of start() and replacing with startTest(). Changing length of lorem text for text field type as well.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7903 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-03 20:24:24 +00:00
renan.saddam
6319f8ea69 Removed trailing whitespaces from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +00:00
renan.saddam
50752a840a Added support to multiline plural message string. Fixes #5663.
Converting "\r\n" (Windows) to "\n" (Non-Windows) when extracting and when translating the message.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7834 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 22:57:50 +00:00
AD7six
3f2fa6929b changing tabs for spaces in comment block indentation
Removing address and replacing with cakefoundation url


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
1b456f2cf1 Applying patch from 'davidpersson' fixing code spacing. Closes #5643
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
mark_story
1aa0fc069a Updating baked model tests to reflect newer style of test that uses ClassRegistry::init() instead of a TestModel class. Refs #5549
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7747 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:00:53 +00:00
gwoo
7266f86d14 fixing some errors in schema and test shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7657 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 13:49:37 +00:00
DarkAngelBGE
19d4f3d596 adding a couple 'return home early' refactorings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7572 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 20:33:48 +00:00
gwoo
e632f79c49 fixing view baking based on methods in the controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7564 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 13:12:27 +00:00
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
gwoo
78a2eb2723 fixes #5194, cake bake with no params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7499 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 18:52:50 +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
mark_story
2e5532348d Removed end of generated file whitespace from plugin bake task. Closes #5102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7341 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:34:03 +00:00
DarkAngelBGE
90d243aabc adding constructClasses() call to controller test generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7301 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 12:36:20 +00:00
nate
df75a06756 Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +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
1e231e9511 some cleanup, wrapping uses() in class exists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
gwoo
9f3aa66101 removing _stop from baked controllers that do not use Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7141 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 15:47:06 +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
gwoo
394fe24e90 closes #4776, cleaning up output from console shells
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7100 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 05:11:04 +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
the_undefined
b1ff00d0d3 Made schema available to bake view templates, fixes #4216
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6949 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 05:38:32 +00:00
gwoo
18b627636b updating cake.test.php, fixes #4638. updating cake.php, fixes #4648 (with tests), updated Cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 19:43:55 +00:00
the_undefined
82d595551c Fixed typo in DbConfig task, closes #4618
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6829 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 02:38:41 +00:00
gwoo
9982a30eea cleaning up DbConfigTask
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6789 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 05:37:21 +00:00
gwoo
2e1f8c6303 updating bake project, dbconfig, fixes #4563 now using int for port
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6763 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:42:02 +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