Commit graph

2224 commits

Author SHA1 Message Date
nate
3b0099b877 More Router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:28 +00:00
gwoo
8dbd6366c1 fix for missing Folder class, #3069
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:25 +00:00
nate
32e61a8adf Adding Router test case for Ticket #3028
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:28:53 +00:00
nate
ad75ecea81 Fixing and refactoring reverse routing, and adding URL generation fixes (Ticket #3034)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:18:39 +00:00
nate
c3dc8cb827 Implementing automatic join models for HABTM associations, adding table prefix fix for Ticket #1965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 23:12:24 +00:00
nate
214ad6346f Refactoring Router and fixing route matching, adding tests (Ticket #3033)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:51:34 +00:00
nate
17a229bfdb Removing deprecated constant ACL_FILENAME
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5520 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:49:35 +00:00
nate
9d799ec7ca Expanding model support for Controller::paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5519 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:46:22 +00:00
nate
1911b1d7a5 Implementing custom array value formatting in Set::combine() and Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5518 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:59:49 +00:00
nate
9d77d85ce4 Additional groups for your unit-testing pleasure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5517 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:40:37 +00:00
nate
8d2d9d8684 Refactoring FormHelper::__selectOptions() (Ticket #1312) and adding tests for multiple select boxes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:20:01 +00:00
phpnut
e5de1e7f2b Adding fix for Debugger when running cake on a server that has E_STRICT enabled for php 5
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5515 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 15:59:16 +00:00
nate
a98afd7e5c Adding Router test case for Ticket #3055
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5514 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-12 22:52:15 +00:00
nate
481fe8576c Adding ConnectionManager::sourceList() to return the list of DataSources (Ticket #2274)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5513 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 21:52:23 +00:00
nate
823672217a Implementing Set::format() to combine extracted array values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5512 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 21:32:25 +00:00
dho
b6c6721528 Fixing typo (ticket #3046)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5511 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 17:10:04 +00:00
dho
89a30b1d6c Fixing bad directory separator (ticket #3045)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5510 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 16:58:21 +00:00
nate
d00b863edd AD7six: Changed to use single quoted strings
Removed hardcoded "lft" and "rght" from __sync method
added test to see if the behavior is enabled before executing hook methods
Fix for bug 3037, methods will now return true if 1 or more moves succeed.
Added possibility to pass true to moveUp/moveDown as the number of steps -
this will move a node to the first/last child position.
Fix for 2991
Fix for 2982 NOT IMPLEMENTED


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5509 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 15:04:23 +00:00
nate
8c8d0c1088 Updating Debugger references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5508 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 15:03:28 +00:00
dho
0d1d5f51fa Removing debug statement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5507 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:58:09 +00:00
dho
ee3658894e Applying patch from ticket #2236 plus adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5506 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:47:53 +00:00
phpnut
aabbf0ed85 Adding patch from #2908, fixed to read the response from the server
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5505 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 13:31:12 +00:00
dho
dbe70a3dd2 Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5504 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-10 09:20:42 +00:00
AD7six
3f1a49d1cf Remove debug code included in previous commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5503 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-09 20:34:29 +00:00
AD7six
d2ae3940ce Adding test cases for updated tree behavior
Tests added for 
	Ticket 3037 (moveUp moveDown do not work correctly with $number > 1)
	Ticket 2991 (del returns false if the tree behavior is used)



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5502 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-09 20:30:33 +00:00
gwoo
85c2a4ef98 updating router for plugins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5501 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 23:19:42 +00:00
gwoo
7cc6e815d9 fix __list in Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5500 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 21:41:38 +00:00
gwoo
28ebd0bf66 fixing typo in bake index template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5499 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 20:34:02 +00:00
nate
e98d6cbb51 Adding class listing methods to Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5498 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 15:38:20 +00:00
gwoo
889e62881b added option to modify element cache name, #2327, see tests. Adding auth key for flash message, #2996
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5497 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 07:44:12 +00:00
gwoo
b91b501314 updating dispatcher to fix cached css/js, changed baseUrl and updated tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5496 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 15:09:51 +00:00
mariano.iglesias
efd66066f6 Fixing some documentation in Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5495 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 15:00:35 +00:00
mariano.iglesias
b948a9c17e Commit test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5494 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 14:59:15 +00:00
gwoo
e4b57ef80f fixing acl console for help, #3024, updating bake controller task help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 18:18:30 +00:00
gwoo
020841b989 fixing File cache engine expire #3006
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5492 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 17:13:03 +00:00
gwoo
c84bbea48b fixing File cache engine expire and path, #3006 and 3021, adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5491 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 16:47:03 +00:00
gwoo
43b3b1a0fe moving some bootstrapped stuff to dispatch and updating tests, added paginator counter to bake index template, added option to do "bake controller Posts admin" for baking just admin methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 02:03:18 +00:00
nate
a03b688062 Adding DboSource quoting test cases for Ticket #2922
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5489 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 17:26:23 +00:00
nate
1a690c48a4 Adding dynamic model creation to Model::__construct()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5488 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 17:20:50 +00:00
gwoo
d98ce2d5a3 changing findCount to return intval, #3009.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5487 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:13:48 +00:00
gwoo
44058a818f changing key for Cookie, #3017
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:04:29 +00:00
gwoo
4c26620a9e adding fix for Paginator numbers, #2891
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5485 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 15:51:37 +00:00
gwoo
2d7be853ce adding fix for Folder path, #2983
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5483 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 05:31:36 +00:00
gwoo
797b10f0ed the real fix for lost params in console, #2807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 03:12:52 +00:00
gwoo
d332106cf7 fixing interactive baking of views, #2913
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5481 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 03:11:01 +00:00
gwoo
306aa69c08 adding fix for lost params in console, #2807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5480 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 00:15:52 +00:00
gwoo
88ea612a26 adding fix to Dispatcher for tclineks wacky webroot, fixing failing dispatcher tests on php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5479 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 19:12:19 +00:00
gwoo
de4d316d4d updating Dispatcher with changes for base. Allows setting Configure::write('App.base', '/my/base/path'); in bootstrap.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 00:16:28 +00:00
gwoo
5cd90a787d updating dispatcher changes for missing controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 05:39:01 +00:00
phpnut
64325bd60d Adding fix for failing routes for plugins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 05:00:24 +00:00
phpnut
504dec6d76 Adding quick fix for undefined index admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 02:01:29 +00:00
nate
cfd4e0f3d7 Fixing Router issue with named arguments being dropped from matched routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-30 13:15:59 +00:00
nate
ad53804b60 Adding SQL function quoting fix in DboSource (Ticket #2987)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-29 12:21:41 +00:00
gwoo
d6c4229d81 updating router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 17:51:33 +00:00
nate
dee2ea4f68 Updating fix for empty parameter passing in Router; adding test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 13:32:26 +00:00
gwoo
1e141a567f adding set_time_limit fix for #2914
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 03:47:11 +00:00
gwoo
fc9503e473 fixing bug with url parsing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5468 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 02:46:30 +00:00
nate
9a915e90ef Applying correct fix for Ticket #2917, updating FormHelper test cases, and adding Helper test group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 14:23:38 +00:00
gwoo
99c1e9fe6d auth invalid login return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 07:16:46 +00:00
gwoo
64b5f897e2 updating auth component
added any object authorization
AuthComponent::object replaces AuthComponent::objectModel, add AuthComponent::hash, see #2894


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 06:43:44 +00:00
phpnut
ea15f09288 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5464 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 21:08:12 +00:00
phpnut
b29366ddc0 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 19:42:58 +00:00
dho
1bda1d2ada Avoiding to add 'type="checkbox"' twice (ticket #2917)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5462 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:50:01 +00:00
dho
7c5b93e34e Validate "0" as alphanumeric value (ticket #2972)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5461 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:22:14 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
phpnut
31c3447682 Adding fix for #2937, Email component needs new lines when sending as both
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 20:02:14 +00:00
phpnut
17f1d90eba Reverting last commit to EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 19:34:35 +00:00
phpnut
2e342b7eb3 Adding doc comments and refactoring component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5457 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 17:54:38 +00:00
phpnut
c8dca3c666 Removing echo statement in router.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 14:40:34 +00:00
phpnut
9ee71eefa7 Adding fix for #2933, function arrayTrim in class INI_ACL fail to work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:55:25 +00:00
nate
7b4264b68c Adding header detection to Router, and implementing prototype REST routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5454 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:50:50 +00:00
phpnut
bdaca1698b Adding fix for #2959, Missing arguments for DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5453 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 12:49:58 +00:00
nate
42c5cb3a16 Fixing MySQL port configuration for persistent connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-23 00:46:42 +00:00
nate
8f69b6f551 Moving SecurityComponent constructor code to initialize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 21:21:08 +00:00
nate
5ab89f495f Refactoring Router and improving route generation efficiency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5450 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 04:07:06 +00:00
gwoo
0d999092d9 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:23:32 +00:00
gwoo
0519196d69 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:22:16 +00:00
the_undefined
b233522b92 Testing commit ability
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5444 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-19 13:38:26 +00:00
gwoo
a215447f83 updating project task, adding option to specify full path to skel directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-18 01:54:47 +00:00
nate
2664ed2ee4 Fixing trailing slash in URL when extension is used (Ticket #2934)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-17 13:45:20 +00:00
phishy
4d4cf07c84 fixed timestamp issues, added data_length to table descriptions, fixed bugs in value method, added
generateColumnSchema method


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5438 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-14 21:25:04 +00:00
gwoo
87bddd81f0 Auth model authorization will pass user, controller, action as parameters to the model's isAuthorized method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5437 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-10 16:25:23 +00:00
phpnut
d09a59c5df Adding tests for cake/libs/controller classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5436 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 20:45:29 +00:00
phpnut
c1ef9e5944 Adding test for cake/libs/controller/components/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5435 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 20:07:38 +00:00
phpnut
4f75a5e89e Adding tests for cake/libs/cache classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:52:31 +00:00
phpnut
65f5f00067 Adding tests cases for all classes in cake/libs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5432 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:26:37 +00:00
nate
467348357e Changing CacheHelper test case class name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5431 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:03:04 +00:00
gwoo
c94a72db5a setting Auth::authorize to false by default
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 18:56:45 +00:00
nate
8dd6c78754 Modifying HtmlHelper::style() for use in attribute arrays, adding core helper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:33:03 +00:00
phpnut
1df4249d54 Adding fix for #2882, Sanitize::escape() fails for numbers.
Added test for #2882.
Corrected header files in tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5428 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:02:55 +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
9c3dfee2d3 Disabling AuthTest until code is wrote to use temporary tables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5426 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 06:44:04 +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
gwoo
dcbab2da0f updating AclComponent to load custom component which should extend AclBase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5424 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:49:16 +00:00
gwoo
a6782f0b72 updating Auth component and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:27:04 +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
1713dcdfb2 Merging changes to Set class into 1.1.x.x
Added doc comment for Set::reverse()
merged changes in DboSource and DboPostgres into 1.1.x.x

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5420 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:47:05 +00:00
gwoo
49817ea42d updating Auth component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:38:58 +00:00
phpnut
a1019dfad3 Adding fix for #2881, Sanitize::escape() problem with trim()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5418 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:32:04 +00:00
nate
7e499f1f14 Disabling integer column length for Postgres (Ticket #2814)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5417 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:31:39 +00:00
nate
629c0a9d63 Fixing quoting of boolean values in DboPostgres (Ticket #2594)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5416 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:03:51 +00:00
phpnut
79147c297f Adding fix for #2880, using the acl cli help command would return list of all commands instead of individual commands
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5415 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 03:49:00 +00:00
phpnut
38bf760524 Adding fix for #2813, dbo_oracle.php's value function adding additional quotes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5414 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 02:57:56 +00:00
gwoo
d83a705dc3 fixing acl shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5413 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 01:04:54 +00:00
phpnut
d2ed329e76 Adding fix for #2877, adds quit option in bake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5412 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 23:48:05 +00:00
phpnut
f792004469 Adding fix for #2876, Missing {} on some string on tree behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5411 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 23:43:27 +00:00
gwoo
3769fa796d updating auth, acl and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 21:01:31 +00:00
gwoo
e746fedf45 closes #2754, fix for project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5409 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 19:33:20 +00:00
phpnut
c9eb45232d Adding fix for #2836, PaginatorHelper::numbers() outputting extra url params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5408 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:28:41 +00:00
phpnut
d6bf52dce7 Adding fix from #2872, $ajax->afterRender() has no decoding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:06:44 +00:00
phpnut
5bc14621ca Adding fix for #2683, $_SERVER['SCRIPT_FILENAME'] not available in some installations of IIS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5405 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 17:41:33 +00:00
phpnut
6a750aa176 Removing else statement in last commit [5403]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5404 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 17:20:45 +00:00
phpnut
75b1e901c0 Adding fix for #2863, When trying to load not existing helper file, loadHelper() returns true
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5403 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 17:17:44 +00:00
phpnut
f7dbc8a256 Adding fix for #2757, acl shell view command broken
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5402 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 04:12:52 +00:00
phpnut
a0a0a4a718 Adding fix for #2752, acl shell creates invalid sql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5401 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 03:38:07 +00:00
phpnut
7e14187bc7 Adding fix for #2776, ACL Shell should not accept / as an alias
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5400 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 03:15:26 +00:00
phpnut
7e3b4dfd84 Adding fix for #2753, db_acl.php doesn't respect Dbo alias property
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5399 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 03:09:06 +00:00
phpnut
1963c3b501 Removing code left from testing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5398 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:53:23 +00:00
phpnut
8229587cfe Adding fix for #2837, dbo_source looping bug on parsing fields, can't use database function
Added test for #2837

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:29:37 +00:00
phpnut
b2805cff95 Skipping EmailTest::testBadSmtpSend() and EmailTest::testSmtpSend() if suite can not connect to smtp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5396 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:03:52 +00:00
gwoo
16332140bf updating most tests with fixes to coding standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:17:57 +00:00
gwoo
8b104c6502 updating Auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5394 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:01:16 +00:00
phpnut
7e6ac60eeb Adding fix for 2691, Error caching xml files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5393 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:50:15 +00:00
gwoo
25558fbd33 updating Auth test with AuthUser and fixture
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5392 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:49:36 +00:00
gwoo
e0d8449b8a updating Auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5391 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:43:45 +00:00
phpnut
e9f82f203e Adding fix for #2822, FileEngine : Escape special chars before write cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5390 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:34:22 +00:00
phpnut
360f00becf 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:

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5389 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:33:22 +00:00
nate
8976f07acf Adding fix for 'after' value not being rendered in FormHelper::input() (Ticket #2860)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5388 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:30:40 +00:00
chartjes
d8c0c67e2b Incomplete test for Auth component, committing so gwoo can work on it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5387 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 21:24:21 +00:00
gwoo
cd42f6d8e2 #2871, fixing mode in Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5386 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 19:30:34 +00:00
phpnut
2a38655bd0 Adding fix for #2862, fixes view::render() affect the layout of the main view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5385 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 18:13:05 +00:00
phpnut
cedf6993b2 Adding fix for #2869, fixes count function not escaping "count" properly in pgsql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5384 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 17:19:59 +00:00
phpnut
558c6eb00a Adding fix for #2866, fixes print_r() missing second parameter in object.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5383 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 17:08:44 +00:00
phpnut
aca00e47c8 Fixed Inflector bug #2061
Added tests to InflectorTest

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5382 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 07:06:06 +00:00
phpnut
fd787a9b74 Added fix for #2824, fixes Empty elements when DISABLE_CACHE is set to true
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5381 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 05:14:19 +00:00
phpnut
2eadf55e84 Adding patch from [2843], fixes Logging only writes to error.log
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5380 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 04:51:13 +00:00
phpnut
fb0a327a38 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

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5379 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 04:31:45 +00:00
phpnut
4ff21a6a08 Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +00:00
gwoo
9cd8a79ad9 adding support for passing model name to model task, updated isMobile check in requestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5377 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-05 08:50:56 +00:00
gwoo
bd673fbaf4 fixing scaffold templates altrow css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5376 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 23:45:08 +00:00
nate
77950dc608 Addind iPhone detection to RequestHandlerComponent::isMobile()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5375 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 22:20:58 +00:00
phpnut
072ed9581f Adding fix for failing tests on php 5
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5374 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 21:27:20 +00:00
phpnut
3880f9ce13 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

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5373 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 18:36:49 +00:00
phpnut
382a63651d Updating Set::reverse()
Corrected undefined variable

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5372 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 17:13:35 +00:00
mariano.iglesias
cd09a7c7dd 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
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-01 03:43:05 +00:00
mariano.iglesias
61df674db5 Adding Set::combine to allow mapping of keys and values of an array using paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5369 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-30 22:34:47 +00:00
phpnut
5e2b574e2f Refactoring Model::set()
Added Set::reverse(0 to convert an object to an array

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5368 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-30 06:52:39 +00:00
mariano.iglesias
da2988a22b Improving HABTM saving by getting rid of unneeded loop and escaping field names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5367 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 17:31:26 +00:00
phpnut
2e54eb1706 Refactoring the Model::_ _saveMulti() to use one INSERT statement instead of looping over each value and querying INSERT.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5366 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 06:46:26 +00:00
mariano.iglesias
2c7f16d1f1 Adding tests for HABTM saving when parent data comes after HABTM data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5365 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 03:36:54 +00:00
mariano.iglesias
add4f3a961 Adding tests for HABTM saving, including saving HABTM data without any parent data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5364 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 03:27:47 +00:00
phpnut
2da6ed2d7a Adding enhancement to allow saving habtm data without needing to update or save a parent record
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5363 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 02:47:16 +00:00
mariano.iglesias
36e207fa1f Adding tests for del and deleteAll in Model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5362 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 19:16:11 +00:00
nate
588ab18197 Adding aliasing fix for DboSource::delete() and Model::deleteAll() (Ticket #2735)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5361 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 19:13:44 +00:00
gwoo
c405d3ad6b fix Paginator::numbers() seperator: #2685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:53:38 +00:00
gwoo
642b45a008 fix Paginator::numbers() seperator: #2685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:49:30 +00:00
gwoo
f757103dbe adding test for form checkbox: #2785
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5358 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:37:51 +00:00
chartjes
6dc87a01e9 Added explanation to test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5357 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:37:12 +00:00
gwoo
c00238ec3a adding test for paginator numbers to prove fix for #2825
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5356 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:25:37 +00:00
gwoo
f3b67a24e1 adding fix for paginator numbers: #2825
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:20:56 +00:00
chartjes
3755a14f54 Added in test to make sure that an SMTP server is running on port 25 on localhost
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5354 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:20:45 +00:00
chartjes
d1f6f2339e Refactored SMTP send code, cleaned up tests. Test requires local SMTP server that is working
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:12:48 +00:00
gwoo
4573cf0796 adding fix for bake form template: #2834
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5352 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 14:55:13 +00:00
chartjes
15da6d1255 Added code to allow Email compoenent to send email via SMTP, along with test for component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5351 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 20:29:38 +00:00
phpnut
3f25e0c44d Adding DboSource::value() to findCount() to wrap the count in dbo specific quoting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5350 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 19:02:10 +00:00
dho
126fac4145 Typo (ticket #2829)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5349 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 06:00:50 +00:00
phpnut
40a47a5e90 Correcting session errors in EmailTest test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 04:28:24 +00:00
chartjes
32ac42c055 Added in test for smtp functionality for email component, test not complete
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5347 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 21:18:18 +00:00
chartjes
5913b5d21e Added in support for sending code out via SMTP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 21:17:09 +00:00
mariano.iglesias
6adef29257 Adding a couple of tests to ensure proper parsing of GROUP BY queries
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5345 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 14:48:20 +00:00
phpnut
9ba943ed6b Adding Router::reload() to setUp() in tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5344 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 08:40:52 +00:00
phpnut
51aa81f336 Adding fix for Ticket #2821, fixes Controller::postConditions() overrides $data passed in.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 08:24:26 +00:00
phpnut
905549cc89 Adding fix for Ticket #2819, fixes postgrsql schema problems when setting 'schema' => '"some_shcema"'; in database settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5342 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 07:57:18 +00:00
phpnut
65cdc377a6 Correcting duplicate class defines in the test cases that was causing tests to fail.
Added Router::reload(); to ViewTest::setUp()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5341 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 07:44:39 +00:00
phpnut
90299c0d0e Removed extra slash in test paths.
Removed extra lines in files.
Corrected header in file

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5340 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 05:56:36 +00:00
phpnut
4a9748e7f5 Refactoring FileEngine cache class
Refactoring Folder class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5339 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:48:29 +00:00
phpnut
a08f18c4a1 Adding patch from Ticket #2817, Allow type radio in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:25:37 +00:00
phpnut
b7ba57c8b1 Fixing TreeBehavior so tests will work on php 4.
Removing _ _METHOD_ _ from files since it is not valid on php 4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:16:33 +00:00
phpnut
15c8d5012e adding CakeTestModel::cacheSources = false;
corrected the class that models defined in tree.test.php extend

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5336 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 21:02:46 +00:00
phpnut
50aca85cc9 Adding fix for Ticket #2812
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5335 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 20:36:05 +00:00
phpnut
f72cdb6670 Adding fix for Ticket #2561
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5334 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 18:00:55 +00:00
phpnut
82ba2fa716 Fixing bug when using Security component and a form has a hidden field, similar to those use by FormHelper::checkbox()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5333 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:19:19 +00:00
phpnut
f29f6f99e6 Adding fix for duplicated hidden tag for fields token
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5332 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:10:27 +00:00
phpnut
ff01b3a031 Adding enhancement and tests from #2159
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5331 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 05:01:39 +00:00
phpnut
bf5fc48087 Adding patch from #2791
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5330 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 04:13:29 +00:00
phpnut
03ea2b8287 Adding fix for Router::url() when static call is made outside of an object instance
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5329 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 01:25:35 +00:00
phpnut
4b2e8dffe3 Adding fix for Ticket #2719, Paginator::numbers() not accepting $options like the prev() and next()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5328 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:38:15 +00:00
phpnut
364f3f4ff6 Adding fixes for:
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]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5327 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:02:56 +00:00
mariano.iglesias
ceaae130a1 Fixing issue with DELETE statement and alias not being properly created
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5326 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 17:53:20 +00:00
mariano.iglesias
496e97aaec Fixing issue #2810, AjaxHelper does not render boolean options properly, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:24:13 +00:00
mariano.iglesias
97a10184f3 Fixing issue #2713, NumberHelper does not handle some currency formatting very well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:01:11 +00:00
mariano.iglesias
b870ea170c Fixing issue #2735, deleteAll() does not work correctly with model aliases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5323 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 15:40:03 +00:00
phpnut
172f9817cb 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 ?>

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:38:46 +00:00
phpnut
9d56c4616e Adding fix for Ticket #2809, fixes Add / Edit scaffolding : Template is always 'edit' instead of $action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:20:21 +00:00
phpnut
cbbf006bd6 Adding fix for:
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

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5320 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 13:53:51 +00:00
phpnut
85492fba92 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@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 06:47:57 +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
6b02b375d9 Adding correct fix for Ticket #2775
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5316 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:59:41 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
20dfa51702 Correcting class method names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5314 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:49:50 +00:00