Commit graph

1977 commits

Author SHA1 Message Date
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
5e6afe29be fixing pre color in css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5158 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:22:27 +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
nate
22611de49b Fixing undefined variable in Shell:error()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5155 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 17:27:30 +00:00
gwoo
34528b40ce adding Media to inflector tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5154 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 17:11:00 +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
a440663f18 Merging fixes into the trunk:
Revision: [5145]
 * Adding fix for #2614

Revision: [5143]
 * Adding fix for #2611, fixes App crashes when using requestAction with Security Component enabled

Revision: [5142]
 * Adding patch from #2610, fixes Scaffold plugin produces incorrect form "action"

Revision: [5141]
 * Adding fix for #2607

Revision: [5140]
 * Adding fix for #2613, fixes afterFind callback not called on models in depth search > 1 (recursive).
 * Changed the regex pattern matching in Router::stripEscape()

Revision: [5139]
 * Adding fix for #2612, Fixes AuthComponent::identify SQL injection, and also removes ability to pass the -! in the posted data

Revision: [5138]
 * Adding comments and internationalizing messages in HttpSocket


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5146 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 05:19:21 +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
phpnut
5c17741d74 Merging fixes into the trunk:
Revision: [5136]
 * Adding more comments and fixing i18n messages

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5137 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 07:07:22 +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
phpnut
e93999c28c Merging fixes into the trunk:
Revision: [5132]
 * Adding documentation and internationalizing some messages

Revision: [5131]
 * Removing inline comments in test file

Revision: [5130]
 * Adding link to Xcache in doc comments

Revision: [5128]
 * Adding comments for cache

Revision: [5127]
 * small change in folder chmod

Revision: [5126]
 * Adding fix for failing DboSource tests

Revision: [5125]
 * Adding fix for #2587, _ _backAssociation as real class member

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

