Jose Lorenzo Rodriguez
e2591537ed
Fixing error in Task tests
2011-04-21 18:57:21 -04:30
Jose Lorenzo Rodriguez
8dc675335a
Small refactoring, and adding some App::uses() to avoid problems
2011-04-21 17:56:03 -04:30
Jose Lorenzo Rodriguez
a8c2dbfd72
Fixing tests related to PluginTask
2011-04-21 17:55:35 -04:30
Jose Lorenzo Rodriguez
cf73c1da3a
Removing refactoring artifact in TestsuiteShell
2011-04-21 13:31:34 -04:30
Jose Lorenzo Rodriguez
1014806c7b
Colorful error if not PHPUnit is found
2011-04-21 13:28:49 -04:30
Jose Lorenzo Rodriguez
8fa73e9650
Throwing an exception if no PHPUnit is installed and running from console
2011-04-21 13:26:50 -04:30
Renan Gonçalves
4409ca0e28
Fixing typo on file name.
2011-04-20 23:50:54 +02:00
Jose Lorenzo Rodriguez
b1e74cff5b
Fixing more path generation for plugins, and typo from previous commit
2011-04-20 11:32:16 -04:30
Jose Lorenzo Rodriguez
147b04ab59
Fixing more paths in skel directory for project generation
2011-04-19 13:04:12 -04:30
Jose Lorenzo Rodriguez
254225372a
Fixing problem with skel generation in project task
2011-04-19 12:14:02 -04:30
mark_story
63275626ee
Adding backwards compatible cookie reading back into CookieComponent.
...
Cookie values using the 1.x formatting will be read, and upon next write
be converted to json encoded values.
Fixes #1593
2011-04-18 22:07:45 -04:00
mark_story
d4ff39206a
Making CookieComponent use json_encode instead of a custom
...
serialization. Fixes issues where values containing | or , would be
handled incorrectly. Fixes #1593
2011-04-18 22:07:45 -04:00
ADmad
961208c9be
Fixed incorrect Controller object property name usage in Email component. Closes #1661
2011-04-19 00:38:51 +05:30
AD7six
da9ee49db9
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-18 12:06:11 +02:00
AD7six
0c2bc7f015
bye bye webroot/css.php
2011-04-18 12:05:50 +02:00
ADmad
3844966714
Changed default value for key 'last' in validator options to true. Also implemented ability to list messages for all failed validations for a field at once, instead of current display of just one message at a time.
2011-04-18 02:08:48 +05:30
AD7six
9ac79da3f7
don't repeat the default value in the message
...
the default value is the cli prompt anywaya
2011-04-17 18:17:25 +02:00
AD7six
1c62a66b0b
simpler bake prompt
...
we don't need to repeat the defualt path twice, and a user can just as
easily type "appname" instead of /some/absolute/path/appname
2011-04-17 18:12:25 +02:00
AD7six
4ab27d6fea
full paths are /not/ needed.
...
having the help/text state it is necessary is confusing
2011-04-17 18:08:10 +02:00
AD7six
e1cc348b35
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-17 18:05:17 +02:00
AD7six
010feb2092
prevent surpirses with Folder not being available.
...
Previously loading File would load Folder also - that's not true with
the new changes, ensure that the Folder class is regsitered with
App::users when the Folder class is used.
2011-04-17 18:03:43 +02:00
evilbloodydemon
86b76674d0
PhpDoc fixes
...
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-17 11:23:52 -04:00
AD7six
3ff9747d02
sync app core.php with tempalte core.php
...
don't use apc on the cli unless it's enabled - which by default it is
not
2011-04-17 11:48:51 +02:00
AD7six
eb66cd352e
in the event of a cache-write error include the engine name
...
Especially if the engine is a variable, it's important to know which
engine had a problem writing to the cache
2011-04-17 11:45:32 +02:00
AD7six
65121a4292
apc is disabled on the cli by default
...
Therefore, on the cli if the extension is loaded - it's necessary to
check if it's also enabled. Otherwise on the cli there will be no cache.
2011-04-17 11:42:04 +02:00
Renan Gonçalves
3f4f9d0890
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-17 08:29:25 +02:00
Renan Gonçalves
5280f5aa5c
Fixing the CAKE_CORE_INCLUDE_PATH, including the new 'lib' namespace.
2011-04-17 08:29:02 +02:00
Jose Lorenzo Rodriguez
f14a295a3e
Adding a ConenctionManager::drop() method useful for testing and other dynamic tasks
2011-04-16 22:57:05 -04:30
ADmad
c80a51a163
Splitting View::element() param $params into $data and $options. Removed param $callbacks, use key 'callbacks' in $options array instead. Closes #1646
2011-04-17 07:00:14 +05:30
ADmad
d83712ce43
Renaming Model::$_findMethods to Model::$findMethods and changing visibility to public. Closes #1328
2011-04-17 06:09:00 +05:30
mark_story
a7a076dbee
Fixing ExceptionRenderer so it can render exceptions that are subclasses
...
of CakeException that do not have custom templates, like ConfigureException.
Removing $lastError as it doesn't work.
Added tests.
2011-04-16 18:13:52 -04:00
AD7six
c1a8dbbce7
provide a default skel dir, and default to the core
2011-04-16 20:20:27 +02:00
AD7six
a0fce70c13
prevent undefined index error baking a new project
...
if you call `cake bake project` the skel param is not present
2011-04-16 19:22:53 +02:00
mark_story
0c4a16bc98
Fixing missing import for AppModel when baking with cake bake all
2011-04-16 09:33:16 -04:00
mark_story
a0660ffd9d
Fixing constants being incorrect when calling cake console from the root of the source tree checkout.
2011-04-16 09:32:54 -04:00
Jose Lorenzo Rodriguez
a07094fd69
Merge branch '2.0-class-loading' into 2.0
2011-04-11 23:32:38 -04:30
Jose Lorenzo Rodriguez
7b8d395cb0
Fixing last few errors after folder renaming
2011-04-11 23:31:00 -04:30
Jose Lorenzo Rodriguez
998b04d438
Moving recently created files
2011-04-11 23:19:49 -04:30
Jose Lorenzo Rodriguez
9f5ab79abc
Fixing bake tasks after most recent changes
2011-04-11 23:01:48 -04:30
Jose Lorenzo Rodriguez
000e05b468
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
cake/tests/lib/templates/missing_conenction.php
cake/tests/lib/templates/missing_connection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/templates/missing_conenction.php
lib/Cake/View/Helper/FormHelper.php
lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
Jose Lorenzo Rodriguez
96baa3015e
Making all test groups run again,
...
small fixes in some tests to make them pass
2011-04-11 22:23:44 -04:30
Jose Lorenzo Rodriguez
75a1481e22
Fixing test loading in cli
2011-04-11 22:23:03 -04:30
Jose Lorenzo Rodriguez
9d90c555eb
Fixing constant use
2011-04-11 22:17:59 -04:30
Jose Lorenzo Rodriguez
cbdafb3f3b
Fixing TestsuiteShell test
2011-04-11 22:16:19 -04:30
Jose Lorenzo Rodriguez
1bbdefc4ad
Fixing some bake tasks
2011-04-11 22:15:51 -04:30
Jose Lorenzo Rodriguez
241a3bf624
Fixing ProjectTask tests and renaming folders in skel directory
2011-04-11 21:43:40 -04:30
Jose Lorenzo Rodriguez
85a7f74f30
Renaming folders in skel dir
2011-04-10 21:04:19 -04:30
Jose Lorenzo Rodriguez
910b64fcec
Renaming folders in app tests
2011-04-10 21:00:51 -04:30
Jose Lorenzo Rodriguez
662abd6419
Refactoring FixtureTask so it generates correct file names
2011-04-10 20:56:06 -04:30
Jose Lorenzo Rodriguez
d561460fda
Refactoring TestTask so it generates tests according to the new file naming standard
2011-04-10 20:49:16 -04:30