Commit graph

1204 commits

Author SHA1 Message Date
Niles
1079889d9f fix missing uses command in bake template. fixes #1770. 2011-06-12 11:54:47 -04:00
mark_story
182a89b0a0 Fixing default/fallback url when no referrer is set.
Fixes #1761
2011-06-09 20:34:17 -04:00
mark_story
71e2c8e734 Changing how 'id' attribute is treated for multiple checkboxes.
Setting the id option, will now also override the generated id's for
checkboxes.
Fixes #1691
2011-06-06 22:32:55 -04:00
Maggion Emmanuel
21ba5a856f Fixing documentation 2011-06-05 02:59:54 -07:00
Mark Beukers
487c4d2a98 Fixed spelling mistake 2011-06-04 19:23:55 -07:00
ADmad
cb946bbcf3 Added warning message on homepage for misconfigured URL rewriting. Removed dead link for cakeforge.org 2011-06-05 03:34:28 +05:30
ADmad
ccc3b9dbb4 Updating docblock for Sanitize::stripScripts() 2011-06-05 03:19:12 +05:30
ADmad
6c8b7fd878 Fixing locales lookup folder name. Closes #1744 2011-06-05 02:46:02 +05:30
Vitor Pacheco
bfa7c12866 printing the legend of the forms in the templates 2011-06-04 14:42:22 -03:00
José Lorenzo Rodríguez
1b97846ad9 Merge pull request #112 from hiromi2424/2.0_html_coverage_reporter_javascript_error
2.0 html coverage reporter javascript error
2011-06-02 19:18:51 -07:00
mark_story
cbc7e82bd2 Fixing issue where Aro nodes would be incorrectly formatted for use
with the AclComponent.  Fixes #1749
2011-06-02 21:53:56 -04:00
hiromi2424
1e9af715cc removed invalid access modifier from javascript in HtmlCoverageReport 2011-06-03 10:52:43 +09:00
mark_story
2650bd4639 Adding missing import that causes a fatal error when a deep
value is written to Configure early on.
Fixes #1753
2011-06-02 21:05:10 -04:00
hiromi2424
dcbf36c10a fixed underscored plugin name for coverage, now it must be camel-cased. 2011-06-03 07:47:38 +09:00
Leonid Mamchenkov
8271970639 Fix for PHP notice (Fixes #1424) 2011-06-02 01:12:25 +03:00
Juan Basso
cb88b952f4 Supporting template/layout in plugins for CakeEmail. Fixes #1743. 2011-05-31 22:57:08 -04:00
mark_story
282196a7cd Fixing doc block for CakeRequest::$data. Refs #1746 2011-05-31 21:48:41 -04:00
Neil Crookes
ea82261ad8 Removing call to RssHelper::header() as method does not exit 2011-05-31 22:50:47 +01:00
Juan Basso
6f821e0d4d Changes relatives to templates from last commit. 2011-05-30 23:11:09 -04:00
Juan Basso
21348169fa Camelized templates folder. 2011-05-30 23:02:39 -04:00
Juan Basso
192812ee7f Updating the copyright to 2011. 2011-05-30 22:32:43 -04:00
mark_story
69c43a5762 Fixing issue where SecurityComponent::csrfUseOnce = false
caused forms that weren't the first to fail.
Fixes #1745
2011-05-30 21:49:18 -04:00
Juan Basso
aacb921695 Pattern to use skipIf in tests. 2011-05-30 20:51:36 -04:00
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
Renan Gonçalves
88db6f328b Fixing tests to reflect last changes made on TestTask. 2011-05-29 19:42:13 +02:00
Thomas Ploch
3c996bb96a Addition to commit a80d82e4a0. Adding unloading of TestPlugin in ShellTest. 2011-05-29 16:43:07 +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
ADmad
4c042ae133 Adding proper visibility keywords for class functions 2011-05-29 03:31:34 +05:30
ADmad
e5f2f6a236 Fixing test cases 2011-05-29 02:50:09 +05:30
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
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
Jose Lorenzo Rodriguez
93ac47fa60 Adding ability to ExtractTask to inspect models and extract the validation messages from them 2011-05-27 22:18:56 -04:30
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
991501d489 Implementing a new option 'exclude-plugins' from the ExtractTask 2011-05-27 15:55:50 -04:30
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
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
Renan Gonçalves
423fa8127e Skipping Oracle tests if not using Oracle configuration. 2011-05-24 18:45:10 +02:00
Renan Gonçalves
a6ed66892e Including SqlServer and Oracle tests to the AllDatabase tests. 2011-05-24 18:41:51 +02:00
Ceeram
aac8f6880f load the TestPlugin to avoid missing plugin exception in testInitialize() 2011-05-24 17:10:00 +02:00
Ceeram
76b3f5a21c removing unneeded App::build() calls in the tests, tearDown() already does this, also always build with App::RESET 2011-05-24 17:01:21 +02:00
Ceeram
14b065e229 changing AppImportTest classname to AppTest 2011-05-24 09:05:23 +02:00
Juan Basso
acc0660989 Changed the emails folder in layouts to CamelCased. Fixes #1730. 2011-05-24 01:05:29 -04:00
Juan Basso
3812ac70cb Fixed the default name of email transport. Fixes #1728. 2011-05-24 01:01:58 -04:00
Juan Basso
2ea5be5de2 Merge branch '2.0-mssql' into 2.0 2011-05-24 00:07:56 -04:00
Juan Basso
dee3efab49 Renaming the index name to be compatible with SQL Server. 2011-05-24 00:07:38 -04:00
Juan Basso
02d4188a29 Skipping tests that is not compatible with SQL Server. 2011-05-23 23:16:13 -04:00
Juan Basso
a744a74f1e Not changing to NULL strings. 2011-05-23 23:10:44 -04:00
Jose Lorenzo Rodriguez
a05607856a Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-23 11:05:33 -04:30
Jose Lorenzo Rodriguez
1e7bf963c3 Removing unused function App::setObjects() 2011-05-23 11:03:11 -04:30
Ceeram
37fcfb9c86 reset objects when using App::build() with App::RESET 2011-05-23 11:34:13 +02:00
Juan Basso
0ae9974b3f Updating the test to be compatible with others dbo drivers. 2011-05-23 00:31:21 -04:00
Juan Basso
7bae41c461 Fixed the error check in queries and storing the right value to last affected in non-select queries. 2011-05-23 00:22:08 -04:00
Jose Lorenzo Rodriguez
a2f725ff76 Fixing loading list of tests cases for plugins broken in recent commits 2011-05-22 22:58:52 -04:30
Juan Basso
39320ef352 Renamed the Mssql driver to Sqlserver. 2011-05-22 23:19:13 -04:00
Juan Basso
846634d729 Changed the test to be compatible with all tests. 2011-05-22 22:50:29 -04:00
Jose Lorenzo Rodriguez
8d52907be7 Merge remote-tracking branch 'origin/2.0' into 2.0 2011-05-22 21:55:07 -04:30
Juan Basso
76831863e3 Skipping tests that is not compatible with SQL Server. 2011-05-22 22:21:01 -04:00
Jose Lorenzo Rodriguez
5b8865a3a7 Making plugin routes load after app routes, closes #1722 2011-05-22 21:50:56 -04:30
Juan Basso
e049e35b5d Catching the error in execute for SQL Server to have the same behavior from the others drivers. 2011-05-22 22:16:22 -04:00
mark_story
87bccdafe6 Updating PluginTask to filter out paths that don't exist, and not offer
them as options for baking plugins into.  Fixes #1723
2011-05-22 22:04:08 -04:00
mark_story
68482be3f1 Updating path to match the one found in the repository. 2011-05-22 22:04:08 -04:00
mark_story
85752e21c1 Removing undefined variable use.
Making the plugin path match the old plugins directory.
2011-05-22 22:04:08 -04:00
Ceeram
95a5b99b0e Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-22 23:36:48 +02:00
Ceeram
661a0cca23 removing DS, App::core('Console') already ends with DS 2011-05-22 23:29:17 +02:00
mark_story
1d687214e9 Fixing ViewTask so it creates properly cased directories for 2.0.
Fixes #1725
2011-05-22 14:42:43 -04:00
mark_story
4d76840d44 Fixing 'no' option when baking projects. Replying no, will enter
iteractive mode now.  Fixes #1721
2011-05-22 08:56:19 -04:00
mark_story
2b20eb8999 Fixing issues with ProjectTask and absolute paths.
Fixes #1720
2011-05-22 08:49:51 -04:00
Juan Basso
195653bdfc Updated the Mssql tests with fixes of insertMulti. 2011-05-22 01:11:57 -04:00
Juan Basso
f0db55de6f Using dbo methods to manage the transaction. 2011-05-22 01:07:58 -04:00
Juan Basso
82e2d9e271 Updating model tests to support Mssql driver. 2011-05-22 00:59:15 -04:00
Juan Basso
ad67f3e1bc SQL Server PDO support prepare only to SELECT statements, others commands need to use exec method. 2011-05-22 00:49:49 -04:00
Juan Basso
968fa1d5ef Included an option to configure the prepate statement. SQL Server requires the cursor option to return the affected rows. 2011-05-21 22:40:30 -04:00
Juan Basso
11d249e43b Updating PHPDoc and method visibility. 2011-05-21 22:18:57 -04:00
Juan Basso
3e4cd4fdbb Removed the simulate flag that is not used. 2011-05-21 22:10:05 -04:00
Juan Basso
375f86d2a6 Changed the default empty value when create columns. 2011-05-21 21:50:25 -04:00
mark_story
3dcee7136d Bumping version number. Fixes #1724 2011-05-21 20:57:03 -04:00
mark_story
42b93dc29f Adding assert left out of previos commit. 2011-05-21 20:21:15 -04:00
mark_story
438734c202 Improving code coverage in Configure. 2011-05-21 15:49:28 -04:00
mark_story
ed68368201 Fixing HtmlCoverageReport so it properly enables the test subject class as best it can. 2011-05-21 13:34:24 -04:00
Jose Lorenzo Rodriguez
bfcfa4c06e Marking 2.0.0-alpha 2011-05-20 22:18:14 -04:30
Jose Lorenzo Rodriguez
85c505fd4f Fixing recently broken tests 2011-05-19 21:35:51 -04:30
Jose Lorenzo Rodriguez
38ad1bfc62 Revert "Update App::objects() cache after App::build()."
This reverts commit f9b02dde44.
2011-05-19 21:31:02 -04:30
José Lorenzo Rodríguez
a718b1d91c Merge pull request #89 from sitedyno/2.0-cakeplugin-tests
2.0 cakeplugin tests
2011-05-19 14:05:18 -07:00
Heath Nail
f9b02dde44 Update App::objects() cache after App::build().
Prevents console from crashing because it would try to load test plugins
(from object cache) that it didn't know how to find.
2011-05-19 16:55:01 -04:00
Heath Nail
4ccf5c0885 Clear application plugins before running the first test. 2011-05-19 16:26:49 -04:00
Heath Nail
a7ec73b523 Update the object cache.
Keep application plugins out of core tests, otherwise tests will fail.
2011-05-19 16:25:25 -04:00
Florian Krmer
585160300a Fixing loading of plugin tests by adding Inflector::camelize() 2011-05-19 22:12:15 +02:00
Heath Nail
e645fa7340 Make baked plugin directories consistent with 2.0 conventions. 2011-05-19 13:06:12 -04:00
José Lorenzo Rodríguez
4d35d634c8 Merge pull request #85 from sitedyno/2.0-appshell
2.0 appshell
2011-05-19 08:08:57 -07:00
Heath Nail
eecd91e99f Load AppShell class. 2011-05-18 21:05:21 -04:00
Renan Gonçalves
c602fc845b Reverting the change to insertMulti, worked to solve the cache issue when trying to get the model schema. 2011-05-18 20:59:17 +02:00
Renan Gonçalves
37b9bd59bc Trying to fix the Mssql as much as possible.
Adding  parameter to the insertMulti() method because Mssql tries to get the table schema and it fails most of the time.
2011-05-18 20:12:36 +02:00
Renan Gonçalves
d1a984cde9 Resolving merge conflict. 2011-05-18 19:58:12 +02:00
Thomas Ploch
35a014045b Moved check for CakePlugin::loaded() out of if statement in CakeTestLoader::_basePath(). Plugin will only be loaded when the plugin tests are requested. 2011-05-18 17:15:39 +02:00
Thomas Ploch
2b17988cb7 Fixed small typo in CakeTestLoader.php. 2011-05-18 16:14:36 +02:00
Mark Story
c30ba40bd5 Merge pull request #79 from tPl0ch/2.0-errorhandler-rewrite
Rewrite of Fix for Ticket #1707.
2011-05-17 17:34:21 -07:00
José Lorenzo Rodríguez
b22c29cabe Merge pull request #82 from sitedyno/2.0-pages-dir
2.0 pages dir
2011-05-17 16:25:34 -07:00
AD7six
245d678eda Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
Conflicts:
	lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
2011-05-18 01:01:31 +02:00
AD7six
b1d891bb49 path correction 2011-05-18 01:00:00 +02:00
Heath Nail
930ef89f8c Pages directory should be capitalized. 2011-05-17 18:37:12 -04:00
Jose Lorenzo Rodriguez
27463da5ef Fixing fixture loading in plugins 2011-05-17 17:11:34 -04:30
AD7six
6e29bb4d94 fix ModelIntegrationTest part 1 2011-05-17 21:48:16 +02:00
Heath Nail
dc85d21f05 Dots appear in the text searched for, added to search pattern.
The define statement in skel/webroot/index.php contains dots. Added \.
to the search pattern so that bake will update the core path in
webroot/index.php
2011-05-17 14:34:10 -04:00
Jose Lorenzo Rodriguez
f645db61fb Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-17 12:45:45 -04:30
Jose Lorenzo Rodriguez
12e7347272 Fixing Scaffold tests 2011-05-17 12:44:38 -04:30
AD7six
83e7028ecd fix multibyte test case
put the mb_internal_encoding call in a file which is _always_ loaded
2011-05-17 18:41:35 +02:00
Thomas Ploch
d8a614e112 Added usage of configured error handler instead of hard coded. Moved try/catch block to where its nessecary. Set Configure::write('Error.trace', false) since its useless with internals. Addition to #1707 . 2011-05-17 08:44:55 +02:00
Jose Lorenzo Rodriguez
1b14887e3a Fixing all helpers tests after massing search and replace that broke parameter order on assertTags() 2011-05-17 00:06:22 -04:30
Jose Lorenzo Rodriguez
217e9e0330 Fixing test in I18n due to case sensitivity problems 2011-05-16 23:58:18 -04:30
Jose Lorenzo Rodriguez
ef663f7d3f Fixing more tests after the massive search and replace 2011-05-16 23:53:30 -04:30
Jose Lorenzo Rodriguez
7ef1a2995a Fixing failing tests due to massive search and replace 2011-05-16 23:45:35 -04:30
mark_story
cd13e37609 Adding tests for previous commit.
Refs #1678
2011-05-16 21:12:28 -04:00
mark_story
2bc58a5abd Added check if Router::getRequest(false) is returning a CakeRequest or null in ExceptionRenderer::_getController(). Fixes 'call to undefined method here()' when having Exceptions raised without valid request set to the Router in testsuite (i.e. undefined database config 'test'). Fixes #1678 .
Conflicts:

	lib/Cake/Error/ExceptionRenderer.php
2011-05-16 21:11:33 -04:00
Thomas Ploch
085c621c0e Added try/catch block into ErrorHandler::handleException() to gracefully show Exceptions raised during exception handling. Fixes #1707 2011-05-16 20:53:38 -04:00
mark_story
6289f20b83 Fixing Router::reverse() serializing all of _Token.
Removing CSRF tokens from the parameters SecurityComponent exports.
Updating tests for both Router and SecurityComponent.
Fixes #1697
2011-05-16 20:35:27 -04:00
AD7six
f2e953d892 Correct bad comparision
I can't be sure the result is correct - but the existing expected result
is identical to the input string. Which cannot be correct

test now passes
2011-05-17 00:54:13 +02:00
AD7six
0a53242e3e correcting all the inverted assertEqual tests
$expected is the first argument. Now certain test results start to make
sense:

	1) MultibyteTest::testUsingMbStrtolower
	Failed asserting that two strings are equal.
	--- Expected
	+++ Actual
	@@ @@
	-ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ
	+ⴀⴁⴂⴃⴄⴅⴆⴇⴈⴉⴊⴋⴌⴍⴎⴏⴐⴑⴒⴓⴔⴕⴖⴗⴘⴙⴚⴛⴜⴝⴞⴟⴠⴡⴢⴣⴤⴥ
