Commit graph

1934 commits

Author SHA1 Message Date
mariano.iglesias
97a10184f3 Fixing issue #2713, NumberHelper does not handle some currency formatting very well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:01:11 +00:00
mariano.iglesias
b870ea170c Fixing issue #2735, deleteAll() does not work correctly with model aliases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5323 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 15:40:03 +00:00
phpnut
172f9817cb Fixing console scripts.
Correcting errors when using bake shell to create views.
Corrected errors when interactively creating controllers and views
Corrected issue in ProjectTask::cakeAdmin() with admin route not writing the admin define in core.php
Moved ControllerTask::getAdmin() to Shell::getAdmin()
Removed define setting CAKE_ADMIN to null which would cause issues with admin methods and views
Corrected missing ?>

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:38:46 +00:00
phpnut
9d56c4616e Adding fix for Ticket #2809, fixes Add / Edit scaffolding : Template is always 'edit' instead of $action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:20:21 +00:00
phpnut
cbbf006bd6 Adding fix for:
Ticket #1303, fixes On HABTM save() the associated field 'id' must be first in $this->params
Ticket #1819, fixes save() for HABTM to allow array keys in any order.
Ticket #2762, fixes Model::save() for HABTM not saving if no data from the parent Model is present

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5320 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 13:53:51 +00:00
phpnut
85492fba92 Adding fix for Ticket #2750, fixes rendering of links when requestAction() is used.
Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 06:47:57 +00:00
phpnut
52c2591055 Merging fixes and enhancements into the trunk:
Revision: [5316]
 * Adding correct fix for Ticket #2775

Revision: [5315]
 * Correcting code structure to standards

Revision: [5314]
 * Correcting class method names

Revision: [5313]
 * Correcting code structure to standards

Revision: [5312]
 * Adding fix for Ticket #2786, fixes form dateTime helper does not set year to current

Revision: [5311]
 * Adding fix for Ticket #2792, fixes AuthComponent: Blank password at user login generates SQL error

Revision: [5310]
 * Adding fix for Ticket #2795, fixes hidden field for checkbox.
 * Updated FormHelperTest::testCheckboxField() to reflect the correct return value

Revision: [5309]
 * Adding fix for Ticket #2799, default error message should be i18n

Revision: [5308]
 * Adding fix for Ticket #2737, changed TRUNCATE to TRUNCATE TABLE

Revision: [5307]
 * Adding patch from Ticket #2642, fixes TranslateBehavior doesn't work with Model::saveField()

Revision: [5306]
 * Adding fix for Ticket #2773, fixes Security Component requireAuth

Revision: [5305]
 * Adding fix for Ticket #2798, fixes Hidden field causes undefined Index warning in Security Component

Revision: [5304]
 * Adding ability to read cookies in the Controller::beforeFilter()

Revision: [5303]
 * Adding fix for Ticket #2635, fixes Association data not correct if data is changed in afterFind()

Revision: [5302]
 * Adding fix for Ticket #2736, fixes Core testing broken when libraries are relocated

Revision: [5301]
 * Adding basic description to Acl shell class

Revision: [5300]
 * Adding documentation for Acl shell and internationalizing messages

Revision: [5299]
 * Adding documentation for ErrorHandler in Cake console and internationalizing error messages

Revision: [5298]
 * Adding documentation for Cake console dispatcher

Revision: [5297]
 * Adding documentation for Dispatcher

Revision: [5296]
 * Adding documentation for CakePHP basic functions

Revision: [5295]
 * Fixing translations function typo

Revision: [5294]
 * Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.
 * Corrected form.ctp template parse error

