gwoo
0cc669d08e
removing whitespace added in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7173 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:47:47 +00:00
gwoo
1e231e9511
some cleanup, wrapping uses() in class exists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
mark_story
273dff46f1
reverting paginator helper back to parent::url. Closes #4887
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7171 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 12:18:54 +00:00
phpnut
04343b8bc0
Adding changes to error.test.php that did not merge properly in last commit
...
Fixes #4883 for real this time
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7170 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 09:02:54 +00:00
phpnut
8a30290862
Fixes #4883 Duplicated component name
...
Removed bad test since AppController::beforeFilter() is now run when Controller::constructClasses() is called.
Fixed bug with App::import() not caching properly.
More performance changes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7169 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 08:54:27 +00:00
DarkAngelBGE
763800bf11
fixing component name in error.test to remove Fatal Error when running the all group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7167 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 07:56:51 +00:00
mark_story
0ce344d852
Minor changes to PaginatorHelper. $this->url() instead of parent::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7165 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:47:50 +00:00
mark_story
44159ec303
Removed all references to Router::url in all helpers. Closes #4880 . Fixed failing test in RssHelper, added more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +00:00
mark_story
68af2bb1ed
Fixing compatibility with Helper::beforeLayout, Helper::afterLayout and PHP4. Closes #4880
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7163 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 00:20:01 +00:00
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
mark_story
4b1335797c
Updated session lib test to use fixtures, fixes some of the errors in the test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7095 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 23:57:30 +00:00
AD7six
f44c755475
Adding doc blocks to everything in the tests dir
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7094 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:22:55 +00:00
joelmoss
1b1a3d7a5a
Reverting last change to DboMysqli, and we now use port config var as the socket if it is a string.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7093 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:00:11 +00:00
joelmoss
d14774324a
Added support for specifying the socket for MySQLi connections. Fixes #4811
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7092 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 18:18:10 +00:00
mariano.iglesias
6dff6e30f7
Removing debug statement
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7091 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 18:06:47 +00:00
mariano.iglesias
04b8270fb6
Adding tests to show use of bindModel with reset false and pagination in Containable, closes #4812
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7090 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 18:05:45 +00:00
gwoo
a7289ff89d
updating cache engine to better deal with prefixes for multiple apps. Allows fully or partially overriding core settings from core.php. fixes #4810
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7089 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 17:35:56 +00:00
gwoo
09fae6203d
fixing issue with references from latest component refactor. test case added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7088 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 04:57:06 +00:00
gwoo
6c48154725
updating images/icons with optimized versions. thanks mjc
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7087 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 04:30:14 +00:00
mark_story
1bc9d198cc
Updating skel/cake.generic.css to remove validation warnings. Added test icons to test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7086 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 03:36:20 +00:00
mark_story
7820d639b8
changed column datatyping in __destroy() closes #4782 . Updated session test to use session fixture.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7084 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 22:03:29 +00:00
mariano.iglesias
3cfa3132e4
Fix issue with test and precision of float numbers. Adding test to show use of quoteKey, closes #4806
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7083 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:22:59 +00:00
mariano.iglesias
4b2b8fcc1c
Adding tests to show HABTM saving with custom model keys, disproves and closes #4791
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7082 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:04:30 +00:00
mariano.iglesias
7101b8d4cd
Adding tests for grouping with Product model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7081 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 19:00:33 +00:00
mark_story
9bea02d518
Adding product fixture and product model for group by tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7080 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 18:26:25 +00:00
mariano.iglesias
768e0c748b
Keeping index when setting validation errors for saveAll, fixes #4769 and closes #4462
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7079 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 22:01:47 +00:00
mariano.iglesias
6418baaa86
Fixing issue where GROUP BY clause was positioned on the wrong place
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7078 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 21:33:37 +00:00
mariano.iglesias
29c784be15
Adding test for issue when group and order are specified for a find
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7077 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 21:29:37 +00:00
gwoo
73e926fea8
adding test to model, closes #4809
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7076 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 16:57:30 +00:00
nate
39feb3f7c1
Refactoring DboSource. Model array conditions must now have comparison operators on the left side, fixes misc bugs, updated core to reflect changes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7075 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 12:36:38 +00:00
gwoo
1aa6e5c4f4
changing component checks for callbacks from is_callable to method_exists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7074 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 09:24:42 +00:00
gwoo
7ed4665318
updating error handler and erro404 template. closes #4799
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7073 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:50:38 +00:00
gwoo
c57b5611a0
adding patch for Acl::allow(), fixes #4792 , closes #4781
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7072 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:31:30 +00:00
gwoo
14df77c12d
removing memory usage line that was usage in component test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7071 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:03:49 +00:00
gwoo
cf896eaa9b
refactoring component handling, closes #4795 , tests added. deprecated Controller::_initComponents();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7070 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 03:54:22 +00:00
mariano.iglesias
3a643bad92
Adding test for non existing layout when calling SessionComponent::setFlash, disproves and closes #4798
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7069 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 03:06:07 +00:00
mariano.iglesias
a94c890734
Adding test to show original associations working correctly, disproves and closes #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7068 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 02:59:55 +00:00
joelmoss
8b122d5480
OOps! Fixing typo from last commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7067 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 16:06:49 +00:00
joelmoss
d294e91d42
Fixing PHP error with $divOptions in FormHelper::input() when passing $option['div'] = false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7066 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 16:05:53 +00:00
joelmoss
03322a31d7
FormHelper::submit() now accepts alternative wrapping tags, instead of a div.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7065 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:44:39 +00:00
joelmoss
4dfe7333b7
FormHelper::error() can now be passed the tag to wrap the error message in.
...
FormHelper::input() can now be passed the tag to wrap the input element in; same applies to the tag that wraps the error message.
Corrected date format in Form test testMonth().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7064 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:07:32 +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
DarkAngelBGE
f749143f5d
enabling nesting of group tests in TestManager::addTestFile
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7060 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:27:56 +00:00
TommyO
67f2255076
Fixed minor bug in connect communications with SMTP server
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7059 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 20:43:13 +00:00
TommyO
ecc4347e25
Fixed bug for Authenticating against SMTP server. Added test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7058 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 17:26:43 +00:00
mark_story
78ff2ad4bd
Implemented 'group' by conditions for model finds. Added tests from 'wluigi' Closes #2833
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7057 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 12:27:23 +00:00
AD7six
4bafc397f9
fixes #4761 , tree behavior parameter array merge logic incorrect
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7056 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 16:02:31 +00:00
TommyO
a89feed085
EmailComponent reference twekaed to be more PHP4 friendly
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7055 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 15:28:47 +00:00
AD7six
26a31efbe5
fixes #4761 , visibility in tree test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7054 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 15:26:29 +00:00
TommyO
3670598052
Adapted EmailComponent SMTP sends to use CakeSocket for communications
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7053 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 15:17:18 +00:00
TommyO
ee113b7a5c
Fixes bugs in EmailComponent where multiple sends will duplicate headers and content. Makes debug more consistent with sends.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7052 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 14:59:13 +00:00
mark_story
ca48055ddb
Added ability to specify cdata blocks and ignore special character stripping in RssHelper. Tests updated as well. Closes #4491
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7051 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 02:19:55 +00:00
mark_story
027a90fab3
Implemented 'mech7' patch to AjaxHelper. Closes #2844
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7050 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 00:28:20 +00:00
gwoo
047c5fc040
refactor ShellDispatcher::parseParams(), fixes #4771
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7049 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 21:43:15 +00:00
gwoo
a2b873d0f8
adding test to schema, closes #4731
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7048 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 18:44:55 +00:00
mark_story
78e534b73b
Refactored month() to take monthNames in the options array. Added options descriptions to several doc blocks. Tests updated.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7047 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 00:07:00 +00:00
gwoo
0bfa2f72bf
fixes #4762 , monthNames count
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7046 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 19:26:44 +00:00
gwoo
13a717aed6
updating Cache engines, fixes #4759
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7045 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 19:24:09 +00:00
the_undefined
ba052c6e7e
Fixed issue where String class is not loaded in Inflector::slug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7044 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 18:46:20 +00:00
nate
9eeecc8755
Adding content stripping fix for email component, fixes #4753
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7043 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-25 18:08:55 +00:00
TommyO
c9c3983296
Additional email component tests. Fixes for existing tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7042 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-25 15:39:31 +00:00
mark_story
6ed1fc8fbe
Corrected CONFIGS usage in Helper and Configure as per patch from 'zeuthen'.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7041 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 22:46:40 +00:00
mark_story
dcdfdb3cbe
Updated Auth redirect url generation. Now correctly retains passedArgs and namedParams. Added tests for this behavior. Closes #4750
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7040 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 22:43:19 +00:00
mark_story
9da3e638df
Applied Enhancement submitted by 'chjunior', month display can be set to numbers or translated text. Closes #4327 . Tests also updated.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7039 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 04:00:26 +00:00
mark_story
0c164efb21
Added missing params to FormHelper doc blocks, marked private methods.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7038 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 02:57:48 +00:00
gwoo
92514422e4
updating datasource to use Cache engines.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7037 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 02:08:56 +00:00
mariano.iglesias
060bbf1caf
Adding test to show proper use of allowEmpty on validation rules, closes #4749
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7036 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:46:42 +00:00
nate
6a99a6ba60
Changing Model::getColumnType() to return null for unknown fields, allowing for type introspection, updating docblock for Model::hasField(), fixes #4751
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7035 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:40:50 +00:00
gwoo
7889668b6e
disable callbacks in view cache by default
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7034 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 18:52:49 +00:00
nate
082aedc0b3
Adding check for domain name length in Validation::url(), thanks AD7six
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7033 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 17:50:24 +00:00
AD7six
fdc26e38aa
adding test case to address #4747
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7032 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 17:46:37 +00:00
gwoo
f7d07012dd
cleaning up some deprecated code. renderElement is deprecated, but a the notice was removed for this release. Notice will be thrown in next release and method will be removed in the following release. Refactor of View Caching, along with addition of enabling beforeFilter and component initialize/startup callbacks. Use {{{
...
//set for the individual action
var $cacheAction = array('view' => array('duration' => '+1 hour', 'callbacks' => false));
//globally disable callbacks for all actions
var $cacheAction = array(callbacks' => false, 'view' => '+1 hour');
//per method
$this->cacheAction = array('duration' => '+1 hour', 'callbacks' => true);
}}}
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7031 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 17:43:13 +00:00
mariano.iglesias
9c722b6999
Improving field detection in Containable. paginate() now avoids sending recursive to find calls when it is not explicitly set. Adding more tests to Containable to show how to paginate, fixes #4746
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7030 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 16:12:14 +00:00
gwoo
df5fd8160f
fixing undefined paths variable in console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7029 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 15:17:13 +00:00
mariano.iglesias
88b16a1d6c
Updating model test for slow DB connections
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7028 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 14:48:55 +00:00
the_undefined
54715db5dd
Made DboSource::length return string for float-like values, added a bunch of tests, fixes #4739
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7027 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 07:09:16 +00:00
nate
c6e5ed8aba
Adding test for ACL node creation with parent ID, disproves #4098
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7026 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 06:16:50 +00:00
nate
57473a4633
Fixing XML test for case where App.encoding is empty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7025 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:53:49 +00:00
gwoo
deb972d13d
fixing theme view test usage of error handler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7024 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:37:43 +00:00
gwoo
d5f71ccadf
fixing view test usage of error handler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7023 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:26:33 +00:00
the_undefined
08c5472a3e
Fixed syntax error, closes #4742
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7022 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:24:58 +00:00
the_undefined
52bae8a7bf
Made form helper pick up field definitions outside the current context
...
Made form helper handle maxlength for float fields properly, fixes #4724
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7021 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:14:57 +00:00
nate
7402680cc1
Misc code formatting and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7020 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:11:41 +00:00
gwoo
d3f772cfb4
updating configure
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7019 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 04:46:03 +00:00
mark_story
6384da5b53
View::beforeLayout and View::afterLayout now implemented closes #4722
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7018 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 02:16:36 +00:00
joelmoss
cedb20e612
Replaced all instances of renderElement() with element(). Fixes #4740
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7017 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 23:04:36 +00:00
nate
bccfd41291
Adding creation fix for ACL join records, fixes #4478
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7016 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 19:16:54 +00:00
nate
f2ea3c8bb0
Refactoring DboSource to use Model in order to properly quote values by column type, correcting serial integer schema generation in DboPostgres, fixes #4702 , refactoring TreeBehavior to use DboSource::calculate(), fixes #4725 , updating docblocks, fixing DboSource test to be database-agnostic, misc. whitespace fixes, updating DboSource test to reflect new quoting rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7015 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 19:05:37 +00:00
the_undefined
e256d4a814
Applied patches by 'asavoy', fixes #4707
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7014 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 18:18:23 +00:00
mariano.iglesias
62bf371aec
Allowing paginate to override the default find type for fetching records.
...
Set the find type as the first string parameter in your paginate settings:
var $paginate = array('popular', ...);
Check the test case for an example.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7013 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 17:07:42 +00:00
gwoo
aaab0306aa
removing exit() and replace with $this->stop();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7012 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:57:46 +00:00
mariano.iglesias
ac9a96663d
Adding tests to paginate() to make sure extra parameters cannot be defined via URL
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7011 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:42:56 +00:00
mariano.iglesias
8f92952d46
Allowing paginate() to send any extra parameters to the find call, and updating it to use new find notation.
...
Updating test in Containable to reflect how to properly use pagination: just set your 'contain' setting as you do with other pagination parameters, for example:
var $paginate = array('Article' => array('conditions' => ..., 'contain' => array( ... ));
and then do your normal paginate(), without having to set reset to false nor call resetBindings(). Check the test case for an actual example.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7010 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:25:10 +00:00
AD7six
d1d06eb4fe
correcting invalidLftRght test to not attempt to set not-null fields to null
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7009 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 15:33:41 +00:00
mariano.iglesias
ea94b57ec1
Properly setting non-array option overrides, fixes #4732
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7008 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 14:22:12 +00:00
gwoo
8dc7515045
fixes #4729 , configure notice on cache path
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7007 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 14:18:21 +00:00
mariano.iglesias
340496079f
Removing countReset option from Containable as pagination support will be handled from paginate
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7006 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 13:43:23 +00:00
nate
5def68bf30
Updating Model test to reflect TreeBehavior changes, adding association support to Model::getColumnType()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7005 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 12:56:41 +00:00
joelmoss
be63f26e78
Improving documentation for HtmlHelper::tableCells()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7004 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 12:32:38 +00:00
joelmoss
17c542d76d
HtmlHelper::tableCells() now accepts a fifth parameter $continueOddEven, which by default is true, thereby not affecting current behaviour. When false, $count will not be static, and will therefore start from zero, giving correct odd and even values if they are passed. Fixes #4222
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7003 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 09:13:23 +00:00