2011-05-17 00:49:00 +02:00
AD7six
e24ef781e5 one less scaffold fail.. 2011-05-17 00:31:59 +02:00
AD7six
48ce54afec case fixes 2011-05-17 00:25:16 +02:00
AD7six
6695994cc2 case fixes 2011-05-17 00:23:58 +02:00
AD7six
e7c8dd1616 $expected is the first arg for assertEqual 2011-05-17 00:23:09 +02:00
AD7six
1e6acec2ab case correction 2011-05-17 00:22:19 +02:00
AD7six
6b77e73c49 $expected is the first arg for assertEqual
having it the wrong way round makes the error messages quite confusing
2011-05-17 00:20:59 +02:00
AD7six
e95d6a3b10 case correction, fixes ExceptionRenderer test 2011-05-17 00:08:51 +02:00
AD7six
d63b4df10c ensure consistent order for loaded function
Fixes the test case
2011-05-17 00:01:20 +02:00
AD7six
20f541108e partial fix for the scaffold test 2011-05-16 23:50:42 +02:00
AD7six
eafc8259e5 case correction 2011-05-16 23:38:28 +02:00
AD7six
40b29855a5 case corrections 2011-05-16 23:36:55 +02:00
AD7six
3fc785d823 fix case for viewPath. 2011-05-16 23:32:59 +02:00
AD7six
183b2ea9fc correct for case fixes the ProjectTask test case 2011-05-16 23:29:59 +02:00
AD7six
245c207096 case fix for SchemaShell test 2011-05-16 23:17:29 +02:00
AD7six
fe2ec74b0e correct paths to Config dir 2011-05-16 21:52:25 +02:00
Renan Gonçalves
f3bd0faa94 Fixing typo on the documentation. Patch by mamchenkov. 2011-05-16 21:14:46 +02:00
Graham Weldon
21f35345fa Merge remote-tracking branch 'burzum/2.0' into 2.0 2011-05-17 01:51:42 +10:00
AD7six
7a430a921e Merge branch 'feature/faster-tests' into 2.0 2011-05-16 16:41:12 +02:00
Thomas Ploch
785c80ba88 Added missing string concatenator to lib/Cake/Views/pages/home.ctp. 2011-05-16 08:41:25 +02:00
Jose Lorenzo Rodriguez
4ee4e426f4 Fixing more tests failing in case sensitive systems 2011-05-15 20:38:56 -04:30
Jose Lorenzo Rodriguez
ceb671db42 Fixing viewPath in Dispatcher test case 2011-05-15 20:09:38 -04:30
Jose Lorenzo Rodriguez
11f9a2756a Moving more folders missed in previous commits 2011-05-15 20:01:45 -04:30
Florian Krmer
93a8209b43 Fixing a syntax error in lib/Cake/View/Pages/home.ctp 2011-05-16 00:18:21 +02:00
Florian Krmer
8aa3159037 Fixing Fatal error: Class 'CakePlugin' not found in \lib\Cake\I18n\I18n.php on line 267 2011-05-15 23:53:55 +02:00
AD7six
805cc944da correct for case sensitivity 2011-05-15 19:41:34 +02:00
AD7six
a199e72610 the correct argument for plugins is infact "plugins" 2011-05-15 19:28:17 +02:00
AD7six
56c6e35437 adding an upgrade option to correct constants 2011-05-15 19:10:53 +02:00
AD7six
3175de7b3d remove another oversight 2011-05-15 18:53:53 +02:00
AD7six
8e27cf992f correct a few missing constant replacements 2011-05-15 18:49:38 +02:00
AD7six
ef684c3d94 a couple of find/replace oversights 2011-05-15 18:40:48 +02:00
AD7six
42c5c6e7fe when using App::path but expecting 1 result - use the first 2011-05-15 18:39:38 +02:00
AD7six
8f071e297c remove CAKE_TESTS constant 2011-05-15 18:37:45 +02:00
AD7six
0cb70ae3bb remove CONFIGS constant 2011-05-15 18:34:52 +02:00
AD7six
9e0e19c5ac correct greedy replace 2011-05-15 18:30:48 +02:00
AD7six
afa8f6b441 remove LIBS constant
libs always means the Cake lib - so use the CAKE constant
2011-05-15 18:29:52 +02:00
AD7six
ff2d9e244a remove LIB_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
e3244432d5 remove MODEL_TESTS 2011-05-15 17:36:39 +02:00
AD7six
90a6bcb9d5 remove HELPER_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
19da0f9101 remove COMPONENT_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
6be91010ca remove CONTROLLER_TESTS constant 2011-05-15 17:36:39 +02:00
AD7six
0508055ee9 remove CAKE_TEST_LIB constant 2011-05-15 17:36:39 +02:00
AD7six
998cba0759 remove CONSOLE_LIBS constnat 2011-05-15 17:36:39 +02:00
AD7six
08316c5292 remove ELEMENTS constant 2011-05-15 17:36:39 +02:00
AD7six
c33fc1e003 remove LAYOUTS constant 2011-05-15 17:36:15 +02:00
AD7six
e63f0aa28f remove HELPERS constant 2011-05-15 17:35:01 +02:00
AD7six
e313448998 remove VIEWS constant 2011-05-15 17:35:01 +02:00
AD7six
66ae239629 remove BEHAVIORS contant 2011-05-15 17:35:01 +02:00
AD7six
62d66bc3ad remove MODELS constant 2011-05-15 17:35:00 +02:00
AD7six
af505df885 remove COMPONENTS constant 2011-05-15 17:35:00 +02:00
AD7six
80e68763a3 remove CONTROLLERS constant 2011-05-15 17:35:00 +02:00
AD7six
95da598d99 also check for "binary" 2011-05-15 11:29:12 +02:00
AD7six
13488fe373 using memory db tables makes tests which use a db a lot faster.
a *lot* faster
2011-05-15 11:29:12 +02:00
AD7six
bd0a303c09 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-15 11:28:47 +02:00
Jose Lorenzo Rodriguez
29298d746e Fixing App tests 2011-05-15 00:56:33 -04:30
Jose Lorenzo Rodriguez
a6fb16beef Moving tests cases to their new location 2011-05-15 00:42:10 -04:30
Jose Lorenzo Rodriguez
91bce16e9d Merge remote-tracking branch 'origin/2.0' into 2.0-merge
Conflicts:
	lib/Cake/Test/Case/Console/Command/Task/TemplateTaskTest.php
	lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/Test/Case/Log/Engine/FileLog.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/plugged_helper.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/test_plugin_app.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticateTest.php
	lib/Cake/tests/Case/Log/Engine/FileLog.php
	lib/Cake/tests/Case/Log/Engine/FileLogTest.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/PluggedHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/TestPluginAppHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php
