Commit graph

100 commits

Author SHA1 Message Date
gwoo
18353519ed tagging version 1.2.0.7962
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7962 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 23:30:33 +00:00
gwoo
fafc429a8f merging changes to trunk and updating version number
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7961 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 23:21:36 +00:00
gwoo
0e458ff30b merge fixes to trunk and updating version number
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7945 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 02:16:01 +00:00
renan.saddam
6319f8ea69 Removed trailing whitespaces from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +00:00
AD7six
3f2fa6929b changing tabs for spaces in comment block indentation
Removing address and replacing with cakefoundation url


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
nate
faa8e8af60 Updating 1.1 and 1.2 verison numbers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 05:06:48 +00:00
gwoo
2967fd8d01 Merging 1.2.x.x changes and enhancements to trunk: [7295] [7294] [7293] [7292] [7291] [7290] [7289] [7288] [7287] [7286] [7285] [7283] [7281] [7280] [7278] [7276] [7275] [7274] [7273] [7272] [7271] [7269] [7268] [7267] [7266] [7265] [7264] [7263] [7262] [7261] [7260] [7259] [7258] [7257] [7256] [7254] [7253] [7252] [7251] [7250] [7249] [7248] [7247] [7246] [7245] [7244] [7243] [7242] [7241] [7240] [7239] [7238] [7237] [7236] [7235] [7234] [7233] [7232] [7231] [7230] [7229] [7228] [7227] [7226] [7225] [7222] [7221] [7220] [7219] [7217] [7216] [7215] [7214] [7213] [7212] [7211] [7210] [7209] [7208] [7207] [7206] [7205] [7204] [7203] [7202] [7201] [7200] [7198] [7197] [7196] [7195] [7194] [7193] [7192] [7191] [7190] [7189] [7188] [7187] [7186] [7185] [7184] [7183] [7182] [7181] [7180] [7179] [7178] [7177] [7175] [7174] [7173] [7172] [7171] [7170] [7169] [7167] [7165] [7164] [7163] [7162] [7158] [7155] [7154] [7153] [7152] [7149] [7148] [7146] [7145] [7144] [7143] [7141] [7140] [7139] [7138] [7137] [7136] [7134] [7133] [7128] [7126]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 09:09:03 +00:00
gwoo
e3fea51329 merging fixes to trunk [7120] [7121] [7122] [7123] [7124]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7125 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 15:06:49 +00:00
gwoo
a161d04cf1 version number sync.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7119 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 21:01:51 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
gwoo
2f0a556948 closes #4576, check for defines
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6980 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 01:21:10 +00:00
phpnut
7ee9c21079 "Completing test coverage for Multibyte class.
Removed case foldings that have no lower case code points."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6855 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:31:08 +00:00
phpnut
52ec5467c6 "Adding new Multibyte Class
Adding additional tests
Adding some missing casefoldings
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6833 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 04:20:24 +00:00
gwoo
10bdc235ee updating test suite for plugins, closes #4107, closes #2777. requires update to test.php.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6527 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:07:56 +00:00
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
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
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
phpnut
a83cfa8489 "Reverting [6007]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6009 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 20:34:05 +00:00
nate
97dd2ea2ea Updating cache config check in Configure::__loadBootstrap()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6007 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 20:07:38 +00:00
phpnut
c000940e36 Closes #2119 Only define clone() in PHP4 when it hasn't been already defined.
Closes #2213, Support multiple plugin paths.
Closes #2234, filepaths to behavior classes should be cached in class.paths.php also
Closes #2345, ability to group components into subfolders
Closes #2645, Improvement to basic.php for class loading.
Fixes #3526, Cache::write, when using just the config name, it fails.
Fixes #3559, loading plugin model as assoc don't work.
Closes #3567 Controller Folders (Note this does not need routing to work, but controller names can not conflict with others in the same application so naming must still be unique)
Fixes #3579, email.php component: Parse error with php 4.

Adding new class and file importer.
Updated most of the core to use the importer.
Added ClassRegsitry::init() that will create and instance of an object and store it in the registry.
Deprecated most of the load functions in basics.php
Plugin model loading now forces using the dot notation, to use models within a plugin, all the model associations must be in the PluginName.Model syntax, if this is not used, the plugin will look for the models in the main app/models directory first, if not found then it will search the plugin directories recursively until it finds a model.
	var $belongsTo = array('SomeModel'); will look for some_model.php in the app/models
	var $belongsTo = array('MyPlugin.SomeModel'); will look for some_model.php in my_plugin/models
	var $belongsTo = array('MyPlugin.MyPlugin', 'SomeModel'); will used my_plugin/models/my_plugin.php and app/models/some_model.php
	
