Commit graph

2397 commits

Author SHA1 Message Date
nate
55e8592e17 Fixing passed args support in Router, refactoring helper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5653 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:32:02 +00:00
nate
02494a0519 Adding fix for Set::extract() when only grabbing numeric keys
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5652 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:22:17 +00:00
nate
1791a378c0 Allowing behavior methods to be used in model validation (Ticket #3178)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5651 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:18:23 +00:00
nate
8237bf51e3 Removing debug()-only code from pr() (Fixes undefined variable notice)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5650 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 17:26:06 +00:00
phpnut
7ab8875a9c Closes #3254, loadController fails when requestAction is called multiple time on a Controller derived from an intermediate controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5649 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:56:31 +00:00
phpnut
21c077925e Closes #3202, Transparent Favicon
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:47:06 +00:00
phpnut
590ec3650f Closes #1497, Non-linked breadcrumbs
Closes #1103, List functions for ul / ol elements in HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:42:33 +00:00
phpnut
ce3f0cf140 Closes #1818, enhancement for the debug() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5646 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:36:30 +00:00
phpnut
1b64111871 Closes #1827
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5645 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:24:34 +00:00
phpnut
078dbba8c8 Closes #1463, Pages Controller Title Enhancement.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5644 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:06:17 +00:00
gwoo
bcc9c80b02 updating dbo_adodb, fixes #3256
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5643 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 22:31:24 +00:00
phpnut
3c316511ac Closes #3235, Missing relative model data when fetching a HABTM mixed up with belongsTo.
Patch from Mariano applied

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5642 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:34:27 +00:00
phpnut
dd5c795b30 Closes #1985, Sanitize::clean( ) should provide an option to specify what should/shouldn't be cleaned
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5641 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:28:46 +00:00
phpnut
b91f9b087d Fixes #1166, bake.php ability to supply alternate database configurations.
Removed debug code from FolderTest

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5640 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:23:30 +00:00
mariano.iglesias
e7b3d24e18 Fixing tests getting them ready for HABTM fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5639 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 19:40:12 +00:00
mariano.iglesias
8fbc64fe85 Making all tests run
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5638 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 09:02:12 +00:00
mariano.iglesias
2aa2a35803 Fixing model tests to include auto-with model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5637 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 08:57:50 +00:00
phpnut
fbe6179e7b Fixing habtm associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5636 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 07:50:32 +00:00
mariano.iglesias
52093d3498 Fixing test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5635 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 07:10:21 +00:00
mariano.iglesias
d4e60a21c0 Adding tests for AjaxHelper::link
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5634 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-14 02:21:52 +00:00
mariano.iglesias
f433768806 Fixing double return
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5633 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-14 01:08:11 +00:00
mariano.iglesias
2e2f20ab82 Adding tests for getCrumbs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5632 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-13 23:19:48 +00:00
gwoo
7ba8247a53 updating skel core.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5631 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-13 16:57:41 +00:00
mariano.iglesias
d05a5d4804 Adding new failing test case to showcase problem with HABTM and belongsTo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 21:00:58 +00:00
gwoo
7c6edeb33d fixes #3122 and fixes #3194 for home.ctp checks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5629 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 20:48:37 +00:00
gwoo
d64636796e fixes #3183, Folder::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:41:57 +00:00
gwoo
b2e263cd46 updating console paths fixes #3092 and fixes #3109
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5627 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:03:34 +00:00
phpnut
8d62f0cac4 Adding [5490] changes to cake/console/libs/templates/views/home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 12:41:23 +00:00
phpnut
fdc575b107 Fixes #3140, UUID char(36) primary key double insert bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5625 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 12:06:53 +00:00
phpnut
7fe576f122 Fixes #3195, Controller::cleanUpFields() doesn't check the schema if the fields allows null
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5624 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:58:19 +00:00
phpnut
1ed5a285ba Fixes #3220, Hitting Ctrl-D in a cake console, causes it to loop forever.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5623 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:51:59 +00:00
phpnut
a41b962ae5 Fixes #3147, Bake not detecting all associations
Fixed typo in DboSource::name()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5622 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:18:52 +00:00
gwoo
ed6b0d7649 fixes #3184 FormHelper::radio() values, fixes #3156 FormHelper::create() action, fixes #3097 FormHelper::label() localization text. Thank you for the patches and tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-07 01:22:03 +00:00
mariano.iglesias
3eaa019625 Small typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5618 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:41:54 +00:00
mariano.iglesias
a798cd3dbb Adding some documentation tags. Fixing issue with stripLinks not properly removing multiple links. Making excerpt and autoLinkUrls case insensitive. Adding some tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:28:36 +00:00
nate
79beef1a36 Fixing tree display for ACL CLI (thanks phishy)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5616 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-04 13:53:13 +00:00
phpnut
a81f7d00ce Fixes Ticket #2992, Logout redirect not setting default
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5615 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-03 05:08:48 +00:00
phpnut
77a9e3dd22 Fixing fixtures.
Fixing setting of primaryKey when a model HABTM association is defined

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5614 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-03 04:48:58 +00:00
phpnut
b574a98306 Adding recent fixes to DboDb2 driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 01:53:53 +00:00
gwoo
92f9c81dfb updating model test join classes so cache is not created
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5610 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 00:58:19 +00:00
gwoo
5b0a88e724 refactored controller::constructClasses, added tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5609 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 00:19:07 +00:00
phpnut
f1de783295 Fixing bug when instances of an HABTM association was automatically created.
Deprecated using $this->(ModelName) if an associations is created with an alias.

 
 	example with alias: var $hasMany = array('Assoc' => array('className' => 'ModelName'));
 					correct usage: $this->Assoc->modelMethods();

  	example without alias: var $hasMany = array('ModelName');
 					correct usage: $this->ModelName->modelMethods();

Fixed instances of 'className' that was still used in the core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5608 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 20:47:03 +00:00
phpnut
e7921c7741 Initial work on single queries for hasAndBelongsToMany associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5607 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 13:33:14 +00:00
phpnut
d20ddfeadc Refactoring automatic model creations for HABTM associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5606 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 10:14:14 +00:00
gwoo
ae4ebec603 updating schema and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5605 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 08:32:18 +00:00
gwoo
9d2a62752d updating auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5604 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 05:35:38 +00:00
phpnut
0ed8c17f80 Fixes Ticket #2999, HABTM save multiple for PostgreSQL
Merged changes from 1.2 DboOdbc into 1.1

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5603 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 05:07:16 +00:00
phpnut
51418a07da Fixing Model test that causes a fatal error on PHP > 5.1.6 and PHP 4.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5602 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 04:59:57 +00:00
phpnut
b8c31ae9f9 Adding additional tests for Ticket #2613
Adding test for Ticket #3152, loadModel fails on second iteration of the same model

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 04:38:48 +00:00
phpnut
fc3990cc87 Adding recursive level = 3 for Ticket #2613
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5600 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 03:06:40 +00:00
phpnut
f053eb7d26 Adding test for reopened Ticket #2613.
Test proves the ticket comment that reopened it is invalid

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5599 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 02:56:53 +00:00
phpnut
981c117ae6 Adding test case for correct usage of code given in Ticket #2960
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5598 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:18:48 +00:00
phpnut
62124094b1 Added test for Ticket #3098.
Fixes #3098, sql errors if ORDER BY includes compare statement

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5597 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:02:21 +00:00
phpnut
49275b8aee Merging recent changes in 1.2 datasources into 1.1
Refactored Model::setSource() to remove unneeded code

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 00:16:13 +00:00
gwoo
24abf517d6 updating file cache engine, fixes #3041
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 23:34:14 +00:00
gwoo
9d0502943a fix for odbc, closes #3145 and closes #3146. changes will be merged to 1.1 shortly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5594 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 22:46:57 +00:00
phpnut
0161f4f6d7 Fixes #3118 Prefix in models : can't use allow empty tablePrefix with a prefix defined in DATABASE_CONFIG
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:44:47 +00:00
gwoo
7793b4f5c0 fix for router and edit links, added tests, closes #3108
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:16:24 +00:00
phpnut
37ff270d04 test to close #3151
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 20:35:50 +00:00
phpnut
a2c30ff570 Adding fix for CookieComponent::destroy() and secure Cookies
Fixes bug with Cookie not being destroyed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5590 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 01:29:00 +00:00
gwoo
bb199db68d updating bake view task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 20:54:11 +00:00
nate
3723885be3 Adding ACL node locator fix for AclNode::node() (Ticket #2976)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:16:49 +00:00
nate
ce51d009ac Adding hasMany optimization fixes for failing model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5587 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:11 +00:00
gwoo
656247427f fix for label in radio
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:08 +00:00
gwoo
e54fe6a523 adding label and fieldset for radio, set label=>false to turn it off, css adjusted
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 00:11:36 +00:00
gwoo
9072c07cd6 updating console help for ticket #3133
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5584 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-26 15:51:05 +00:00
gwoo
53a01b7a5c updating auth and scaffold for Routing.admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:26:21 +00:00
gwoo
85dca42d93 fixing shells formatting an api shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:00:19 +00:00
gwoo
f851ceff9e fixing auto routing.admin from project task
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5581 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 15:38:26 +00:00
gwoo
66cc55e705 updating bake tasks and skel for new Routing.admin with removal of CAKE_ADMIN
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5580 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 15:29:44 +00:00
gwoo
0533bbd92c updating schema reading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 03:59:21 +00:00
gwoo
2e60a4d2f1 Configure::__list() fix for undefined variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 17:00:32 +00:00
nate
1326d20792 Router fix for breaking out of plugins (Ticket #3106)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 13:11:31 +00:00
nate
73909d0617 Adding Router fix for breaking out of admin mode (Ticket #3119)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 12:50:21 +00:00
gwoo
476007f0f4 firebird dbo fix from #2936
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 05:17:59 +00:00
gwoo
b3859caa7e updating dbo_mysql buildColumn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 00:47:49 +00:00
gwoo
3a5f89f3e2 updating fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5573 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 22:38:04 +00:00
dho
f2e5dcbbf9 Fixing syntax errors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 05:43:12 +00:00
gwoo
84ff113d1d updating schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 00:57:00 +00:00
gwoo
8e213b8124 fix for number helper separator spelling, #3048
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:33:46 +00:00
nate
b33ff0330f Additional default named argument for pagination (Ticket #5535)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5569 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:32:12 +00:00
gwoo
780fe16c09 refactoring cleanUpFields with tests for #3101
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5568 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 01:31:34 +00:00
gwoo
4a79765b26 updating schema generation, adding table option to schema shell commands
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 23:22:15 +00:00
gwoo
746d292be6 updating schema callbacks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5566 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:46:05 +00:00
gwoo
5f84abc452 updating schema output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5565 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:27:27 +00:00
gwoo
d4d98e2bab updating schema output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5564 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:27:17 +00:00
gwoo
8bb67d9f6a Adding Schema support, updated fixtures, deprecated loadInfo, changed Dbo::describe in all dbos, fixed tests,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 21:46:59 +00:00
nate
2ff0e4f54f Admin routing test for Ticket #3104
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 17:02:07 +00:00
gwoo
871817e6fe updating acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 14:29:39 +00:00
gwoo
b0c21b9297 adding array support for output methods in Shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5560 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 14:17:45 +00:00
gwoo
74d16fc110 adding deprecated notices to file class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5559 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 03:39:02 +00:00
AD7six
59f3dfc427 Minor cleanup to tree test and fixture. No functional changes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 17:46:44 +00:00
nate
c4c3bf4ccd Adding fixes for parameter matching in reverse routing (Ticket #3099)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5557 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 16:02:11 +00:00
nate
8f8e471b5b Adding fix for DboMssql::lastError() (Ticket #3073)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:16:12 +00:00
nate
b4a8d513c3 Removing benchmarking code from Router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:12:24 +00:00
nate
bd194b51e5 Routing fixes for invalid null value matching and named argument handling (Ticket #3083, #3085, #3086, #3093). Thanks biesbjerg for all your help!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
gwoo
6c1a81eeb8 updating auth and db_acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5553 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 02:18:27 +00:00
phpnut
eeeee7b49b Implementing automatic UUID for primary keys if the field is CHAR(36).
Stripped out old code from NeatString.
Added String:uuid();
Renamed neat_string.test.php.
Added test for UUID generation.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5552 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 01:58:44 +00:00
phpnut
91197d7863 Renaming neat_string.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 01:17:41 +00:00
dho
22c25e62f8 Texts slightly modified
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 16:53:25 +00:00
nate
5ba07c76c4 Localizing label text in FormHelper::input() (Ticket #2314)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 12:55:23 +00:00
nate
b7d7e70d46 Adding deprecation warning for $beforeFilter property usage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 23:47:09 +00:00
gwoo
268838eafa updating test.php, thanks biesbjerg
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 21:24:42 +00:00
gwoo
2c62da69d8 updating test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5546 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 20:54:38 +00:00
gwoo
4529f428d0 updating AuthTest and AclComponent to work with it.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5545 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 16:42:38 +00:00
gwoo
fa73554781 fixing missing Controller in view task, #3090
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5544 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 15:13:54 +00:00
mariano.iglesias
b4d77ddf8f Fixing test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5543 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 20:27:55 +00:00
mariano.iglesias
f2d4894f73 Adding new test case to show failing inner associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5542 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 19:03:49 +00:00
nate
44e978c194 Fixing hasMany SQL optimization (Ticket #3075)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5541 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 13:37:56 +00:00
dho
a5fd1561e8 By default no radio element is checked (ticket #2963)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 09:15:19 +00:00
dho
3c7168c58c Removing unwanted id from radio elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 08:50:16 +00:00
nate
382235ffbf Adding Router parsing test for Ticket #3074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5538 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 18:50:25 +00:00
gwoo
b222afd20b fixing errors resulting from removal of argSeparator and namedArgs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5537 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 17:54:02 +00:00
nate
e65c404c9c Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5536 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:32:18 +00:00
nate
90567a286a Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
gwoo
49df24a5e3 another update for console bootstrap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:42:21 +00:00
gwoo
bab2df65d0 updating bootstrap and index
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:39:12 +00:00
gwoo
db9b9d0e1b updating console bootstrap in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5532 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 07:35:18 +00:00
nate
3e7044d4b8 Implementing prefix-based routing, and transitioning configuration away from global constants
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
gwoo
82b263a8aa updating auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 19:33:46 +00:00
gwoo
5689a9af03 fix for auth redirect, #3072
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5529 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 18:37:43 +00:00
gwoo
1e56828522 fix for Controller::referer
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5528 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 18:05:28 +00:00
nate
5c48a926e7 Adding model test fixture and additional Router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 16:26:04 +00:00
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