Commit graph

2974 commits

Author SHA1 Message Date
phpnut
67c91aa009 Merging bug fixes and enhancements to the trunk:
[5876] [5878] [5879] [5880] [5881] [5882] [5883] [5884] [5885] [5886] [5887] [5888] [5889] [5890] [5891]
[5892] [5893] [5894] [5895] [5896] [5897] [5898] [5899] [5900] [5901] [5902] [5903] [5904] [5905] [5906]
[5907] [5908] [5909] [5910] [5911] [5912] [5913] [5914] [5915] [5916] [5917] [5918] [5919] [5920] [5921]
[5922] [5923] [5924] [5925] [5926] [5927] [5928] [5929] [5930] [5931] [5932] [5933] [5934] [5935] [5936]
[5937] [5938] [5939] [5940] [5941] [5942] [5943] [5944] [5945] [5946] [5947] [5948] [5949] [5950] [5951]
[5952] [5953] [5954] [5955] [5956] [5957] [5958] [5959] [5960] [5961] [5962] [5963] [5964] [5965] [5966]
[5967] [5968] [5969] [5970] [5971] [5972] [5973] [5974] [5975] [5976] [5977] [5978] [5979] [5980] [5981]
[5982] [5983] [5984] [5985] [5986] [5987] [5988] [5989] [5990] [5991] [5992] [5993] [5994] [5995] [5996]
[5997] [5998] [5999] [6000] [6001] [6002] [6003] [6004] [6005] [6006] [6007] [6008] [6009] [6010] [6011]
[6012] [6013] [6014] [6015] [6016] [6017] [6018] [6019] [6020] [6021] [6022] [6023] [6024] [6025] [6026]
[6027] [6028] [6030] [6031] [6032] [6033] [6034] [6035] [6036] [6037] [6038] [6039] [6041] [6042] [6043]
[6044] [6046] [6047] [6048] [6049] [6050] [6051] [6052] [6053] [6054] [6055] [6056] [6057] [6058] [6059]
[6060] [6061] [6062] [6063] [6064] [6065] [6066] [6067] [6068] [6069] [6070] [6071] [6072] [6073] [6074]
[6075] [6076] [6077] [6078] [6079] [6080] [6081] [6082] [6083] [6084] [6085] [6086] [6087] [6088] [6089]
[6090] [6091] [6092] [6093] [6094] [6095] [6096] [6097] [6098] [6099] [6100] [6101] [6102] [6103] [6104]
[6105] [6106] [6107] [6108] [6109] [6110] [6111] [6112] [6113] [6114] [6115] [6117] [6118] [6119] [6120]
[6121] [6122] [6123] [6124] [6125] [6126] [6127] [6128] [6129] [6130] [6131] [6132] [6133] [6134] [6135]
[6136] [6137] [6138] [6139] [6140] [6141] [6142] [6143] [6144] [6145] [6146] [6147] [6148] [6149] [6150]
[6151] [6152] [6153] [6154] [6155] [6156] [6157] [6158] [6159] [6160] [6161] [6162] [6163] [6164] [6165]
[6166] [6167] [6170] [6171] [6172] [6173] [6174] [6175] [6176] [6177] [6178] [6179] [6180] [6181] [6182]
[6183] [6184] [6185] [6186] [6187] [6188] [6189] [6190] [6191] [6192] [6193] [6194] [6195] [6196] [6197]
[6198] [6199] [6200] [6201] [6202] [6203] [6204] [6205] [6206] [6207] [6208] [6209] [6210] [6211] [6212]
[6213] [6214] [6215] [6216] [6217] [6220] [6221] [6222] [6223] [6224] [6227] [6230] [6231] [6233] [6234]
[6235] [6236] [6237] [6239] [6240] [6241] [6242] [6243] [6244] [6245] [6246] [6247] [6248] [6249] [6251]
[6252] [6253] [6255] [6256] [6257] [6258] [6259] [6262] [6263] [6264] [6265] [6266] [6268] [6269] [6270]
[6271] [6272] [6273] [6274] [6275] [6276] [6277] [6278] [6279] [6280] [6281] [6282] [6283] [6284] [6285]
[6286] [6287] [6288] [6289] [6290] [6291] [6292] [6293] [6294] [6295] [6296] [6297] [6298] [6299] [6300]
[6301] [6302] [6303] [6304] [6306] [6307] [6308] [6309] [6310]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6311 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 06:33:52 +00:00
phpnut
44fe1da19b "Fixing paths in debugger tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:52:53 +00:00
phpnut
30f4f74199 "Fixing paths in debugger tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6309 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:32:31 +00:00
phpnut
fd2b4595aa "Fixing paths returned by Debugger::trimPath();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6308 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:23:44 +00:00
nate
60fa3938ee Adding regular expression support to Set::extract(), closes #3263
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 04:46:49 +00:00
nate
9c68a253e4 Refactoring, fixing SessionComponent test, adding String::tokenize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 03:06:57 +00:00
nate
7ea47e9893 Fixing Model::find('list') when using self-joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:30:19 +00:00
phpnut
9f891bf4e6 "Renaming domains in test to generic names"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:12:38 +00:00
mariano.iglesias
4c89941287 Adding new URL to validation test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6302 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 01:51:19 +00:00
phpnut
aa32649c02 "Closes #2608, CSRF usability problems
Closes #3436, Security Component and multiple instances of the webapp"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6301 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:38:35 +00:00
gwoo
618d7bd84a adding Debugger::log() and test cases, closes #995
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6300 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:31:13 +00:00
nate
695ac50fd7 Adding full join model support, closes #828, closes #1845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6299 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 23:57:17 +00:00
gwoo
0156b9e689 adding test for root path caching, closes #1349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6298 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:52:25 +00:00
phpnut
852fa4e921 "Closes #3653, Some optimization in code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6297 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:28:47 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
nate
5abe66289d Implemented 'counterCache' and 'counterScope' for belongsTo associations
Exempted 'created', 'updated' and 'modified' fields from whitelist when saving, closes #3720
Updated Model::bind(), closes #2355
Adding Model::saveAll() to save multiple records and associated records, closes #3615
Replacing Model::generateList() with Model::find('list'), deprecates Model::generateList()



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 19:34:40 +00:00
phpnut
43e05117fa "Closes #3602, Model beforeFilter API doc update"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6294 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 18:34:55 +00:00
nate
a5d9b2085a Adding quoting and name-resolving fields in TreeBehavior updates, fixes #3778
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6293 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:18:32 +00:00
phpnut
1aa2324e8e "Fixes #3786, Missing keys when Model merges actsAs.
Added additional test for Set::merge();
Refactored Controller::_mergeVars."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:07:24 +00:00
phpnut
013133457c "Fixes #3768, Controller loads wrong model when plugins controller has the controller name of a main model.
moved merging of components, helpers, and uses vars to Controller::_mergeVars(); fixes bug with PluginAppController vars not being merged before components are loaded.
  Added call to Controller::_mergeVars(); in Dispatcher::dispatch();"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 23:27:14 +00:00