The controllers of the plugin will still look for the default models inside the plugin if var $uses is not set:
	var $uses = array('SomeModel'); will look for some_model.php in the app/models
	var $uses = array('MyPlugin.SomeModel'); will look for some_model.php in my_plugin/models
	var $uses = array('MyPlugin.MyPlugin', 'SomeModel'); will used my_plugin/models/my_plugin.php and app/models/some_model.php

All of the above will work between plugins and main app
These changes also allow placing model and controllers is sub directories
Removed old class.paths.php file generation 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6001 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 09:35:19 +00:00
phpnut
dc517ddc56 Merging changes and enhancements into the trunk:
Revision: [5874] Revision: [5873] Revision: [5872] Revision: [5871] Revision: [5870] Revision: [5869] Revision: [5868] Revision: [5867] Revision: [5866]
Revision: [5865] Revision: [5864] Revision: [5863] Revision: [5862] Revision: [5861] Revision: [5860] Revision: [5859] Revision: [5858] Revision: [5857]
Revision: [5856] Revision: [5855] Revision: [5854] Revision: [5853] Revision: [5852] Revision: [5851] Revision: [5849] Revision: [5848]


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5875 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 00:25:51 +00:00
phpnut
7767bb7e3d Merging changes and enhancements into the trunk:
Revision: [5845] Revision: [5844] Revision: [5843] Revision: [5842] Revision: [5841] Revision: [5840]
Revision: [5839] Revision: [5838] Revision: [5837] Revision: [5836] Revision: [5835] Revision: [5834]
Revision: [5833] Revision: [5832] Revision: [5831] Revision: [5830] Revision: [5829] Revision: [5828]
Revision: [5827] Revision: [5826] Revision: [5825] Revision: [5824] Revision: [5823]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5847 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 03:39:01 +00:00
phpnut
0457fb9411 Merging changes into the trunk:
Revision: [5819]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5821 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 13:34:31 +00:00
phpnut
7ac9f78048 Merging changes and enhancements into the trunk:
Revision: [5812] Revision: [5813] Revision: [5814] Revision: [5815] Revision: [5816]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5818 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 12:01:30 +00:00
phpnut
803a38105a Merging changes and enhancements into the trunk:
Revision: [5428] Revision: [5429] Revision: [5430] Revision: [5431] Revision: [5432] Revision: [5433] Revision: [5434] Revision: [5435] Revision: [5436] Revision: [5437] 
Revision: [5438] Revision: [5439] Revision: [5440] Revision: [5444] Revision: [5448] Revision: [5449] Revision: [5450] Revision: [5451] Revision: [5452] Revision: [5453] 
Revision: [5454] Revision: [5455] Revision: [5456] Revision: [5457] Revision: [5458] Revision: [5459] Revision: [5460] Revision: [5461] Revision: [5462] Revision: [5463] 
Revision: [5464] Revision: [5465] Revision: [5466] Revision: [5467] Revision: [5468] Revision: [5469] Revision: [5470] Revision: [5471] Revision: [5472] Revision: [5473] 
Revision: [5474] Revision: [5475] Revision: [5476] Revision: [5477] Revision: [5478] Revision: [5479] Revision: [5480] Revision: [5481] Revision: [5482] Revision: [5483] 
Revision: [5485] Revision: [5486] Revision: [5487] Revision: [5488] Revision: [5489] Revision: [5490] Revision: [5491] Revision: [5492] Revision: [5493] Revision: [5494] 
Revision: [5495] Revision: [5496] Revision: [5497] Revision: [5498] Revision: [5499] Revision: [5500] Revision: [5501] Revision: [5502] Revision: [5503] Revision: [5504] 
Revision: [5505] Revision: [5506] Revision: [5507] Revision: [5508] Revision: [5509] Revision: [5510] Revision: [5511] Revision: [5512] Revision: [5513] Revision: [5514] 
Revision: [5515] Revision: [5516] Revision: [5517] Revision: [5518] Revision: [5519] Revision: [5520] Revision: [5521] Revision: [5522] Revision: [5523] Revision: [5524] 
Revision: [5525] Revision: [5526] Revision: [5527] Revision: [5528] Revision: [5529] Revision: [5530] Revision: [5531] Revision: [5532] Revision: [5533] Revision: [5534] 
Revision: [5535] Revision: [5536] Revision: [5537] Revision: [5538] Revision: [5539] Revision: [5540] Revision: [5541] Revision: [5542] Revision: [5543] Revision: [5544] 
Revision: [5545] Revision: [5546] Revision: [5547] Revision: [5548] Revision: [5549] Revision: [5550] Revision: [5551] Revision: [5552] Revision: [5553] Revision: [5554] 
Revision: [5555] Revision: [5556] Revision: [5557] Revision: [5558] Revision: [5559] Revision: [5560] Revision: [5561] Revision: [5562] Revision: [5563] Revision: [5564] 
Revision: [5565] Revision: [5566] Revision: [5567] Revision: [5568] Revision: [5569] Revision: [5570] Revision: [5571] Revision: [5572] Revision: [5573] Revision: [5574] 
Revision: [5575] Revision: [5576] Revision: [5577] Revision: [5578] Revision: [5579] Revision: [5580] Revision: [5581] Revision: [5582] Revision: [5583] Revision: [5584] 
Revision: [5585] Revision: [5586] Revision: [5587] Revision: [5588] Revision: [5589] Revision: [5590] Revision: [5591] Revision: [5592] Revision: [5593] Revision: [5594] 
Revision: [5595] Revision: [5596] Revision: [5597] Revision: [5598] Revision: [5599] Revision: [5600] Revision: [5601] Revision: [5602] Revision: [5603] Revision: [5604] 
Revision: [5605] Revision: [5606] Revision: [5607] Revision: [5608] Revision: [5609] Revision: [5610] Revision: [5613] Revision: [5614] Revision: [5615] Revision: [5616] 
Revision: [5617] Revision: [5618] Revision: [5619] Revision: [5622] Revision: [5623] Revision: [5624] Revision: [5625] Revision: [5626] Revision: [5627] Revision: [5628] 
Revision: [5629] Revision: [5630] Revision: [5631] Revision: [5632] Revision: [5633] Revision: [5634] Revision: [5635] Revision: [5636] Revision: [5637] Revision: [5639] 
Revision: [5640] Revision: [5641] Revision: [5642] Revision: [5643] Revision: [5644] Revision: [5645] Revision: [5646] Revision: [5647] Revision: [5648] Revision: [5649] 
Revision: [5650] Revision: [5651] Revision: [5652] Revision: [5653] Revision: [5655] Revision: [5656] Revision: [5657] Revision: [5658] Revision: [5659] Revision: [5660] 
Revision: [5661] Revision: [5662] Revision: [5663] Revision: [5664] Revision: [5665] Revision: [5666] Revision: [5667] Revision: [5668] Revision: [5669] Revision: [5670] 
Revision: [5671] Revision: [5672] Revision: [5673] Revision: [5674] Revision: [5675] Revision: [5676] Revision: [5677] Revision: [5678] Revision: [5679] Revision: [5680] 
Revision: [5681] Revision: [5682] Revision: [5683] Revision: [5684] Revision: [5685] Revision: [5686] Revision: [5687] Revision: [5688] Revision: [5689] Revision: [5691] 
Revision: [5692] Revision: [5693] Revision: [5694] Revision: [5695] Revision: [5696] Revision: [5697] Revision: [5698] Revision: [5699] Revision: [5700] Revision: [5701] 
Revision: [5702] Revision: [5703] Revision: [5704] Revision: [5705] Revision: [5706] Revision: [5707] Revision: [5708] Revision: [5709] Revision: [5710] Revision: [5711] 
Revision: [5712] Revision: [5713] Revision: [5714] Revision: [5715] Revision: [5716] Revision: [5717] Revision: [5718] Revision: [5719] Revision: [5720] Revision: [5721] 
Revision: [5722] Revision: [5723] Revision: [5724] Revision: [5725] Revision: [5726] Revision: [5727] Revision: [5728] Revision: [5729] Revision: [5730] Revision: [5731] 
Revision: [5732] Revision: [5733] Revision: [5734] Revision: [5735] Revision: [5736] Revision: [5737] Revision: [5738] Revision: [5739] Revision: [5740] Revision: [5741] 
Revision: [5742] Revision: [5743] Revision: [5744] Revision: [5745] Revision: [5746] Revision: [5747] Revision: [5748] Revision: [5749] Revision: [5750] Revision: [5751] 
Revision: [5752] Revision: [5753] Revision: [5754] Revision: [5755] Revision: [5756] Revision: [5757] Revision: [5758] Revision: [5759] Revision: [5760] Revision: [5761] 
Revision: [5762] Revision: [5764] Revision: [5765] Revision: [5766] Revision: [5767] Revision: [5768] Revision: [5769] Revision: [5770] Revision: [5771] Revision: [5772] 
Revision: [5773] Revision: [5774] Revision: [5775] Revision: [5776] Revision: [5777] Revision: [5778] Revision: [5779] Revision: [5780] Revision: [5781] Revision: [5782] 
Revision: [5783] Revision: [5784] Revision: [5785] Revision: [5786] Revision: [5787] Revision: [5788] Revision: [5789] Revision: [5790] Revision: [5791] Revision: [5791] 
Revision: [5791] Revision: [5793] Revision: [5794] Revision: [5795] Revision: [5797] Revision: [5798] Revision: [5799] Revision: [5800] Revision: [5801] Revision: [5802] 
Revision: [5803] Revision: [5804] Revision: [5805] Revision: [5806] Revision: [5807] Revision: [5808] Revision: [5809]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5811 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 06:39:14 +00:00
phpnut
603ed0e39c Initial start of Unicode support, I may move this handling of this to a unicode class.
Implemented multi-byte methods for:
String::strpos();
String::stripos();
String::strtoupper();
Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper()
Corrected file encodings.
Added loading of configurations from cake/config
Added specifc case folding files to cake/config/unicode/casefolding


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 23:49:54 +00:00
phpnut
016f5a952b Merging changes into the trunk:
Revision: [5426]
 * Disabling AuthTest until code is wrote to use temporary tables

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5427 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 06:47:28 +00:00
phpnut
d2b4701a11 Merging changes into the trunk:
Revision: [5424]
 * updating AclComponent to load custom component which should extend AclBase

