Commit graph

3872 commits

Author SHA1 Message Date
phpnut
6807d4c333 Starting initial refactoring of current code base.
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
DarkAngelBGE
70aa290f5b fixing find('list') calls with a fields array that doesn't contain the model alias, closes #4851
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7158 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 17:27:12 +00:00
DarkAngelBGE
e221e9fb61 forcing the db layer to make an WHERE field IS NULL when find statements are called with empty arrays, closes #4845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7155 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 16:17:44 +00:00
DarkAngelBGE
3c518c182f fixing wrong NOT IS in dbo_source, closes #4844
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7154 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 15:45:54 +00:00
DarkAngelBGE
0031c3c71e adding code coverage support to the skel test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7153 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 14:03:40 +00:00
mark_story
ebe6e31ef3 Changed Scaffold views to allow Type, Alias, Detail, Data, and Field as Model names. Closes #4136, #4859. Updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7152 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 02:12:32 +00:00
phpnut
cbebf3e6b3 Adding fix for new line endings when sending email via php mail();
Fixed typo __headers should have been __header

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7149 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 23:35:38 +00:00
gwoo
ebe4b5824f fixes #4870, component now using references on callbacks instead of copies. thanks for the patch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7148 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 23:32:54 +00:00
mark_story
8c32547351 Adding test to formHelper. Testing checkbox in response to #4869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7146 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 12:34:30 +00:00
the_undefined
2d8e63ae7b Refactored and updated postConditions to new operator syntax, fixes #4860
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7145 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 08:29:56 +00:00
the_undefined
2f761ccba1 Set correct permissions for dbo_oracle.test.php, fixes #4843
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7144 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 07:31:00 +00:00
mark_story
8f59f18877 Added fallback view file for scaffolded admin routes. Closes #4862. Added tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7143 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 02:56:36 +00:00
gwoo
9f3aa66101 removing _stop from baked controllers that do not use Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7141 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 15:47:06 +00:00
gwoo
5807def032 updating some view stuff
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7140 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 15:44:46 +00:00
DarkAngelBGE
5869715a19 fixing broken controller test
fixing multiple times defined constant AppControllerExists for the all group to run

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7139 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 14:35:14 +00:00
gwoo
76acfafa5a fixes #4848, console building paths when config does not exist.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7138 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 22:09:40 +00:00
DarkAngelBGE
7b7a45f66b fixing a couple code coverage manager tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7137 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:21:45 +00:00
DarkAngelBGE
2ca6136504 changing interface for group test cascading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7136 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:19:57 +00:00
gwoo
bd7b09e629 updating email component, proper fix for [7052]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7134 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-06 18:31:11 +00:00
gwoo
1c21457eef fixes #4858, self referencing components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7133 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-06 16:18:14 +00:00
DarkAngelBGE
52d72a63b5 fixing a little problem in acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7128 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 18:55:33 +00:00
AD7six
a978fb2661 adding Doc blocks to everything in tests folder missed in the first pass.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7126 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 15:20:45 +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
f7365640bf updating dbo source test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7124 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:54:56 +00:00
gwoo
8c1566b1a3 fixes #4849, DS in WWW_ROOT of console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7123 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:52:42 +00:00
gwoo
288db81884 fixes #4850
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7122 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:48:54 +00:00
mark_story
b05185f08a Fixed issue where 'cake bake all' would not allow continuous execution.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7121 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 02:23:18 +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
gwoo
3e72b010ac merging 1.2.x.x fixes and enhancements to trunk: [6312] [6313] [6314] [6315] [6316] [6317] [6318] [6319] [6320] [6321] [6322] [6323] [6324] [6325] [6326] [6327] [6328] [6329] [6330] [6331] [6332] [6333] [6334] [6335] [6336] [6337] [6338] [6339] [6340] [6341] [6342] [6343] [6344] [6345] [6346] [6347] [6348] [6349] [6350] [6351] [6352] [6353] [6354] [6355] [6356] [6357] [6358] [6359] [6360] [6361] [6362] [6363] [6364] [6365] [6366] [6367] [6368] [6369] [6370] [6371] [6372] [6373] [6374] [6375] [6376] [6377] [6378] [6379] [6380] [6381] [6382] [6383] [6384] [6385] [6386] [6387] [6388] [6389] [6390] [6391] [6392] [6393] [6394] [6395] [6396] [6397] [6398] [6399] [6400] [6401] [6402] [6403] [6404] [6405] [6406] [6407] [6408] [6409] [6410] [6411] [6412] [6413] [6414] [6415] [6416] [6417] [6418] [6419] [6420] [6421] [6422] [6423] [6424] [6425] [6426] [6427] [6428] [6429] [6430] [6431] [6432] [6433] [6434] [6435] [6436] [6437] [6438] [6439] [6440] [6441] [6442] [6443] [6444] [6445] [6446] [6447] [6448] [6449] [6450] [6451] [6452] [6453] [6454] [6455] [6456] [6457] [6458] [6459] [6460] [6461] [6462] [6463] [6464] [6465] [6466] [6467] [6468] [6469] [6470] [6471] [6472] [6473] [6474] [6475] [6476] [6477] [6478] [6479] [6480] [6481] [6482] [6483] [6484] [6485] [6486] [6487] [6488] [6489] [6490] [6491] [6492] [6493] [6494] [6495] [6496] [6497] [6498] [6499] [6500] [6501] [6502] [6503] [6504] [6505] [6506] [6507] [6508] [6509] [6510] [6511] [6512] [6513] [6514] [6515] [6516] [6517] [6518] [6519] [6520] [6521] [6522] [6523] [6524] [6525] [6526] [6527] [6528] [6529] [6530] [6531] [6532] [6533] [6534] [6535] [6536] [6537] [6538] [6539] [6540] [6541] [6542] [6543] [6544] [6545] [6546] [6547] [6548] [6549] [6550] [6551] [6552] [6553] [6554] [6555] [6556] [6557] [6558] [6559] [6560] [6561] [6562] [6563] [6564] [6565] [6566] [6567] [6568] [6569] [6570] [6571] [6572] [6573] [6574] [6575] [6576] [6577] [6578] [6579] [6580] [6581] [6582] [6583] [6584] [6585] [6586] [6587] [6588] [6589] [6590] [6591] [6592] [6593] [6594] [6595] [6596] [6597] [6598] [6599] [6600] [6601] [6602] [6603] [6604] [6605] [6606] [6607] [6608] [6609] [6610] [6611] [6612] [6613] [6614] [6615] [6616] [6617] [6618] [6619] [6620] [6621] [6622] [6623] [6624] [6625] [6626] [6627] [6628] [6629] [6630] [6631] [6632] [6633] [6634] [6635] [6636] [6637] [6638] [6639] [6640] [6641] [6642] [6643] [6644] [6645] [6646] [6647] [6648] [6649] [6650] [6651] [6652] [6653] [6654] [6655] [6656] [6657] [6658] [6659] [6660] [6661] [6662] [6663] [6664] [6665] [6666] [6667] [6668] [6669] [6670] [6671] [6672] [6673] [6674] [6675] [6676] [6677] [6678] [6679] [6680] [6681] [6682] [6683] [6684] [6685] [6686] [6687] [6688] [6689] [6690] [6691] [6692] [6693] [6694] [6695] [6696] [6697] [6698] [6699] [6700] [6701] [6702] [6703] [6704] [6705] [6706] [6707] [6708] [6709] [6710] [6711] [6712] [6713] [6714] [6715] [6716] [6717] [6718] [6719] [6720] [6721] [6722] [6723] [6724] [6725] [6726] [6727] [6728] [6729] [6730] [6731] [6732] [6733] [6734] [6735] [6736] [6737] [6738] [6739] [6740] [6741] [6742] [6743] [6744] [6745] [6746] [6747] [6748] [6749] [6750] [6751] [6752] [6753] [6754] [6755] [6756] [6757] [6758] [6759] [6760] [6761] [6762] [6763] [6764] [6765] [6766] [6767] [6768] [6769] [6770] [6771] [6772] [6773] [6774] [6775] [6776] [6777] [6778] [6779] [6780] [6781] [6782] [6783] [6784] [6785] [6786] [6787] [6788] [6789] [6790] [6791] [6792] [6793] [6794] [6795] [6796] [6797] [6798] [6799] [6800] [6801] [6802] [6803] [6804] [6805] [6806] [6807] [6808] [6809] [6810] [6811] [6812] [6813] [6814] [6815] [6816] [6817] [6818] [6819] [6820] [6821] [6822] [6823] [6824] [6825] [6826] [6827] [6828] [6829] [6830] [6831] [6832] [6833] [6834] [6835] [6836] [6837] [6838] [6839] [6840] [6841] [6842] [6843] [6844] [6845] [6846] [6847] [6848] [6849] [6850] [6851] [6852] [6853] [6854] [6855] [6856] [6857] [6858] [6859] [6860] [6861] [6862] [6863] [6864] [6865] [6866] [6867] [6868] [6869] [6870] [6871] [6872] [6873] [6874] [6875] [6876] [6877] [6878] [6879] [6880] [6881] [6882] [6883] [6884] [6885] [6886] [6887] [6888] [6889] [6890] [6891] [6892] [6893] [6894] [6895] [6896] [6897] [6898] [6899] [6900] [6901] [6902] [6903] [6904] [6905] [6906] [6907] [6908] [6909] [6910] [6911] [6912] [6913] [6914] [6915] [6916] [6917] [6918] [6919] [6920] [6921] [6922] [6923] [6924] [6925] [6926] [6927] [6928] [6929] [6930] [6931] [6932] [6933] [6934] [6935] [6936] [6937] [6938] [6939] [6940] [6941] [6942] [6943] [6944] [6945] [6946] [6947] [6948] [6949] [6950] [6951] [6952] [6953] [6954] [6955] [6956] [6957] [6958] [6959] [6960] [6961] [6962] [6963] [6964] [6965] [6966] [6967] [6968] [6969] [6970] [6971] [6972] [6973] [6974] [6975] [6976] [6977] [6978] [6979] [6980] [6981] [6982] [6983] [6984] [6985] [6986] [6987] [6988] [6989] [6990] [6991] [6992] [6993] [6994] [6995] [6996] [6997] [6998] [6999] [7000] [7001] [7002] [7003] [7004] [7005] [7006] [7007] [7008] [7009] [7010] [7011] [7012] [7013] [7014] [7015] [7016] [7017] [7018] [7019] [7020] [7021] [7022] [7023] [7024] [7025] [7026] [7027] [7028] [7029] [7030] [7031] [7032] [7033] [7034] [7035] [7036] [7037] [7038] [7039] [7040] [7041] [7042] [7043] [7044] [7045] [7046] [7047] [7048] [7049] [7050] [7051] [7052] [7053] [7054] [7055] [7056] [7057] [7058] [7059] [7060] [7061] [7062] [7063] [7064] [7065] [7066] [7067] [7068] [7069] [7070] [7071] [7072] [7073] [7074] [7075] [7076] [7077] [7078] [7079] [7080] [7081] [7082] [7083] [7084] [7085] [7086] [7087] [7088] [7089] [7090] [7091] [7092] [7093] [7094] [7095] [7096] [7097] [7098] [7099] [7100] [7101] [7102] [7103] [7104] [7105] [7106] [7107] [7108] [7109] [7110] [7111] [7112] [7113] [7114] [7115] [7116] [7117]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7118 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 20:49:29 +00:00
nate
7e2b58b8d7 Adding test case for DboSource::order(), disproves #3098
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7117 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:27:55 +00:00
gwoo
b3f605c1d8 fixes #4836 components initialize for error pages, also changing Object::stop() to Object::_stop()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7116 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:04:58 +00:00
gwoo
298ede514c removing debug statement from form.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7115 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 17:07:40 +00:00
the_undefined
de164962dc Disproving ticket, see #4709
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7114 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 16:27:19 +00:00
gwoo
071af32eb2 adding test cases showing usage of showParents in form helper, closes #4831
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7113 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 15:57:45 +00:00
mark_story
55bcf1e25e Components can have settings assigned in the components declaration, tests added. Closes #4055
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7112 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 02:39:05 +00:00
TommyO
7c6cdb6354 Updated RssHelper to use XmlHelper updated in 7110. fixes #4778
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7111 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:40:35 +00:00
TommyO
546d804b10 updated XmlHelper to take advantage of Xml class to support namespaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7110 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:35:44 +00:00
TommyO
f1921c15ef New tests added for xml-based helpers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7109 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:33:21 +00:00
TommyO
eaf4dc9ff5 Rework of Xml class to better handle namespaces. closes #4760
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7107 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 18:41:04 +00:00
TommyO
57b6dedc49 Additional tests added for XmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7106 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 17:59:23 +00:00
gwoo
6affb7f70a updating EmailComponent, making lineLength public, deprecating protected _lineLength, default value of 70, updating docblocks,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7105 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 17:26:30 +00:00
mariano.iglesias
2d2096d9f7 Fixing issue where Containable was not resetting the original bindings properly when reset was false under some circumstances, fixes #4812
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7104 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 14:12:38 +00:00
nate
7dfb31200f Improving test case list display formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7103 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 12:58:20 +00:00
nate
84a4bcfce4 Adding new-CGI environment settings to dispatcher test, disproves and closes #4807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7102 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 11:38:20 +00:00
gwoo
a13232659f updating cache with new component callback handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7101 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 05:12:12 +00:00
gwoo
394fe24e90 closes #4776, cleaning up output from console shells
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7100 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 05:11:04 +00:00
mark_story
fbed4d6bf9 Added maular's submitted tests. Closes #4786, #4789
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7099 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 04:43:44 +00:00
mariano.iglesias
1d56175560 Adding missing attach to replicate issue what was already solved for #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7098 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:41:29 +00:00
nate
af16245ab0 Fixing persistent connection handling in Postgres driver, updating fixture with unique index name, removing support for deprecated 'connect' key in database drivers, closes #4773
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7097 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:26:40 +00:00
TommyO
93864f608a Added test cases for Xml namespaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7096 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 01:42:05 +00:00