Commit graph

2844 commits

Author SHA1 Message Date
gwoo
fdeb41a826 updating FormHelper::inputs(), fixes #3770, tests updated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 18:25:00 +00:00
gwoo
a1198bb3b7 reverting previous changes and updating view, fixes #3785
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:20:48 +00:00
gwoo
3b1b182873 updating view again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:10:41 +00:00
gwoo
aa637e1b1d updating view, fixes #3785
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:03:36 +00:00
gwoo
040f9cca8b updating plugin task, fixes #3781
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:53:58 +00:00
gwoo
1b10036712 updating model task, fixes #3782
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6275 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:48:00 +00:00
gwoo
7e845242d5 updating set handling of xml and adding tests for model saving xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:24:10 +00:00
gwoo
9a8bd5680a updating debugger test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:41 +00:00
gwoo
99da081907 updating dispatcher, fixes #3773, fixes #3783, fixes #3779, updating default layouts, adding Debugger::dump($var); and some other changes for exporting string vars
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:22 +00:00
nate
d38bb91d1c Updating component tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 16:35:38 +00:00
nate
658b98e361 Adding empty table handling in TreeBehavior::generateTreeList(), fixes #3784
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 16:20:30 +00:00
phpnut
ebe356d3b1 "Fixes #3772, getting errors using treebehavior and translatebehavior on the same model"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 08:33:29 +00:00
phpnut
c5ff7cb4db "Fixes #3774, Set::combine possibly applies wrong formatstring"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:59:22 +00:00
gwoo
4f97057a62 fix for DbConfig task caused when plugin support was added to bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:41:56 +00:00
phpnut
c727b14365 "Correcting SetTest::testMapReverse() with recent changes to model vars"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 06:49:07 +00:00
nate
e48e6a5e83 Fixing column lengths in DboMssql::describe(), fixes #3769
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-26 22:44:41 +00:00
phpnut
63bb042c9e "Fixes #3766, RequestAction fails on plugin to app and plugin to plugin"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-26 02:20:47 +00:00
phpnut
394ee0c8fc "Removing debug()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6260 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 11:15:52 +00:00
phpnut
0644112ca9 "Closes #3560, edit form use PUT so SecurityComponent::validatePost() don't call on submit"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:49:29 +00:00
nate
72c80efa75 Fixes #3698, no additional select performed in Model::deleteAll() if $callbacks and $cascade are false
Fixes #2146, set 'foreignKey' => false and use association conditions to get custom join scoping
Fixes #3323, set 'foreignKey' => false to disable default conditions
Fixes #3627, added Model::$findQueryType to inform callbacks of the current find query type, i.e. 'count'


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:37:08 +00:00
phpnut
75b5623f33 "Closes #3587, Multiple resource routes"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:25:42 +00:00
phpnut
9bed2fa6d7 "Fixes #3255, Adding link attributes to breadcrumb links in Html helper"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:07:27 +00:00
phpnut
6fe54aa1d0 "Reverting 5254, this change is only for 1.2 branch"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:55:59 +00:00
phpnut
f9c1058a20 "Closes #3295, Centralize encoding / charset setting in one Configure setting"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:08:36 +00:00
nate
fbf5330fd8 Adding TreeBehavior::setScope(), fixes #3232
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6252 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:00:05 +00:00
phpnut
69b2ad7556 "Closes #3338, Allow AuthComponent::allow to take an array as an argument"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 08:11:26 +00:00
phpnut
9c6f44006f "Closes #3012"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6249 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:59:13 +00:00
phpnut
b96a3a2e6f "Closes #3216, Allow condition overrides in AuthComponent::identify()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:33:29 +00:00
phpnut
aa667c4d61 "Closes #3059, Set::format() allow arg type conversion with use of sprintf format style"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:10:20 +00:00
phpnut
23ad8a4c7d "Closes #3651, Allow the specification of an interval in the generation of the minute select"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 06:45:48 +00:00
nate
4d68d6c6dd Adding fixtures for 'with' association tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 05:35:37 +00:00
phpnut
1489239252 "Closes #2215, Santize Class and EmailComponent need some header injection protection and cleaning"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 05:30:54 +00:00
phpnut
3935746a29 "Refactored Model::invalidFields() to pass array(field => value) back to custom validation methods in a model
Closes #1863 postal code validation for Italy and Germany
Closes #2766, Add field name to params array for custom validation rules
Closes #3735, Custom validation functions
Commented out the failing model tests until the missing fixtures are added
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 04:53:15 +00:00
gwoo
d7926aaaad adding context and trace to other debugger output formats. adds E_USER_ERROR to fatal
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 23:47:46 +00:00
phpnut
71039959d0 "Refacorting App::import() to implement vendors loading.
Added ability to set the file extension of the file to be loaded"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6241 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 22:39:28 +00:00
nate
586e93f59f Adding 'last' validator option fix for Model::invalidFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6240 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 22:14:31 +00:00
gwoo
44718cced7 fixing datetime handling dbo_mssql, fixes #1778
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6239 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:49:13 +00:00
gwoo
66fc807b93 note to self, remember to make a diff first
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:18:00 +00:00
gwoo
1ee0b564e1 adding TimeHelper::toQuarter() with range, closes #3121
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:16:20 +00:00
mariano.iglesias
9160660f58 Allowing AjaxHelper::observeForm to receive frequency setting for periodical observations.
AjaxHelper::drop and AjaxHelper::dropRemote can also accept arrays in their 'accept' setting.
Adding more tests for AjaxHelper.
Making AjaxHelper::autoComplete accept only dot notation fields. Adding callback setting for autoComplete.
Closes #2438, closes #3038, closes #3058, closes #3316.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 01:45:39 +00:00
gwoo
d7f910bf89 adding output handling to Debugger.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6235 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:25:30 +00:00
mariano.iglesias
12075ec7c1 Adding contentType, encoding and postBody AJAX options.
Adding onCreate (specify 'create' in $options) and onException (specify 'exception' in $options) callbacks. All callbacks should be specified using their aliases (so use 'complete' => 'completeFunc();' for onComplete callback, etc.)
Adding tests for AJAX helper.
Closes #1244, closes #2644, closes #2856.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6234 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:08:54 +00:00
gwoo
535bbd8234 updating paths.php to all app to define certain paths, closes #2742
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6233 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 19:13:44 +00:00
nate
7104e40b62 Cleaning up DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6231 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:30:08 +00:00
nate
0d469ac4ba Fixing ability to specify select fields for join models, and adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6230 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:03:19 +00:00
phpnut
6e1bacebf5 "Removing unneeded code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6229 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:00:31 +00:00
phpnut
473b414131 "Removing duplicated code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6228 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 16:44:42 +00:00
phpnut
a281b7b6e3 "Adding fix for new line endings on windows"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 16:40:56 +00:00
phpnut
22334ac248 Reverting [6224]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6225 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 11:09:45 +00:00
phpnut
acc94e2fec "Closes #3029, Model::updateAll not quoting strings"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6224 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:57:05 +00:00
phpnut
c0bd6b4104 "Closes #1553, Inconsistent treatment of empty string values, between INSERT and UPDATE/SELECT"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6223 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:40:11 +00:00
phpnut
46f0615479 "Fixes #3549, AjaxHelper::sortable update and change invalid options for script.aculo.us"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6222 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:27:48 +00:00
mariano.iglesias
2dc9b33d18 Adding tests to AjaxHelper for #3549
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6221 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:15:55 +00:00
phpnut
7890c1b950 "Fixes #3625, LOG_ERROR undefined"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6220 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 09:13:02 +00:00
phpnut
d7b0a5865b "Reverting [6216]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6219 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 08:58:40 +00:00
phpnut
d58b906f5c "Fixes #3738, Inconsistencies with default languages and mappings in L10n.php"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6217 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 08:05:13 +00:00
phpnut
9b117fc4d6 "Fixes #3625, LOG_ERROR undefined"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6216 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:59:59 +00:00
phpnut
7e17c42e35 "Fixes #3727, ModelEngine::clear() doesn't work"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6215 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:56:36 +00:00
phpnut
4bad481735 "Fixes #3555, model::deleteAll gives sql error when retrieving id's (postgresql)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6214 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:43:31 +00:00
phpnut
0ff7b98d5b "Fixes #3737, ACL behavior warnings"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:10:38 +00:00
phpnut
cf87b90bbc "Fixes #3691, HTML Helper returns incorrect url from when <cacke:nocache> is used"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6212 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:06:31 +00:00
phpnut
877cf930ad "Fixes #3748, Auto loading model classes fail in plugins when using $uses in the AppController"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6211 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 06:45:26 +00:00
phpnut
27721cb730 "Fixes #3726, Saving date, datetime, and time into database (form->input)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6210 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 05:40:25 +00:00
phpnut
c98d1457ac "Fixes #3743, Loading mechanism tries to load files twice from same location.
Fixes #3751, Behavior of Configure::listObjects() changed."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6209 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 04:42:59 +00:00
gwoo
17610a5287 closes #3302, Render is to meant to output and allow the program to continue executing. Redirect generally serves to stop the program and start fresh with something new. This changeset makes exit the default behavior on redirect.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6208 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:17:48 +00:00
gwoo
a2624df5f2 fixing fail in Html::meta(); and adding ClassRegistry::flush(); to fix no_database test group.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:07:10 +00:00
gwoo
eebdb12eaa updating HtmlHelper::meta(), closes #3223, #3224, #3225, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 23:36:24 +00:00
phpnut
63a4e2e899 "Fixes #3717, Temp files read/write errors under load"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6205 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 22:17:42 +00:00
gwoo
b99ac8de46 adding more extensive formating options to NumberHelper::currency() with tests, closes #3532
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6204 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 22:01:38 +00:00
phpnut
51baf42d62 "Changing Validation class to be a static class"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6203 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 21:03:30 +00:00
phpnut
41d0e78681 "Correcting String::uuid(); output when $pid > 65535"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6202 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 20:05:34 +00:00
gwoo
ba5713391d another update to dump
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6201 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:49:02 +00:00
gwoo
6231086e6f updating dump.ctp, fixes #2247
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6200 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:32:02 +00:00
gwoo
eed0f6c570 refactored class regsitry init
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6199 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:25:24 +00:00
gwoo
0a703ef8c0 adding 'cake bake all' see cake bake help for more info, also refactored tasks (api changes) and class registry, closes #1470, closes #3612, closes #2697, closes #3412
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:24:56 +00:00
mariano.iglesias
d03e8d680f Properly formatting string for i18n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6197 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 17:50:09 +00:00
gwoo
ea1b6581bc adding error to html tags array, adjust form helper to use it, closes #2088, closes #1022
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6196 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:37:30 +00:00
gwoo
81b074cf1f adding Paginator::first() and last() methods, also adding them to numbers, tests added, closes #3709, closes #3208, closes #3465, closes #2412, closes #2954
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:03:48 +00:00
gwoo
194ab8364a updating XML class, fixes #3696
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6194 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 05:09:28 +00:00
nate
698af0115c Adding test case for XML class, conversion from Set object (Ticket #3696)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6193 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 05:08:03 +00:00
nate
c128439fef Updating XML class to use _name_ in place of __identity__ for Set object conversions (Ticket #3696)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6192 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 04:46:00 +00:00
nate
10a2a446d3 Fixing FormHelper::select() with multiple checkbox option when all options are de-selected (Ticket #3716)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6191 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 04:20:35 +00:00
gwoo
0b21622734 allowing templates to override layout, but only when property is used, if layout is passed to Controller::render(); it will be used, closes #3759
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6190 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 02:04:26 +00:00
gwoo
98f454bc8a updating asset handling, closes #3149 To use compression for css and js files in vendors use Configure::write('Asset.compress', true);
Also, closes #1897 serving css and js from plugin vendors folder for paths within that plugin. Tests added.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6189 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:37:46 +00:00
nate
5e7f3a8287 Implementing FormHelper::button(), with options for alternate button types (Ticket #2341)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6188 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:27:50 +00:00
nate
e6af521843 Implementing Validation::equalTo() (Ticket #3594)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6187 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 23:39:52 +00:00
gwoo
5dd9847881 changing Set::map() to accept true as second param. This will maintain the structure of the array coming in. related to #3713, changes [6185]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:54:10 +00:00
gwoo
b4c3be2ccd updating set, pass second param as false if you do not want the array flattened, fixes #3713
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6185 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:12:43 +00:00
gwoo
87b33dc12a updating formHelper label to only translate text if the default is used, closes #2314
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6184 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:53:10 +00:00
gwoo
ac4896fabd sanitize test added, closes #3488
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6183 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:42:08 +00:00
gwoo
e6bd38d7d1 updating formhelper dateTime, fixes 3753, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6182 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:09:46 +00:00
gwoo
9f8b4b2cd5 updating scaffold view handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 18:14:10 +00:00
gwoo
34fb530de5 oops forgot to add plugin task file on commit. fixes #3758
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6180 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 16:28:52 +00:00
gwoo
ef3b73d690 adding plugin task, closes #965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 02:54:45 +00:00
nate
c9f59b8713 Fixing LIMIT clause for Model::find('first') (Ticket #3754)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6178 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-20 14:36:39 +00:00
gwoo
60f4dd360d updating View and Controller::flash, fixes #3749, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6177 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-20 01:19:19 +00:00
gwoo
1752d936d9 updating controller task, fixes #3728, removing \ from view task, fixes #3750
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 23:03:52 +00:00
phpnut
1a3f319a23 "Refactoring String::uuid();
Adding fix when current PHP process ID is greater than 5 digits.
If PHP process ID returns false or can not be determined a random 5 digit number will be generated.
Added support for IPv6.
String::uuid(); will default to crc32 of Security.salt if $node (IP) is 127.0.0.1, $node (IPv6) < 38 characters, or $node can not be determined."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6175 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 09:23:26 +00:00
gwoo
079c2d25f1 fixing syntax error in dbo_db2 for people who choose not to submit patches, fixes #3740
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6174 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 02:32:18 +00:00
nate
cd8c26bda7 Allowing models to save empty records if they have a created, updated, or modified field (Ticket #3501)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 02:05:15 +00:00