2011-05-15 00:40:54 -04:30
Jose Lorenzo Rodriguez
082a5e1607 Fixing ControllerTestCase test 2011-05-15 00:26:23 -04:30
Jose Lorenzo Rodriguez
cee46f5ee3 Fixing debug tests 2011-05-15 00:22:39 -04:30
Jose Lorenzo Rodriguez
5e635c74e2 Fixing components tests 2011-05-15 00:16:42 -04:30
Jose Lorenzo Rodriguez
e09f825f8b Fixing controller tests 2011-05-15 00:14:41 -04:30
Jose Lorenzo Rodriguez
6713bb154e Making themes also CamelCased 2011-05-15 00:09:32 -04:30
Jose Lorenzo Rodriguez
1930452da0 Fixing Folder test case after recent updates in folder casing 2011-05-14 23:43:11 -04:30
Jose Lorenzo Rodriguez
5f56642e0e Updating tests and classes in Console package after most recent updates in folder casing 2011-05-14 23:40:09 -04:30
AD7six
a206e42fb4 make it at least run 2011-05-14 19:17:14 +02:00
AD7six
5e9323a71f make the mssql test at least runnable 2011-05-14 18:20:27 +02:00
AD7six
9f374363b5 splitting the tree behavior test into 4 tests and suite 2011-05-14 17:28:58 +02:00
mark_story
23d9e5d769 Merge remote-tracking branch 'tploch/2.0-memcache' into 2.0 2011-05-13 21:48:41 -04:00
Thomas Ploch
4aa9254316 Updated Memcache settings docblock in core.php (skel and config). Removed probably misleading comment about FCGI. Fixes #1705 2011-05-14 00:55:28 +02:00
Thomas Ploch
402c4a7a6f Added 'persistent' setting to MemcacheEngine.
Fixes #1705 when connections are not closed when using i.e. FCGI.
2011-05-13 23:44:59 +02:00
Jose Lorenzo Rodriguez
eea981940e Replacing config string in favor of Config 2011-05-13 03:36:45 -04:30
Jose Lorenzo Rodriguez
d24aca34f1 Replacing more string to match new paths 2011-05-13 03:31:12 -04:30
Jose Lorenzo Rodriguez
2a54f0923d More string replacing for new paths 2011-05-13 03:23:53 -04:30
Jose Lorenzo Rodriguez
649b863fc5 Changing more strings after renaming folders 2011-05-13 03:19:00 -04:30
Jose Lorenzo Rodriguez
7ba60ff424 Changing more paths 2011-05-13 03:15:04 -04:30
Jose Lorenzo Rodriguez
8746a485bd Search and replace for changed paths 2011-05-13 02:53:35 -04:30
Jose Lorenzo Rodriguez
3b725290ba Renaming elements and layouts 2011-05-13 02:45:36 -04:30
Jose Lorenzo Rodriguez
ded3cb4826 Renaming more folders 2011-05-13 02:31:33 -04:30
Jose Lorenzo Rodriguez
900dfef2f7 Starting unification of casing in remaining folders 2011-05-13 01:53:49 -04:30
Jose Lorenzo Rodriguez
5f45dd20d2 Updating behaviors tests 2011-05-13 01:43:35 -04:30
Jose Lorenzo Rodriguez
35dc82571a Updating Cache tests 2011-05-13 01:34:59 -04:30
Jose Lorenzo Rodriguez
18b5b36b6f Updating component tests 2011-05-13 01:33:11 -04:30
Jose Lorenzo Rodriguez
53037d90d6 Updating PhpReader test 2011-05-13 01:28:17 -04:30
Juan Basso
a6f507db1f Fixed some tests in unix enviroment. 2011-05-12 23:59:31 -04:00
mark_story
523b1b6165 Updating docs. 2011-05-12 22:41:35 -04:00
Jose Lorenzo Rodriguez
da6e0c0589 Updating the rest of the console tests to use the CakePlugin class 2011-05-12 00:28:39 -04:30
Jose Lorenzo Rodriguez
e97b330463 updating SchemaShell tests to use CakePlugin class 2011-05-12 00:25:16 -04:30
Jose Lorenzo Rodriguez
685b7f8562 Updating CommandListShell to use CakePlugin 2011-05-12 00:24:45 -04:30
Jose Lorenzo Rodriguez
e78345035a Updating CommandListShell to use the new CakePLugin class 2011-05-12 00:20:29 -04:30
Jose Lorenzo Rodriguez
233c050cea Updating TestTask tests 2011-05-11 23:52:09 -04:30
Jose Lorenzo Rodriguez
2be486844e Fixing PluginTask tests 2011-05-11 23:48:51 -04:30
Joey Trapp
3675e73c73 Added a flag to Router::reverse that is passed on to the Router::url call
Fixes #1638