nate
6a2a24cfc9 Updating help text for ACL shell interface, fixes #3790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:30:46 +00:00
gwoo
cedaddbc08 updating controller task with i18n wrappers, closes #3490
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:27:53 +00:00
nate
ac1c7e9da8 Adding stored procedure support to DboMysqli, fixes #2348
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 18:12:44 +00:00
nate
368b085c94 Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
nate
18110fe97a Adding asset timestamps for JS, CSS, and images. Set 'Asset.timestamp' to true in Configure (only in dev mode), fixes #921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 04:24:14 +00:00
gwoo
b57ee695a4 updating TimeHelper, closes #1182
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 01:45:57 +00:00
nate
1c9b87da4e Fixing environment detection issues in Dispatcher, adding environment tests, adding tests for embedded route regular expressions, fixes #2666
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:33:48 +00:00
nate
a11db494bb Changing SERVER_IIS constant to 'App.server' config variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:28:59 +00:00
gwoo
f6b71c29e9 updating HtmlHelper, closes #2592, closes #2406, closes #2220, closes #2080, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 21:14:15 +00:00
gwoo
48bf9e420d updating router admin handling, closes #3697 test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 19:53:21 +00:00
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
nate
570e71f62a Adding fix for Router named arguments where arg value contains the separator key (Ticket #3752)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 01:49:25 +00:00
gwoo
1d6a63a29a updating schema create
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6171 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-18 18:19:30 +00:00
john
1e89fd676b Adding tempdocs link to default home.ctp page.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6170 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 22:06:19 +00:00
phpnut
608f32172e "Adding missing fixture"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6167 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 18:07:36 +00:00
mariano.iglesias
d5a8cd3c22 Changing valid XHTML comment of script blocks and adjusting tests, fixes #3746
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6166 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 17:02:54 +00:00
gwoo
dcb9996b43 updating view loading helpers, fixes #3744, tests added, uses Inflector::slug() for element cache file name, uses renderElement for dump of cakeDebug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6165 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 07:28:53 +00:00
phpnut
649840b91a "Correcting path to dump.ctp"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6164 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 00:35:21 +00:00
nate
68b024e187 Enabling custom URLs in HtmlHelper::image(), and adding FormHelper::file() tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:46:56 +00:00
nate
2bec88b134 Adding fix for array to string conversion error in Helper::__formatAttribute() (Ticket #3674)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6162 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:00:42 +00:00
gwoo
f0f5d1ca09 updating FormHelper::submit() to handle images, deprecated FormHelper::submitImage(), added tests, closes #3741
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6161 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 18:46:02 +00:00
gwoo
c4eb4caef8 adding configure group test and fixing view group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6160 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 16:55:59 +00:00
gwoo
939abab66c db2 removing extra )
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6159 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 16:30:07 +00:00
gwoo
cbf1b029a3 fixes #3742, fixes #3740
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6158 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 16:24:15 +00:00
gwoo
01b52fec4a updating schema, fixes #3718, added $cache param to Configure::listObjects(), updating view tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 02:06:10 +00:00
phpnut
70680ff97f "Removing unused instance creation.
Reformated code"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6156 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 22:39:35 +00:00
gwoo
67bbb0e93e refactoring view classes, added ScaffoldView that extends ThemeView in scaffold.php, adding tests, adding test_app with files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6155 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 22:20:44 +00:00
phpnut
26247895aa Copying email templates to skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6154 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 21:12:37 +00:00
phpnut
dfe85153f2 Restructuring core views directories
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6153 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 18:59:26 +00:00
nate
481cbf521e Adding fixes to Router::normalize() when called with empty parameter (Ticket #3734)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:09:05 +00:00
nate
003aaec870 Adding PaginatorHelper::url() (Ticket #2493), refactoring Paginator, eliminating extra space in <a /> tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6151 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:07:25 +00:00
phpnut
df66228142 "Fixes #3682"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6150 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 07:18:59 +00:00
phpnut
2a310b36e3 "Fixes #3729, I18n::_ _loadMo() magicDb recognition fails on 64bit systems (And some older versions of PHP5)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6149 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 05:40:00 +00:00
phpnut
1e6665909b "Fixes #3101, Model::deconstruct() corrupting fields
Fixes #3726, Saving date, datetime, and time into database (form->input)"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6148 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 04:21:58 +00:00
phpnut
21b89622cf "Fixes #3682, Unserializing cached file dies. If this issue still persists attache a zip file of the data dump and minimum amount of code to reproduce"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6147 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 00:25:03 +00:00
gwoo
44eae0705b updating dbos, fixes #3705
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6146 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 22:08:11 +00:00
nate
9d58121205 Removing trailing slash from normalized URLs in AuthComponent, moving AuthComponent::_normalizeURL() to Router::normalize(), refactoring (Ticket #3042)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 07:03:59 +00:00
nate
6c719eca1a Removing Model test case 2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6144 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 04:05:04 +00:00
gwoo
16ee2d2661 fixing fieldSuffix in Helper::setEntity(), closes #3724 added tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 04:08:19 +00:00
gwoo
98859c8c72 updating FormHelper to use fieldset instead of p. Inline styles are still used on these elements. We are not promoting the use of inline style, merely attempting to make life easier. Also, this adds a fieldset to multiple checkboxes if there is a group and also wraps the multiple checkboxes in divs and provides proper label for and input id attributes. also some changes to generic css to handle markup. Closes #3703
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 00:46:21 +00:00
gwoo
b6b2696488 allowing RequestHandler to load helpers for extension from any path, closes #2230
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6141 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-11 03:01:46 +00:00
gwoo
b7a0d4b31e making Santize entirely static, closes #2706
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6140 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-11 02:42:28 +00:00
nate
e6cceba47f Fixing warnings in Model::find('all') (Ticket #3712)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6139 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-10 03:28:21 +00:00
phpnut
0597a0ee70 "Fixing errors in the Dispatcher tests.
Refactored loading of controlllers"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6138 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-09 07:07:28 +00:00
phpnut
d4129b7c5e "Adding additional removal of harmful content when using Helper::clean();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6137 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-09 06:43:44 +00:00
gwoo
c7ddcab089 setting default time for FormHelper::dateTime(), adding boolean type to a select if pluralized var exists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6136 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 19:31:47 +00:00
nate
4689258464 Adding REST route matching fixes (Ticket #3665)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6135 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 16:59:57 +00:00
nate
78b1452fca Adding assertions to model test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6134 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 09:01:14 +00:00
nate
e56b92255f Adding lower bound for page numbers in Controller::paginate() (Ticket #3683)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6133 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:54:27 +00:00
nate
0b9f2c1b9d Array handling fix for Paginator and additional test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6132 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:46:01 +00:00
nate
c2db2a3936 Adding test case for Model::saveField() (Ticket #3687)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6131 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:22:20 +00:00
nate
5c11da9c3d Adding whitelist-enabled fixes for TreeBehavior (Ticket #3472)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6130 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:09:46 +00:00
mariano.iglesias
91ecdfdf15 Fixing tests for AjaxHelper and PaginatorHelper since code blocks generated by JavascriptHelper are now XHTML complaint
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6129 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 07:10:19 +00:00
phpnut
8a2b51c3ec "Removing all shortcut function usage from the core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 06:08:03 +00:00
mariano.iglesias
5adbf2d75b By default codeBlock generates XHTML strict valid blocks.
All options to JavascriptHelper functions are now set via array. Functions that use codeBlock (such as event) also allow options for codeBlock to be sent in $options array.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6127 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 21:24:05 +00:00
phpnut
5cb90731f2 "Closes #3664, Some units tests for Set::pushDiff();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6126 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 17:27:45 +00:00
gwoo
f3d0b54cb3 fix for Helper::setEntity(), tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6125 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 10:55:42 +00:00
mariano.iglesias
7d8bf76744 Adding tests for RssHelper::items
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6124 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 20:05:03 +00:00
phpnut
d6c918ec95 "Fixes #3689, Set::__map() array cast corrupt new object"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:59:54 +00:00
phpnut
34227c0f68 "Fixes #3702, Radiobutton field ids conflict when using 2 models with the same fieldname"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6122 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:55:44 +00:00
phpnut
0382a9d197 "Fixes #3700, unserialization error"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6121 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:34:57 +00:00
nate
d9f713fefc Changing Model::$whitelist to filter fields in Model::save() instead of Model::set() (Ticket #3437)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6120 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:21:05 +00:00
phpnut
872dfbfcef "Correcting Helper::setEntity() check if $parts[0] matches current model
Added tests for fix.
Adding escaping of \\ in FileEngine::write();"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 07:43:19 +00:00
gwoo
adcba2cc2d updating Helper::value, adding some tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6118 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 01:16:14 +00:00
phpnut
13bd58587a "Correcting undefined index notice"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6117 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 16:04:29 +00:00
phpnut
72164591fb "Removing pr()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6115 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 02:08:18 +00:00
phpnut
d815b823dd "Fixes #3649, Page_Title Bug in Flash()/Render()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6114 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 01:47:17 +00:00
phpnut
1a223ee7a2 "Fixes #3618, Form::select don't call Form::_ _secure if option \"multiple\" is set"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6113 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 01:14:06 +00:00
phpnut
3a58f3cab6 "Fixes #3681, cascade has no effect"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6112 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:43:11 +00:00
phpnut
1c8577ed34 "Fixes #3675, View/ThemeView::renderElement() should reset plugin paths after rendering"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6111 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:27:50 +00:00
phpnut
063faf5a9c "Fixes #3449, Dispatcher using wrong filename for cache lookup"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6110 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:22:01 +00:00
phpnut
aa86d05b96 "Fixes #2298, Mail subject is not influenced by charset-setting"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6109 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:16:27 +00:00
phpnut
3030428eab "Updating TreeBehavior to use new find syntax"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6108 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:50:40 +00:00
phpnut
4dbd53e3d9 "Fixes #3645, DboSource::conditions() bug ($conditions = null, $where = false)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:39:43 +00:00
phpnut
13530f42dc "Correcting typo"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6106 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:03:13 +00:00
phpnut
61eebea0f4 "Refactoring Controller::paginate()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6105 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:58:23 +00:00
nate
a61b32c91e Adding fix for AjaxHelper::form() (Ticket #3582)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6104 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:42:59 +00:00
nate
73d4844b22 Adding log file creation test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6103 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:40:23 +00:00
phpnut
738449ee50 "Fixing Model::set() when null passed to first param, this was creating an empty keyed array"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6102 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:23:29 +00:00
phpnut
498d05ecd3 "Fixes #3666, Log files are not automatically created"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6101 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:11:00 +00:00
nate
6a8c1474e0 Adding fix and updating test case for Model::find('count') (Ticket #3581)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6100 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 21:39:43 +00:00