Commit graph

1440 commits

Author SHA1 Message Date
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
20dfa51702 Correcting class method names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5314 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:49:50 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
a9c0b7e406 Adding fix for Ticket #2786, fixes form dateTime helper does not set year to current
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:07:11 +00:00
phpnut
f613db8d1c Adding fix for Ticket #2792, fixes AuthComponent: Blank password at user login generates SQL error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 05:59:56 +00:00
phpnut
d93d746663 Adding fix for Ticket #2795, fixes hidden field for checkbox.
Updated FormHelperTest::testCheckboxField() to reflect the correct return value

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5310 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 04:30:45 +00:00
phpnut
b9f56fb0a7 Adding fix for Ticket #2799, default error message should be i18n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5309 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:47:31 +00:00
phpnut
3ea80f7618 Adding patch from Ticket #2642, fixes TranslateBehavior doesn't work with Model::saveField()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:14:54 +00:00
phpnut
902c6fa173 Adding fix for Ticket #2773, fixes Security Component requireAuth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:10:15 +00:00
phpnut
32c092ecff Adding fix for Ticket #2798, fixes Hidden field causes undefined Index warning in Security Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:42:17 +00:00
phpnut
a80be72ff3 Adding ability to read cookies in the Controller::beforeFilter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5304 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:18:36 +00:00
phpnut
02d6c55d9f Adding fix for Ticket #2635, fixes Association data not correct if data is changed in afterFind()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5303 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 01:37:23 +00:00
dho
f5c564f401 Replacing "&&" by "AND" (ticket #2784)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5293 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-18 06:54:41 +00:00
nate
430e11004d Fixing forced empty element selection in FormHelper::select() (Ticket #2749)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-18 05:06:13 +00:00
nate
028ffae272 Fixing double merging of URL parameters in PaginatorHelper::sort() (Ticket #2692)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 17:01:18 +00:00
dho
c803efec88 Fixing typo (ticket #2779)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 07:58:48 +00:00
phpnut
52d99340bb Adding fix for Ticket #2714, fixes requestAction not working properly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 00:59:09 +00:00
nate
c7c578c2d1 Rolling back DboSource changes from 1.2 to 1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 00:36:25 +00:00
phpnut
1454a05ee3 Adding fix for Ticket #2738, fixes Nesting level too deep error when writing object in CakeSession in php 5.2+
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:51:12 +00:00
nate
9eb563d303 Refactoring DboSource::__quoteFields() and improving support for mixed string and array conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:44:56 +00:00
phpnut
0211a2a32a Adding fic for #2651, fixes query creation problem in DboAdodb
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:38:50 +00:00
phpnut
54159742c0 Adding patch from #2652 fixes SQLite LIMIT statement broken
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:08:20 +00:00
gwoo
6d91aad41e updating bake templates for i18n, fixes for scaffold templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:19:31 +00:00
gwoo
b1c551f10a fix for scaffold without CAKE_ADMIN
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 21:41:43 +00:00
dho
d9a0aa1c69 Applying patch from ticket #2763, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 08:32:04 +00:00
gwoo
c9a2da3e0c Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
nate
3dbf59ece3 Fixing substring quoting in DboSource::__quoteFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-12 15:13:53 +00:00
gwoo
335a384613 updating Acl, should fix #2733
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:43:37 +00:00
gwoo
dad80d947d changing Model::create to use Set::filter
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:41:35 +00:00
gwoo
85a662d9ba updating headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:05:08 +00:00
nate
6866ca42a0 Adding query conditions parenthesis fix for Ticket #2663
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-09 20:32:14 +00:00
gwoo
95bb7e0f04 updating bake view templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 16:30:22 +00:00
gwoo
1737dba3d6 update to formhelper habtm fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 10:38:22 +00:00
phpnut
ddb5524028 Adding fix for #2723, this fixes Saving an array in an encrypted cookie, with the CookieComponent, prevents you from deleting it later.
Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
Deprecated the use of the Controller properties to set the CookieComponent properties

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 05:39:39 +00:00
john
b0d8c63682 Updating doc strings with clarified instructions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5261 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 04:29:16 +00:00
gwoo
3d242d2e90 udpated view to work with form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:18:00 +00:00
gwoo
851a834995 fixing form helper for tickets #2726 and #2659, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
phpnut
02508cfb02 Adding fix for #2640, fixes nested array issues with Router::stripEscape()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 19:27:42 +00:00
mariano.iglesias
22ca7f3f3b Adding documentation for Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 04:21:07 +00:00
phpnut
16b649f2f8 Adding fix for #2691, fixes error caching xml files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 19:20:11 +00:00
phpnut
a42d973ab0 Adding fix for #2650, fixes alias in DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 19:12:53 +00:00
phpnut
f9a40f312f Adding fix for #2689, fixes issue when using FormHelper::submitImage with Security Component enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5252 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 18:54:45 +00:00
phpnut
3ed6780ac4 Adding fix for #2648, fixes issue with token not being regenerated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:28:32 +00:00
phpnut
41d41cf7e2 Adding fix for undefined variable in Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5250 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:08:31 +00:00
nate
b2b2da0822 Enabling custom pagination methods in model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 19:14:28 +00:00
dho
ff122743b8 Using $connection param when cleaning arrays (ticket #2712)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 11:39:48 +00:00
gwoo
68113a4a9a fixing missing passedArgs member in controller that was not committed in [5228], fixing cleanUpFields to not set a default time or date.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:40:01 +00:00
phpnut
52680ffcd3 Adding fix for FormHelper::checkbox() not creating the hidden fields.
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 06:11:48 +00:00
phpnut
800961fc97 Adding changes to Controller::set() to force $camelBacked variables only if second params is null
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5231 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 23:04:41 +00:00
phpnut
88dec237a7 Adding change to Controller::set() to force variable to $camelBacked
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5230 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 22:41:43 +00:00
phpnut
9be44a5df1 Fixing issue with bad key set in Controller::generateFieldNames() causing HABTM not to save
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5229 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 22:12:55 +00:00
gwoo
3acebbcecb adding pass to the default set of router params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:27:10 +00:00
dho
c58a7e95b9 Fixing typo (ticket #2674)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5226 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-31 06:00:52 +00:00
gwoo
05d5972dee fixing File again adding info property
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5223 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 00:09:14 +00:00
phpnut
31dd607fbe Adding fix for #2657, fixes form with Textarea does not save when Security Component is enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5222 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 00:08:25 +00:00
gwoo
151bdd04ef fixing File tests and class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5221 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 23:38:36 +00:00
gwoo
700368710f fixing typo in cleanUpfields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5214 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 04:45:14 +00:00
phpnut
cbd5bc9e47 Changing Helper::_ _value(); to Helper::value();
Removed HtmlHelper::value();
Changed all references to _ _value() to value();
Started changes needed for loading custom view classes located in a plugin

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 19:54:36 +00:00
gwoo
aa81a44bb9 updating File class and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5211 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 16:06:49 +00:00
nate
07006c9e4a Allowing spaces in session keys (Ticket #2639)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5208 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 04:10:29 +00:00
phpnut
f916745c87 Implementing lazy loading of plugin models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 02:32:27 +00:00
gwoo
97879bc516 fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:42:02 +00:00
gwoo
80845b11c5 adding check to previous cleanUpFields fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5205 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:40:40 +00:00
gwoo
741e77c4b0 updating cleanUpFields in 1.2 and 1.2 for #2632
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5204 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:38:10 +00:00
gwoo
ae652431e9 updating file class deprecated getters, fixes for tickets #1838 and #2641, adding tests, changing Folder default directory to TMP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5203 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:30:43 +00:00
mariano.iglesias
c9cd07139c Adding documentation for Socket, Validation and Xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5201 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 19:33:55 +00:00
mariano.iglesias
a0ecb53e11 Adding comments to Set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5200 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 19:06:14 +00:00
mariano.iglesias
8392d8d3cf Fixing docs for Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5199 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 18:41:03 +00:00
dho
a357f30cda Fixing problem with handling "0" in NumberHelper::toReadableSize() (ticket #2654)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 07:22:19 +00:00
mariano.iglesias
24dd6ddb0a Adding comments for Sanitize and Security
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5194 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:35:44 +00:00
mariano.iglesias
61a3d09dbc Adding comments for Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5193 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:26:06 +00:00
mariano.iglesias
6dd42ab406 Adding missing accessors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5192 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:12:46 +00:00
mariano.iglesias
d7e7437340 Adding documentation for Overloadable in both PHP versions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5191 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:11:56 +00:00
gwoo
67144a0341 moving beforeRender to before loadView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5184 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 05:41:07 +00:00
phpnut
641a77563f Adding fix for #2637, fixes issue with Router::stripEscape() corrupting boolean values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5182 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:33:12 +00:00
gwoo
5a0832f086 updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:16:47 +00:00
gwoo
00b450929e fixing FormHelper::month to use the comment from ticket #700
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5180 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:27:30 +00:00
gwoo
8ecc250521 fixing bad tests in socket and some working in error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:23:38 +00:00
gwoo
9667aa793a adding strfrotime to FormHelper::month #700, fix to radios which still need to be moved
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5178 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:14:14 +00:00
gwoo
624e02374a adding and to TextHelper::toList #1934
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5177 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:55:05 +00:00
gwoo
e45062f3ef updating html helper, deprecated methods moved to bottom
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:50:20 +00:00
gwoo
bafd4689fe adding formHelper::checkbox
adding tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5175 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 21:44:05 +00:00
gwoo
75f04aebd9 adding number helper format and test for format and currency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 20:45:27 +00:00
phpnut
0bd813132f Correcting quoting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5168 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 06:03:55 +00:00
phpnut
a276f28a00 Correcting DboSybase class methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5167 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 05:58:55 +00:00
phpnut
232b109bef Adding enhancement suggestion from #1565 to all Dbo classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5166 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 05:33:55 +00:00
phpnut
646d1ad868 changing param check in Router::stripEscape()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 04:20:53 +00:00
phpnut
f706d050a4 Merging changes from [5157] into DboSource.
Adding better check in Router::stripEscape()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5160 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 20:00:16 +00:00
nate
eaff06bff6 Adding beforeRender() callback to components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5159 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:24:22 +00:00
gwoo
5e3c6def84 cleaning up auth, adding options to sort in paginator, adding preg match for database in dbo source
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:15:58 +00:00
nate
ae7ab27d20 Refactoring ACL class locations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5156 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:12:05 +00:00
phpnut
90022227b4 Correcting doc comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5153 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 03:11:45 +00:00
phpnut
2099da50c1 Adding Firebird support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 03:09:06 +00:00
mariano.iglesias
77da587c11 Fixing visibility based on attribute name convention
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5151 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 02:38:12 +00:00
phpnut
552d723bad Adding fix to SecurityComponent::_ _validatePost()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5150 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 20:20:55 +00:00
phpnut
5332fa9cd2 Adding fix to allow empty multiple select when using the Security component. Prior to this fix a form would be considered invalid if nothing was selected.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5149 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:51:40 +00:00
mariano.iglesias
f6f9cd69c4 Adding access visibility to comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5148 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:41:20 +00:00
mariano.iglesias
d3af5f253b Adding comments to code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5147 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:38:39 +00:00
phpnut
84de5b6e35 Adding fix for #2614
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 05:15:26 +00:00
phpnut
7fb6896ab6 Adding fix for #2611, fixes App crashes when using requestAction with Security Component enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:34:37 +00:00
phpnut
1db295f366 Adding patch from #2610, fixes Scaffold plugin produces incorrect form "action"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:27:42 +00:00
phpnut
ce66c9863e Adding fix for #2607
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5141 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:24:58 +00:00
phpnut
056c4cc054 Adding fix for #2613, fixes afterFind callback not called on models in depth search > 1 (recursive).
Changed the regex pattern matching in Router::stripEscape()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5140 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:54:42 +00:00
phpnut
df5c02aa8f Adding fix for #2612, Fixes AuthComponent::identify SQL injection, and also removes ability to pass the -! in the posted data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5139 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:29:49 +00:00
mariano.iglesias
12aea2c0f7 Adding comments and internationalizing messages in HttpSocket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5138 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 16:40:26 +00:00
mariano.iglesias
0ae221be1b Adding more comments and fixing i18n messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5136 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 07:03:16 +00:00
mariano.iglesias
3e8d42bb72 Adding documentation and internationalizing some messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5132 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 06:30:19 +00:00
phpnut
aee00348a1 Adding link to Xcache in doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5130 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:58:33 +00:00
mariano.iglesias
99e3f0167b Adding comments for cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:35:13 +00:00
gwoo
7a0944c567 small change in folder chmod
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5127 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:25:18 +00:00
phpnut
3a31e38937 Adding fix for failing DboSource tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5126 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:20:18 +00:00
phpnut
dcad548cac Adding fix for #2587, _ _backAssociation as real class member
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5125 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:05:18 +00:00
phpnut
e2617621fd Adding fix for #2607, fixes Fatal error: Call to a member function on a non-object when using php 4
Adding fix for #2590, fixes ps_files_cleanup_dir: failed: Permission denied

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5124 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 04:44:18 +00:00
nate
540b1052d8 Fixing string-based URL generation inside plugins (Ticket #2588)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 01:40:34 +00:00
phpnut
d2fb7d89ed Fixing bad merge
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5122 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:32:24 +00:00
phpnut
2950d9210b Fixing error notices that are thrown when tmp directory is not writable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5120 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:16:13 +00:00
gwoo
c35c14ff39 adding check for dispatcher class in requestAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5116 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 15:02:34 +00:00
phpnut
96da12358f Adding fix for #2521, this fixes issues with DB2 driver cannot determine the table name of result sets, which breaks associations. Added enhancement for #2446, DB2 driver allowing schema to be specified in the database.php file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5114 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 07:50:02 +00:00
nate
e9357fc432 Refactoring AclComponent to use model instances consistently
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5112 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 20:01:44 +00:00
nate
266db033fc Updating branch with Felix's latest HttpSocket work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5111 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:59:59 +00:00
nate
4ba97ca0da Adding sequence map to DboPostgres for database tables using non-standard sequences
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5110 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:11:09 +00:00
gwoo
3a9799c554 updating scaffold links and views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 05:38:56 +00:00
phpnut
2be8041736 Applying patch from #2575 adds summary attribute to SQL query table in debug mode
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5105 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 04:16:40 +00:00
phpnut
201f6c934e Adding media as an uninflected word
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5104 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:57:25 +00:00
nate
033ced9d7a Changing order of XML class defs (Ticket #2572)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5098 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:58:52 +00:00
dho
02cf8e3564 Adding missing returns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5097 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:48:35 +00:00
gwoo
9bc9ac4b31 updated file class, console classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5094 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:23:25 +00:00
mariano.iglesias
9b5dc57881 Fixing support for error messages when multiple validation rules are used with numeric indexes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5093 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 10:37:23 +00:00
gwoo
cec34ae6df updated folder class and test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5092 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 07:09:42 +00:00
phpnut
9d02c911a6 Adding tests and fixes for #2570, this corrects DboSource::conditions fails to quote mixed array/string conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5087 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:52:59 +00:00
nate
f7e4594df7 Adding schema support to Postgres driver (Ticket #1623)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5085 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 00:15:44 +00:00
mariano.iglesias
4aa29a073d Fixing cache setting when installing a fresh version on a Win box
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5078 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 21:54:48 +00:00
phpnut
48d39f1b45 Merging [5070] into DboMysqli and also adding changes to 1.1.x.x versions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5072 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 14:52:17 +00:00
mariano.iglesias
7de927eb46 Fixing and adding tests for ticket #2551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5071 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 12:07:23 +00:00
dho
2cac3f7c1d Fixing problem in listSources when using '-' in database name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5070 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 09:13:11 +00:00
nate
8fb9acc981 Adding admin route matching fix (Ticket #2541)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5069 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 02:00:24 +00:00
gwoo
51e78eac9f updating model constructor in 1.1, 1.2 to use the $table param
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5067 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 01:09:40 +00:00
phpnut
5d7ce86000 Adding fix for irregular inflections returning word in lowercase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 00:28:03 +00:00
phpnut
156013f99e Added fix for #2545, fixes VALID_NUMBER does not allow negative values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5047 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:50:42 +00:00
phpnut
82755f6685 Adding fix for #2552, fixes JavascriptHelper::object does not convert boolean values correctly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5046 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:38:12 +00:00
phpnut
4353341e2c Adding fix for #2538, fixes findAll doesn't work with TranslateBehavior when specifying which fields to fetch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5045 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:30:55 +00:00
phpnut
6837a51f50 Adding test for #2550.
Added fix for #2550, fixes incorrect inflection of Alias

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:13:45 +00:00
phpnut
2fa0bd866c Adding fix for #2534, refactored mysql and mysqli dbo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5043 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 06:35:32 +00:00
phpnut
94cbbe560f Added fox for #1815
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5042 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 05:49:22 +00:00
phpnut
c4f8a836e5 Adding fix for #2547, fixes issue when saving arrays with numeric keys
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5041 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 05:20:40 +00:00
dho
4513007f35 Applying patch of ticket #2560
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5040 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-11 13:05:55 +00:00
gwoo
d1d583f0cd updating scaffolding and css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-10 16:19:23 +00:00
mariano.iglesias
2131b074f6 Correcting call to __value and using dot notation in button()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5037 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-09 02:09:56 +00:00
dho
7f32528dfa Applying patch from ticket #2540
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5035 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-08 11:38:41 +00:00
phpnut
44f611cba7 Fixing paths erros in new bash and CLI scripts.
Updated missing files and directories in skel.
Corrected paths for app custom scaffold templates

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5031 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:12:23 +00:00