Signed-off-by: mark_story <mark@mark-story.com>
2011-05-10 21:07:56 -04:00
mark_story
011aeae951 Giving a useful value to FULL_BASE_URL in CLI if it doesn't get defined by the developer. 2011-05-10 21:05:14 -04:00
Jose Lorenzo Rodriguez
35ebd29ac3 updating controller tests 2011-05-10 11:43:38 -04:30
Jose Lorenzo Rodriguez
54eb934892 Fixing plugin related tests in Core package 2011-05-10 00:46:24 -04:30
Jose Lorenzo Rodriguez
a8122a5afe Fixing AllDatabase tests correctly loading plugins 2011-05-10 00:10:15 -04:30
Jose Lorenzo Rodriguez
ca776d92bd Making Error package tests 2011-05-09 23:47:29 -04:30
Jose Lorenzo Rodriguez
bd1479f732 Fixing a bunch of tests in the View/Helper package 2011-05-09 23:33:58 -04:30
mark_story
339db4033f Removing goofy protected field that didn't work all the time.
Making AuthComponent::loggedIn() check the current user status.
Fixes #1694
2011-05-09 21:54:59 -04:00
Jose Lorenzo Rodriguez
7171887c7a Correctly loading plugins in I18n 2011-05-09 00:36:52 -04:30
Jose Lorenzo Rodriguez
0ef0707575 Correctly loading plugins for Log tests 2011-05-09 00:31:38 -04:30
Jose Lorenzo Rodriguez
c208e4ed30 Fixing a couple of tests in CakeRequest 2011-05-09 00:28:01 -04:30
Jose Lorenzo Rodriguez
ca99b5b515 Fixing Router and Dispatcher so they user the plugin loader 2011-05-09 00:01:00 -04:30
Jose Lorenzo Rodriguez
2c3132fa85 Fixing some TestSuite tests 2011-05-08 23:25:32 -04:30
Jose Lorenzo Rodriguez
2fab0b0e1c Improving CakePlugin::loaded() to accept a plugin name as first parameter 2011-05-08 23:19:00 -04:30
Jose Lorenzo Rodriguez
2093b11296 Fixing ClassRegistry tests after plugin loader change 2011-05-08 22:15:50 -04:30
Jose Lorenzo Rodriguez
77788a965d Merge remote-tracking branch 'origin/2.0' into 2.0-plugin-loader
Conflicts:
	lib/Cake/tests/test_app/plugins/TestPlugin/Model/test_plugin_post.php
	lib/Cake/tests/test_app/plugins/test_plugin/Model/TestPluginPost.php
	lib/Cake/tests/test_app/plugins/test_plugin/Model/test_plugin_post.php
