mark_story
|
177cd39abb
|
Moving private method detection into Controller.
This fixes an issue where potected methods would
not be called, and no exception would be raised.
|
2011-07-22 20:29:44 -04:00 |
|
mark_story
|
70744f3cb4
|
Fixing failing tests for Controller.
Adding a string cast for easier testing.
|
2011-07-22 20:29:44 -04:00 |
|
mark_story
|
173e043eaf
|
Fixing more failing tests caused by requestAction
and changes in Controller::__construct.
|
2011-07-22 20:29:44 -04:00 |
|
mark_story
|
fc08784c22
|
Making Controller tests pass.
|
2011-07-22 20:29:43 -04:00 |
|
mark_story
|
5240edeb82
|
Refactoring tests to better use PHPUnit's features
Removing non-functional cruft.
|
2011-07-22 20:29:43 -04:00 |
|
mark_story
|
9641bcc8df
|
Modifying Dispatcher and its test cases to accept a CakeResponse as part of its
arguments.
|
2011-07-22 20:29:43 -04:00 |
|
Jose Lorenzo Rodriguez
|
420a2f56df
|
Merge branch '2.0-dbo-performance' into 2.0
|
2011-07-20 22:15:45 -04:30 |
|
Ceeram
|
4ae9058012
|
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
|
2011-07-19 10:57:41 +02:00 |
|
Ceeram
|
f94c50dc5d
|
added ModelDeleteTest to AllModelTest
|
2011-07-19 10:57:31 +02:00 |
|
Juan Basso
|
a2e7c0febe
|
Optimization in FormHelper::postLink().
|
2011-07-18 20:33:45 -04:00 |
|
Jose Lorenzo Rodriguez
|
50d4330487
|
Ensuring uniqueness of method cache keys, all tests passing now
|
2011-07-17 23:45:22 -04:30 |
|
Jose Lorenzo Rodriguez
|
08be8300ee
|
Merge branch '2.0' into 2.0-dbo-performance
|
2011-07-17 23:22:58 -04:30 |
|
Jose Lorenzo Rodriguez
|
222df2c315
|
Removing unneeded assert that fails when run in the all test suite
|
2011-07-17 23:12:51 -04:30 |
|
Jose Lorenzo Rodriguez
|
4c8f5ce5be
|
Bringing up to date the ModelTask test case after adding the new validation method
|
2011-07-17 22:46:56 -04:30 |
|
Jose Lorenzo Rodriguez
|
b603232aee
|
Removing redundant call to DboSource::fields(), the fields come already quoted from DboSource::read()
|
2011-07-17 17:42:47 -04:30 |
|
Jose Lorenzo Rodriguez
|
108505a6a0
|
Merge branch '2.0-form-helper' into 2.0
|
2011-07-16 17:32:07 -04:30 |
|
Jose Lorenzo Rodriguez
|
ca0dccb1e7
|
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
|
2011-07-15 18:30:55 -04:30 |
|
Jose Lorenzo Rodriguez
|
a02db65fd1
|
Removing persist object feature, it was problematic an incomplete
|
2011-07-15 18:30:03 -04:30 |
|
Jose Lorenzo Rodriguez
|
d5ce09cd96
|
Restoring the validationErrors property in FormHelper, it will be checked first before the validation errors in the model
|
2011-07-15 18:24:27 -04:30 |
|
José Lorenzo RodrÃguez
|
7596fcf45a
|
Merge pull request #153 from ajibarra/e4c1f28d849c6a60c369265a502315260babe80b
Preventing AppModel to be inspected inside CakeSchema
|
2011-07-15 14:48:01 -07:00 |
|
José Lorenzo RodrÃguez
|
57a8c108a6
|
Merge pull request #147 from burzum/feature/2.0-return-query
Feature/2.0 return query
|
2011-07-15 14:10:08 -07:00 |
|
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
|
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
|
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
|
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
|
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 |
|
Ceeram
|
a025cb2e01
|
Adding option to ProjectTask, for setting CAKE_CORE_INCLUDE_PATH. Tests added.
|
2011-07-13 23:54:24 +02:00 |
|
Florian Krämer
|
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 |
|
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 |
|
Florian Krämer
|
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 |
|
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
|
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 |
|
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
|
71933f5cf5
|
Adding a logout callback to authenticate objects.
Adding tests for the callback.
Adding doc blocks for the new callback.
Fixes #1758
|
2011-07-03 12:53:21 -04:00 |
|
mark_story
|
c2a96267b2
|
Merge branch 'form-helper' into 2.0
|
2011-07-02 12:13:41 -04:00 |
|