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
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
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
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
Mark Beukers
487c4d2a98
Fixed spelling mistake
2011-06-04 19:23:55 -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
Juan Basso
cb88b952f4
Supporting template/layout in plugins for CakeEmail. Fixes #1743 .
2011-05-31 22:57:08 -04:00
Juan Basso
6f821e0d4d
Changes relatives to templates from last commit.
2011-05-30 23:11:09 -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
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
e5f2f6a236
Fixing test cases
2011-05-29 02:50:09 +05: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
964ff45a41
Fixing assumptions parameter order
2011-05-26 16:54:31 +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
2ea5be5de2
Merge branch '2.0-mssql' into 2.0
2011-05-24 00:07:56 -04:00
Juan Basso
02d4188a29
Skipping tests that is not compatible with SQL Server.
2011-05-23 23:16:13 -04:00
Juan Basso
0ae9974b3f
Updating the test to be compatible with others dbo drivers.
2011-05-23 00:31:21 -04:00
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
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
1d687214e9
Fixing ViewTask so it creates properly cased directories for 2.0.
...
Fixes #1725
2011-05-22 14:42:43 -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
82e2d9e271
Updating model tests to support Mssql driver.
2011-05-22 00:59:15 -04:00