Commit graph

10995 commits

Author SHA1 Message Date
Renan Gonçalves
ed96936ea7 According to CakePHP conding styles, methods prefixed by _ are protected. Changing where it makes sense and don't break anything. 2011-05-30 22:26:42 +02:00
Renan Gonçalves
438050dcaa Adding 'public' visibility to all public methods. 2011-05-30 22:02:32 +02:00
Renan Gonçalves
9f9b36830a Fixing the bake_test_app path, so any remaining file will be removed at the end of the test. 2011-05-30 21:14:21 +02:00
Renan Gonçalves
d0af5c78d5 Fixing the path used to create fixtures. 2011-05-30 21:04:38 +02:00
Renan Gonçalves
f55fa4d026 Removing the specific getPath() method, it was giving the same result as the parent one. 2011-05-30 20:52:58 +02:00
Jose Lorenzo Rodriguez
8671aa38b2 Updating version numbers to 1.3.10 2011-05-30 09:27:35 -04:30
Graham Weldon
9402f6627f Added notice about SimpleTest compatability.
Fixes #1333.
2011-05-30 21:48:38 +08:00
Jose Lorenzo Rodriguez
0d1ae69a5a Fixing small mistake from last commit trying to improve styles for url rewriting detection notice 2011-05-30 09:04:13 -04:30
Jose Lorenzo Rodriguez
d51e902036 Improving styles for url rewriting detection notice, and copying it to the skel app 2011-05-30 09:01:26 -04:30
Renan Gonçalves
88db6f328b Fixing tests to reflect last changes made on TestTask. 2011-05-29 19:42:13 +02:00
Renan Gonçalves
7f198436c6 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-29 16:52:37 +02:00
ADmad
26dc6c8048 Merge pull request #105 from tPl0ch/2.0-bake-controller
Unloading TestPlugin in ShellTest
2011-05-29 07:49:58 -07:00
Thomas Ploch
3c996bb96a Addition to commit a80d82e4a0. Adding unloading of TestPlugin in ShellTest. 2011-05-29 16:43:07 +02:00
Renan Gonçalves
2878614ca4 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-29 14:01:51 +02:00
ADmad
c5a2efc5dd Merge pull request #103 from tPl0ch/2.0-bake-controller
2.0 Shell - Wrong underscore naming of Shells and Tasks
2011-05-29 04:56:40 -07:00
Thomas Ploch
a80d82e4a0 Fixed Shell naming from using Inflector::underscore() to Inflector::camelize(). Added small test case for Shell naming. Fixed missing CakePlugin::load() call in ShellTest. 2011-05-29 12:32:30 +02:00
Renan Gonçalves
c9a6905dc9 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-29 00:02:53 +02:00
ADmad
4c042ae133 Adding proper visibility keywords for class functions 2011-05-29 03:31:34 +05:30
Renan Gonçalves
df7066854f Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-28 23:24:22 +02:00
ADmad
e5f2f6a236 Fixing test cases 2011-05-29 02:50:09 +05:30
ADmad
b6588066c8 Fixing test cases 2011-05-29 02:38:22 +05:30
mark_story
3f5850913a Fixing Xml::toString() not slugging elements with no children.
Thanks to jeremyharris for the patch.
Fixes #903
2011-05-28 16:19:54 -04:00
mark_story
b76901eb43 Ensuring that nested cookie values are deleted.
Cookies created with write('Foo', $array) would not get proper
recursive deletion done.
Fixes #1651
2011-05-28 14:21:50 -04:00
mark_story
b64b1219c4 Fixing CakeLog::handleError() being called too often.
Adding a PHP5 conditional, so custom error handlers are not called
for errors not in the configured masking.
Fixes #1735
2011-05-28 13:59:56 -04:00
Mark Story
80b70c100e Merge pull request #100 from kamui545/2.0
Fixed 'require' error in ACLBehavior in CakePHP2.0
2011-05-28 08:49:09 -07:00
Cauan Cabral
5fd19266ba Updating MediaView test
UPPERCASE extesion test included