Revision: [5123]
 * Fixing string-based URL generation inside plugins (Ticket #2588)

Revision: [5122]
 * Fixing bad merge

Revision: [5121]
 * Fixing notice in in the skel home.ctp

Revision: [5120]
 * Fixing error notices that are thrown when tmp directory is not writable

Revision: [5119]
 * Adding tests to test usage of set() & save() for editing records

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5135 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 06:50:08 +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
63b2208e76 Removing inline comments in test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5131 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 06:27:09 +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
50fb02cb17 Fixing notice in in the skel home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5121 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:20:56 +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
mariano.iglesias
511af227f1 Adding tests to test usage of set() & save() for editing records
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 17:54:59 +00:00
phpnut
bda355b5b1 Merging Fixes into the trunk:
Revision: [5110]
 * Adding sequence map to DboPostgres for database tables using non-standard sequences

Revision: [5109]
 * Adding tests for 'page' and 'offset' with hasMany bindings

Revision: [5108]
 * Adding test that fails when using page + limit and offset + limit on a HABTM binding

Revision: [5107]
 * updating scaffold links and views

Revision: [5106]
 * updating db config task

Revision: [5105]
 * Applying patch from #2575 adds summary attribute to SQL query table in debug mode

Revision: [5104]
 * Adding media as an uninflected word

Revision: [5103]
 * updating project task

Revision: [5102]
 * updating project task

Revision: [5101]
 * updating project task

Revision: [5100]
 * fix to paths in shell

Revision: [5099]
 * updating shell paths and help

Revision: [5098]
 * Changing order of XML class defs (Ticket #2572)

Revision: [5097]
 * Adding missing returns

Revision: [5096]
 * updating acl shell

Revision: [5095]
 * adding bake tasks

Revision: [5094]
 * updated file class, console classes

Revision: [5093]
 * Fixing support for error messages when multiple validation rules are used with numeric indexes

Revision: [5092]
 * updated folder class and test

Revision: [5091]
 * Adding fix for errors on some linux and windows install when using bash scripts

Revision: [5090]
 * Removing unused tasks

Revision: [5089]
 * Fixing incorrect index in ACL shell script error message, and clarifying help text

Revision: [5087]
 * Adding tests and fixes for #2570, this corrects DboSource::conditions fails to quote mixed array/string conditions

Revision: [5086]
 * Correcting doc comments

Revision: [5085]
 * Adding schema support to Postgres driver (Ticket #1623)

Revision: [5084]
 * refactoring paths 

Revision: [5083]
 * Fixing output caused when class was loaded in console

Revision: [5082]
 * Refactoring translation string extractor class to work with new console

Revision: [5081]
 * updating baking of models

Revision: [5080]
 * fixing paths in shell

Revision: [5079]
 * fixing error in shell taskNames

Revision: [5078]
 * Fixing cache setting when installing a fresh version on a Win box

Revision: [5077]
 * updating tasks, removing BakeTask base class, Task extends Shell

Revision: [5076]
 * updating shell task handling, removing bake2

Revision: [5075]
 * updating acl and bake shells

Revision: [5074]
 * adding tasks and uses to shells, var $tasks and var $uses. if the task exists in the var it will be executed if the command is the same as the task. uses will load the model. 

Revision: [5073]
 * removing em from css

Revision: [5072]
 * Merging [5070] into DboMysqli and also adding changes to 1.1.x.x versions

Revision: [5071]
 * Fixing and adding tests for ticket #2551 

Revision: [5070]
 * Fixing problem in listSources when using '-' in database name

Revision: [5069]
 * Adding admin route matching fix (Ticket #2541)

Revision: [5068]
 * updating shell

Revision: [5067]
 * updating model constructor in 1.1, 1.2 to use the $table param

Revision: [5065]
 * Adding fix for irregular inflections returning word in lowercase

Revision: [5064]
 * updating bake setCake

Revision: [5063]
 * updating paths for shell, bake

Revision: [5062]
 * Fixing ACL script for new model interface (Ticket #2164)

Revision: [5061]
 * updating paths for shell

Revision: [5060]
 * Adding help() as a default command if main() is not defined in shell script

Revision: [5059]
 * updating paths for shell

Revision: [5058]
 * updating shells for new conventions, better handling of paths, more help

Revision: [5057]
 * Adding directories to skel/vendors

Revision: [5056]
 * Renaming file

Revision: [5055]
 * Renaming vendors/console to vendors/shells

Revision: [5054]
 * not fully complete changes but adding so we can change from Script to Shell

Revision: [5053]
 * adding application specific vendors/console/templates

Revision: [5052]
 * Adding templates directory to vendors/console to allow overriding templates used by the cli

Revision: [5051]
 * Removing unneeded empty files

Revision: [5050]
 * Adding application specific directories to vendors

Revision: [5049]
 * moving tasks directory 

Revision: [5048]
 * Adding console directory to vendors.
 * Added missing empty files

Revision: [5047]
 * Added fix for #2545, fixes VALID_NUMBER does not allow negative values

Revision: [5046]
 * Adding fix for #2552, fixes JavascriptHelper::object does not convert boolean values correctly

Revision: [5045]
 * Adding fix for #2538, fixes findAll doesn't work with TranslateBehavior when specifying which fields to fetch

Revision: [5044]
 * Adding test for #2550.
 * Added fix for #2550, fixes incorrect inflection of Alias

Revision: [5043]
 * Adding fix for #2534, refactored mysql and mysqli dbo

Revision: [5042]
 * Added fox for #1815

Revision: [5041]
 * Adding fix for #2547, fixes issue when saving arrays with numeric keys

Revision: [5040]
 * Applying patch of ticket #2560

Revision: [5039]
 * Removing unused function

Revision: [5038]
 * updating scaffolding and css

Revision: [5037]
 * Correcting call to __value and using dot notation in button()

Revision: [5036]
 * Updating help text on ACL script

Revision: [5035]
 * Applying patch from ticket #2540

Revision: [5034]
 * Removing bake() function and implementation of help()

Revision: [5033]
 * Fixing undefined variable error

Revision: [5032]
 * Adding fix for #2530, adds support for Oracle to acl cli

Revision: [5031]
 * Fixing paths erros in new bash and CLI scripts.
 * Updated missing files and directories in skel.
 * Corrected paths for app custom scaffold templates

Revision: [5030]
 * Adding empty file to all empty directories

Revision: [5029]
 * Copying missing directories to skel/views/layouts

Revision: [5028]
 * Copying i18n.sql to skel directory

Revision: [5027]
 * Adding sanity checking / warning messages for data returned from Model::loadInfo() (thanks phishy)

Revision: [5026]
 * Reverting last commit

Revision: [5025]
 * Renaming file to see if executable bit will remain

Revision: [5024]
 * Test commit to see if executable bit is removed

Revision: [5022]
 * Correcting property settings on file

Revision: [5021]
 * Correcting property settings on file

Revision: [5020]
 * Correcting line endings on bash script.
 * Starting to correct paths to new console directory.
 * Replaced SCRIPTS define with CONSOLE_LIBS

Revision: [5019]
 * Adding possibility to specify if option values should be escaped, and adding tests for it

Revision: [5018]
 * Removing wrong delete call

Revision: [5017]
 * Moving dispatch.php to console/cake.php

Revision: [5016]
 * updating acl console script

Revision: [5015]
 * Restructuring console directory

Revision: [5014]
 * Adding new libs directory

Revision: [5013]
 * Renaming scripts directory to better explain what it is for

Revision: [5012]
 * Removing the _task from file names

Revision: [5011]
 * updating scripts and skel homepage

Revision: [5010]
 * Adding patch from #2528, fixes validation passing when even when allowEmpty === false

Revision: [5009]
 * converted bake script to use console. refactored some other script code

Revision: [5006]
 * adding commands to scripts,  similar to controller actions, will call main action if it exists, cleaning up some other stuff

Revision: [5005]
 * fixing typo in ConsoleScript

Revision: [5004]
 * Fixed folder test

Revision: [5003]
 * Adding tests for Folder

Revision: [5002]
 * fixed missing dispatcher in ErrorHandler, updated AclScript, added initialize method to CakeScript which should be used by subclasses as the constructor.

Revision: [5001]
 * Adding empty test cases for File and Folder

Revision: [5000]
 * updating createFile in CakeScript, adding mode to Folder construct in File class

Revision: [4999]
 * changing reference to createFile in acl.php

Revision: [4998]
 * updating console scripts, added script path searching, for /vendors and /app/vendors, class names must be like "AclScript" in /scripts/acl.php, all scripts now extend CakeScript

Revision: [4997]
 * Renaming file to cake_script.php

Revision: [4996]
 * updating console_script

Revision: [4995]
 * Adding fix for #2522, fixes errors when primary key is not auto increment and the primary key is set in the data to be saved.

Revision: [4994]
 * Cleaning up line endings

Revision: [4993]
 * updating default homepage

Revision: [4992]
 * Updating ACL script for new Console classes

Revision: [4991]
 * Adding fix for #2512, fixes translation behavior count queries

Revision: [4990]
 * Adding newlines to ConsoleScript::hr()

Revision: [4989]
 * Adding tests for #2520

Revision: [4988]
 * Renaming file extensions of scaffolding templates to ctp

Revision: [4987]
 * Fixing problem with submit options in FormHelper::end() (ticket #2516)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5118 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 17:19:53 +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
dho
5077bfc93e Fixing undefinded variable error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5115 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 09:26:33 +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
gwoo
c114cb1259 updating cake.bat to handle paths with spaces in the directory name, ticket #2581
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5113 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 06:05:27 +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
mariano.iglesias
7a380cc0de Adding tests for 'page' and 'offset' with hasMany bindings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5109 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 18:47:02 +00:00
mariano.iglesias
e4fb1372c5 Adding test that fails when using page + limit and offset + limit on a HABTM binding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5108 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 18:19:56 +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
gwoo
b77a0af14a updating db config task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5106 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 04:21:44 +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
gwoo
c2968d91e9 updating project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5103 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:54:47 +00:00
gwoo
d1a44e9777 updating project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5102 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:51:40 +00:00
gwoo
673d0e1492 updating project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5101 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:41:50 +00:00
gwoo
8e161f4079 fix to paths in shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5100 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:17:17 +00:00
gwoo
4c9a9ebb31 updating shell paths and help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5099 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 01:16:10 +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
b9c1fb8ed8 updating acl shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5096 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:10:32 +00:00
gwoo
e77f5b52ea adding bake tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5095 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:24:40 +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
96e80a3e29 Adding fix for errors on some linux and windows install when using bash scripts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5091 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 06:34:56 +00:00
phpnut
edd112eae9 Removing unused tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5090 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 04:36:42 +00:00
nate
a17d40e948 Fixing incorrect index in ACL shell script error message, and clarifying help text
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5089 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 02:19:26 +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
phpnut
586fbc9dea Correcting doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5086 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:14:41 +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
gwoo
f742c8f879 refactoring paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5084 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 00:12:15 +00:00
phpnut
a27b0f2fa6 Fixing output caused when class was loaded in console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5083 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:42:16 +00:00
phpnut
e2fadb5680 Refactoring translation string extractor class to work with new console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5082 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:20:47 +00:00
gwoo
51e3ce02f6 updating baking of models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:11:40 +00:00
gwoo
172492963e fixing paths in shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5080 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 22:25:40 +00:00
gwoo
aca2ccf3bb fixing error in shell taskNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5079 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 22:03:03 +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
gwoo
338a8c8f4b updating tasks, removing BakeTask base class, Task extends Shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5077 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 21:47:36 +00:00
gwoo
1875d74e4a updating shell task handling, removing bake2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5076 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:49:37 +00:00
gwoo
e8292ec7fd updating acl and bake shells
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5075 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:18:57 +00:00
gwoo
be64c569b1 adding tasks and uses to shells, var $tasks and var $uses. if the task exists in the var it will be executed if the command is the same as the task. uses will load the model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5074 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:17:27 +00:00
gwoo
0a428b371c removing em from css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 16:03:24 +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
130d95bd5d updating shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5068 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 01:36:56 +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
gwoo
b71eede168 updating bake setCake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5064 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:44:37 +00:00
gwoo
9b39236117 updating paths for shell, bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5063 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:40:37 +00:00
nate
7154feb7c8 Fixing ACL script for new model interface (Ticket #2164)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5062 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:11:58 +00:00
gwoo
5b42ca4355 updating paths for shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5061 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 22:53:32 +00:00
nate
026d680ccb Adding help() as a default command if main() is not defined in shell script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5060 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:56:55 +00:00
gwoo
1ea4631ac2 updating paths for shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5059 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:43:27 +00:00
gwoo
846c665497 updating shells for new conventions, better handling of paths, more help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5058 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:18:07 +00:00
phpnut
2e8e37860d Adding directories to skel/vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5057 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:02:50 +00:00
phpnut
16a71704bd Renaming file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5056 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 20:08:27 +00:00
gwoo
f1bf1fa6ee not fully complete changes but adding so we can change from Script to Shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5054 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 19:47:14 +00:00
phpnut
5be2a6ef40 Removing unneeded empty files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5051 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 18:33:33 +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
dho
6e4f66555d Removing unused function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5039 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-11 12:13:00 +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
nate
ca92008260 Updating help text on ACL script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5036 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-08 15:24:00 +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
dho
e46be32f43 Removing bake() function and implementation of help()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5034 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-07 15:30:06 +00:00
dho
d0961d5871 Fixing undefined variable error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5033 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 15:39:01 +00:00
phpnut
6295402bc3 Adding fix for #2530, adds support for Oracle to acl cli
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5032 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:32:06 +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
phpnut
c803acea56 Adding empty file to all empty directories
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5030 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:09:27 +00:00
phpnut
aecb9e63f0 Copying missing directories to skel/views/layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5029 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 02:50:02 +00:00
phpnut
32cc12553e Copying i18n.sql to skel directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5028 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 02:39:44 +00:00
nate
360690ed7f Adding sanity checking / warning messages for data returned from Model::loadInfo() (thanks phishy)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5027 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 17:36:30 +00:00
phpnut
8a3914f8df Reverting last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5026 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:25:11 +00:00
phpnut
d6e6249f05 Renaming file to see if executable bit will remain
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5025 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:24:17 +00:00
phpnut
20baea33dc Test commit to see if executable bit is removed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5024 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:21:34 +00:00
phpnut
e4da27674a Correcting property settings on file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5022 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:14:58 +00:00
phpnut
883d8a963c Correcting line endings on bash script.
Starting to correct paths to new console directory.
Replaced SCRIPTS define with CONSOLE_LIBS

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5020 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:00:38 +00:00
mariano.iglesias
22adcb07a1 Adding possibility to specify if option values should be escaped, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5019 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 00:34:56 +00:00
mariano.iglesias
d4bd5e5dbc Removing wrong delete call
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5018 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 00:18:08 +00:00
phpnut
476d621309 Moving dispatch.php to console/cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5017 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 21:46:55 +00:00
gwoo
694a1f30dc updating acl console script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5016 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:12:08 +00:00
phpnut
900d180ec9 Restructuring console directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5015 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:09:34 +00:00
phpnut
b32d55e28d Renaming scripts directory to better explain what it is for
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5013 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:05:34 +00:00
phpnut
9b7206e14d Removing the _task from file names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5012 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 19:53:46 +00:00
gwoo
15609e0fbf updating scripts and skel homepage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5011 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 19:32:05 +00:00
phpnut
b42e908656 Adding patch from #2528, fixes validation passing when even when allowEmpty === false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5010 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 07:13:15 +00:00
gwoo
9e6677030b converted bake script to use console. refactored some other script code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5009 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 04:37:25 +00:00
gwoo
c9dcd61801 adding commands to scripts, similar to controller actions, will call main action if it exists, cleaning up some other stuff
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5006 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 03:49:53 +00:00
gwoo
486856f347 fixing typo in ConsoleScript
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5005 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 02:26:55 +00:00
mariano.iglesias
37daaf6dfe Fixed folder test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5004 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:38:26 +00:00
mariano.iglesias
74d9a205ec Adding tests for Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5003 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:29:33 +00:00
gwoo
326c2a900d fixed missing dispatcher in ErrorHandler, updated AclScript, added initialize method to CakeScript which should be used by subclasses as the constructor.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5002 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:25:04 +00:00
mariano.iglesias
383c8d36d3 Adding empty test cases for File and Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5001 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 23:25:21 +00:00
gwoo
c0368b34b4 updating createFile in CakeScript, adding mode to Folder construct in File class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5000 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 23:22:02 +00:00
gwoo
f467a07c34 changing reference to createFile in acl.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4999 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 22:58:30 +00:00
gwoo
d68228b704 updating console scripts, added script path searching, for /vendors and /app/vendors, class names must be like "AclScript" in /scripts/acl.php, all scripts now extend CakeScript
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4998 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 22:40:22 +00:00
phpnut
73f22d074b Renaming file to cake_script.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4997 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 21:16:44 +00:00
gwoo
a335a68aea updating console_script
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4996 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 21:14:46 +00:00
phpnut
0bdb6d7e1d Adding fix for #2522, fixes errors when primary key is not auto increment and the primary key is set in the data to be saved.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4995 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 12:08:28 +00:00
phpnut
137fea94c6 Cleaning up line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
gwoo
3700c963b5 updating default homepage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4993 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 00:44:02 +00:00
nate
3dc3d7b329 Updating ACL script for new Console classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4992 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 21:19:22 +00:00
phpnut
3687a0a5d0 Adding fix for #2512, fixes translation behavior count queries
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4991 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 18:50:16 +00:00
nate
5693559919 Adding newlines to ConsoleScript::hr()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4990 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 18:41:55 +00:00
phpnut
b5e3a55e03 Adding tests for #2520
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4989 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 18:37:28 +00:00
dho
9ac249631b Renaming file extensions of scaffolding templates to ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4988 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 13:38:57 +00:00
dho
9b18367fcc Fixing problem with submit options in FormHelper::end() (ticket #2516)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 12:56:51 +00:00
phpnut
90e05ed48e Merging fixes into the trunk:
Revision: [4985]
 * Adding fix to allow multiple forms when using SecurityComponent

Revision: [4984]
 * Fixing undefined notice after removing RequestHandler::disableStartup = false; in [4981]


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4986 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 09:18:06 +00:00
phpnut
7fce78e73f Adding fix to allow multiple forms when using SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4985 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 09:11:42 +00:00
phpnut
c3370e42f6 Fixing undefined notice after removing RequestHandler::disableStartup = false; in [4981]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4984 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 09:04:52 +00:00
phpnut
34eb76b0ff Merging fixes and enhancement into the trunk:
NOTICE ALL DEPRECATED METHODS ARE REMOVED FROM THE CORE AS OF THIS REVISION!

Revision: [4981]
 * Removing deprecated code and files

/basics.php
 * normalizeList() Deprecated: see Set::normalize
 * countdim() see Set::countDim

libs/controller/components/request_handler.php
 * RequestHandler::disableStartup = false; see RequestHandler::$enabled
 * RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs()
 * RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs()

libs/controller/components/session.php
 * SessionComponent::flash() use $session->flash('key'); in your views

libs/controller/controller.php
 * Controller::_setTitle() see Controller::set()

libs/model/datasources/dbo_source.php
 * DboSource::fetchArray() see DboSource::fetchRow()
 * DboSource::one() see DboSource::fetchRow()

libs/model/db_acl.php
 * DB_ACL::getAco()  see AclComponent::$Aco::node()
 * DB_ACL::getAro() see AclComponent::$Aro::node()

libs/neat_array.php
 * Class is not longer available use libs/set.php Set class

libs/sanitize.php
 * Sanitize::sql() see Sanitize::escape()
 * Sanitize::cleanArray() see Sanitize::clean()
 * Sanitize::cleanArrayR() see Sanitize::clean()
 * Sanitize::cleanValue() see Sanitize::clean()

libs/view/helper.php
 * Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes()

libs/view/helpers/form.php
 * define('TAG_DIV', '<div class="%s">%s</div>');
 * define('TAG_P_CLASS', '<p class="%s">%s</p>');
 * define('TAG_LABEL', '<label for="%s">%s</label>');
 * define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>');
 * FormHelper::labelTag() see FormHelper::label()
 * FormHelper::divTag() see HtmlHelper::div()
 * FormHelper::pTag() see HtmlHelper::para
 * FormHelper::generateInputDiv() see FormHelper::input()
 * FormHelper::generateCheckboxDiv() see FormHelper::input()
 * FormHelper::generateDate() see FormHelper::input()
 * FormHelper::generateTime() see FormHelper::input()
 * FormHelper::generateDateTime() see FormHelper::input()
 * FormHelper::generateAreaDiv() see FormHelper::input()
 * FormHelper::generateSelectDiv() see FormHelper::input()
 * FormHelper::generateSubmitDiv() see FormHelper::input()
 * FormHelper::generateFields() see FormHelper::input()

libs/view/helpers/html.php
 * HtmlHelper::file() see FormHelper::file()
 * HtmlHelper::submit() see FormHelper::submit()
 * HtmlHelper::selectTag() see FormHelper::select()
 * HtmlHelper::formTag() see FormHelper::create()
 * HtmlHelper::linkEmail() see HtmlHelper::link()
 * HtmlHelper::dayOptionTag() see FormHelper::day()
 * HtmlHelper::yearOptionTag() see FormHelper::year()
 * HtmlHelper::monthOptionTag() see FormHelper::month()
 * HtmlHelper::hourOptionTag() see FormHelper::hour()
 * HtmlHelper::minuteOptionTag() see FormHelper::minute()
 * HtmlHelper::meridianOptionTag() see FormHelper::meridian()
 * HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime()

libs/view/helpers/javascript.php
 * JavascriptHelper::linkOut() see JavascriptHelper::link()

libs/view/view.php
 * View::setLayout() use $this->layout in your view

Revision: [4980]
Adding option to send extra parameters to a custom validation and more tests for validation

Revision: [4978]
 * Adding ability to disable specific form data fields from being added to the validation key.
 * Example of using this would be javascript that changes hidden fields, adding additional fields added using javascript, etc.
 * This is set in a Controller::beforeFilter().
Example usage:
{{{
$this->Security->disabledFields = array('fieldname', 'additional fields');
$this->Security->disabledFields = array('Model.fieldname', 'OtherModel.fieldname');
}}}

Revision: [4977]
 * Setting replyTo and return headers only when defined

Revision: [4976]
 * Adding fix for forms that pass an empty value for a hidden field

Revision: [4973]
 * Changing where the from token holding the fields from the form is created

Revision: [4972]
 * Refactoring SecurityComponent

Revision: [4971]
 * Fixing typo

Revision: [4970]
 * Adding additional tests for validation.
 * Added fix to model to pass the new tests

Revision: [4969]
 * Adding hidden field values to hash. This will prevent altering of hidden fields in a form when using the FormHelper and adding the var $components = array('Security'); to a controller or the AppController to use by all child controllers

Revision: [4968]
 * Adding form security enhancements.
 * Forcing checking of Session form token if security component is used.
 * Enhancement will not allow a form to be submitted if the fields in the form created with the FormHelper do not match the fields in the submitted form.

Revision: [4967]
 * Adding fix for failing model validation tests

Revision: [4966]
 * Restoring commented tests

Revision: [4965]
 * Adding test to evaluate emptiness in validation

Revision: [4964]
 * Correcting subpackage tag

Revision: [4963]
 * Removing acl related directories from components tests

Revision: [4962]
 * moving tests

Revision: [4961]
 * Fixing paths to correctly load acl models.
 * Updating test for acl

Revision: [4960]
 * Moving all acl related models to model/db_acl.php.
 * Removing components/models directories
 * Changing the ACL_FILENAME setting in core.php

Revision: [4959]
 * Moving AclBase class to the acl.php file.
 * Removing components/iniacl directory.
 * Removing acl_base.php file.

Revision: [4958]
 * Restructuring locations of acl related classes

Revision: [4957]
 * Adding fix for #2510, Use shorter names for attached files in EmailComponent

Revision: [4956]
 * Adding fix for #2505

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4983 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 08:36:06 +00:00
phpnut
4bac0a063b Removing deprecated code and files
/basics.php
 * normalizeList() Deprecated: see Set::normalize
 * countdim() see Set::countDim

libs/controller/components/request_handler.php
 * RequestHandler::disableStartup = false; see RequestHandler::$enabled
 * RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs()
 * RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs()

libs/controller/components/session.php
 * SessionComponent::flash() use $session->flash('key'); in your views

libs/controller/controller.php
 * Controller::_setTitle() see Controller::set()

libs/model/datasources/dbo_source.php
 * DboSource::fetchArray() see DboSource::fetchRow()
 * DboSource::one() see DboSource::fetchRow()

libs/model/db_acl.php
 * DB_ACL::getAco()  see AclComponent::$Aco::node()
 * DB_ACL::getAro() see AclComponent::$Aro::node()

libs/neat_array.php
 * Class is not longer available use libs/set.php Set class

libs/sanitize.php
 * Sanitize::sql() see Sanitize::escape()
 * Sanitize::cleanArray() see Sanitize::clean()
 * Sanitize::cleanArrayR() see Sanitize::clean()
 * Sanitize::cleanValue() see Sanitize::clean()

libs/view/helper.php
 * Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes()

libs/view/helpers/form.php
 * define('TAG_DIV', '<div class="%s">%s</div>');
 * define('TAG_P_CLASS', '<p class="%s">%s</p>');
 * define('TAG_LABEL', '<label for="%s">%s</label>');
 * define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>');
 * FormHelper::labelTag() see FormHelper::label()
 * FormHelper::divTag() see HtmlHelper::div()
 * FormHelper::pTag() see HtmlHelper::para
 * FormHelper::generateInputDiv() see FormHelper::input()
 * FormHelper::generateCheckboxDiv() see FormHelper::input()
 * FormHelper::generateDate() see FormHelper::input()
 * FormHelper::generateTime() see FormHelper::input()
 * FormHelper::generateDateTime() see FormHelper::input()
 * FormHelper::generateAreaDiv() see FormHelper::input()
 * FormHelper::generateSelectDiv() see FormHelper::input()
 * FormHelper::generateSubmitDiv() see FormHelper::input()
 * FormHelper::generateFields() see FormHelper::input()

libs/view/helpers/html.php
 * HtmlHelper::file() see FormHelper::file()
 * HtmlHelper::submit() see FormHelper::submit()
 * HtmlHelper::selectTag() see FormHelper::select()
 * HtmlHelper::formTag() see FormHelper::create()
 * HtmlHelper::linkEmail() see HtmlHelper::link()
 * HtmlHelper::dayOptionTag() see FormHelper::day()
 * HtmlHelper::yearOptionTag() see FormHelper::year()
 * HtmlHelper::monthOptionTag() see FormHelper::month()
 * HtmlHelper::hourOptionTag() see FormHelper::hour()
 * HtmlHelper::minuteOptionTag() see FormHelper::minute()
 * HtmlHelper::meridianOptionTag() see FormHelper::meridian()
 * HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime()

libs/view/helpers/javascript.php
 * JavascriptHelper::linkOut() see JavascriptHelper::link()

libs/view/view.php
 * View::setLayout() use $this->layout in your view

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4981 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 08:07:19 +00:00
mariano.iglesias
8982d82c0d Adding option to send extra parameters to a custom validation and more tests for validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4980 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 07:48:22 +00:00
phpnut
8be685504e Adding ability to disable specific form data fields from being added to the validation key.
Example of using this would be javascript that changes hidden fields, adding additional fields added using javascript, etc.
This is set in a Controller::beforeFilter().
Example usage:
{{{
$this->Security->disabledFields = array('fieldname', 'additional fields');
$this->Security->disabledFields = array('Model.fieldname', 'OtherModel.fieldname');
}}}

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4978 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 02:31:06 +00:00
mariano.iglesias
2940d81cb0 Setting replyTo and return headers only when defined
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4977 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 18:01:48 +00:00
phpnut
874f06a165 Adding fix for forms that pass an empty value for a hidden field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4976 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 17:42:09 +00:00
phpnut
7982208113 Reverting changes in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4975 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:17:27 +00:00
nate
154e3ccbb1 Refactoring FormHelper token generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4974 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:03:35 +00:00
phpnut
9c0d0216bc Changing where the from token holding the fields from the form is created
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4973 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 13:35:33 +00:00
phpnut
29511659a2 Refactoring SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4972 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 13:09:35 +00:00
phpnut
3f86d27fd7 Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4971 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 10:36:27 +00:00
phpnut
5cd13cff26 Adding additional tests for validation.
Added fix to model to pass the new tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4970 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 10:30:36 +00:00
phpnut
d1701327f8 Adding hidden field values to hash. This will prevent altering of hidden fields in a form when using the FormHelper and adding the var $components = array('Security'); to a controller or the AppController to use by all child controllers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4969 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 10:13:01 +00:00
phpnut
57023720e6 Adding form security enhancements.
Forcing checking of Session form token if security component is used.
Enhancement will not allow a form to be submitted if the fields in the form created with the FormHelper do not match the fields in the submitted form.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4968 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 08:56:02 +00:00
phpnut
767853afae Adding fix for failing model validation tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4967 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:52:28 +00:00
mariano.iglesias
5317c80429 Restoring commented tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4966 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:04:44 +00:00
mariano.iglesias
d1687bbc06 Adding test to evaluate emptiness in validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4965 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:03:53 +00:00
phpnut
f108267541 Correcting subpackage tag
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4964 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 02:44:00 +00:00
phpnut
d79f55c240 moving tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4962 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 02:40:36 +00:00
phpnut
8f929c6ff8 Fixing paths to correctly load acl models.
Updating test for acl

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4961 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 02:30:26 +00:00
phpnut
166132ca10 Moving all acl related models to model/db_acl.php.
Removing components/models directories
Changing the ACL_FILENAME setting in core.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4960 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 01:49:51 +00:00
phpnut
7111d292fd Moving AclBase class to the acl.php file.
Removing components/iniacl directory.
Removing acl_base.php file.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4959 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 01:23:21 +00:00
phpnut
8780af05a3 Restructuring locations of acl related classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4958 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 01:16:27 +00:00
phpnut
6d439f0f44 Adding fix for #2510, Use shorter names for attached files in EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4957 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 00:44:19 +00:00
phpnut
0fc3cd00d3 Adding fix for #2505
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4956 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 00:19:42 +00:00
phpnut
a0bc69adb8 Merging fixes into the trunk:
Revision: [4952]
Added variation for a field parsing test

Revision: [4951]
Adding test for field parsing

Revision: [4950]
Adding tests for #2506

Revision: [4949]
Fixing overriding of default messages

Revision: [4948]
Adding overriding error messages when multiple rules

Revision: [4947]
Adding Xcache support http://trac.lighttpd.net/xcache/

Revision: [4946]
Adding fix for failing ajax tests

Revision: [4945]
Adding fix when mysql_connect is set as a connection in the database config and persistent key is not set in the config, the default for persistent is true and this would override the settings in the database config

Revision: [4944]
Adding a check to prevent if $test is not defined in DATABASE_CONFIG

Revision: [4943]
Fixed tests for PHP4

Revision: [4942]
Fixing assigned by reference on php 4

Revision: [4941]
Fixing assigned by reference on php 4, removing reference in Cache::engine()

Revision: [4940]
Making changes to cache classes and rearranging code to use new cache

Revision: [4939]
Adding return false when Memcache is set as the cache engine and the memcache extension is not installed.

Revision: [4938]
Changing settings used for new caching in core.php

Revision: [4937]
Renaming files _engine was redundant 

Revision: [4936]
Refactoring new cache classes

Revision: [4935]
Fixing Model::invalidFields to account for '0' in empty checks

Revision: [4934]
Changing 'allowEmpty' for model validation, adding 'required' and enabling multiple rules per field

Revision: [4933]
Adding initial implementation of extended caching capabilities

Revision: [4932]
Adding fix for Controller::modelClass; name when var $uses; is not the same as the Controllers singular name.
This is now set to the first value of the key $uses[0] if multiple models are added to var $uses;

Revision: [4931]
Adding fix for #2505, fixes Recursive delete in self joined models

Revision: [4929]
Fixing bug with first level validation not showing

Revision: [4928]
fixing theme view layout and element paths #2388

Revision: [4927]
Adding fix for #2452 (patch from #2476).
Added tests for ticket #2452

Revision: [4926]
Added fix for #2453, fixes HtmlHelper link escape title as string

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4955 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:37:19 +00:00
mariano.iglesias
e2d9935a26 Added variation for a field parsing test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4952 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:27:41 +00:00
mariano.iglesias
9451c58377 Adding test for field parsing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4951 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:24:13 +00:00
mariano.iglesias
01ce8392a4 Adding tests for #2506
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4950 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 13:03:13 +00:00
phpnut
2dd02aafba Fixing overriding of default messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4949 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 12:18:09 +00:00
phpnut
30a5f0384e Adding overriding error messages when multiple rules
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4948 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 12:10:57 +00:00
phpnut
d029a776b7 Adding Xcache support http://trac.lighttpd.net/xcache/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4947 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 11:31:35 +00:00
phpnut
6a5f623240 Adding fix for failing ajax tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4946 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 11:12:11 +00:00
phpnut
5b70a957bb Adding fix when mysql_connect is set as a connection in the database config and persistent key is not set in the config, the default for persistent is true and this would override the settings in the database config
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4945 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 10:56:22 +00:00
mariano.iglesias
860c8d3ddc Adding a check to prevent if $test is not defined in DATABASE_CONFIG
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4944 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 10:27:58 +00:00
mariano.iglesias
c61e30e6f2 Fixed tests for PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4943 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 09:52:37 +00:00
phpnut
fbb102445b Fixing assigned by reference on php 4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4942 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 09:42:39 +00:00
phpnut
5d4e0e6a62 Fixing assigned by reference on php 4, removing reference in Cache::engine()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4941 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 09:32:51 +00:00
phpnut
237504541e Making changes to cache classes and rearranging code to use new cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4940 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 09:12:49 +00:00
phpnut
b6fb4d80d0 Adding return false when Memcache is set as the cache engine and the memcache extension is not installed.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4939 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 07:52:17 +00:00
phpnut
18f7ecd725 Renaming files _engine was redundant
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4937 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 07:44:29 +00:00
phpnut
bca9595101 Refactoring new cache classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4936 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 07:38:47 +00:00
nate
fad2dc55ad Fixing Model::invalidFields to account for '0' in empty checks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4935 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 06:26:59 +00:00
nate
d3c3d34dce Changing 'allowEmpty' for model validation, adding 'required' and enabling multiple rules per field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4934 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 06:24:33 +00:00
phpnut
c62c550e3f Adding initial implementation of extended caching capabilities
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4933 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 06:01:54 +00:00
phpnut
5c2097f7d3 Adding fix for Controller::modelClass; name when var $uses; is not the same as the Controllers singular name.
This is now set to the first value of the key $uses[0] if multiple models are added to var $uses;

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4932 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 03:43:48 +00:00
phpnut
d1162169ba Adding fix for #2505, fixes Recursive delete in self joined models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4931 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 02:46:51 +00:00
phpnut
d1e2b89c8b Fixing bug with first level validation not showing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4929 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 20:51:59 +00:00
gwoo
3bca724bc3 fixing theme view layout and element paths #2388
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4928 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 17:51:38 +00:00
phpnut
d861587960 Adding fix for #2452 (patch from #2476).
Added tests for ticket #2452

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4927 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 11:10:11 +00:00
phpnut
2baa585437 Added fix for #2453, fixes HtmlHelper link escape title as string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4926 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 10:25:58 +00:00
phpnut
2c4f362990 Merging fixes into the trunk:
Revision: [4923]
Fixing last commit [4922]

Revision: [4922]
Removing fields() method from DboDbo2 (Ticket #2444)

Revision: [4921]
Adding fix for #2478 corrects issue on php 4 

Revision: [4919]
Adding fix for #2435. Fixes issues with custom inflection rules not being used before the default rules

Revision: [4916]
Adding fix for #2416 fixes Invalid query when using boolean conditions in PostgreSQL

Revision: [4915]
Added fix for #2450

Revision: [4914]
Adding fix for #2500 fixes adding of table.id when not using associated models and only wanting specific fields returned

Revision: [4913]
Adding fixes for test added in [4911] and [4912]
Fixed #2414 fixes findBy doesn't escape WHERE condition

Revision: [4912]
Adding more tests for #2414

Revision: [4911]
Adding tests for #2414

Revision: [4910]
Adding fix for #2419 fixes issue with long lines in email messages breaking links

Revision: [4909]
Adding fix for #2466 fixes missed Router::__mapped reinit in Router::url()

Revision: [4908]
Adding fix for #2428 fixes View::renderElement() behavior with multiple view paths

Revision: [4907]
Adding empty files to all tmp/* directories 

Revision: [4906]
Fixing label tests

Revision: [4905]
Adding additional fix for #2481

Revision: [4904]
Adding fix for #2481 fixes Form::label() $tagName does not run through domId()

Revision: [4903]
Adding enhancement from #2483.adds scaffold index view field's label

Revision: [4902]
Adding tests trying to replicate #2451 and more variations of fake threaded self join

Revision: [4901]
Adding fix for #2491 fixes bad scaffold templates paths

Revision: [4900]
Adding fix for #2488 fixes Set::extract failed on assoc array if key starts with numeric

Revision: [4899]
Adding more tests for Set::extract()

Revision: [4898]
Fixing test for #2488

Revision: [4897]
Adding test for #2488

Revision: [4896]
Adding enhancement from #2502 replacing app with APP_DIR 

Revision: [4895]
Adding fix for #2371, fixes HtmlHelper submit() method doesn't allow HTML entities in caption

Revision: [4894]
Applying fix from ticket #2485, adding test for it

Revision: [4893]
Applying patch from ticket #2496, adding test for it

Revision: [4892]
Adding test for #2494

Revision: [4891]
Adding tests for #2371

Revision: [4890]
Removing $fieldset = null; in FormHelper::inputs()

Revision: [4889]
Adding fix for #2473
Fixed undefined variable notice in Form::inputs()

Revision: [4888]
Fixing tests so they expect validation errors of all available models to be defined in Form helper

Revision: [4887]
Adding fixes from phishy.
Added fixed for #2492

Revision: [4885]
Fixing conflict of class names between tests

Revision: [4884]
Removing unneeded lines

Revision: [4883]
Adding test for inner model validation, including a two level test that fails

Revision: [4882]
Updating db_acl.sql in templates folder

Revision: [4881]
Adding patch and test for ticket #2369

Revision: [4880]
Adding initial implementation of I18n database translation support

Revision: [4879]
Fixing error when using AuthComponent and DEBUG < 1

Revision: [4878]
Case-insensitive matching when using array of phrases in TextHelper::highlight

Revision: [4877]
Fixing display of core error messages

Revision: [4876]
Changed name from requestAction() to testAction()

Revision: [4875]
Fixing small issues

Revision: [4874]
Added ability to auto-fixturize models when testing controllers

Revision: [4873]
Using reference to controller

Revision: [4872]
Added option to get the view vars after running action

Revision: [4870]
Fixed issue in CakeTestCase::requestAction() when wanting to get resulting HTML

Revision: [4869]
Adding URL fragment (hash) support in Router::url() (Ticket #2432)

Revision: [4868]
Adding undefined variable fix for PaginatorHelper::sortDir() (Ticket #2440)

Revision: [4867]
Moving Router::__filter() to Set::filter()

Revision: [4866]
Removing invalid character

Revision: [4865]
Adding fix for <> condition in DboSource (Ticket #2101)

Revision: [4864]
Removing indents from comments

Revision: [4863]
Added new callbacks and ability to execute CakePHP URLs from CakeTestCase

Revision: [4862]
working on form helper, added a submit button to form end if you pass true, added fieldset options to inputs

Revision: [4861]
Adding fix for misquoted SQL functions (Ticket #2199)

Revision: [4860]
Correcting svn properties on files

Revision: [4859]
Adding field map to convert aliased column names in MSSQL queries

Revision: [4858]
Adding auto-detection check for IIS (manually defining SERVER_IIS is no longer required), and fixing setUri for rewritten IIS URLs.

Revision: [4857]
Fixing problem with highlighting multiple phrases (ticket #2418)

Revision: [4856]
Applying patch from ticket #2417

Revision: [4855]
Removed unneeded variable

Revision: [4854]
Added ability to import table definition and/or records from either an existing Model, or an existing table

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4925 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 09:46:55 +00:00
nate
7f4201280e Fixing last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4923 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 09:14:09 +00:00
nate
f28e6d5b77 Removing fields() method from DboDbo2 (Ticket #2444)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4922 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 09:11:35 +00:00
phpnut
815b159ab3 Adding fix for #2478 corrects issue on php 4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4921 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 08:56:10 +00:00
phpnut
027f7838b5 Adding fix for #2435. Fixes issues with custom inflection rules not being used before the default rules
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4919 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 08:41:46 +00:00
phpnut
87cfb1766d Adding fix for #2416 fixes Invalid query when using boolean conditions in PostgreSQL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4916 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 07:02:25 +00:00
phpnut
1fa4e18487 Added fix for #2450
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4915 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 06:11:32 +00:00
phpnut
f1c03fe608 Adding fix for #2500 fixes adding of table.id when not using associated models and only wanting specific fields returned
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4914 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 06:06:15 +00:00
phpnut
5757d6b7e9 Adding fixes for test added in [4911] and [4912]
Fixed #2414 fixes findBy doesn't escape WHERE condition

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 05:37:39 +00:00
mariano.iglesias
6978359505 Adding more tests for #2414
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:24:47 +00:00
mariano.iglesias
5903e2226c Adding tests for #2414
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4911 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:18:41 +00:00
phpnut
91d4b05e9b Adding fix for #2419 fixes issue with long lines in email messages breaking links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4910 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 04:16:43 +00:00
phpnut
0ddac86f58 Adding fix for #2466 fixes missed Router::__mapped reinit in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:46:58 +00:00
phpnut
7cdb495068 Adding fix for #2428 fixes View::renderElement() behavior with multiple view paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4908 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:33:37 +00:00
mariano.iglesias
70b9de6903 Fixing label tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4906 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:10:44 +00:00
phpnut
aee7405863 Adding additional fix for #2481
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4905 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:05:08 +00:00
phpnut
e91a15e4e2 Adding fix for #2481 fixes Form::label() $tagName does not run through domId()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:58:01 +00:00
phpnut
527a2e6bcd Adding enhancement from #2483.adds scaffold index view field's label
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4903 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:52:17 +00:00
mariano.iglesias
80e40d6910 Adding tests trying to replicate #2451 and more variations of fake threaded self join
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:25:57 +00:00
phpnut
74ca09d759 Adding fix for #2491 fixes bad scaffold templates paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4901 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:03:43 +00:00
phpnut
698b221943 Adding fix for #2488 fixes Set::extract failed on assoc array if key starts with numeric
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4900 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:47:26 +00:00
mariano.iglesias
3f3f86d62a Adding more tests for Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4899 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:44:03 +00:00
mariano.iglesias
1a693ccc53 Fixing test for #2488
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4898 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:31:50 +00:00
mariano.iglesias
0bd1a41329 Adding test for #2488
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4897 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 00:56:21 +00:00
phpnut
dbf0181e26 Adding enhancement from #2502 replacing app with APP_DIR
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4896 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 00:19:29 +00:00
phpnut
c91965dc89 Adding fix for #2371, fixes HtmlHelper submit() method doesn't allow HTML entities in caption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4895 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 23:52:19 +00:00
dho
efd8df1771 Applying fix from ticket #2485, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4894 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 09:20:35 +00:00
dho
da0dacb013 Applying patch from ticket #2496, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4893 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 08:57:34 +00:00
mariano.iglesias
5692e7f344 Adding test for #2494
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4892 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 07:48:31 +00:00
mariano.iglesias
abb287180d Adding tests for #2371
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4891 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 07:42:54 +00:00
phpnut
9b8f81cc82 Removing $fieldset = null; in FormHelper::inputs()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4890 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:19:27 +00:00
phpnut
30498981a7 Adding fix for #2473
Fixed undefined variable notice in Form::inputs()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4889 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:16:38 +00:00
mariano.iglesias
99b0ee21a8 Fixing tests so they expect validation errors of all available models to be defined in Form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4888 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 07:44:47 +00:00
phpnut
1d64691014 Adding fixes from phishy.
Added fixed for #2492

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4887 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 06:43:40 +00:00
mariano.iglesias
45625d65a9 Fixing conflict of class names between tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4885 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 12:02:51 +00:00
mariano.iglesias
6d058861e7 Removing unneeded lines
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4884 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 11:54:36 +00:00
mariano.iglesias
52f0548782 Adding test for inner model validation, including a two level test that fails
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4883 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 11:52:56 +00:00
dho
8a579c6585 Updating db_acl.sql in templates folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4882 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-26 09:18:35 +00:00
dho
c529d363a8 Adding patch and test for ticket #2369
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4881 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 07:28:20 +00:00
phpnut
0d69e3a085 Adding initial implementation of I18n database translation support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4880 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 00:24:19 +00:00
phpnut
575dafe60a Fixing error when using AuthComponent and DEBUG < 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4879 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-24 00:26:10 +00:00
dho
35c7807cc3 Case-insensitive matching when using array of phrases in TextHelper::highlight
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4878 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-21 16:55:09 +00:00
nate
bb8c52dac0 Fixing display of core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4877 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 16:39:11 +00:00
mariano.iglesias
4b7e496446 Changed name from requestAction() to testAction()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4876 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 00:34:38 +00:00
mariano.iglesias
c290e10dd3 Fixing small issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4875 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 00:27:56 +00:00
mariano.iglesias
11d588ff15 Added ability to auto-fixturize models when testing controllers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4874 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 21:20:38 +00:00
mariano.iglesias
29cadf7460 Using reference to controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4873 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 09:11:58 +00:00
mariano.iglesias
79e9050136 Added option to get the view vars after running action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4872 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 09:09:44 +00:00
mariano.iglesias
047b331c5b Improved code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4871 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 08:45:06 +00:00
mariano.iglesias
88da8d5b44 Fixed issue in CakeTestCase::requestAction() when wanting to get resulting HTML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4870 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 08:41:52 +00:00
nate
3ba273b16d Adding URL fragment (hash) support in Router::url() (Ticket #2432)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4869 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:51:01 +00:00
nate
11c5e916b8 Adding undefined variable fix for PaginatorHelper::sortDir() (Ticket #2440)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4868 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:03:20 +00:00
nate
e5b0f2e3fa Moving Router::__filter() to Set::filter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4867 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:00:26 +00:00
dho
9a865176aa Removing invalid character
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4866 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 06:48:16 +00:00
nate
5461eec22d Adding fix for <> condition in DboSource (Ticket #2101)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4865 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 05:17:06 +00:00
mariano.iglesias
a152849bde Removing indents from comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4864 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 04:30:23 +00:00
mariano.iglesias
a053a1aa7c Added new callbacks and ability to execute CakePHP URLs from CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4863 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 04:27:43 +00:00
gwoo
f4c9be8be2 working on form helper, added a submit button to form end if you pass true, added fieldset options to inputs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4862 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 02:06:15 +00:00
nate
86d32e4313 Adding fix for misquoted SQL functions (Ticket #2199)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4861 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-16 21:49:28 +00:00
phpnut
97aa991f2d Correcting svn properties on files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-15 07:19:31 +00:00
nate
c9b2da1380 Adding field map to convert aliased column names in MSSQL queries
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4859 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-14 23:34:08 +00:00
nate
ef79f256a7 Adding auto-detection check for IIS (manually defining SERVER_IIS is no longer required), and fixing setUri for rewritten IIS URLs.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-14 21:35:48 +00:00
dho
ee403daf5d Fixing problem with highlighting multiple phrases (ticket #2418)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 14:27:59 +00:00
dho
c9d4fa6451 Applying patch from ticket #2417
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4856 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 11:56:03 +00:00
mariano.iglesias
74653e5fac Removed unneeded variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4855 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 05:23:29 +00:00
mariano.iglesias
0eb008fa58 Added ability to import table definition and/or records from either an existing Model, or an existing table
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4854 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 05:17:48 +00:00
phpnut
0f2e3a4a80 Merging fixes into the trunk:
Revision: [4851]
Adding patch from Ticket #2374

Revision: [4850]
Correcting [4849], would attempt to load non existent model is var $uses was not set

Revision: [4849]
Adding fix for Ticket #2349

Revision: [4848]
Adding fix for Ticket #2392
Added tests for this fix.

Revision: [4847]
Fixing SQL error in AuthComponent::identify() when username is empty (Ticket #2402)

Revision: [4846]
Fixing (moving) session string warning (Ticket #2377) and adding automatic logging code

Revision: [4845]
Adding fix for Ticket #2376

Revision: [4843]
Added tests for issue #2391

Revision: [4842]
Added tests for issue #2391

Revision: [4841]
Adding fix for Ticket #2380

Revision: [4840]
Adding fix for Ticket #2391

Revision: [4839]
Adding fix for Ticket #2387
Fixed issue in view with $session->valid() always returning false.

Revision: [4838]
Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list

Revision: [4837]
Throwing Missing Model error for missing associated classes, per gwoo

Revision: [4835]
Adding fix for Ticket #2326

Revision: [4834]
Removing inline comments and fixing error in parseURI; also fixes Ticket #2382

Revision: [4833]
Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381)

Revision: [4832]
Fixed typo in function name strpos replaces strrpos

Revision: [4831]
Refactoring association joins, Fixes the issue with adding the Model.id if it is not already added.
Adding fix for string based fields.

Revision: [4830]
Removing name() method from DBO drivers (Ticket #2372)

Revision: [4829]
Adding tests to force foreignKey fields in hasMany

Revision: [4828]
Adding tests for automatic addition of ids in hasMany

Revision: [4827]
Adding fix for undefined index

Revision: [4826]
Adding first implementation of hasMany associations using one select statement.

Revision: [4825]
Removing some duplicate code

Revision: [4824]
Initial work on using one select statement for hasMany associations

Revision: [4823]
Adding enhancement from Ticket #2366

Revision: [4822]
Adding patch from Ticket #2368

Revision: [4821]
Moving fixtures directory in the application skeleton

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4853 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 08:59:09 +00:00
phpnut
94704a2518 Adding patch from Ticket #2374
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:46:29 +00:00
phpnut
8170b1f89f Correcting [4849], would attempt to load non existent model is var $uses was not set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4850 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:38:25 +00:00
phpnut
e6f519a0a8 Adding fix for Ticket #2349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4849 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:29:45 +00:00
phpnut
a2ba6d7715 Adding fix for Ticket #2392
Added tests for this fix.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4848 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:17:39 +00:00
nate
4e8a803e81 Fixing SQL error in AuthComponent::identify() when username is empty (Ticket #2402)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4847 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 02:32:16 +00:00
nate
b0307904ae Fixing (moving) session string warning (Ticket #2377) and adding automatic logging code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4846 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 00:34:16 +00:00
mariano.iglesias
cf2abbed03 Added tests for issue #2391
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4843 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:27:16 +00:00
mariano.iglesias
4c7febfafa Added tests for issue #2391
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4842 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:22:26 +00:00
phpnut
385e0c02ba Adding fix for Ticket #2380
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4841 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 21:20:10 +00:00
phpnut
b752463592 Adding fix for Ticket #2391
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4840 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 20:49:41 +00:00
phpnut
4f78065c14 Adding fix for Ticket #2387
Fixed issue in view with $session->valid() always returning false.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4839 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 20:47:17 +00:00
nate
8df2d428ff Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4838 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 18:02:10 +00:00
nate
3a828d2338 Throwing Missing Model error for missing associated classes, per gwoo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4837 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 18:01:24 +00:00
phpnut
f1678686a4 Adding fix for Ticket #2326
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4835 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 15:20:37 +00:00
nate
aed74550fb Removing inline comments and fixing error in parseURI; also fixes Ticket #2382
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4834 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-10 22:56:07 +00:00
nate
0c43266ba7 Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4833 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-10 16:48:45 +00:00
phpnut
30ea0fb69b Fixed typo in function name strpos replaces strrpos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4832 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 22:41:17 +00:00
phpnut
8ed1b69b3f Refactoring association joins, Fixes the issue with adding the Model.id if it is not already added.
Adding fix for string based fields.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4831 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 21:30:55 +00:00
nate
d416fbe4ed Removing name() method from DBO drivers (Ticket #2372)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4830 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:54:07 +00:00
mariano.iglesias
dd956694af Adding tests to force foreignKey fields in hasMany
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4829 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:21:42 +00:00
mariano.iglesias
e9d7d60292 Adding tests for automatic addition of ids in hasMany
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4828 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 19:12:59 +00:00
phpnut
dcf64033ed Adding fix for undefined index
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4827 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 09:40:56 +00:00
phpnut
00be91c954 Adding first implementation of hasMany associations using one select statement.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4826 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-09 08:54:25 +00:00