Commit graph

2934 commits

Author SHA1 Message Date
gwoo
b2f8bf21f8 fixes #3423, Folder::find() and undefined variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5831 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 15:39:42 +00:00
nate
717e278550 Fix for [ticket:3409 TreeBehavior moves item on save of existing item]
Minor changes to behavior removing references and need to $force


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5830 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 14:18:46 +00:00
AD7six
7addec3dcc Removing invalid testMoveLast which relied on incorrect logic in the tree behavior
Adding testSaveNoMove to address [ticket:3409 TreeBehavior moves item on save of existing item]
Adding tearDown code to aide debugging in the future.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5829 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 07:50:51 +00:00
nate
712276510e Adding $scripts_for_layout to default layout (Ticket #3336)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5828 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 06:06:23 +00:00
phpnut
d923ffbd94 Reverting changes made to model.test.php in [5822]
Reverting changes made to model.php in [5815]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5827 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:44:26 +00:00
nate
5f0b855632 Adding 'binary' column support to MySQL (Ticket #1757)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5826 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:42:57 +00:00
nate
bc28d91b40 Changing Model::hasAny() to not query associations (Ticket #2816)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5825 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 03:32:23 +00:00
gwoo
2eec6dc943 allowing beforeFilter or Component::startup() to change params. closes #1643. Removed Controller::$namedArgs, passedArgs provides the same functionality, updated dispatcher test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5824 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 23:59:46 +00:00
gwoo
7a1ec65ee7 adding sort param to Folder::find() and findRecursive(), closes #1385
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5823 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 22:03:58 +00:00
mariano.iglesias
cfc6a21316 Adding test that thows failing behavior with null values when calling Model::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5822 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 21:09:24 +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
f7a4ca1b53 Fixed failing DboSourceTest caused in [5816]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5819 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 12:40:19 +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
e1c26c9948 Fixes #2967, Missing quotes cause SQL errors in some cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5816 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 11:45:09 +00:00
phpnut
e750c9d38f Closes #3318, When model calls invalidate, it would be usefull to use the __(messageID, true)
Fixes #2603, Scaffold edit() should redirect to index() when no record is found.
Closes #2990 cake_sessions Needs A Database Name Setting, Configure::write('Session.database', 'default')
Closes #3120, database - $config['encoding']; added new settings to database.php.default
Corrected errors when setting database configurations from console, would not allow changing setting on old configuration.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5815 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 10:14:30 +00:00
phpnut
ae9243e43d Added translated string for 'Submit' in FormHelper::end()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:12:54 +00:00
phpnut
5ddf8f7180 Corrected missing second param in __() in FormHelper::submit()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5813 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:10:46 +00:00
phpnut
78cb76d41b Corrected missing second param in __() in Dispatcher::dispatch()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5812 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:09:05 +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
e78fc1e90c Fixes #3305, Console i18n extract using wrong paths.
Closes #3396, i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
6e848de479 Fixes #3334, when using bake to create a new database configuration, all previous configs are lost
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5808 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 22:05:20 +00:00
phpnut
d9153f6352 Fixes #3417, isset but empty username or password means passwords not hashed by AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5807 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:49:29 +00:00
phpnut
7ebb27fccc Fixes #2982, TreeBehavior::verify, non-portable SQL, badly quoted conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5806 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:43:48 +00:00
phpnut
aba86fe522 Fixes #2981, TreeBehavior::generateTreeList - non-portable sql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5805 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:31:09 +00:00
phpnut
5cb63a6460 Fixes #3418, Model throws warnings when trying to save an empty array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5804 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:05:34 +00:00
gwoo
981b8fed56 updating cache some more
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5803 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 16:22:59 +00:00
phpnut
a6822f5d63 Closes #3376, changed Dispatcher::_invoke() to pass empty array as parameter
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5802 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 09:15:25 +00:00
mariano.iglesias
07ad5c9853 Fixing usage of i18n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5801 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 09:05:53 +00:00
phpnut
1674e9d936 Closes #2249, enable Browser caching for js & css files in vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5800 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:57:53 +00:00
phpnut
fa1901f539 Closes #3182, Model find conditions strip text after newlines
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5799 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:46:22 +00:00
phpnut
8268ba8c59 Updating AjaxTest with changes made for #3271
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5798 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 08:34:51 +00:00
phpnut
ffc1e3d93f Adding additional fixes from #3271
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5797 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:46:19 +00:00
phpnut
5e48ab9bb8 Fixes #3271, onclick="return false;" don't work in IE
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:41:42 +00:00
phpnut
160751a9d4 Fixes #3382, class L10n locale mapping missed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5794 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:29:39 +00:00
gwoo
9fdd1c3630 updating cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5793 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 05:11:43 +00:00
phpnut
28a36282c5 Fixes #3393, Email headers get appended each time send() is called
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5791 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 04:08:50 +00:00
phpnut
d9f5bb7a35 Fixes #3288, Erroneous URL validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5790 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 04:01:04 +00:00
phpnut
34380bf243 Fixes #3411, failing test when $data has more than one models data.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5789 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 03:33:19 +00:00
phpnut
cc7d1ab74c Fixes #2462 mime_content_type() is deprecated in EmailComponent.
Closes #2909, Emailcomponent SMTP authentication.
Closes #2916, EmailComponent: Add read receipt header.
Closes #2969, change default charset in emailcomponent from ISO-8859-15 to utf-8.
Closes #3304, EmailComponent doesn't allow custom view class.
Fixes #3353, Email Component, content not shown when a file is attached.
Fixes #3381, Email::__wrap function ignores the $_newLine configuration property.
Fixed ThemeView::renderElement() to load helpers
Changed View::renderElement() to search core elements also

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5788 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 02:31:25 +00:00
gwoo
9131b253fa adding default templates for email
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5787 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 19:55:20 +00:00
nate
e8bd864245 Removing unused folders from app/vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5786 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 16:51:16 +00:00
gwoo
bd7187b359 updating Cache default config and fixes notices if cache is not configured
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5785 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 07:08:45 +00:00
phpnut
81079f730c Adding email directory to layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5784 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 04:03:32 +00:00
phpnut
09e685d66f adding template directories for email component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5783 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-18 03:54:46 +00:00
mariano.iglesias
7305d48215 Adding tests for #3288
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5782 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 21:45:24 +00:00
phpnut
a207a95893 Fixes #3187 and #3230, Model -> save issue with fieldList and id
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5781 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 21:19:30 +00:00
phpnut
5c06492be7 Fixes #3065, Ambiguous columns in Tree->children()
Removed notices from TreeBehavior

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5780 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 18:10:23 +00:00
mariano.iglesias
a1958bf820 Adding tests for i18n plurals, closes #3399
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5779 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 17:20:23 +00:00
mariano.iglesias
1545b730ae Escaping value for FormHelper::textarea() and adding some tests, fixes #2921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5778 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 17:08:34 +00:00
phpnut
ae3d082dd6 Correcting change made to test.php in [5776]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5777 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 12:56:14 +00:00