Signed-off-by: mark_story <mark@mark-story.com>
2011-05-28 11:47:37 -04:00
Cauan Cabral
684c377d0b Handling files with Uppercase extesion name
MediaView fixed to work correctly with file names when file extesion is UPPERCASE

Signed-off-by: mark_story <mark@mark-story.com>
2011-05-28 11:44:36 -04:00
mark_story
f905237303 Adding missing import. Fixes #1736 2011-05-28 11:42:20 -04:00
Maggion Emmanuel
8a701f3ac9 Fixed this following error: failed to open stream: No such file or directory [CORE\Cake\Model\Behavior\AclBehavior.php, line 52] 2011-05-28 06:45:06 -07:00
ADmad
40c397b003 Merge pull request #98 from majna/2.0
Fix for wrong callback in $callbacks array: renamed afterError to onError
2011-05-27 15:02:48 -07:00
Majna
17384f3cf4 Fix for wrong callback in $callbacks array: renamed afterError to onError 2011-05-27 23:23:11 +02:00
Ceeram
2d78d59a7b Small optimization, remove unneeded else 2011-05-27 23:13:57 +02:00
Jose Lorenzo Rodriguez
e669a81e0a Reverting change in ConnectionManager, sourceList() will only return the instantiated datasources
Fixing remaining tests failing due to contamination of loaded plugin is app
2011-05-27 02:28:38 -04:30
Jose Lorenzo Rodriguez
aca592ad93 Avoiding the use of default connection in schema shell tests 2011-05-27 02:18:36 -04:30
Jose Lorenzo Rodriguez
b320e4323f Improving ConnectionManager tests 2011-05-27 02:13:35 -04:30
Jose Lorenzo Rodriguez
2c32d34faf Removing more dead code 2011-05-27 01:48:28 -04:30
Jose Lorenzo Rodriguez
1f6c5fbc87 Removing dead code 2011-05-27 01:47:22 -04:30
Jose Lorenzo Rodriguez
ad456bd479 Removing code that should not have existed in the first place 2011-05-27 01:42:03 -04:30
Jose Lorenzo Rodriguez
faa8b3d324 Avoiding the load of default connection in Sanitize test 2011-05-27 01:40:25 -04:30
Jose Lorenzo Rodriguez
01f6744e35 Removing unneeded line in ConnectionManager 2011-05-27 01:31:50 -04:30
Ceeram
005c690d94 Fixing incorrect filename for FormAuthenticateTest 2011-05-26 21:44:45 +02:00
Ceeram
266058e67a Moving the sort to also sort plugin objects, sorting in test removed 2011-05-26 19:33:36 +02:00
Ceeram
cea4e4e98e Sort objects before storing 2011-05-26 19:16:17 +02:00
ADmad
6b7dbcdd1c Adding warning message on homepage for misconfigured URL rewriting. Closes #1577 2011-05-26 20:35:28 +05:30
Ceeram
964ff45a41 Fixing assumptions parameter order 2011-05-26 16:54:31 +02:00
Ceeram
26588827dc Fix incorrect exceptions message for missing plugins 2011-05-26 16:24:54 +02:00
Ceeram
5f97292648 Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls 2011-05-26 15:31:40 +02:00
Renan Gonçalves
3f72c92226 Removing the unset(->db); since it trigger errors by the Fixture Manager when it tries to drop the created tables. 2011-05-24 19:56:45 +02:00
Renan Gonçalves
2ca849a068 Tests no longer have access to ->_fixtures, refactoring it to use Fixture Manager instead. 2011-05-24 19:56:04 +02:00
Renan Gonçalves
33d00380ed Fixing cross database tests by making sure the fixture was created for the right database. 2011-05-24 19:32:38 +02:00