Commit graph

943 commits

Author SHA1 Message Date
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
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
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
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
Mark Story
1ffa7366a5 Removing now dead code. 2011-06-25 19:31:20 -04:00
Mark Story
4073584eef Fixing more failing tests.
Fixing use of properties that are going away.
2011-06-25 19:31:20 -04:00
Mark Story
87fe66353f Removing pointless test that was in the middle of an unrelated test. 2011-06-25 19:31:20 -04:00
Mark Story
f5b3549018 Fixing issue where _method would be remembered as a field. 2011-06-25 19:31:20 -04:00
Mark Story
25870441bc Fixing '2.name' style fields when creating multiple record forms. 2011-06-25 19:31:20 -04:00
Mark Story
96cc1b98b4 Making a test more specific. 2011-06-25 19:31:19 -04:00
Mark Story
b7e554fcd7 Starting to update FormHelper's internals to work with changes in
Helper.
2011-06-25 19:31:19 -04:00
Mark Story
3a847ae28f Updating more tests for change in Helper setEntity(). 2011-06-25 19:31:19 -04:00
Mark Story
8a8336c1b0 Starting to convert Helper::setEntity() and View::entity()
to not be nearly as complex and magic.  This also
helps reduce coupling between the helpers and Models.
2011-06-25 19:31:19 -04:00
Mark Story
ffe575bb7d Removing expectation that was not being fulfilled. 2011-06-25 19:30:56 -04:00
Robert Sworder
fb3a1928d3 Minor comment and path changes. 2011-06-25 15:08:41 +01:00
AD7six
fcd0505d42 Hide db credentials
To protect users who have publically accessible installs with debug
turned on - *** out db login credentials
2011-06-24 10:25:20 +02:00
Mark Story
08f1afe328 Updating varchar, text columns to use nvarchar.
This storage type stores unicode properly, and is the
saner default datatype for most applications.
Fixes #1321
2011-06-23 23:01:17 -07:00
Mark Story
6bcfd19ea7 Fixing tests that shouldn't have been changed. 2011-06-23 16:27:59 -07:00
Mark Story
3169c5a1e7 Fixing issues with unicode quoting. 2011-06-23 16:13:35 -07:00
Mark Story
9ab2ec7d49 Adding support for Unicode characters. Refs #1321 2011-06-23 15:46:03 -07:00