Revision: [5423]
 * updating Auth component and tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5425 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:57:03 +00:00
phpnut
59ef6530b7 Merging fixes and enhancements into the trunk:
Revision: [5420]
 * Added doc comment for Set::reverse()

Revision: [5419]
 * updating Auth component

Revision: [5418]
 * Adding fix for #2881, Sanitize::escape() problem with trim()

Revision: [5417]
 * Disabling integer column length for Postgres (Ticket #2814)

Revision: [5416]
 * Fixing quoting of boolean values in DboPostgres (Ticket #2594)

Revision: [5415]
 * Adding fix for #2880, using the acl cli help command would return list of all commands instead of individual commands

Revision: [5414]
 * Adding fix for #2813, dbo_oracle.php's value function adding additional quotes

Revision: [5413]
 * fixing acl shell

Revision: [5412]
 * Adding fix for #2877, adds quit option in bake.php

Revision: [5411]
 * Adding fix for #2876, Missing {} on some string on tree behavior

Revision: [5410]
 * updating auth, acl and tests

Revision: [5409]
 * closes #2754, fix for project task

Revision: [5408]
 * Adding fix for #2836, PaginatorHelper::numbers() outputting extra url params

Revision: [5407]
 * Adding fix from #2872, $ajax->afterRender() has no decoding

Revision: [5405]
 * Adding fix for #2683, $_SERVER['SCRIPT_FILENAME'] not available in some installations of IIS

Revision: [5404]
 * Removing else statement in last commit [5403]

Revision: [5403]
 * Adding fix for #2863, When trying to load not existing helper file, loadHelper() returns true

Revision: [5402]
 * Adding fix for #2757, acl shell view command broken

Revision: [5401]
 * Adding fix for #2752, acl shell creates invalid sql

Revision: [5400]
 * Adding fix for #2776, ACL Shell should not accept / as an alias

Revision: [5399]
 * Adding fix for #2753, db_acl.php doesn't respect Dbo alias property

Revision: [5398]
 * Removing code left from testing

Revision: [5397]
 * Adding fix for #2837, dbo_source looping bug on parsing fields, can't use database function
 * Added test for #2837

Revision: [5396]
 * Skipping EmailTest::testBadSmtpSend() and EmailTest::testSmtpSend() if suite can not connect to smtp

Revision: [5395]
 * updating most tests with fixes to coding standards

Revision: [5394]
 * updating Auth test

Revision: [5393]
 * Adding fix for 2691, Error caching xml files

Revision: [5392]
 * updating Auth test with AuthUser and fixture

Revision: [5391]
 * updating Auth test

Revision: [5390]
 * Adding fix for #2822, FileEngine : Escape special chars before write cache

Revision: [5389]
 * Adding fix for #2105, Email Component template should default to null?
 * Adding fix for #2196, allow creation of user defined headers in email component.
 * Adding fix for #2215, EmailComponent header injection protection and cleaning.
 * Adding fix for #2717, EmailComponent should account for SAFE_MODE restriction on php mail function.
 * Adding fix for #2855, EmailComponent methods and parameters (to, subject, message, from etc.) should be email injection safe
 * Adding fix for #2859, EmailComponent does not send email when adding cc: and bcc:

Revision: [5388]
 * Adding fix for 'after' value not being rendered in FormHelper::input() (Ticket #2860)

Revision: [5387]
 * Incomplete test for Auth component, committing so gwoo can work on it

Revision: [5386]
 * #2871, fixing mode in Folder

Revision: [5385]
 * Adding fix for #2862, fixes view::render() affect the layout of the main view

Revision: [5384]
 * Adding fix for #2869, fixes count function not escaping "count" properly in pgsql

Revision: [5383]
 * Adding fix for #2866, fixes print_r() missing second parameter in object.php

Revision: [5382]
 * Fixed Inflector bug #2061
 * Added tests to InflectorTest

Revision: [5381]
 * Added fix for #2824, fixes Empty elements when DISABLE_CACHE is set to true

Revision: [5380]
 * Adding patch from [2843], fixes Logging only writes to error.log

Revision: [5379]
 * Adding fix for #2823, fixes Element gets different instances of helper than view in PHP4 and PHP5
 * Removed HtmlHelperTest::testRadio(), the HtmlHelper::radio() has been deprecated

Revision: [5378]
 * Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]

Revision: [5377]
 * adding support for passing model name to model task, updated isMobile check in requestHandler

Revision: [5376]
 * fixing scaffold templates altrow css

Revision: [5375]
 * Adding iPhone detection to RequestHandlerComponent::isMobile()

Revision: [5374]
 * Adding fix for failing tests on php 5

Revision: [5373]
 * Refactoring Set::reverse() and Model::set()
 * Set::reverse() will now reverse the object to an array that was created in Set::map();
 * Added testMapReverse() to Set tests.
 * Removed code in Model::set() that was no longer needed

Revision: [5372]
 * Updating Set::reverse()
 * Corrected undefined variable

Revision: [5370]
 * Adding option to group elements in Set::combine and making Model::generateList use Set::combine. Adding tests for Model::generateList and more tests for Set::combine

Revision: [5369]
 * Adding Set::combine to allow mapping of keys and values of an array using paths

Revision: [5368]
 * Refactoring Model::set()
 * Added Set::reverse(0 to convert an object to an array

Revision: [5367]
 * Improving HABTM saving by getting rid of unneeded loop and escaping field names

Revision: [5366]
 * Refactoring the Model::_ _saveMulti() to use one INSERT statement instead of looping over each value and querying INSERT.

Revision: [5365]
 * Adding tests for HABTM saving when parent data comes after HABTM data

Revision: [5364]
 * Adding tests for HABTM saving, including saving HABTM data without any parent data

Revision: [5363]
 * Adding enhancement to allow saving habtm data without needing to update or save a parent record

Revision: [5362]
 * Adding tests for del and deleteAll in Model

Revision: [5361]
 * Adding aliasing fix for DboSource::delete() and Model::deleteAll() (Ticket #2735)

Revision: [5360]
 * fix Paginator::numbers() seperator: #2685

Revision: [5359]
 * fix Paginator::numbers() seperator: #2685

Revision: [5358]
 * adding test for form checkbox: #2785

Revision: [5357]
 * Added explanation to test

Revision: [5356]
 * adding test for paginator numbers to prove fix for #2825

Revision: [5355]
 * adding fix for paginator numbers: #2825

Revision: [5354]
 * Added in test to make sure that an SMTP server is running on port 25 on localhost

Revision: [5353]
 * Refactored SMTP send code, cleaned up tests.  Test requires local SMTP server that is working

Revision: [5352]
 * adding fix for bake form template: #2834

Revision: [5351]
 * Added code to allow Email compoenent to send email via SMTP, along with test for component

Revision: [5350]
 * Adding DboSource::value() to findCount() to wrap the count in dbo specific quoting

Revision: [5349]
 * Typo (ticket #2829)

Revision: [5348]
 * Correcting session errors in EmailTest test case

Revision: [5347]
 * Added in test for smtp functionality for email component, test not complete

Revision: [5346]
 * Added in support for sending code out via SMTP

Revision: [5345]
 * Adding a couple of tests to ensure proper parsing of GROUP BY queries

Revision: [5344]
 * Adding Router::reload() to setUp() in tests

Revision: [5343]
 * Adding fix for Ticket #2821, fixes Controller::postConditions() overrides $data passed in.

Revision: [5342]
 * Adding fix for Ticket #2819, fixes postgrsql schema problems when setting 'schema' => '"some_shcema"'; in database settings

Revision: [5341]
 * Correcting duplicate class defines in the test cases that was causing tests to fail.
 * Added Router::reload(); to ViewTest::setUp()

Revision: [5340]
 * Removed extra slash in test paths.
 * Removed extra lines in files.
 * Corrected header in file

Revision: [5339]
 * Refactoring FileEngine cache class
 * Refactoring Folder class

Revision: [5338]
 * Adding patch from Ticket #2817, Allow type radio in FormHelper::input()

Revision: [5337]
 * Fixing TreeBehavior so tests will work on php 4.
 * Removing _ _METHOD_ _ from files since it is not valid on php 4

Revision: [5336]
 * adding CakeTestModel::cacheSources = false;
 * corrected the class that models defined in tree.test.php extend

Revision: [5335]
 * Adding fix for Ticket #2812

Revision: [5334]
 * Adding fix for Ticket #2561

Revision: [5333]
 * Fixing bug when using Security component and a form has a hidden field, similar to those use by FormHelper::checkbox()

Revision: [5332]
 * Adding fix for duplicated hidden tag for fields token

Revision: [5331]
 * Adding enhancement and tests from #2159

Revision: [5330]
 * Adding patch from #2791

Revision: [5329]
 * Adding fix for Router::url() when static call is made outside of an object instance

Revision: [5328]
 * Adding fix for Ticket #2719, Paginator::numbers() not accepting $options like the prev() and next()

Revision: [5327]
 * Ticket #2805, fixes Blacklisting fields in FormHelper::inputs doesn't work like intended
 * Ticket #2806, adds FormHelper::inputs can work recursively on $fields
 * Merged changes from [5326]

Revision: [5326]
 * Fixing issue with DELETE statement and alias not being properly created

Revision: [5325]
 * Fixing issue #2810, AjaxHelper does not render boolean options properly, and adding tests for it

Revision: [5324]
 * Fixing issue #2713, NumberHelper does not handle some currency formatting very well

Revision: [5323]
 * Fixing issue #2735, deleteAll() does not work correctly with model aliases

Revision: [5322]
 * Fixing console scripts.
 * Correcting errors when using bake shell to create views.
 * Corrected errors when interactively creating controllers and views
 * Corrected issue in ProjectTask::cakeAdmin() with admin route not writing the admin define in core.php
 * Moved ControllerTask::getAdmin() to Shell::getAdmin()
 * Removed define setting CAKE_ADMIN to null which would cause issues with admin methods and views
 * Corrected missing ?>

Revision: [5321]
 * Adding fix for Ticket #2809, fixes Add / Edit scaffolding : Template is always 'edit' instead of $action

Revision: [5320]
 * Ticket #1303, fixes On HABTM save() the associated field 'id' must be first in $this->params
 * Ticket #1819, fixes save() for HABTM to allow array keys in any order.
 * Ticket #2762, fixes Model::save() for HABTM not saving if no data from the parent Model is present

Revision: [5319]
 * Adding fix for Ticket #2750, fixes rendering of links when requestAction() is used.
 * Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper

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

Revision: [5315]
 * Correcting code structure to standards

Revision: [5314]
 * Correcting class method names

Revision: [5313]
 * Correcting code structure to standards

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision: [5297]
 * Adding documentation for Dispatcher

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

Revision: [5295]
 * Fixing translations function typo

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

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

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

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

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

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

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

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

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

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

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

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

Revision: [5281]
 * fix bake index template

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

Revision: [5279]
 * fix for scaffold without CAKE_ADMIN

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

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

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

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

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

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

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

Revision: [5271]
 * updating acl shell

Revision: [5270]
 * updating headers

Revision: [5269]
 * Fixing path in help text

Revision: [5268]
 * updating bake cake admin define

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

Revision: [5266]
 * updating bake view templates

Revision: [5265]
 * update to formhelper habtm fields

Revision: [5264]
 * updating help for bake

Revision: [5263]
 * refactoring task loading

Revision: [5262]
 * Adding fix for #2723, this fixes Saving an array in an encrypted cookie, with the CookieComponent, prevents you from deleting it later.
 * Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
 * Deprecated the use of the Controller properties to set the CookieComponent properties

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

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

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

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

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

Revision: [5255]
 * Adding documentation for Component

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

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

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

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

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

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

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

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

Revision: [5246]
 * Fixing typo

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

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

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

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

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

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

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

Revision: [5238]
 * Adding fix for FormHelper::checkbox() not creating the hidden fields.
 * Corrected errors when multiple hidden fields used in a form.
 * Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision: [5224]
 * Correcting date string in tests

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

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

Revision: [5221]
 * fixing File tests and class

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

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

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

Revision: [5217]
 * updating acl and model cli

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

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

Revision: [5214]
 * fixing typo in cleanUpfields

Revision: [5213]
 * Changing Helper::_ _value(); to Helper::value();
 * Removed HtmlHelper::value();
 * Changed all references to _ _value() to value();
 * Started changes needed for loading custom view classes located in a plugin

Revision: [5212]
 * updating project task paths

Revision: [5211]
 * updating File class and tests

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

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

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

Revision: [5206]
 * fixing typo

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

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

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

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

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

Revision: [5200]
 * Adding comments to Set

Revision: [5199]
 * Fixing docs for Session

Revision: [5198]
 * Formatting

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

Revision: [5196]
 * Refactoring tasks

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

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

Revision: [5193]
 * Adding comments for Router

Revision: [5192]
 * Adding missing accessors

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

Revision: [5190]
 * removing whitespace

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

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

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

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

Revision: [5184]
 * moving beforeRender to before loadView

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

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

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

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

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

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

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

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

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

Revision: [5174]
 * typo in number test

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

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

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

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

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

Revision: [5168]
 * Correcting quoting 

Revision: [5167]
 * Correcting DboSybase class methods

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

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5318 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 09:01:21 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
4e92b97468 Merging fixes into the trunk:
Revision: [5163]
 * changing param check in Router::stripEscape()

Revision: [5162]
 * Added in initial functionality for for returning result sets and providing help information

Revision: [5161]
 * Adding API Shell to get method signatures from core CakePHP classes

Revision: [5160]
 * Merging changes from [5157] into DboSource.
 * Adding better check in Router::stripEscape()

Revision: [5159]
 * Adding beforeRender() callback to components

Revision: [5158]
 * fixing pre color in css

Revision: [5157]
 * cleaning up auth, adding options to sort in paginator, adding preg match for database in dbo source

Revision: [5156]
 * Refactoring ACL class locations

Revision: [5155]
 * Fixing undefined variable in Shell:error()

Revision: [5154]
 * adding Media to inflector tests

Revision: [5153]
 * Correcting doc comment

Revision: [5152]
 * Adding Firebird support

Revision: [5151]
 * Fixing visibility based on attribute name convention

Revision: [5150]
 * Adding fix to SecurityComponent::_ _validatePost()

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

Revision: [5148]
 * Adding access visibility to comment

Revision: [5147]
 * Adding comments to code

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5165 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 04:42:33 +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
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
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
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
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
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
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
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
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
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
29e1e6a570 Merging fixes into the trunk:
Revision: [4818]
Adding fix for test in [4816].
This fixes hasOne association conditions

Revision: [4817]
Fixed tests

Revision: [4816]
Added test for conditions in binding

Revision: [4815]
Removing fixtures directory

Revision: [4814]
Adding fix for Ticket #2364

Revision: [4813]
Fixed test

Revision: [4812]
Adding fixes for test in [4811] fixes Ticket #1100

Revision: [4811]
Added tests for issue #1100

Revision: [4810]
Adding fix for Ticket #2363
Removed use of:
mysql_insert_id($this->connection);
mysqli_insert_id($this->connection);

Revision: [4809]
Added test for #2361

Revision: [4808]
Adding fix for Ticket #2360

Revision: [4807]
Fixing test for PHP4

Revision: [4806]
Improved test for #2360

Revision: [4805]
Test added to replicate #2360

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4820 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 22:17:26 +00:00
phpnut
847cf2345f Merging fixes into the trunk:
Revision: [4802]
Refactoring duplicate code into one method

Revision: [4801]
Adding fixes for Ticket #2357, Ticket #2358
Added tests from Ticket #2357, Ticket #2358
Fixed failing DboSourceTest:
source:/branches/1.2.x.x/cake/tests/cases/libs/model/datasources/dbo_source.test.php@4778#L1080

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4804 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 12:38:06 +00:00
phpnut
48f3349c9a Merging fixes into the trunk:
Revision: [4796]
Removing comments from Set::merge()

Revision: [4795]
Adding fix for Ticket #2353

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4798 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:40:37 +00:00
phpnut
1ad04a6558 Merging fixes into the trunk:
Revision: [4792]
Merging changes from 1.2.x.x Set class to 1.1.x.x branch

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4794 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 20:19:33 +00:00
phpnut
a677c882e7 Merging fixes into the trunk:
Revision: [4789]
Fixing last commit, had removed the ! prior to committing

Revision: [4788]
Adding fix for duplicate conditions being merged into the final query on self associations

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4791 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 19:23:46 +00:00
phpnut
4f04f09978 Merging fixes into the trunk:
Revision: [4785]
Adding fix for Ticket #2347

Revision: [4784]
Adding fix for Ticket #2317.
Added ability to cache queries to Model::query() by passing true as a second param.
Before this method would turn off caching automatically and there was no way to turn it on.

Revision: [4783]
Adding fix for Ticket #2351

Revision: [4782]
Adding fix for Ticket #2349

Revision: [4781]
Fixing typo

Revision: [4780]
Adding headers

Revision: [4779]
Adding new Set::merge() and Set class test case, thanks Felix

Revision: [4778]
Fixing [Only variable references should be returned by reference]

Revision: [4777]
Remove deprecated methods from test cases

Revision: [4776]
finishing changes to FormHelper

Revision: [4775]
Preventing session started messages in session test

Revision: [4774]
Removing old AclNodeTest methods this code is no longer valid on 1.2

Revision: [4773]
Added test for combination of self joins and belongsTo

Revision: [4771]
Fixed test to used array based self join

Revision: [4770]
Adding fix for to correct additional 1:1 associations failing to query when there is a self join association.

Revision: [4769]
fixing some changes to FormHelper

Revision: [4768]
Removing preg_replace() and adding additional param $where = true to DboSource::conditions()

Revision: [4767]
Fixing self association joins with conditions and fields

Revision: [4766]
Fixed test

Revision: [4765]
Fixed test

Revision: [4764]
Fixed tests to include parenthesis used in ON clauses

Revision: [4763]
Adding fixes for association conditions

Revision: [4762]
adding fix to FormHelper::create() for plugin path with action, see #2342. Adding default sizes, maxlengths, and values to input. FormHelper::inputs() will now return all the fields in the model without the need to pass anything from the controller, uses a blacklist so some fields can be skipped. Added PaginatorHelper::numbers(),  will output current page numbers, uses a modulus to decide how many to show on each side of the current page. Paginator::options() now allows setting default paging params

Revision: [4761]
Adding fix for ModelTest::testRecursiveFindAll()

Revision: [4760]
Commenting debug code in model.test.php

Revision: [4759]
Adding fix for scaffold when using self associated HABTM

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4787 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 18:10:39 +00:00
phpnut
0d373a0c16 Merging fixes into the trunk:
Revision: [4756]
Adding fix for Ticket #2343
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector

Revision: [4755]
Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also

Revision: [4754]
Adding check for config/inflections.php back to Inflector

Revision: [4752]
Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

Revision: [4751]
Removing unnecessary requirements

Revision: 4750
Removing unnecessary requirements

Revision: [4749]
Implementing AclNodeTest through fixtures

Revision: [4748]
Adding test to reproduce ticket #2343

Revision: [4747]
Adding fix from Ticket #2336

Revision: [4746]
fixing check in magic methods for a value otherwise it will return false adding test to dbosource

Revision: [4745]
Adding fix for Ticket #2328

Revision: [4744]
Adding test for Ticket #2333.
Added fix for Ticket #2333

Revision: [4743]
Adding var $layout to EmailComponent

Revision: [4742]
Fixing EmailComponent::_ _formatAddress() was not returning $string

Revision: [4741]
Refactoring AuthComponent password hashing

Revision: [4740]
fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false

Revision: [4738]
Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation

Revision: [4737]
Simplified failing test in model.test.php

Revision: [4736]
Simplified failing test in model.test.php

Revision: [4735]
Adding Ajax rendering fix for Ticket #2323

Revision: [4734]
Adding test for #2325

Revision: [4733]
Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322)

Revision: [4732]
Adding fix for TIcket #2325

Revision: [4731]
Adding patch from ticket #2324 plus test

Revision: [4730]
Adding patch from Ticket #2320

Revision: [4729]
Additional timestamp fix for Controller::cleanUpFields()

Revision: [4728]
Fixing typos

Revision: [4727]
Misc. fixes to DboPostgres, added basic schema generation, and fixed getting insert IDs from sequence (Ticket #2309)

Revision: [4726]
Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)

Revision: [4725]
Fixed typo in function name

Revision: [4724]
Identified line that allows bakery issue test to succeed

Revision: [4723]
Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()

Revision: [4722]
Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values

Revision: [4721]
Added test for ticket #2321

Revision: [4720]
Adding Model::saveField() fix for triggering invalid hasAndBelongsToMany saves

Revision: [4719]
Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:36:00 +00:00