Commit graph

514 commits

Author SHA1 Message Date
mark_story
1654c3f339 Updating links to SimpleTest in Shell. Fixes #6162
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8073 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-04 01:17:44 +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
nate
c200fcb062 Updating and refactoring help text for Cake console, adding support for reverse-route lookups 2009-02-06 18:12:18 -05:00
mark_story
7421729159 Removing DB2 specific documentation. Docs updated in cookbook.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7968 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-31 15:30:11 +00:00
mark_story
0c29a7e1b1 Updating Schema shell so before() and after() are properly triggered. Fixes #5918
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7952 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 20:30:20 +00:00
mark_story
8a0fb1904a Applying patch from teemow, fixes schema file generation so files with trailing characters do not match. Fixes #5854
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7905 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-05 17:01:20 +00:00
mark_story
b2b4c4be47 Adding App::import() to app_helper files. Fixes issues with Missing Helper Class, and allows you to use helpers in shell classes. Fixes #5458
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-05 16:49:43 +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
mark_story
063345e89e Fixing Cache-control headers in css.php to reflect proper HTTP 1.1 spec and agree with Expires header value. Fixes #5777.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7883 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-21 04:29:22 +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
renan.saddam
cd3aaf141d Removing unused tests route according to [7524]. Closes #5694.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7820 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-03 18:27:56 +00:00
john
72bd7ba04b Adding @link tag to class definition.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7814 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:47:43 +00:00
john
d17cbbc7ca Adding @link tag to class definition.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7813 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:47:01 +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
gwoo
1a3e2df8bb updating handling of shell in the registry, fixes #5680
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7798 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 19:25:49 +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
f554d321b2 Fixing schema file regexp, to ignore .sql files. Fixes #5616
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 03:51:03 +00:00
renan.saddam
24949e30e0 Added tests to PagesController and removed twice call to count().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 23:52:54 +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
mark_story
f94bc3e4bc Adding Test case for Shell
Adding Comment Model to test_app
Fixing Plugin model loading in Shells, fixes #5566

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7726 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 02:14:57 +00:00
AD7six
488f1f41ee correcting test to use DS rather than / seperator
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7721 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:42:10 +00:00
AD7six
ad059df35d changing simpleTest test to use app import
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7720 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:23:17 +00:00
mark_story
fb4277a852 Updating css.php to use App::import(). Closes #4613
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7717 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 03:43:42 +00:00
nate
0c64ddfa49 Copying changes from app/webroot/js/vendors.php to cake/console/libs/templates/skel/webroot/js/vendors.php, fixes #5508
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 14:32:54 +00:00
mark_story
bd57349665 Updating help for schema shell. Clarifying use of schema dump.
Reformatting help for other commands.  Closes #5407

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7661 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 03:50:45 +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
nate
f695170365 Fixing console routing commands and implementing route loading so commands work with lazy route compiling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7635 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 21:33:59 +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
mark_story
84b6d1b66c Removing pear from supported list of drivers. Adding odbc. Closes #5349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7530 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 16:47:30 +00:00
gwoo
173e53eb25 closes #5324,applying patch from davidpersson for typos in schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7512 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:39:18 +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
582d8277fd fixes #5119, PDT warning in acl.ini.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7473 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-16 18:04:28 +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
mark_story
0f8326e376 fixing error from earlier
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7432 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 02:53:56 +00:00
mark_story
e7e43252f3 Allowing overriding of schema class and file name. Closes #5175. Fixed issue with php4 compatibility in CakeSchema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 19:46:44 +00:00
DarkAngelBGE
b3f06defcd adding workaround for schema generate snapshot. Fixes #5159 Adding documentation for schema generate snapshot.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7429 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 16:53:39 +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
993bee59fa Moving charset meta tag above title tag. Closes #5107
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7344 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:07:42 +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
mark_story
c53669f928 Updated CSS files to remove display:block property on all inputs. Added additional padding to radio buttons. Closes #5073
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7337 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-13 23:28:45 +00:00
mark_story
96fa4e4db1 Updated skel/config/routes.php to reflect .ctp extension. Fixed spelling error. Closes #5084
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 17:37:32 +00:00
gwoo
a764b471f6 closes #5011, target _blank for all html links that open new windows
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:44:23 +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
gwoo
ef92581451 updating comments in core.php, closes #4979
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7250 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 22:58:06 +00:00
gwoo
72620bec84 fixes #4967, schema printing error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7241 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:53:30 +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
dd909280e5 closes #4837, updated usage of ini_set in index.php and test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7214 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:45:54 +00:00
gwoo
21e23ba0bd fixes #4945, shell initialize loading models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7211 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:20:05 +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
phpnut
6807d4c333 Starting initial refactoring of current code base.
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
DarkAngelBGE
0031c3c71e adding code coverage support to the skel test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7153 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 14:03:40 +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
mark_story
b05185f08a Fixed issue where 'cake bake all' would not allow continuous execution.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7121 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 02:23:18 +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
gwoo
a7289ff89d updating cache engine to better deal with prefixes for multiple apps. Allows fully or partially overriding core settings from core.php. fixes #4810
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7089 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 17:35:56 +00:00
gwoo
6c48154725 updating images/icons with optimized versions. thanks mjc
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7087 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 04:30:14 +00:00
mark_story
1bc9d198cc Updating skel/cake.generic.css to remove validation warnings. Added test icons to test suite.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7086 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 03:36:20 +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
the_undefined
08c5472a3e Fixed syntax error, closes #4742
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7022 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:24:58 +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
nate
6c5f98ddec Fixing ACL interface class names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6999 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 02:00:36 +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
DarkAngelBGE
45bccc5215 optimization refs #3415
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6970 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 20:36:39 +00:00
DarkAngelBGE
3a77f6abc8 removing unused code from Shell::createFile(), fixes #4346
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6963 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 08:11:37 +00:00
DarkAngelBGE
d06dd6c713 closes #4469
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6958 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 07:29:52 +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
DarkAngelBGE
e42076b9c2 adding CLI exit code to testsuite shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 08:00:46 +00:00
phpnut
9d9d69d194 Fixing svn props on files.
Renamed sessionHelper.ctp
Fixed test case with proper layout name

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6880 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:13:44 +00:00
nate
b489bb1470 Cleaning up PagesController, fixes #4640
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6871 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 21:34:26 +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
5c1878afec Removed the Model cache engine for architectural reasons, closes #4415
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:25:19 +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
DarkAngelBGE
44fae51ce8 aggregate code coverage for groups
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:27 +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
gwoo
7ab5c20577 some clean up related to testsuite shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6741 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:39:36 +00:00
gwoo
f6a78538ff updating shell, fixes #4540 where shell name and model are the same
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 04:44:21 +00:00
DarkAngelBGE
471b6b0e2d coverage manager fix windows IE styles,
testsuite help page typo fixes #4551


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 14:08:29 +00:00
DarkAngelBGE
f9ec1e752d code coverage analysis for cli,
fixing CliReporter extending SimpleReporter and not TextReporter (to enable the printing of exceptions in cli)
some minor refactorings

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 21:03:51 +00:00
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
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
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
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
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
53ff7d9904 Removing unused directories from app/pages.
Merging changes from app/ to skel/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6314 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 21:33:51 +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
nate
5abe66289d Implemented 'counterCache' and 'counterScope' for belongsTo associations
Exempted 'created', 'updated' and 'modified' fields from whitelist when saving, closes #3720
Updated Model::bind(), closes #2355
Adding Model::saveAll() to save multiple records and associated records, closes #3615
Replacing Model::generateList() with Model::find('list'), deprecates Model::generateList()



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 19:34:40 +00:00
nate
6a2a24cfc9 Updating help text for ACL shell interface, fixes #3790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:30:46 +00:00
gwoo
cedaddbc08 updating controller task with i18n wrappers, closes #3490
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:27:53 +00:00
nate
368b085c94 Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
gwoo
040f9cca8b updating plugin task, fixes #3781
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:53:58 +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
99da081907 updating dispatcher, fixes #3773, fixes #3783, fixes #3779, updating default layouts, adding Debugger::dump($var); and some other changes for exporting string vars
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:22 +00:00
gwoo
4f97057a62 fix for DbConfig task caused when plugin support was added to bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:41:56 +00:00
gwoo
d7926aaaad adding context and trace to other debugger output formats. adds E_USER_ERROR to fatal
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 23:47:46 +00:00
gwoo
17610a5287 closes #3302, Render is to meant to output and allow the program to continue executing. Redirect generally serves to stop the program and start fresh with something new. This changeset makes exit the default behavior on redirect.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6208 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:17:48 +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
81b074cf1f adding Paginator::first() and last() methods, also adding them to numbers, tests added, closes #3709, closes #3208, closes #3465, closes #2412, closes #2954
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:03:48 +00:00
gwoo
34fb530de5 oops forgot to add plugin task file on commit. fixes #3758
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6180 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 16:28:52 +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
1752d936d9 updating controller task, fixes #3728, removing \ from view task, fixes #3750
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 23:03:52 +00:00
gwoo
1d6a63a29a updating schema create
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6171 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-18 18:19:30 +00:00
gwoo
01b52fec4a updating schema, fixes #3718, added $cache param to Configure::listObjects(), updating view tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 02:06:10 +00:00
phpnut
26247895aa Copying email templates to skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6154 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 21:12:37 +00:00
gwoo
98859c8c72 updating FormHelper to use fieldset instead of p. Inline styles are still used on these elements. We are not promoting the use of inline style, merely attempting to make life easier. Also, this adds a fieldset to multiple checkboxes if there is a group and also wraps the multiple checkboxes in divs and provides proper label for and input id attributes. also some changes to generic css to handle markup. Closes #3703
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 00:46:21 +00:00
gwoo
d793d40dac update api shell core paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6082 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 03:22:32 +00:00
gwoo
39b37c5c34 updating api shell, will now show comments about a method. normalizing paths in configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 03:08:50 +00:00
gwoo
838dd9022d updating shells for new App::import
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6078 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 18:49:41 +00:00
gwoo
b6b192fda6 adding i18n and sessions schema files. command modified slightly to : cake schema run create DbAcl, cake schema run create i18n, and cake schema run create Sessions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6077 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 16:01:49 +00:00
gwoo
ff8faa5318 updating AclShell, added check comand, closes #2780
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6076 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 15:27:42 +00:00
gwoo
caefdbb6d7 updating console params, schema, db acl schema, and deprecated api shell initidb in favor or cake schema run create -name DbAcl, closes #3566
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 23:12:57 +00:00
phpnut
73e57b27d7 Renaming files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6071 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 18:45:18 +00:00
gwoo
7fae75753d updating home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6070 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-24 18:40:56 +00:00
gwoo
901d785fa2 adding db_acl_schema.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6067 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 19:25:19 +00:00
gwoo
8cdc99d530 updating skel home page, fixes #3636
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6066 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-23 18:23:13 +00:00
gwoo
681c449f35 updating COMPRESS_CSS doc bloc, fixes #3529
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6052 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:57:57 +00:00
gwoo
b5173d0349 updating cake.generic.css, fixes #3616
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6049 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:31:00 +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
nate
f9e8e82b5b Fixed debug output style for displaying whitespace
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6016 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 23:13:52 +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
597026bc4c adding additional drivers to db config task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5977 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 15:50:33 +00:00
gwoo
2edfe3dd53 updating Controller::redirect(), closes #3522, deprecated Controller::cleanUpFields, see Model::deconstruct()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5973 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 02:34:00 +00:00
gwoo
431f2c2a88 updating schema generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5969 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 19:06:06 +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
phpnut
67164f18ce Closes #3519, Broken pot files multiple files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5958 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 05:20:35 +00:00
gwoo
5ccea91b91 updating error handling: messages, templates and css, updating home page messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5943 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 07:03:57 +00:00
gwoo
67a024d0f1 updating bake view.ctp, fixes #3518, thanks ralph
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5938 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-02 20:06:12 +00:00
gwoo
00db8647f5 updating ControllerTask, fixes #3487
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5937 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-02 06:43:17 +00:00
gwoo
5df0a571dc updating baked view.ctp, fixes #3512
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5936 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-02 06:26:39 +00:00
gwoo
72a4970764 updating scaffold and baked views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5922 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 19:32:53 +00:00
phpnut
6dabd38589 Correcting undefined variable notice
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5920 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 04:00:28 +00:00
phpnut
3ce7ff6d8e Refactoring of scaffold and bake.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5918 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:14:07 +00:00
phpnut
6ab2b013bc Initial refactoring of scaffold and bake.
Removing unused vars

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5917 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:04:08 +00:00
gwoo
fbd3811cd1 removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00
gwoo
ae9cdb78f4 fixed usage of empty params in ShellDispatcher, fixed missing variable in ProjectTask, updated SchemaShell and generation. Schema can now generate a snapshot, and can be forced to generate before models are created. Added 'run' command to handle create and update of the database. Test runs can be performed using -dry. Be sure to check out cake schema help.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5908 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:00:29 +00:00
nate
ce2f730320 Fixing API shell script to work with core classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5900 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 03:21:33 +00:00
gwoo
3b60dd5d5f adding File::prepare() for fixing line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5899 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 03:10:31 +00:00
gwoo
c68aedb9c4 removing line ending code from File::write(), adding it to bake, fixes #3460
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5897 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-25 02:22:40 +00:00
phpnut
3b758d3979 Fixes #3447, core.php commented cache::config typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5886 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-24 11:39:05 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
160cd28440 Correcting @return int
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:11:12 +00:00
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +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
nate
3f3bfa4a56 Adding $scripts_for_layout back to default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5844 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 01:43:56 +00:00
gwoo
4330ce884d updating default layouts and tests previous commit removed unused images and added new ones for new layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5841 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:50:09 +00:00
gwoo
77d77c3f78 updating default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5840 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:49:28 +00:00
nate
712276510e Adding $scripts_for_layout to default layout (Ticket #3336)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5828 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 06:06:23 +00:00
phpnut
e750c9d38f Closes #3318, When model calls invalidate, it would be usefull to use the __(messageID, true)
Fixes #2603, Scaffold edit() should redirect to index() when no record is found.
Closes #2990 cake_sessions Needs A Database Name Setting, Configure::write('Session.database', 'default')
Closes #3120, database - $config['encoding']; added new settings to database.php.default
Corrected errors when setting database configurations from console, would not allow changing setting on old configuration.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5815 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 10:14:30 +00:00