Alejandro Ibarra
|
e4c1f28d84
|
Included validation to skip AppModel on CakeSchema->readSchema because it tries to find 'app_models' table. Added testSchemaReadWithAppModel test
|
2011-07-15 15:18:38 -04:30 |
|
Jose Lorenzo Rodriguez
|
fb264d9671
|
Adding a datetime validation method to the Validation class, closes #1021
|
2011-07-15 01:20:37 -04:30 |
|
Jose Lorenzo Rodriguez
|
8a6d97dfa7
|
Fixing loading of default options in CakePlugin::loadAll(), fixes #1737
|
2011-07-15 01:05:53 -04:30 |
|
Jose Lorenzo Rodriguez
|
84aba009e7
|
Documentation and code cleaning, this commit means that the FormHelper is now fully able to locate models even though lazy loading is used in the controller, closes #1690
|
2011-07-14 20:35:44 -04:30 |
|
Jose Lorenzo Rodriguez
|
b16a5f24db
|
Making sure the default model for controller is added to the request models parameter in render()
|
2011-07-14 18:06:16 -04:30 |
|
Jose Lorenzo Rodriguez
|
37231b4ce6
|
Updating Controller test case
|
2011-07-14 17:38:02 -04:30 |
|
Jose Lorenzo Rodriguez
|
ac2538b108
|
REmoving call to deprecated method in PHPUnit
|
2011-07-14 17:28:53 -04:30 |
|
Jose Lorenzo Rodriguez
|
0c79ad88a3
|
Cleaning up the code and adding tests for new features
|
2011-07-14 17:26:55 -04:30 |
|
Jose Lorenzo Rodriguez
|
dcd8811771
|
Fixing typo
|
2011-07-14 16:05:23 -04:30 |
|
Jose Lorenzo Rodriguez
|
0228611969
|
Fixing remaining failing tests on FormHelperTest case
|
2011-07-14 13:56:31 -04:30 |
|
Jose Lorenzo Rodriguez
|
a5851e9597
|
Updating test to reflect that models passed as a request parameter are now in an associative array
|
2011-07-14 13:53:27 -04:30 |
|
Jose Lorenzo Rodriguez
|
4ed46cf330
|
Updating more tests on FormHelperTest case
|
2011-07-14 13:53:10 -04:30 |
|
Jose Lorenzo Rodriguez
|
ba012ed950
|
Adding a special case for not trying to instantiate a Model called Model in FormHelper
|
2011-07-14 11:13:51 -04:30 |
|
Jose Lorenzo Rodriguez
|
9304f3420b
|
Currently the FormHelper fails if the Model supplied is 'Model', perhaps we need to add a special case for this
|
2011-07-14 11:05:41 -04:30 |
|
Jose Lorenzo Rodriguez
|
ef5650c034
|
Fixing ClassRegistry that was incorrectly checking class inheritance
Fixing Model class that was incorrectly sending model names to be instantiated
Fixing more FormHelper tests
|
2011-07-14 01:30:52 -04:30 |
|
Jose Lorenzo Rodriguez
|
1941be6a76
|
Updating FormHelper tests
|
2011-07-14 01:03:29 -04:30 |
|
Jose Lorenzo Rodriguez
|
e8efc67d3d
|
Ensuring that classes returned by ClassRegistry::init() are model instances
|
2011-07-14 01:02:50 -04:30 |
|
Jose Lorenzo Rodriguez
|
60b44e074a
|
Cleaning up the ClassRegistry::init() method, removing the use of the second parameter as it always accepted but one value
The second parameter is now $strict, meaning that if the model class is not found it will not try to create an AppModel instance
|
2011-07-14 00:06:01 -04:30 |
|
Jose Lorenzo Rodriguez
|
d54e8cd82f
|
Starting to update tests after removing the validationErrors property in Helper
|
2011-07-13 23:51:23 -04:30 |
|
Jose Lorenzo Rodriguez
|
39dadf58db
|
Refactoring how model information is extracted in the FormHelper, it is done now in a lazy manner and hopefully using less memory
|
2011-07-13 23:49:50 -04:30 |
|
Jose Lorenzo Rodriguez
|
22f02373c9
|
Moving tagIsInvalid from Helper back to FormHelper, as it is a better home for it
|
2011-07-13 23:49:01 -04:30 |
|
Jose Lorenzo Rodriguez
|
567ac0209c
|
Refactoring how models are passed as a request parameter to the view, now the full plugin and model name will be passed on
|
2011-07-13 23:47:45 -04:30 |
|
Ceeram
|
a025cb2e01
|
Adding option to ProjectTask, for setting CAKE_CORE_INCLUDE_PATH. Tests added.
|
2011-07-13 23:54:24 +02:00 |
|
José Lorenzo Rodríguez
|
7d1c99a2b0
|
Fixed typo
|
2011-07-13 13:12:44 -07:00 |
|
Ceeram
|
e3dfec98c7
|
fixing regex for setting constant in test.php
|
2011-07-13 18:23:07 +02:00 |
|
Florian Krmer
|
adb943b7fd
|
Refactoring the code to build the query array as suggested here https://github.com/cakephp/cakephp/pull/147#issuecomment-1553663
|
2011-07-12 23:31:07 +02:00 |
|
Ceeram
|
6047024546
|
removing unneeded parameter
|
2011-07-12 17:00:25 +02:00 |
|
Jose Lorenzo Rodriguez
|
e45b35cffe
|
Removing the Controller::modelNames property and loading it's contents in the uses variable.
Simplifying code in Controller::render()
Setting all models loaded into the request parameters so it can be used later on the Form helper
|
2011-07-12 01:19:14 -04:30 |
|
Jose Lorenzo Rodriguez
|
f8ab1d3c73
|
Adding App::location() method to be able to obtain the defined path for a class
|
2011-07-12 00:38:50 -04:30 |
|
José Lorenzo Rodríguez
|
273125d2f5
|
Merge pull request #146 from majna/2.0-database-session
Refactored DatabaseSession to use only 'Session.handler.model' config
|
2011-07-11 16:28:25 -07:00 |
|
Florian Krmer
|
9d7c97c296
|
Adding the "returnQuery" key to the 2nd argument of the find() method to be able to get the query array back from the before state of findMethod() calls. This was required in the past for some more complex queries and is in 2.0 no longer possible because the find methods became protected.
|
2011-07-12 01:04:22 +02:00 |
|
Ceeram
|
4d702ee97f
|
removing unused parameter for value()
|
2011-07-11 22:13:03 +02:00 |
|
Ceeram
|
00dd1ccc96
|
removing unneeded parameter, describe() only takes one parameter
|
2011-07-11 21:07:44 +02:00 |
|
Juan Basso
|
028065e5db
|
Closing forgotten tag.
|
2011-07-11 09:45:22 -04:00 |
|
Majna
|
cde13daed4
|
Refactored DatabaseSession to use only 'Session.handler.model' config. Fixed static call on non-static method DatabaseSession::gc(). Fix for SessionFixture -primary key too long (MySQL Error: 1071)
|
2011-07-11 00:16:41 +02:00 |
|
José Lorenzo Rodríguez
|
f32045787f
|
Merge pull request #145 from hiromi2424/2.0-fix-testsuite-show-passes
Re-adding support for showing passing tests in web testsuite
|
2011-07-09 07:45:19 -07:00 |
|
hiromi2424
|
9e79756b1f
|
fixed unassigned "show passes" parameter for test
|
2011-07-09 18:40:22 +09:00 |
|
José Lorenzo Rodríguez
|
a69fccabf6
|
Merge pull request #144 from majna/2.0
Fix for exception messages and typos
|
2011-07-07 11:26:32 -07:00 |
|
ADmad
|
1bccc7713d
|
Fixing singularization of "curves"
|
2011-07-07 23:08:03 +05:30 |
|
Majna
|
742130b540
|
Fix for wrong Exception messages and typos. Added missing ExceptionRenderer tests for Datasource
|
2011-07-07 19:36:21 +02:00 |
|
ADmad
|
9f4ad94181
|
Fixing singularization of "curves"
|
2011-07-07 22:54:24 +05:30 |
|
José Lorenzo Rodríguez
|
af12a17b81
|
Fixing copy paste typos from previous commit
|
2011-07-07 09:59:02 -07:00 |
|
Renan Gonçalves aka renan.saddam
|
617db60e45
|
Merge pull request #143 from mamchenkov/2.0
Fixed typo in the comment
|
2011-07-07 05:30:48 -07:00 |
|
Leonid Mamchenkov
|
b6ff3a6fdf
|
Fixed typo in the comment
|
2011-07-07 15:14:06 +03:00 |
|
Jose Lorenzo Rodriguez
|
feb567d4ee
|
Adding better help and documentation for loading plugins. The exception renderer will serve a helpful page if a plugin is missing
|
2011-07-07 02:34:22 -04:30 |
|
Jose Lorenzo Rodriguez
|
eaa80bbced
|
Completing support for extracting model validation messages from application plugins
|
2011-07-07 02:11:48 -04:30 |
|
Jose Lorenzo Rodriguez
|
d2519ae0ae
|
Adding support to the extract task to operate on a single plugin, thus removing the hassle of declaring the plugin path in command line
|
2011-07-07 01:57:55 -04:30 |
|
Jose Lorenzo Rodriguez
|
765164f33b
|
Merge branch '2.0-extract-model-validation' into 2.0
|
2011-07-07 01:05:39 -04:30 |
|
mark_story
|
1d0d3f80fb
|
Fixing Helper::value() when models exist in ClassRegistry
and field values are empty.
Fixes #1817
|
2011-07-06 21:26:07 -04:00 |
|
mark_story
|
81a2563a05
|
Merge branch 'auth-logout' into 2.0
|
2011-07-03 12:53:57 -04:00 |
|