2011-05-08 22:08:31 -04:30
Jose Lorenzo Rodriguez
8ccbd6faa5 Adding missing file from last commit 2011-05-08 22:07:24 -04:30
AD7six
0026a6ac54 Mysql not MySql 2011-05-09 01:24:52 +02:00
AD7six
315cb6b66b correct api shell test case 2011-05-09 00:52:47 +02:00
AD7six
c7794c1e1f also move any error classes (AppError) to Lib/Error/* 2011-05-09 00:46:51 +02:00
AD7six
ade85c1cd0 add exception for Dbo classes 2011-05-09 00:00:19 +02:00
AD7six
07ffe2fcd8 update the move logic
whereas previously it only checked if the filename matched the class,
the logic now checks the file is located in the folder expected too.
2011-05-08 23:55:16 +02:00
AD7six
79700a5e94 applying upgrade shell to test app files 2011-05-07 19:05:24 +02:00
AD7six
cb010b62e6 Merge branch '2.0-upgrade' into 2.0 2011-05-07 19:00:17 +02:00
Jose Lorenzo Rodriguez
a45758cc7d Migrating all View package tests to use the new plugin loader 2011-05-06 01:23:01 -04:30
Jose Lorenzo Rodriguez
0573037f2c Migrating all View tests to the new plugin loader 2011-05-06 01:07:59 -04:30
Jose Lorenzo Rodriguez
f18b9aae7b Unloading all plugins with App::build() and $reset parameter is true 2011-05-06 01:05:33 -04:30
Jose Lorenzo Rodriguez
27a134de4f Implementing CakePlugin::loadAll() 2011-05-06 00:53:30 -04:30
Juan Basso
8b78507b3d Changed the test setup to not run the test if test db config is not mssql. 2011-05-05 21:30:51 -04:00
Juan Basso
9dfc7d6593 Changed the field map to protected to run the tests. It is not requeried to be private. 2011-05-05 21:30:51 -04:00
Juan Basso
3231755d63 Fixed the tests for value. 2011-05-05 21:30:51 -04:00
Juan Basso
24bf56b44e Revert "Removed the value method from MSSQL. It is provided by DboDatasource now."
This reverts commit bf0fb8302385d384239939df2ea6bc6f1a8dbaa0.
2011-05-05 21:30:51 -04:00
Juan Basso
b91f6eb991 Fixed error in change. 2011-05-05 21:30:51 -04:00
Juan Basso
a7a86e42a3 Changes for fetch results. 2011-05-05 21:30:51 -04:00
Juan Basso
83b81ffd87 Removed more methods that is implemented by DboSource. 2011-05-05 21:30:51 -04:00
Juan Basso
f11b153d80 Removed the value method from MSSQL. It is provided by DboDatasource now. 2011-05-05 21:30:51 -04:00
Juan Basso
37d26f2923 Update the describe. 2011-05-05 21:30:51 -04:00
Juan Basso
3f984b68fa Update the listSources. 2011-05-05 21:30:51 -04:00
Juan Basso
244bc1369a Removed the execute method from MSSQL. It is provided by DboDatasource now. 2011-05-05 21:30:51 -04:00
Juan Basso
4e8b863910 Initial changes for init the connection with MSSQL. 2011-05-05 21:30:50 -04:00
Juan Basso
30fd9fff14 Changed the import files and Mssql class name to the new structure. 2011-05-05 21:30:50 -04:00
mark_story
bd30510e87 Fixing non-unique id's being generated for Debugger rendered errors. 2011-05-04 23:33:36 -04:00
mark_story
e857387a8e Fixing failing tests. 2011-05-04 23:08:10 -04:00
mark_story
695d38fe68 Removing stupid default that stops other convention based features from working properly. 2011-05-04 22:16:46 -04:00
Jose Lorenzo Rodriguez
f2c1f9d6b2 Removing unneeded lines in Debugger 2011-05-04 01:17:28 -04:30
Jose Lorenzo Rodriguez
d83555cc52 Merge remote-tracking branch 'origin/1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/auth.php
	cake/libs/controller/controller.php
	cake/libs/view/helpers/xml.php
	cake/libs/view/pages/home.ctp
	cake/libs/xml.php
	cake/tests/cases/console/cake.test.php
	cake/tests/cases/libs/controller/components/cookie.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
	cake/tests/cases/libs/view/helpers/xml.test.php
	cake/tests/cases/libs/xml.test.php
	lib/Cake/Console/Command/SchemaShell.php
	lib/Cake/Controller/Component/CookieComponent.php
	lib/Cake/Network/Http/HttpSocket.php
	lib/Cake/TestSuite/Fixture/CakeTestFixture.php
	lib/Cake/VERSION.txt
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/View/Helper/TextHelper.php
	lib/Cake/View/Helper/TimeHelper.php
	lib/Cake/config/config.php
	lib/Cake/tests/Case/Cache/CacheTest.php
	lib/Cake/tests/Case/Model/CakeSchemaTest.php
	lib/Cake/tests/Case/TestSuite/CakeTestFixtureTest.php
2011-05-04 01:10:23 -04:30
Jose Lorenzo Rodriguez
492f1ce12e Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-03 23:05:38 -04:30
mark_story
aca8cc8b77 Fixing issue where content types wouldn't be detected as once parseExtensions() is enabled the extension will always
default to html.
2011-05-02 22:26:58 -04:00
ADmad
7fc5e8f810 Fixing typo 2011-05-03 01:01:33 +05:30
AD7six
7532ab0586 reset files on each itteration 2011-05-01 23:30:24 +02:00
AD7six
4c66db253a don't forget tasks 2011-05-01 23:30:24 +02:00
AD7six
1d493ca122 add a function to make sure file names match the class they contain 2011-05-01 23:30:24 +02:00
AD7six
d100f09bb2 move/rename folders 2011-05-01 23:30:24 +02:00
AD7six
afa6baab2d add a command to run all options 2011-05-01 23:30:24 +02:00
AD7six
f3b216dfe2 remove unused var 2011-05-01 23:30:24 +02:00
AD7six
9ac717819f code standards 2011-05-01 23:30:24 +02:00
AD7six
bbf87f062e don't fail if the dir doesn't exist 2011-05-01 23:30:24 +02:00
Luís Armando
12bf3eae38 Correction of UpgradeShell file name. 2011-05-01 23:30:24 +02:00
Graham Weldon
35485a13e5 Moved Upgrade console into place for 2.0 Console standards. 2011-05-01 23:30:24 +02:00
mark_story
5453333a88 Removing legacy parameter setting. 2011-05-01 23:30:23 +02:00
mark_story
317aad9526 Fixing missing uses for Controller Task.
Fixing incorrect import() for ClassRegistry.
2011-05-01 14:58:32 -04:00
mark_story
1c417ac2fd Removing dead code, and adding another deprecation warning. 2011-05-01 14:17:33 -04:00
ADmad
1cb0e413be Enhancing App::build() to allow appending paths. Closes #1680 2011-05-01 20:54:52 +05:30
mark_story
093d7f1064 Merge branch 'request-input' into 2.0 2011-05-01 10:25:39 -04:00
mark_story
512e570202 Adding ability to map arbitrary content types and decoding methods to RequestHandlerComponent.
Removing hardcoded XML decoding, but continuing to provide the functionality.
Adding default support for JSON decoding.
Fixing stdin/input mixup.
Fixes #716
2011-05-01 10:21:00 -04:00
ADmad
75437b45d9 Fixed error where App::import() failed to load new class types added in 2.0. Also fixed couple of test cases. 2011-05-01 03:19:44 +05:30
mark_story
0be0b0ede0 Removing $request->params['form'], all POST data is available at $request->data, there is no point for it to be in two
places.  Updating tests as well.
2011-04-30 14:12:51 -04:00
mark_story
47176bffc5 Fixing failing tests that waited on stdin indefinetly. 2011-04-30 13:27:57 -04:00
mark_story
53b4a129ba Changing RequestHandler to use CakeRequest::input() 2011-04-30 13:09:30 -04:00
mark_story
40fab8135a Adding ability to pass params to the decoding function. 2011-04-30 13:05:10 -04:00
mark_story
975f74bb44 Making it so all POST parameters are available on $this->data inside the request. This makes one fewer place POST data
is found.  $this->params['form'] is still around as well for Backwards compatibility, but is not recommended for use
going forward.
2011-04-30 12:44:38 -04:00
mark_story
60ee04a0fb Adding first kick at the can for reading request body input.
Adding testcases.
2011-04-30 12:44:37 -04:00
Sonny Gauran
4add005baa Fixed baked database.php constants 2011-04-30 02:12:15 +08:00
Jose Lorenzo Rodriguez
f6a5df913a Moving test plugins to the new naming convention> Now plugin names should be camel cased 2011-04-29 12:49:46 -04:30
Jose Lorenzo Rodriguez
46d994c3f0 Improving test coverage for CakePlugin 2011-04-29 12:23:11 -04:30
Jose Lorenzo Rodriguez
07b84a71ab Removing unneeded assignments by reference 2011-04-29 11:49:46 -04:30
Juan Basso
50206f4315 Fixed invalid PhpDoc tag. 2011-04-28 21:25:18 -04:00
AD7six
54429837b4 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-28 15:17:24 +02:00
AD7six
d861a73327 update basics to match code standards
global functions are not indented
2011-04-28 15:16:55 +02:00
Jose Lorenzo Rodriguez
228230e67b Simplifying code 2011-04-27 00:15:42 -04:30
Juan Basso
84538ac10a Fixed the tests of MediaView in console/web. 2011-04-27 00:26:57 -04:00
Jose Lorenzo Rodriguez
ab9b7f44dc Merge remote-tracking branch 'origin/2.0' into 2.0 2011-04-26 23:44:56 -04:30
Jose Lorenzo Rodriguez
8da7e5fa82 Lazy loading models in controllers, now declaring multiple models in $uses is not a performance hit anymore 2011-04-26 23:44:32 -04:30
Thomas Ploch
bea666bb12 Removed JsBaseEngineHelper::$useNative. Removed json_encode() emulation from JsBaseEngineHelper::object(). Removed unnessecary call to get_object_vars() in JsBaseEngineHelper::object(). Removed unnessecary tests for equalness of emulation and native json_encode(). Added test for correct encoding of objects to JsHelper test case. Fixes #704 2011-04-26 22:35:33 -04:00
Juan Basso
1523ff6874 Moved the CakeEmail to Network/Email. Now this class have similar structure of HttpSocket. 2011-04-26 22:20:35 -04:00
evilbloodydemon
df57b15f89 Removed undefined variable in App::core, made test pass on Windows.
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-26 22:18:51 -04:00
Juan Basso
1962e40c9a Added tests to get with queryparams and custom configs. Refs #1674. 2011-04-26 22:10:24 -04:00
Jose Lorenzo Rodriguez
3433d123d4 Removing model id assignment form passedArgs, as it causes unexpected results. Closes #536 2011-04-26 21:30:12 -04:30
Thomas Ploch
9db411d9e4 Added HttpSocket::config['request']['uri'] as parameter in HttpSocket::_parseUri() called by HttpSocket::get(). Now creates correct request array for GET if query params are given and the default request should be used. Fixes #1674. No tests modified since behaviour didn't change. 2011-04-26 19:15:25 -04:00
evilbloodydemon
1d7d20768f Fixed typo in variable name 2011-04-26 21:44:37 +04:00
Jose Lorenzo Rodriguez
4f1a6baf87 Fixing some errors in the new plugin loader and adding some tests 2011-04-26 00:56:19 -04:30
Jose Lorenzo Rodriguez
8053436b35 Fixing some parse errors 2011-04-25 22:42:33 -04:30
mark_story
b31f25fb8b Fixing issues rendering repeat errors coming from the rendering of an error page (like a missing helper).
Test added. Fixes #1671
2011-04-25 21:09:53 -04:00
Renan Gonçalves
170ba71850 Changing the visiblity from private to protected, for extensibility sake. 2011-04-25 22:08:12 +02:00
Renan Gonçalves
9da76a8655 Fixing a couple of typos from last commit. 2011-04-25 21:35:27 +02:00
Renan Gonçalves
abbe5aaea2 Updating console to use i18n'ed strings. 2011-04-25 21:24:16 +02:00
Renan Gonçalves
3251faf8e9 Expliciting methods visibility.
No need to keep track of line anymore, token_get_all (PHP 5.2.2) returns it.
... and fixing some grammar typos on the way.
2011-04-25 21:24:07 +02:00
Renan Gonçalves
cd3529c986 Implementing support to multiline string in __*() calls. 2011-04-25 21:23:56 +02:00
Juan Basso
43a95a79fc Fixed the tests to run in Windows and different browsers. 2011-04-24 23:40:48 -04:00
Juan Basso
6ec61746fd Added the email folder to all network tests. 2011-04-24 23:40:46 -04:00
Juan Basso
96dd4a5c80 Fixed the tests in ThemeView and View that was affected by email changes. 2011-04-24 23:40:43 -04:00
Jose Lorenzo Rodriguez
3bb8833d82 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-24 00:59:05 -04:30
Jose Lorenzo Rodriguez
cc9c6b8fa6 Adding missing file from last commit 2011-04-24 00:58:42 -04:30
Jose Lorenzo Rodriguez
dfb669ab8e Allowing plugins to offer ExceptionRenderer classes 2011-04-24 00:56:48 -04:30
Juan Basso
7a13856e69 Fixed tests related with emails. 2011-04-24 01:10:33 -04:00
Jose Lorenzo Rodriguez
64db00706e Merge remote branch 'origin/2.0' into 2.0-plugin-loader 2011-04-23 23:25:31 -04:30
Juan Basso
24fbaafe01 Merge with 2.0-email. 2011-04-23 22:36:55 -04:00
Juan Basso
dc7808e63a Changed to use only the CAKE constant. 2011-04-23 22:29:05 -04:00
Juan Basso
6a7b42f1eb Renamed the default X-Mailer value. 2011-04-22 23:39:11 -04:00
Jose Lorenzo Rodriguez
682ec29b9b Moving tests around in the AllTests suite and making the CakeSocket tests pass again 2011-04-22 19:53:38 -04:30
Jose Lorenzo Rodriguez
97b57e9249 Fixing controller tests after validation changes 2011-04-22 17:16:38 -04:30
Jose Lorenzo Rodriguez
d9d5651ef5 Fixing a Multibyte test 2011-04-22 17:08:44 -04:30
Jose Lorenzo Rodriguez
1d384ec68f Reverting change for console help, and improving it so it returns help for the command intended to be run 2011-04-22 16:46:32 -04:30
Jose Lorenzo Rodriguez
63fd35b384 Merge branch 'unused-vars' of https://github.com/evilbloodydemon/cakephp into evilbloodydemon-unused-vars 2011-04-22 16:27:14 -04:30
Jose Lorenzo Rodriguez
3c4f616737 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-22 16:10:06 -04:30
Jose Lorenzo Rodriguez
fa1d7da56e Making shells return help if a ConsoleException is catched, like when passing bad parameters 2011-04-22 16:08:26 -04:30
AD7six
ac00dcbde2 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-22 22:29:32 +02:00
AD7six
658a1872ce show testcases sorted alphabetically 2011-04-22 22:29:02 +02:00
mark_story
9ce80c4f4a Adding files I forgot to commit :( 2011-04-22 16:03:42 -04:00
evilbloodydemon
f9db4270c6 Unused variables in Utility removed 2011-04-23 00:02:10 +04:00
evilbloodydemon
3c9cb3b97d Unused variables in Routing removed 2011-04-23 00:02:09 +04:00
evilbloodydemon
ad73c7038c Unused variables in Network removed 2011-04-23 00:02:08 +04:00
evilbloodydemon
255dc1c44b Unused variables in I18n removed 2011-04-23 00:02:07 +04:00
evilbloodydemon
d484d90fe5 Unused variables in Controller removed 2011-04-23 00:02:06 +04:00
evilbloodydemon
cebcd64090 Unused variables in Console removed 2011-04-23 00:02:06 +04:00
evilbloodydemon
b6c4b8abb5 Unused variables in Core removed 2011-04-23 00:02:05 +04:00
AD7six
bb99f9bc13 removing clear from welcome
while it's superficially useful to start from a clean screen - it's
not actually helpful.

Quite often cake will issue setup errors which a user will not see
because they are immediately cleared. Users continue using the cli
unaware that they have (possibly significant) problems
2011-04-22 21:53:02 +02:00
Jose Lorenzo Rodriguez
495611b313 Fixing location of shared plugins folder 2011-04-22 15:14:37 -04:30
Jose Lorenzo Rodriguez
bb41ce8a6a Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-22 14:48:44 -04:30
mark_story
8eb24edb9e Fixing paths and asserts for ShellTest. 2011-04-22 12:57:19 -04:00
mark_story
30dc37fada Moving testsuites around to match packages. Adding more package suites. 2011-04-22 12:45:37 -04:00
mark_story
103a34777a Fixing Engine tests not running. 2011-04-22 10:42:00 -04:00
Jose Lorenzo Rodriguez
8ff0330789 Preventing possible errors caused by sending headers when testing on cli 2011-04-22 09:03:55 -04:30
Jose Lorenzo Rodriguez
d8933fb773 Small change in use of App::build() in ErrorHanlderTest 2011-04-22 08:47:28 -04:30
mark_story
fd55066dd9 Fixing failing tests in ObjectTest. 2011-04-22 08:16:13 -04:00
mark_story
dbb3149c08 Merge branch '2.0-hiddenclass' into 2.0 2011-04-21 22:25:31 -04:00
Jose Lorenzo Rodriguez
bb8c41d1e4 Fixing more tests related to changes on model validation 2011-04-21 19:12:16 -04:30
Jose Lorenzo Rodriguez
d788301ec9 Fixing failing tests due to recent changes in model validation 2011-04-21 19:01:15 -04:30
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
Juan Basso
636b48024d Updated the EmailComponent test to be compatible with CakeEmail changes. 2011-04-21 00:09:33 -04:00
Juan Basso
ddb54b67df Updated the method name in email component. 2011-04-21 00:00:58 -04:00
Juan Basso
fac5ae50d0 Moved the emails templates from elements to views. Renamed the path in layouts to keep the same name. Fixes #1415. 2011-04-20 23:47:21 -04:00
Juan Basso
599d631f2f Adapted to support mimetype and contentId in the attachments. Fixes #1201. 2011-04-20 21:51:30 -04:00
mark_story
d124b6c05d Removing class from being excluded from the attributes applied to hidden inputs. Fixes #1124 2011-04-20 21:37:47 -04:00
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
Juan Basso
be4b9fcd02 The MIME version can be used in all types of e-mail. Fixes #14. 2011-04-19 21:47:48 -04:00
Juan Basso
1fee549063 Ooops, removed debug call. 2011-04-19 20:25:09 -04:00
Juan Basso
e0b4623065 Added support to sender email. Fixes #13. 2011-04-19 20:24:51 -04:00
Juan Basso
baba9fd270 Fixed phpdoc. 2011-04-19 19:48:52 -04:00
Juan Basso
98afe4e09b Renamed the method fastSend to deliver. 2011-04-19 17:07:38 -04:00
evilbloodydemon
8443b66986 PhpDoc and naming fixes 2011-04-19 17:04:49 -04:00
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
Juan Basso
1004b1a168 Fixed the set of boundary. 2011-04-19 09:22:42 -04:00
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
Juan Basso
25705af8ed Added the same email config sample of app/config to console skeleton. 2011-04-17 21:53:30 -04:00
Juan Basso
a1bcaa9d29 Created a static method to send fast emails. 2011-04-17 21:23:48 -04:00
Juan Basso
11331066ab Setted EmailComponent as deprecated. 2011-04-17 21:21:09 -04:00
Juan Basso
5ea3b75b2f CakeEmail::viewVars() now merge the param with previous config. 2011-04-17 20:57:57 -04:00
Juan Basso
7acdf1e436 Changed the method layout to template. Template is required to render, but layout is not. 2011-04-17 19:49:13 -04:00
Juan Basso
38f5d9da1f Fixed issues related with email config. 2011-04-17 18:42:55 -04:00
Juan Basso
42ee001d71 Changed the classname of email config. 2011-04-17 18:42:55 -04:00
Juan Basso
96686e79bb Added the html and text message in component. 2011-04-17 18:41:57 -04:00
Juan Basso
39236b3229 Removed from the tests the view from class registry. 2011-04-17 18:41:55 -04:00
Juan Basso
88f2c19336 Added the support to set variables in component. 2011-04-17 18:41:54 -04:00
Juan Basso
b2f948dfeb Adjust partial of test case for EmailComponent. 2011-04-17 18:41:52 -04:00
Juan Basso
0bf8e3483b Fixed methods to integrate with CakeEmail. 2011-04-17 18:41:51 -04:00
Juan Basso
1ee8ad6d8e Removed more unused code. 2011-04-17 18:41:49 -04:00
Juan Basso
35c77b5a7a Setting the additional parameters to mail transport. 2011-04-17 18:41:47 -04:00
Juan Basso
a28e8ba4e7 Removed unused code. 2011-04-17 18:41:46 -04:00
Juan Basso
84e405db81 Removed the format address method. 2011-04-17 18:41:44 -04:00
Juan Basso
8f2aeec2f3 Removed the transport methods (mail, smtp, debug). 2011-04-17 18:41:42 -04:00
Juan Basso
8457c8f840 Removed wrap method. 2011-04-17 18:41:41 -04:00
Juan Basso
5815743e0a Removed formatMessage and render methods. 2011-04-17 18:41:39 -04:00
Juan Basso
163c7f06bb Removed boundary methods. 2011-04-17 18:41:38 -04:00
Juan Basso
46c79ec4a1 Removing headers methods. 2011-04-17 18:41:36 -04:00
Juan Basso
5e56f76510 Rewrited the send method to use CakeEmail. 2011-04-17 18:41:34 -04:00
Juan Basso
3b896a82ef Revert "Removing the methods from Email component. Tests commentds until adjust the code to BC."
This reverts commit 00016c515d.
2011-04-17 18:41:33 -04:00
Juan Basso
ff5365d6ab Added support to return the html and text message. 2011-04-17 18:39:02 -04:00
Juan Basso
33ca64f505 Added support to set variables to be used in the render. 2011-04-17 18:38:25 -04:00
Juan Basso
d5938dd3c4 Support to multibyte in subject. 2011-04-17 18:38:02 -04:00
Juan Basso
c48db36196 Changed to be able to configure empty array in CakeEmail. 2011-04-17 18:37:31 -04:00
Juan Basso
c5f289fccf More tests to CakeEmail. 2011-04-17 18:36:49 -04:00
Juan Basso
5b223e747b Adjusted the Smtp test to use the new config method. 2011-04-17 18:36:42 -04:00
Juan Basso
3a5c04273e With class loading these code can be global. 2011-04-17 18:36:36 -04: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
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
Jose Lorenzo Rodriguez
c504535980 Stating to implement a CakePlugin class to allow the inclusion of bootraping files for plugins 2011-04-17 01:37:31 -04:30
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
Juan Basso
9ac5f9c349 Fixed the tests. 2011-04-13 00:24:27 -04:00
Juan Basso
3200e380d3 Created a new method to return the transport class before send. In some cases you need to do extra calls/configurations before send. 2011-04-13 00:04:37 -04:00
Juan Basso
f4f3bfe2fc Return the object when is set method. 2011-04-12 23:45:02 -04:00
Juan Basso
40e8632408 Changed to translate messages using cake domain. 2011-04-12 23:37:50 -04:00
Juan Basso
935badff03 Fixed to MailTransport use configs intead Configure::read(). 2011-04-12 23:34:23 -04:00
Juan Basso
a9aef5600f Removed the object from ClassRegistry. It is not used in 2.0. 2011-04-12 23:32:26 -04:00
Juan Basso
3c703641b0 Changed the use of import to uses. 2011-04-12 23:31:07 -04:00