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
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
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
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
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
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
José Lorenzo Rodríguez
9ea1a049fe
Fixing typo in UpgradeShell
2011-07-02 14:21:27 -07:00
José Lorenzo Rodríguez
f671be60d1
Merge pull request #141 from luisarmando/componentsUpgrade
...
Update component task, make components extend Component instead of Object
2011-07-02 13:05:43 -07:00
mark_story
be09c67fa6
Fixing failing test that happened between 12:00 & 12:59
2011-07-02 13:01:08 -04:00
mark_story
c2a96267b2
Merge branch 'form-helper' into 2.0
2011-07-02 12:13:41 -04:00
Luís Armando
ae9a3ef479
Update component task, make components extend Component instead of Object.
2011-07-02 17:49:29 +02:00
Mark Story
0366d8f18a
Changing title CSS for web test runner.
...
Fixes #1752
2011-07-01 23:23:22 -04:00
Mark Story
2f24be77e9
Merge pull request #140 from majna/2.0
...
Fix for render element - allow under_scored plugin name.
Fixes #1814
2011-07-01 18:11:57 -07:00
Mark Story
2725718231
Merge pull request #132 from thatcode/2.0
...
Minor comment and path changes.
2011-07-01 18:06:24 -07:00
Majna
71ed244f14
Fix for render element - allow under_scored plugin name. Fixes #1814
2011-07-02 02:17:44 +02:00
José Lorenzo Rodríguez
a1f63a17b3
Merge pull request #139 from tPl0ch/2.0-legacycode
...
Removed legacy app/config folder from 2.0 branch.
2011-07-01 10:33:16 -07:00
Thomas Ploch
4854b4a936
Removed legacy app/config folder from 2.0 branch.
2011-07-01 19:27:08 +02:00
mark_story
bef2e75bdf
Fixing failing debugger test.
...
Adding doc blocks for helper properties.
2011-07-01 07:56:48 -04:00
mark_story
c9acb6b587
Moving FormHelper specifics into that class.
2011-07-01 07:39:03 -04:00
Jose Lorenzo Rodriguez
ee2930d3d0
Removing magic variable in DboSource to bypass the adding of fields to association queries, instead adding the ability to declare 'fields' => false in the association array. This opens the possibility of having joins for filtering purposes.
2011-06-28 11:45:37 -04:30
ADmad
b22e30c5a3
Removing unneeded magic methods. Closes #1802
2011-06-28 17:28:36 +05:30
Mark Story
89258327c6
Moving entity() and its related attributes to Helper
...
Removing entity() and its attributes from View.
Having that information on View allowed for unwanted side effects,
and seemed like a break of encapsulation.
2011-06-25 20:02:34 -04:00
Mark Story
e4d701021e
Fixing failing tests caused by merge with 1.3
2011-06-25 20:00:39 -04:00