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 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
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 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
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
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
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
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
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
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
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