Commit graph

897 commits

Author SHA1 Message Date
Mark Story
c1e674f9c1 Actually checking that files exist before saying they do. 2011-06-21 10:45:01 -07:00
Jose Lorenzo Rodriguez
b722693102 Fixing all console tests on windows 2011-06-21 12:38:25 -04:30
Jose Lorenzo Rodriguez
552bd82b5b Fixing tests from CommandListShell when run on windows 2011-06-21 12:14:36 -04:30
Jose Lorenzo Rodriguez
d54f8dc07a Fixing some shell tests when that fail when they are run in window 2011-06-21 11:24:59 -04:30
Jose Lorenzo Rodriguez
f4aeb514e3 Fiing CakeSchema so it runs without errors on Sqlsrv 2011-06-21 11:13:33 -04:30
Jose Lorenzo Rodriguez
cdc81333e8 Adding support in SqlSrv for drop table if exists 2011-06-20 19:49:06 -04:30
Jose Lorenzo Rodriguez
cf49d51e75 Fixing the binary type for SqlSrv 2011-06-20 19:14:21 -04:30
Jose Lorenzo Rodriguez
41603cacb7 Fixing Fixture generation task to be more compatible with SqlSrv 2011-06-20 19:03:00 -04:30
Jose Lorenzo Rodriguez
9f85e24413 Adding float precision support to CakeSchema when using Sqlsrv 2011-06-20 18:43:26 -04:30
unknown
0cc76b3a88 Fixing some tests on ShellDispatcher to make them run on windows 2011-06-20 17:58:51 -04:30
Mark Story
ce7ec44298 Importing Multibyte.
Fixes fatal errors when mbstring is not installed.
2011-06-19 22:42:56 -07:00
Mark Story
72ca89412a Fixing failing test, because I forgot to update it earlier. 2011-06-19 22:42:25 -07:00
Mark Story
ed8ccc2903 Remove persistModel.
The benefits of persistModel are no longer needed. Because of lazy model associations,
the performance benefits persistModel are no longer realized.
Fixes #1782
2011-06-19 22:08:03 -07:00
Juan Basso
1c7d54eacc Updated the paths from comments. 2011-06-19 20:28:40 -04:00
Juan Basso
d220ee5578 Implemented the support to use helpers in CakeEmail. Fixes #1754 2011-06-19 18:43:17 -04:00
Mark Story
b4a780332f Add the 'model' key to PaginatorHelper::counter()
Its available as both '%model%' and '{:model}'
Fixes #1773
2011-06-19 14:05:28 -07:00
Jose Lorenzo Rodriguez
28ba1c9fd9 Removing unneeded line in test case 2011-06-17 18:12:01 -04:30
Jose Lorenzo Rodriguez
2a39e6869c Merge branch '2.0' into 2.0-merge
Conflicts:
	lib/Cake/Test/Case/Controller/ScaffoldTest.php
	lib/Cake/Test/Case/Model/ConnectionManagerTest.php
	lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
	lib/Cake/Test/Case/Utility/SanitizeTest.php
2011-06-17 18:04:03 -04:30
Jose Lorenzo Rodriguez
6637d2544c Adding a Debug transport class to help users test their apps when sending emails 2011-06-17 17:55:36 -04:30
Jose Lorenzo Rodriguez
8a98ee2486 Adding a Debug transport class to help users test their apps when sending emails 2011-06-17 17:51:31 -04:30
José Lorenzo Rodríguez
a32506593c Merge pull request #121 from burzum/98e29b7246ff490ff2af
Fixing the DatabaseSession to work with models that use a different primary key field than id.
2011-06-15 14:04:43 -07:00
Florian Krmer
98e29b7246 Fixing the DatabaseSession to work with models that use a different primary key field than id. 2011-06-15 22:56:55 +02:00
Renan Gonçalves
f4e598f920 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-06-15 21:01:17 +02:00
Renan Gonçalves
98f2684c66 Assigning the viewVars to $this too. It was empty before, the result was no variables. 2011-06-15 21:01:08 +02:00
mark_story
87d3a2ef19 Fix failing tests caused by path changes. 2011-06-14 22:47:43 -04:00
mark_story
613410f985 Making submit() and button() create unlocked fields by default.
This fixes issues where buttons would cause post validation checks to
fail.
Fixes #1746
2011-06-14 22:37:02 -04:00
mark_story
878b854be0 More updates for disabledFields -> unlockedFields. 2011-06-14 22:18:05 -04:00
mark_story
c136349919 Updating SecurityComponent to use unlocked instead of disabled. 2011-06-14 22:01:59 -04:00
mark_story
f3f475f502 Updating method name, variables, and properties to be unlocked.
This better reflects what is actually going to happen, as fields that are
unlocked are not checked.  It also works better with the idea that secure = false
means unlocked or unsecured.
2011-06-14 21:50:45 -04:00
mark_story
338957936b Adding test cases for disableFields being part of the POST data. 2011-06-14 21:50:45 -04:00
mark_story
046ddceb9a Updating SecurityComponent tests to include the disabled field. 2011-06-14 21:50:45 -04:00
mark_story
be6a2e096f Starting to update SecurityComponent. 2011-06-14 21:50:45 -04:00
mark_story
0c3c6e5e21 Adding a new hidden field for the disabled fields.
Updating the FormHelper tests for the new field.
2011-06-14 21:50:45 -04:00
mark_story
83184c99da Adding disableField() to start allowing disabled fields to be manipulated
from the view/helper.
2011-06-14 21:50:45 -04:00
mark_story
2a15e630ef Starting to refactor field securing, so disabledFields can be controlled
from the Helper.
2011-06-14 21:50:44 -04:00
Leonid Mamchenkov
01b2e7eea0 Removed unnecessary Inflector::camelize() calls 2011-06-15 00:36:14 +03:00
Leonid Mamchenkov
ffab73442a Camelize file names in Errors 2011-06-15 00:27:44 +03:00
Leonid Mamchenkov
aeb510e521 Camelized controller file names in Errors 2011-06-15 00:14:38 +03:00
Leonid Mamchenkov
4c02fa75eb Updated paths in all Errrors 2011-06-14 21:57:42 +03:00
Mark Story
aee5ee5fe5 Merge pull request #119 from neterslandreau/2.0
Merging changes for skel files.
2011-06-13 17:53:17 -07:00
Niles
d5012f0e33 add required uses to template. 2011-06-13 10:18:59 -04:00
Renan Gonçalves
dfe58d7851 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-06-12 23:25:01 +02:00
Renan Gonçalves
2e3f828098 Updating the home.ctp file to include last changes made on directories name and i18n usage. 2011-06-12 23:24:42 +02:00
Renan Gonçalves
564bf87764 Using exit instead of die, as did in 2e8bbd5e.
Fixing an typo.
Using i18n on test.php file and pointing it to right directory.
2011-06-12 23:12:22 +02:00
Renan Gonçalves
2a3f49bf00 Updating the cake.generic.css from skeleton template to match the changes made on commit cb946bbc. 2011-06-12 22:42:22 +02:00
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
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
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