Revision: [5293]
 * Replacing "&&" by "AND" (ticket #2784)

Revision: [5292]
 * Fixing forced empty element selection in FormHelper::select() (Ticket #2749)

Revision: [5291]
 * Fixing double merging of URL parameters in PaginatorHelper::sort() (Ticket #2692)

Revision: [5290]
 * Fixing typo (ticket #2779)

Revision: [5289]
 * Adding fix for Ticket #2775, fixes $this->here shows incorrect value for admin route

Revision: [5288]
 * Adding fix for Ticket #2714, fixes requestAction not working properly

Revision: [5287]
 * Rolling back DboSource changes from 1.2 to 1.1

Revision: [5286]
 * Adding fix for Ticket #2738, fixes Nesting level too deep error when writing object in CakeSession in php 5.2+

Revision: [5285]
 * Refactoring DboSource::__quoteFields() and improving support for mixed string and array conditions

Revision: [5284]
 * Adding fix for #2651, fixes query creation problem in DboAdodb

Revision: [5283]
 * Adding patch from #2652 fixes SQLite LIMIT statement broken

Revision: [5281]
 * fix bake index template

Revision: [5280]
 * updating bake templates for i18n, fixes for scaffold templates

Revision: [5279]
 * fix for scaffold without CAKE_ADMIN

Revision: [5278]
 * Applying patch from ticket #2763, adding test for it

Revision: [5277]
 * Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions

Revision: [5276]
 * Adding test to disprove ticket #2763

Revision: [5275]
 * Removing localization code from core-not-found error

Revision: [5274]
 * Fixing substring quoting in DboSource::__quoteFields()

Revision: [5273]
 * updating Acl, should fix #2733

Revision: [5272]
 * changing Model::create to use Set::filter

Revision: [5271]
 * updating acl shell

Revision: [5270]
 * updating headers

Revision: [5269]
 * Fixing path in help text

Revision: [5268]
 * updating bake cake admin define

Revision: [5267]
 * Adding query conditions parenthesis fix for Ticket #2663

Revision: [5266]
 * updating bake view templates

Revision: [5265]
 * update to formhelper habtm fields

Revision: [5264]
 * updating help for bake

Revision: [5263]
 * refactoring task loading

Revision: [5262]
 * 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

Revision: [5261]
 * Updating doc strings with clarified instructions.

Revision: [5259]
 * udpated view to work with form helper

Revision: [5258]
 * fixing form helper for tickets #2726 and #2659, updated tests.

Revision: [5257]
 * Adding fix for #2640, fixes nested array issues with Router::stripEscape()

Revision: [5256]
 * Initializing tasks before execution (ticket #2725)

Revision: [5255]
 * Adding documentation for Component

Revision: [5254]
 * Adding fix for #2691, fixes error caching xml files

Revision: [5253]
 * Adding fix for #2650, fixes alias in DboAdodb::fields()

Revision: [5252]
 * Adding fix for #2689, fixes issue when using FormHelper::submitImage with Security Component enabled

Revision: [5251]
 * Adding fix for #2648, fixes issue with token not being regenerated 

Revision: [5250]
 * Adding fix for undefined variable in Controller::cleanUpFields()

Revision: [5249]
 * updating view task and view template

Revision: [5248]
 * Enabling custom pagination methods in model

Revision: [5247]
 * Fixing problem when baking only admin functions

Revision: [5246]
 * Fixing typo

Revision: [5245]
 * Using $connection param when cleaning arrays (ticket #2712)

Revision: [5244]
 * updating view task and view template

Revision: [5243]
 * #2672: fixed model task unit test baking

Revision: [5242]
 * fixing missing passedArgs member in controller that was not committed in [5228], fixing cleanUpFields to not set a default time or date.

Revision: [5241]
 * fixing extra ; in bake form template

Revision: [5240]
 * fixing arg shifting in shells for php4

Revision: [5239]
 * updating shells with startup callback, so a shell initializes, then loads tasks, then starts up, Tasks are the same. few other minor fixes to bake, api and acl.

Revision: [5238]
 * 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.

Revision: [5237]
 * updating view task and adding view task templates

Revision: [5236]
 * updating dbconfig, project, model, and controller tasks

Revision: [5235]
 * updating main shell class and dispatcher

Revision: [5234]
 * Adding fixtures for afterFind() test

Revision: [5233]
 * Adding test case for Model::findAll() results modified in afterFind (disproves Ticket #2635)

Revision: [5232]
 * Fixing bug introduced in [5228].

Revision: [5231]
 * Adding changes to Controller::set() to force $camelBacked variables only if second params is null

Revision: [5230]
 * Adding change to Controller::set() to force variable to $camelBacked

Revision: [5229]
 * Fixing issue with bad key set in Controller::generateFieldNames() causing HABTM not to save

Revision: [5228]
 * fixing missing passedArgs member in controller

Revision: [5227]
 * adding pass to the default set of router params

Revision: [5226]
 * Fixing typo (ticket #2674)

Revision: [5225]
 * Added "Model columns" command to get a list of columns and column type for a model

Revision: [5224]
 * Correcting date string in tests

Revision: [5223]
 * fixing File again adding info property

Revision: [5222]
 * Adding fix for #2657, fixes form with Textarea does not save when Security Component is enabled

Revision: [5221]
 * fixing File tests and class

Revision: [5220]
 * Added in more verbose output of Model->save() functionality

Revision: [5219]
 * Added in Model->save() method along with help text explaining how to use it

Revision: [5218]
 * Correcting loading of plugin view classes

Revision: [5217]
 * updating acl and model cli

Revision: [5216]
 * Removed "protected" declaration from a function...PHP 5 only

Revision: [5215]
 * Added in dynamic unbinding, verification of existing models, verification of existing associations, added in help text and reorganized code in swich-case block now that I figured out you could put preg_matches in a case statement :) 

Revision: [5214]
 * fixing typo in cleanUpfields

Revision: [5213]
 * 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

Revision: [5212]
 * updating project task paths

Revision: [5211]
 * updating File class and tests

Revision: [5209]
 * Finishing vendors function to allow loading of plugin vendors files

Revision: [5208]
 * Allowing spaces in session keys (Ticket #2639)

Revision: [5207]
 * Implementing lazy loading of plugin models

Revision: [5206]
 * fixing typo

Revision: [5205]
 * adding check to previous cleanUpFields fix

Revision: [5204]
 * updating cleanUpFields in 1.2 and 1.2 for #2632

Revision: [5203]
 * updating file class deprecated getters, fixes for tickets #1838 and #2641, adding tests, changing Folder default directory to TMP

Revision: [5202]
 * Moving loading of plugins controller to use loadController()

Revision: [5201]
 * Adding documentation for Socket, Validation and Xml

Revision: [5200]
 * Adding comments to Set

Revision: [5199]
 * Fixing docs for Session

Revision: [5198]
 * Formatting

Revision: [5197]
 * Starting code changes to allow dot notation for loading of all classes

Revision: [5196]
 * Refactoring tasks

Revision: [5195]
 * Fixing problem with handling "0" in NumberHelper::toReadableSize() (ticket #2654)

Revision: [5194]
 * Adding comments for Sanitize and Security

Revision: [5193]
 * Adding comments for Router

Revision: [5192]
 * Adding missing accessors

Revision: [5191]
 * Adding documentation for Overloadable in both PHP versions

Revision: [5190]
 * removing whitespace

Revision: [5189]
 * fixing bug in paths of shell well accessing php cli through cake.php

Revision: [5188]
 * minor enhancements like sorting in api shell

Revision: [5187]
 * Added message when no result set is found

Revision: [5186]
 * Made changes to properly parse output of find() and findAll()...but I don't like how it's doing it, have to find a more elegant solution later

Revision: [5184]
 * moving beforeRender to before loadView

Revision: [5183]
 * Added code to handle outputting associations like hasMany properly

Revision: [5182]
 * Adding fix for #2637, fixes issue with Router::stripEscape() corrupting boolean values

Revision: [5181]
 * updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces

Revision: [5180]
 * fixing FormHelper::month to use the comment from ticket #700

Revision: [5179]
 * fixing bad tests in socket and some working in error messages

Revision: [5178]
 * adding strfrotime to FormHelper::month #700, fix to radios which still need to be moved

Revision: [5177]
 * adding and to TextHelper::toList #1934

Revision: [5176]
 * updating html helper, deprecated methods moved to bottom

Revision: [5175]
 * adding formHelper::checkbox 
 * adding tests

Revision: [5174]
 * typo in number test

Revision: [5173]
 * adding number helper format and test for format and currency

Revision: [5172]
 * Using $this->hr() instead of $this->out('------------') as per gwoo's request

Revision: [5171]
 * updating interactive console for the grumpy guy

Revision: [5170]
 * Added missing parameter to dynamic bind call

Revision: [5169]
 * updating interactive console for the grumpy guy

Revision: [5168]
 * Correcting quoting 

Revision: [5167]
 * Correcting DboSybase class methods

Revision: [5166]
 * Adding enhancement suggestion from #1565 to all Dbo classes

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5318 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 09:01:21 +00:00
phpnut
6b02b375d9 Adding correct fix for Ticket #2775
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5316 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:59:41 +00:00
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
9f5becbc33 Adding fix for Ticket #2737, changed TRUNCATE to TRUNCATE TABLE
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5308 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:20:59 +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
phpnut
d15f210546 Adding fix for Ticket #2736, fixes Core testing broken when libraries are relocated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5302 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 23:22:57 +00:00
mariano.iglesias
d733eced60 Adding basic description to Acl shell class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 14:56:28 +00:00
mariano.iglesias
259303d935 Adding documentation for Acl shell and internationalizing messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 14:50:19 +00:00
mariano.iglesias
1bfcc44b18 Adding documentation for ErrorHandler in Cake console and internationalizing error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5299 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:56:25 +00:00
mariano.iglesias
8150647bd1 Adding documentation for Cake console dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5298 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:42:51 +00:00
mariano.iglesias
75ccff3c3e Adding documentation for Dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5297 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:28:55 +00:00
mariano.iglesias
934a2abb93 Adding documentation for CakePHP basic functions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5296 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 13:20:34 +00:00
phpnut
ffdc3bc89a Fixing translations function typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 08:01:03 +00:00
phpnut
4b6c5afe35 Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.
Corrected form.ctp template parse error

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 07:52:32 +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
d1e3d3a788 Adding fix for Ticket #2775, fixes $this->here shows incorrect value for admin route
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 01:04:28 +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
c4c64fa9df fix bake index template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:21:48 +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
dho
a0184d2b41 Adding test to disprove ticket #2763
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 15:03:10 +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
63387a79e3 updating acl shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:38:50 +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
dho
37178c764a Fixing path in help text
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5269 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 06:49:20 +00:00
gwoo
879e568d9d updating bake cake admin define
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 06:20:39 +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
gwoo
ad98ae8a1f updating help for bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 08:44:34 +00:00
gwoo
ed23e08921 refactoring task loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 07:53:58 +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
dho
eea7d7aafc Initializing tasks before execution (ticket #2725)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 13:09:59 +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
gwoo
5f0740add8 updating view task and view template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5249 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 07:31:55 +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
b3b1b0ad74 Fixing problem when baking only admin functions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 17:06:00 +00:00
dho
40c943112f Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 15:37:06 +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
3b80f5a866 updating view task and view template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 08:49:36 +00:00
gwoo
661b32a241 #2672: fixed model task unit test baking
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:53:22 +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
gwoo
9402ab76ef fixing extra ; in bake form template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5241 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:12:11 +00:00
gwoo
0a52326b0c fixing arg shifting in shells for php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5240 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:07:50 +00:00
gwoo
76a4ae2a79 updating shells with startup callback, so a shell initializes, then loads tasks, then starts up, Tasks are the same. few other minor fixes to bake, api and acl.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5239 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 07:21:17 +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
gwoo
7ab1cad783 updating view task and adding view task templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:56 +00:00
gwoo
1b8ad3927d updating dbconfig, project, model, and controller tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:33 +00:00
gwoo
5bcb658b37 updating main shell class and dispatcher
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5235 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:04 +00:00
nate
57891baadf Adding fixtures for afterFind() test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5234 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 21:58:14 +00:00
nate
72f44d48af Adding test case for Model::findAll() results modified in afterFind (disproves Ticket #2635)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5233 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 21:54:11 +00:00
dho
08e2db3251 Fixing bug introduced in [5228].
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5232 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-02 05:49:06 +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
772c4714cd fixing missing passedArgs member in controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5228 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:34:42 +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
chartjes
9e16b0a404 Added "Model columns" command to get a list of columns and column type for a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5225 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 01:49:00 +00:00
phpnut
0ba769f443 Correcting date string in tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5224 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 01:21:58 +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