Commit graph

3238 commits

Author SHA1 Message Date
phpnut
2bfad1bf41 Closes #3817
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6631 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 19:01:51 +00:00
phpnut
5692ed149b "Updating doc comments for Model::create()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6630 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 15:22:18 +00:00
phpnut
d14b50fc92 "References #4394, additional fixes to multi record forms.
Added additional test cases"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6629 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 06:48:56 +00:00
phpnut
5d59938121 "Correcting code block"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6628 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 02:33:41 +00:00
phpnut
f2941a660e "References #4239 Added test from ticket to showing ticket is invalid.
Fixes #4394, fails when the hasMany multi-record form contains hidden fields.
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6627 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 02:29:17 +00:00
phpnut
06d06c85d9 "Fixes #4339, Providing null for variable with underscores leads to camelcased variable in view"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6626 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 20:14:06 +00:00
phpnut
118c35f0d0 "Closes #4402, Model->create returns unexpected data type - sometimes.
Change to return Model::data; instead of true when empty"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6625 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 19:46:15 +00:00
phpnut
2db0f954c1 "Fixes #4414, Folder::!__tree() causing warnings when apache user has no read access to a folder"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6624 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 19:35:14 +00:00
phpnut
358c529e7a "Fixes #4416, Email component uses invalid \"Content-Type\" for attachments.
Added fclose();
Removed unused code"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6623 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 18:57:29 +00:00
phpnut
c9a6fa7f9f "Fixes #4420, i18n does not parse .mo files on 64bit Mac"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6622 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 18:36:19 +00:00
gwoo
82cd036672 adding acl and auth group test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6621 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 16:05:54 +00:00
gwoo
1346224b1f updating auth test, closes #4398
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6620 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 15:56:19 +00:00
phpnut
af2228216f "Closes #4419, Confusing locale for 'hr' language.
Changed values to the ISO 639-3 identifier, previous value was ISO 639-2/B"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6619 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 15:18:15 +00:00
phpnut
c5f06674fa "Fixes #4394, SecurityComponent::!__validatePost fails on hasMany multi-record form.
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6618 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 06:08:55 +00:00
phpnut
93d222a1a5 "Closes #4369"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6617 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 18:00:35 +00:00
nate
80340da3c5 Removing parameter merging in pagination links, fixes #4312
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6616 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:44:16 +00:00
nate
c4f03bf237 Updating View test case for rendering refactor
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6615 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:34:57 +00:00
phpnut
067e6a5695 "References #4413, test proves ticket is invalid"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6614 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-31 17:49:39 +00:00
phpnut
c849dd773a "Fixing inflection of people uninflected plural.
Renamed PersonFixture.
Fixed ModelTest::testHabtmFinderQuery() test when prefix is used."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6612 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:35:05 +00:00
phpnut
2eb120486b Renaming people fixture
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6611 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:26:28 +00:00
phpnut
ad19583f26 "Extending the CakeTestModel instead of AppModel"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6610 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 03:59:38 +00:00
phpnut
2e2176e35b "Closes #3554, No support for Armenian language in cake/libs/l10n.php
Closes #3569, Add support for Bosnian language in cake/libs/l10n.php"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6609 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 20:13:25 +00:00
phpnut
69dd26dc75 "code formatting"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6608 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:43:14 +00:00
phpnut
2c5ac9cfb9 "Fixes #4232, Problem with stripslashes in cached files.
Added tmp directory to tests/tests_app
Added file to mimic windows cached file
Added test case"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6607 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:34:56 +00:00
phpnut
0ef028bc1f "Fixing self associated joins.
Added additional test cases and correct one bad test case.
Fixes #4364, !__mergeAssociation() in dbo_source fails to merge belongsTo properly"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6606 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 11:17:24 +00:00
phpnut
e65f44bed2 "Fixes #4001, 'money' validation uses invalid regular expression syntax"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6605 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 06:44:40 +00:00
phpnut
1db7d00793 "Fixing bug in MediaView"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6604 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 06:07:59 +00:00
phpnut
a9d4e821a8 "Fixes #4379, cake bake project - does not set CAKE_CORE_INCLUDE_PATH in test.php"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6603 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:51:02 +00:00
phpnut
657c28403a "Fixes #4377, Folder class bug for non-existent path"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:05:05 +00:00
phpnut
fa787aa82b "Closes #4304, EmailComponent::!__getSmtpResponse not handling multiline messages"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6601 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 03:49:30 +00:00
phpnut
d8d7b899a1 "Adding additional test to show how to load files that do not follow directory naming or file naming conventions.
References #4319, References #4334"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6600 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 03:02:13 +00:00
gwoo
246095a97d updating model task, may be related to #4363
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6599 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-25 21:39:34 +00:00
phpnut
92c466c0dc "Fixes #4336, Setting a Configure key to null causes php warning."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6598 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:55:44 +00:00
phpnut
3e61954dbc "Fixes #4360, Error in \"i18n\" Shell Script"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6597 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:49:49 +00:00
nate
c4a4e9da39 Fixing handling of atomic transaction support with hasMany in Model::saveAll(), fixes #4372
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:23:06 +00:00
nate
819cd1d667 Re-removing the Auth vulnerability re-introduced in [6593]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6595 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 19:18:52 +00:00
nate
d60191a1f6 Fixing vulnerability in field quoting in DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 16:40:45 +00:00
phpnut
47eb421091 "Adding fix to Auth::identity(); for errors thrown on invalid input.
Added tests for invalid input.
Debug is turned off in this area of code because of the CakePHP errors handling, messages could cause long delays and exception noticed when debug > 0."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6593 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 07:17:37 +00:00
nate
0ca3915668 Forcing array in Model::invalidFields(), fixes #4362
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6592 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-19 01:34:23 +00:00
nate
c286a7293f Adding test cases for TreeBehavior scoping
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6591 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-19 00:54:32 +00:00
the_undefined
26489efe19 Changed XPath behavior for mixed numeric and string keys
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-18 15:30:00 +00:00
phpnut
f6652d1b73 "Removing checks in Component::init(); to check for Security component.
Changed AuthComponent::startup() so that the password key $this->data is set to null when login fails instead of being unset."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6589 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-17 02:31:55 +00:00
phpnut
ecfd70052d "Fixes #4353, SecurityComponent's requireLogin not working if URL spelled different than defined action name
Was not able to reproduce this on local system running php 5, more then likely this is a php 4 issue and not php 5 like ticket suggests.
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6588 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-17 02:28:04 +00:00
the_undefined
2dc63c7bc7 Additional safety catch for the new extract function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6587 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 23:09:21 +00:00
the_undefined
0aebf2b50a Fix for #4354
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6586 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 22:58:36 +00:00
phpnut
1b4c445cad "Fixes #4256, tablePrefix + HABTM with defaults == wrong joinTable"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 07:18:42 +00:00
gwoo
aac0cecf49 another update for bake model validations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6584 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 06:07:16 +00:00
phpnut
a6fbe05964 "Initial refactoring of BehaviorCollection.
Fixed vendor path being the first searched directory for files, this caused unexpected results.
Fixed failing DboSource tests"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6583 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:44:20 +00:00
gwoo
d8a7097490 /me thinks sdevore is the only one still using php4 so he helping debug bake model validations, with much more to come
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6582 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:41:09 +00:00
gwoo
d4860f4c1d fix for bake model validations...thanks again, sdevore
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6581 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:30:47 +00:00
gwoo
0c9023fd1d fix for bake model validations...thanks again, sdevore
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6580 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 04:59:40 +00:00
gwoo
df15244909 fix for console on php 4 probably also related to #4326 & #4337. Thanks for testing sdevore.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6579 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 04:46:35 +00:00
gwoo
db19cb01fd forgot to add TestTask, fixes #4350
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6578 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 01:48:58 +00:00
gwoo
8bbdbd4d25 adding ClassRegistry to Configure test group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6577 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 01:10:34 +00:00
nate
07d2b0d2d3 Fixing AjaxHelper::sortable() options and filtering Ajax callbacks from link options in AjaxHelper::link(), fixes #4279, fixes #4274
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6576 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 22:48:46 +00:00
nate
38c7dab9f5 Fixing RequestHandlerComponent::prefers() when using extensions, fixes #4056
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6575 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:48:56 +00:00
gwoo
6a1cdf2138 updating bake and tasks, closes #4326, closes #3993, closes #4032, closes #4337
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6574 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:45:43 +00:00
nate
29fa485140 Adding extra fixes, tests for Set::_ _flatten, fixes #4297
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6573 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:30:30 +00:00
phpnut
fa61b3fbda "Resetting numeric keys for paths"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6572 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:16:18 +00:00
nate
a282e1152f Adding test cases for HABTM limit fix (#4204), and disproving HABTM save issue (#4194)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6571 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:08:06 +00:00
nate
a9378fb681 Adding performance optimizations to dispatch cycle
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6570 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:04:36 +00:00
the_undefined
49a092f1d0 Removed code that was not needed any longer from Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 18:30:34 +00:00
the_undefined
32d9de160d Added/Fixed doc blocks for Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:19:56 +00:00
the_undefined
3daf495488 Added initial XPath support for Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:05:56 +00:00
gwoo
3a67bdc06d fixing some errors in bake view task when no model schema is available
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6566 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 15:32:24 +00:00
nate
360b91eea7 Fixing HABTM associations on non-standard keys, fixes #4219, refactoring DboSource::calculate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6565 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:11:29 +00:00
nate
3ff5bfa829 Fixing default value for float columns in Postgres, fixes #3963
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6564 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:06:14 +00:00
phpnut
acc79fe0f3 "Closes #2508, Allow requestAction to use array urls
Fixes #4325, error pages no longer displayed since changeset
Closes #4329, remove am() usage in core"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
698d3e4f40 Removing default value for required parameter in HtmlHelper::meta(), fixes #4321
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 04:10:39 +00:00
nate
6fe1e62555 Implementing JavascriptHelper::$inBlock, docblocking JavascriptHelper properties, adding fix for AjaxHelper::sortable() 'overlap' option, fixes #4292
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 03:57:54 +00:00
phpnut
12acf6ab9f "Adding vendors path to corePaths to be used when cake core is placed outside of normal install paths"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6560 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 23:53:37 +00:00
the_undefined
7a769f68ca Restricted named route element to contain no special chars other then '_'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6559 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 15:19:46 +00:00
nate
2c3ec768c7 Updating model tests for Postgres, fixing Postgres metadata handling for UUID primary keys, adding Postgres tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6558 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 05:22:17 +00:00
nate
c1c35b2e13 Refactoring DboSource - removes all SQL from Model, refactoring transaction handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6557 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 02:44:33 +00:00
phpnut
d326c6eefe "Adding test case for news"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6556 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 02:22:38 +00:00
phpnut
9ae17c25e5 "Closes #4305, fixed to allow cake core outside of normal install locations"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6555 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 16:46:33 +00:00
phpnut
57918f4199 "Fixing Controller::output; to allow access to the content in Contorller::afterFilter();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6554 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 13:24:36 +00:00
phpnut
a2db4e69b3 "Fixes #4305, Configure::corePaths() causes PHP safe_mode errors"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6553 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 11:01:37 +00:00
gwoo
57a61f8f82 fixes #4165, string conditions with translate behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 07:01:01 +00:00
nate
bacb74a6ef Adding fix for Set::reverse() XML handling, fixes #4275, plus fixes from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
nate
1ddeb7fbfe Fixing File class loading for FileEngine when called from console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:22:04 +00:00
nate
35397debc8 Enabling Cache::write() to handle 'empty' values, fixes #4090
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6549 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:11:20 +00:00
nate
bd929c45df Adding test case for validation error display with FormHelper::input(type => password), disproves #4242
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6548 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 03:54:15 +00:00
nate
204d5109b9 Adding test case for ambiguous column detection in TreeBehavior::generateTreeList(), disproves #4053
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6547 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 03:41:04 +00:00
phpnut
5374807164 "Fixes #3846, Security blackhole when no radio selected
Fixes #3920, Multiple select w/ checkboxes issues warning when all are unselected
Fixes #3962, validation POST never pass when select multiple is submit
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 00:25:59 +00:00
gwoo
11b48f865d adding dispatcher test for cached pages with camel cased names, closes #4086
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6545 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:39:29 +00:00
gwoo
4389da119d fixes #4221, AclShell <model>.<id> format
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6544 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:31:44 +00:00
nate
8fc104b44b Correcting column quoting for custom-aliased fields, fixes #4228
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6543 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:15:08 +00:00
gwoo
be09e5a90d closes #3915, Folder delete does not require path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6542 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:14:12 +00:00
nate
c40bead47c Adding charset/encoding settings to h(), closes #4040
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6541 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 21:41:13 +00:00
nate
98831d27fe Enabling mutli-record validation errors in FormHelper, fixes #4076
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6540 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 18:28:38 +00:00
gwoo
c64d4a88f0 fixes #3892, irregular plurar not reflected in baking
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6539 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 17:44:50 +00:00
gwoo
dd10cb191f fixes #3788, paginator numbers first and last issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 16:42:04 +00:00
nate
db1e079e5f Enabled specifying of join type in hasOne/belongsTo associations, fixes #4085
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6537 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 08:47:42 +00:00
nate
9e37b6fc26 Adding test cases for saving hasMany associations with saveAll(), ref #4035
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6536 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:59:23 +00:00
nate
9a6029f03e Fixing fully-qualified form field references, fixes #4068
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:36:34 +00:00
gwoo
b1f5b76f98 changing test suite layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6534 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:04:24 +00:00
nate
ab7bf5a46c Fixing call-time pass-by-ref errors in Behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6533 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:00:05 +00:00
nate
e87d4e80dd Refactoring behavior method dispatch handling to work on PHP4, fixes #4296, refactoring schema test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6532 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 06:24:40 +00:00
gwoo
199a098cf1 fixes #4160 regex validation in bake model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6531 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:32:03 +00:00
nate
12ae20d228 Adding DbAcl test case for ticket #4288
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6530 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:19:58 +00:00
gwoo
b3842566dc removing irrelevant error message, fixes #4051
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6529 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:18:59 +00:00
gwoo
ce4ea52136 updating paths in controller and model tasks for test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6528 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:09:37 +00:00
gwoo
10bdc235ee updating test suite for plugins, closes #4107, closes #2777. requires update to test.php.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6527 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 04:07:56 +00:00
gwoo
3404ccc668 updating bake plugin handling, fixes #3994, fixes #3904, fixes #3998, fixes #3995
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6526 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 01:05:27 +00:00
phpnut
da19393614 "Fixes #4285, Importing a vendor in bootstrap.php fails to work.
If you want to use custom paths that are set in app/bootstrap.php you must first use the following code to set these paths before calling App::import() but after the $*Paths variables;
 * Configure::buildPaths(compact('modelPaths', 'viewPaths', 'controllerPaths', 'helperPaths', 'componentPaths', 'behaviorPaths', 'pluginPaths', 'vendorPaths'));
 * You would only use the *Paths in the above code that you have set."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6525 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 22:50:30 +00:00
nate
dfe2ead19e Removing methods from Set test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6524 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:37:55 +00:00
nate
ae57eecc19 Adding test and patch for bug in Set::_ _flatten(), fixes #4297
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:33:22 +00:00
phpnut
63144591c6 "Fixes #3820, Email Component only sends message if using template and layout.
Fixes #4019, email component: attaching file is broke, fixes undefined variable, allows full paths to attachment.
Fixes #4171, Email Component: Lost a head line 'period' via SMTP method.
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6522 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:26:16 +00:00
nate
58e6da6a5b Adding test case for custom 'finderQuery' for HABTM associations. Disproves #4100
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6521 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:08:15 +00:00
nate
c096e20350 Fixing XmlHelper::elem() when rendering non-empty content values, fixes #4300
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6520 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 18:39:00 +00:00
nate
82f4427b8b Fixing '0' default values in fixture generation, fixes #4295
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6519 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 17:27:32 +00:00
gwoo
c1ea4dff88 fixes #3969, schema name for app dirs with special characters
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6518 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:30:44 +00:00
nate
24ea731e7f Making parsed parameters always show up at the beginning of 'pass', closes #4299
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6517 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:14:51 +00:00
phpnut
2e3391006f "Fixes #4201, Cake i18n script in command line.
Fixed i18n shell to prompt for task commands.
Changed i18n shell to create database tables using schema
Changed acl shell to create database tables using schema"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 07:14:33 +00:00
phpnut
d801e5c897 "Fixing typo in [6514]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6515 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 05:58:14 +00:00
phpnut
0740ac519b "Fixes #3234, Session.cookie_path in php ini gets a buggy value when not using mod_rewrite."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6514 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 05:44:04 +00:00
phpnut
7978745056 "Closes #4029 clearCache deletes more files than expected"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6513 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 04:30:55 +00:00
nate
1a69866df1 Fixing custom hasMany associations, fixes #3918
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6512 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 04:36:20 +00:00
nate
0ee0324e20 Improving validation support in Model::saveAll(), adding tests for cross-database joins, disproves #4251
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6511 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 01:29:19 +00:00
mariano.iglesias
33c0fec53a Resetting route prior to test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6510 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-06 22:30:38 +00:00
mariano.iglesias
c689a95a43 Adding more tests for router regarding paging routes and named parameters
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6509 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-06 21:47:54 +00:00
the_undefined
885b41808f Fixed return value for Controller::setAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6508 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-04 23:44:50 +00:00
nate
12466ebe43 Making sure default extension is always set when Router::parseExtensions() is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6507 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:56:18 +00:00
nate
017afa637d Fixing View::render() for custom views on Windows, fixes #4265
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6506 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:30:52 +00:00
phishy
18b30e11b4 fixed bug in quoting of acl schema identifiers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6505 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 18:34:15 +00:00
gwoo
afedfae4bf fixes #4260, removed php5 syntax in xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6504 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 16:55:36 +00:00
the_undefined
5c6b6b9cf6 Removed illegal function names from Router::__named
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6503 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 16:01:46 +00:00
the_undefined
6ca8de212e Optimized Router for speed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6502 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-02 22:47:59 +00:00
nate
9fbf783286 Adding database prefix check in Model::setDataSource()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6501 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 20:30:01 +00:00
nate
5ce4469867 Adding fix for parenting issues in Tree behavior, fixes #4043, fixes #4037
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6500 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 20:26:42 +00:00
AD7six
2918b68877 adding test case for #4043
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6499 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 19:12:25 +00:00
the_undefined
0b4e8e63ac Added support for multiple route parameters per path element
Fixed bug with pass param order
Added / updated router tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 15:57:25 +00:00
nate
1960be0dfa Deprecating vendor() and removing all instances from the core, fixes #4016
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6497 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:23:32 +00:00
nate
6546a39098 Updating Model::setDataSource(), table prefixes now switch when switching DataSource, unless a custom table prefix is set, fixes #4062
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6496 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:15:53 +00:00
nate
b1c7938ad5 Adding counterCache test cases from #4122
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6495 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:41:43 +00:00
nate
affcdd23dc Updating tree test case to verify addition of whitelisted fields, fixes #4141
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6494 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:31:11 +00:00
nate
e58c397bc9 Adding fix for loading join models classes from plugins, fixes #4014
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6493 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:25:46 +00:00
nate
195ad336a5 Updating Dispatcher test cases for new Router parameter features
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6492 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:13:19 +00:00
nate
ab50975306 Correcting UPDATE query generation to support SQL standards and MySQL-specific features in parallel, fixes #4080
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6491 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:12:12 +00:00
gwoo
1fbc3e6a9b quick fix for with and saveMulti
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6490 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 22:01:09 +00:00
the_undefined
394322f35d Added pass feature to Router::connect
Implemented it for Router::mapResources

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6489 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 20:22:57 +00:00
gwoo
3d191461b2 fixes #4236, typo in simpletest not installed error message
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6488 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:52:07 +00:00
gwoo
03a7ca842f updating folder test for inPath, fixes #3922
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6487 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:35:00 +00:00
gwoo
815983cd74 adding patch for AclShell::setParent(), fixes #4240
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6486 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 15:22:29 +00:00
nate
b5d0baf98b Fixing TimeHelper::timeAgoInWords()/relativeTime(), fixes #4241
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6485 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 05:06:37 +00:00
nate
c8ed9424da Fixing errors thrown in Model::exists() when $useTable is false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6484 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 04:35:20 +00:00
nate
9931e0ef93 Removing redundant test case from TimeHelper test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6483 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:57:59 +00:00
nate
97dded350f Returning default column type for models with no schema defined
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6482 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:53:54 +00:00
nate
3a11fe2340 Refactoring find types in Model::find()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:50:38 +00:00