Commit graph

392 commits

Author SHA1 Message Date
AD7six
51503d45c8 updating the console to use Configure::read('vendorPaths'). This will allow otherwise hidden shell tasks to be listed in the main console index.
Inaccessible (overriden) shells are not listed.
minor format changes


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7727 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 15:47:06 +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
phpnut
cb487bd6e6 More optimization refactoring.
Fix cache but causing  object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +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
3e8c2ad204 lets see if this closes #4982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7263 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 06:05:15 +00:00
gwoo
cf25e1eb55 fixes #4982, params in console when baking app
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7261 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 03:50:11 +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
8ff4ae273c proper fix for #4931
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7202 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:06:05 +00:00
gwoo
ccddcec642 fixes #4931, array_intersect_key() error in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7201 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 04:30:38 +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
gwoo
76acfafa5a fixes #4848, console building paths when config does not exist.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7138 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 22:09:40 +00:00
gwoo
8c1566b1a3 fixes #4849, DS in WWW_ROOT of console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7123 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:52:42 +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