Commit graph

3593 commits

Author SHA1 Message Date
gwoo
f6a78538ff updating shell, fixes #4540 where shell name and model are the same
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 04:44:21 +00:00
nate
f8f1380bcd Correcting default value handling in model fixtures; updating test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6737 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 19:19:16 +00:00
DarkAngelBGE
471b6b0e2d coverage manager fix windows IE styles,
testsuite help page typo fixes #4551


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 14:08:29 +00:00
DarkAngelBGE
f9ec1e752d code coverage analysis for cli,
fixing CliReporter extending SimpleReporter and not TextReporter (to enable the printing of exceptions in cli)
some minor refactorings

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 21:03:51 +00:00
DarkAngelBGE
e38afee93d code coverage support for plugins
typo fix in testsuite shell

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 18:24:52 +00:00
DarkAngelBGE
5ea06cb29c adding testsuite shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6733 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 17:59:31 +00:00
DarkAngelBGE
facf6141d0 code coverage css refactorings
code coverage html diff view (which is the default view now)
refactorings for CodeCoverageManager
adding tests for html view, html diff view and a bunch of others

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6732 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-28 18:02:34 +00:00
gwoo
1526a7647a adding console/cake.php test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6731 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-28 14:39:52 +00:00
mariano.iglesias
f7384bca87 Removing extra check for closing tag in assertTags().
Continuing with FormHelperTest refactoring.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6730 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 18:44:01 +00:00
mariano.iglesias
3180aecb95 Initial refactor of FormHelperTest to use assertTags for tag testing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6729 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 15:09:41 +00:00
mariano.iglesias
b7ec7dbbad Allow whitespaces between tags in assertTags()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:51:44 +00:00
nate
9bad5824cb Enabling empty array URLs in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6727 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:41:42 +00:00
nate
b0568e7ace Adding schema introspection tests to Model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6726 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:39:34 +00:00
mariano.iglesias
3f0b8217ec Allowing regular expressions as part of the tag construction in assertTags()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6725 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:28:00 +00:00
mariano.iglesias
2902969504 Allowing multiple closing tags of the same type for assertTags()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6724 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:12:33 +00:00
mariano.iglesias
fae3b0386a Adding support for pattern based attribute values in assertTags()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6723 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 13:44:02 +00:00
nate
db2c2c02d1 Adding test cases for uncovered Inflector methods, refactoring tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6722 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 12:40:47 +00:00
nate
9bab2440e7 Adding Dispatcher test cases for POST data handling and method overrides
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6721 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:43:26 +00:00
nate
eb25e3505a Adding test cases for uncovered RequestHandler methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6720 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:11:27 +00:00
nate
d341f531d3 Fixing recursion in Debugger variable dumps
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:10:55 +00:00
nate
0ff44a2ab7 Consolidating Configure and App class tests so test files match, per standard convention
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6718 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-25 01:39:30 +00:00
joelmoss
e1ffd25d49 Added tests for Model::__doThread and to prove #3924 which seems to already have been applied to the core. Closes #3924
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6717 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 14:12:36 +00:00
joelmoss
f9ea98e746 Changed Router tests to use static method calls to reflect actual usage in applications. Fixed the __resourceMapped call in Router::mapResources and added tests to prove it is assigned correctly. Fixes #4530
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 13:41:11 +00:00
DarkAngelBGE
2ca68ab3a8 first version of code coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6715 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 18:25:03 +00:00
nate
358a613243 Fixing conditions quoting in DboSource, closes #4508
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 15:24:57 +00:00
joelmoss
7f6e54ea3a Validation now supports error messages on multi record forms. Added tests to support this. Closes #4499. Thanks jose_zap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 14:14:58 +00:00
joelmoss
a0af56f923 Removing inline comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:58:26 +00:00
joelmoss
8fa2d1cf9c Added tests for TextHelper::truncate. Truncate now also fully respects HTML tags and characters if $considerHtml is passed and true. The third parameter of truncate can now also be an array consisting of any of the remaining params.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:23:12 +00:00
the_undefined
aee33deb3a Implemented CakeTestCase::assertTags
Replaced some regex in Form helper test with it

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 19:53:00 +00:00
the_undefined
586bcb8f28 Fixed Set::merge warning when calling it from a static function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 17:18:05 +00:00
the_undefined
5321ce98ec Giving bool return value to DboSource::insertMulti
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6708 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 16:59:26 +00:00
nate
42083e0a1b Refactoring insertMulti() for DboSource and drivers, updating Model test for non-transactional db's
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-21 12:31:28 +00:00
joelmoss
f91f90df71 Added tests for Set::enum
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6706 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 22:26:34 +00:00
nate
648d01e2e6 Adding test cases for HtmlHelper::charset()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 12:02:58 +00:00
the_undefined
ee94d5662c Added persist feature to routing, allows namedArgs to be auto-populated for reverse routing based on current request
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 20:57:23 +00:00
nate
296e8989ba Adding GET/PUT/DELETE method checks to Security component, refactoring adding tests, closes #4231. Thanks joelmoss.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 19:25:49 +00:00
mariano.iglesias
d412d7094f Fixes #4467, issue with 'atomic' on saveAll not properly rolling back transaction. Thanks amit for the test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6702 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 17:33:17 +00:00
nate
b7774103f8 Removing extraneous error catching from Dispatcher and View tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6701 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:43:07 +00:00
nate
16bfee9831 Correcting issue in Model::__save() to prevent overwriting of existing record data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:30:11 +00:00
joelmoss
f34ae31184 Modified relevant test cases to use the refactored SecurityComponent:__methodsRequired
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6699 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 18:16:20 +00:00
joelmoss
4ced59868a Adding test cases for additional require methods or the remaining HTTP verbs/methods. Refs #4231
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 13:25:47 +00:00
nate
ed51f78227 Adding Model::saveAll() atomic fix, closes #4400, thanks joelmoss
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 13:14:40 +00:00
the_undefined
e46425f759 Fixed bad test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:25:03 +00:00
joelmoss
54121efb3e Adding test case for Model::saveAll, to allow it to return the results of each record save in an array, if 'atomic' option is false. This means we can now see which records failed and which were successful. Refs #4400.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6695 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:06:41 +00:00
nate
8756f0d471 Adding test case for generating full-base absolute URLs, disproves and closes #4470
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:58:14 +00:00
nate
0793138c6c Fixing SELECT DISTINCT queries for SQL Server + misc schema fixes, closes #4352
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:27:58 +00:00
nate
fc92ea039a Simplifying default Debugger output, fixes #4066
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:01:35 +00:00
nate
3e28323667 Fixing conditions quoting in DboSource::conditionKeysToString(), closes #4368
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6691 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:39:54 +00:00
nate
d8cb269dc3 Removing greeting from console apps
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6690 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:30:09 +00:00
nate
6a6928e084 Adding array index fix for loading vendor files in console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:29:46 +00:00
mariano.iglesias
953c778f5f Adding tests to FormHelper including generating custom names for checkbox elements, closes #4479
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6688 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:58:47 +00:00
nate
f6103830c3 Adding prepared statement support to Model::query(), closes #2069 (thanks Mark Story)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6687 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:30:32 +00:00
the_undefined
5c0b72db85 Added support for controlling namedArg behavior on routes level, fixes #4451
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 23:14:49 +00:00
mariano.iglesias
ab3b90503f Fixing issue in Security component with modeless field names, fixes #4454. Thanks vuego for the test and patch!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:51:40 +00:00
mariano.iglesias
5f8641aac9 Adding test to show afterFind being called from Model::find('list'), closes #4456
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6684 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:30:25 +00:00
mariano.iglesias
5f967487bb Encoding subject without modifying original, fixes #4489
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6683 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:12:58 +00:00
mariano.iglesias
9af317b1b4 Adding documentation to show result of Set::reverse() with non-objects. Fixing commented out test for Set class and adding more tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:01:59 +00:00
tclineks
2262e5803c fixed removal of test model instance from registry
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6681 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 20:33:54 +00:00
tclineks
f99c8996e3 added test for FormHelper::create with non-standard primaryKey. disproves and closes #3942
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6680 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 20:31:49 +00:00
the_undefined
db96a250d1 Fixed :first / :last selector issues in Set::matches
Refactored condition filtering to respect context altering conditions in Set::extract
Fixed some bad test cases

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6679 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 15:48:55 +00:00
nate
8f3a2c6022 Refactoring model constructor
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6678 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 13:10:27 +00:00
mariano.iglesias
d64e94e264 Fixing issue where AjaxHelper::link() would produce non-XHTML compliant links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 22:17:11 +00:00
mariano.iglesias
fe350cc04a Adding documentation to show proper usage of cake schema run with a specific table, closes #4474
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6676 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 22:07:03 +00:00
mariano.iglesias
1c96dd757f Fixing PHP notice with string parameter
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6675 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:25:36 +00:00
the_undefined
00b531913a Replace wrong comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:24:59 +00:00
the_undefined
e516a8ba08 Added doc block comments for new Set::extract features
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6673 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:23:02 +00:00
mariano.iglesias
31eb02db28 Removing redundant code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6672 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:22:07 +00:00
mariano.iglesias
4acac55cf2 Fixing issue with CakeTestCase::testAction not returning view. Added documentation for usage. Getting rid of some function aliases.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6671 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:16:52 +00:00
the_undefined
87d77f046b Added :first and :last selector to Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6670 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:15:50 +00:00
the_undefined
c154636723 Added all-attribute selector support to Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:48:55 +00:00
the_undefined
fc8611b003 Added support for regex modifiers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6668 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:40:01 +00:00
the_undefined
5fe0038a74 Added regex match support to Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6667 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:36:19 +00:00
the_undefined
f6c30745fe Fixes #4485
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:12:31 +00:00
nate
ba0a60fdbd Correcting spelling of Validation test method, fixes #4430
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6665 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 01:17:53 +00:00
phpnut
66241b4a0d "Correcting error \"non well formed numeric value encountered\" for modified time stamp"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6664 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-15 16:46:46 +00:00
gwoo
3c4352983d adding test element
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6663 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-15 16:08:10 +00:00
gwoo
561f1deee0 adding test case, closes #3132
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6662 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-15 16:06:50 +00:00
the_undefined
ed105de578 Added one more example to the Set::extract docblock
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6661 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:18:08 +00:00
the_undefined
4679dc9a12 Added support for dot char (selecting the current context node)
Fixed some more issues and added more tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6660 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:08:45 +00:00
the_undefined
9f040bd395 Modified Set::extract to be available from combine and other functions as well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6659 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 18:46:27 +00:00
the_undefined
de4807e726 Fixed PHP warning showing up on some extract queries
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:32:58 +00:00
the_undefined
1fdd44f6b2 Added support for conditions on multi-nested numerically indexed items
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6657 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:27:12 +00:00
the_undefined
593c4d7245 Fixed issues with Set::extract and multiple numerically indexed nestings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6656 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:05:52 +00:00
gwoo
c38c6a21ba updating TranslateBehavior to handle one set of content per model, not per alias. fixes #4461
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6655 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 04:18:10 +00:00
nate
dc5742d28f Correcting query order in DB_ACL::check(), fixes #4309
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-11 05:48:39 +00:00
nate
c7677c2a5e Fixing incorrect selection of parent nodes in ACL, fixes #4324
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6653 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-11 04:59:52 +00:00
nate
017c07c7bf Fixing case of Xml class references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6652 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-10 19:43:06 +00:00
nate
a89beea029 Correcting issue with permissions being incorrectly overwritten in ACL, fixes #4190
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6651 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-10 13:19:10 +00:00
nate
7e68ab152c Correcting timestamp issues in JavascriptHelper::link(), fixes #4441
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6650 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 19:08:04 +00:00
the_undefined
f51f051bc2 Fixed small Router bug in previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6649 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 19:07:02 +00:00
gwoo
0c125f362e updating debugger test to make it more useable/readable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6648 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 18:57:58 +00:00
the_undefined
4b19d4c38d Added support for final characters in multi param route elements
Fixed issue with reverse routing and falsely escaped route regex

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 18:26:20 +00:00
gwoo
2071ae1656 adding case for default params to controller.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6645 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 15:34:33 +00:00
phpnut
8a5505bdcc "Fixes #4436, App::import() loads wrong file"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6643 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 05:04:09 +00:00
phpnut
89c8467e89 "Fixes #4408, Options for a Behavior are not being reset for associated models using the same behavior"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6642 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 04:10:27 +00:00
phpnut
85f2946c36 "Fixes #4349, Correct usage of \"AND\" and \"and\" for conditions"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6641 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 02:24:09 +00:00
phpnut
1250c6e0cc "Adding patches and test from #4447.
Closes #4447, Multiselects' hidden input should not have an id attribute.
Thanks sarimarton"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6640 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:39:10 +00:00
phpnut
def8f8aad1 "Removing inline comment"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6639 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:35:04 +00:00
phpnut
d0d001d6dd "Added patches from #4413, closes #4413. Thanks maular."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6638 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:34:25 +00:00
phpnut
de67e299a9 "Adding fix for bug introduced in [6407] that does not load the core ErrorHandler class"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6637 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-08 01:43:36 +00:00
mariano.iglesias
0427272236 Fixing failing test case introduced in [6635]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6636 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-05 17:49:10 +00:00
mariano.iglesias
4b25239298 Adding router test case for URL generation with prefixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6635 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-05 14:21:33 +00:00
mariano.iglesias
33a3a27fd1 Adding more tests to paginator using admin route
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6634 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 23:55:02 +00:00
phpnut
a138ae3d63 "Fixing use of array('minuteInterval' => #);
Proper usage is array('interval' => #); but for backwards compatibility this fix has been added"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 12:48:13 +00:00
phpnut
1d9a096376 "Fixes #4427, Current protected attribute Email::_newLine renders Email Component unusable for SMTP.
Original change to EmailComponent:_newLine reverted, related bug has been fixed elsewhere in the code."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6632 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 11:46:09 +00:00
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
the_undefined
8b8b268c08 Added test demonstrating useless error messages being thrown for table-less models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6480 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 00:23:28 +00:00
gwoo
d3e2d51cbc updating error handling, error.test, view.test, theme.test, change socket.test to use App::import()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6479 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-27 21:22:40 +00:00
nate
3316731dd9 Updating ACL component test case, disproves ticket #4190
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6478 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-27 03:57:33 +00:00
nate
6615daa6b0 Adding test case for saving UUID primary keys, disproves ticket #4123
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6477 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-26 06:20:16 +00:00
nate
f056ee4a3d Adding double-escaping test case for DboSource, disproves #4196
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6476 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 15:28:17 +00:00
nate
4e573f48f0 Updating view test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6475 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 15:08:01 +00:00
nate
048626c547 Fixing placement of charset tag in layout templates, fixes #4200
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6474 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:47:41 +00:00
nate
bd2ac9a1c1 Fixing Auth component so login still works when you allow('*'), fixes #4159
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6473 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:20:43 +00:00
nate
c1251c8265 Adding DboSource fix for SELECT DISTINCT, fixes #4101
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6472 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:15:37 +00:00
nate
3140144a1f Adding behavior test case and fixing validation behavior methods, fixes #4205
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6471 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 02:47:10 +00:00
nate
3bc622b250 Implementing non-interactive mode in console scripts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6470 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 02:44:45 +00:00
nate
0572926d49 Refactoring model behavior handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-21 15:36:13 +00:00
phishy
5c9c5dbb47 removed duplicate baseConfig
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6468 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-20 20:02:18 +00:00
the_undefined
61882940a4 Reverted test case change
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6467 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 04:07:03 +00:00
gwoo
9d5435266e reverting httpsocket change from [6439]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6466 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 03:59:27 +00:00
the_undefined
3120d055f9 Got HttpSocket tests to pass again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6465 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 03:55:12 +00:00
gwoo
fb4244bb89 updating Helper::setEntity() and form.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6464 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-18 21:58:32 +00:00
john
18dc1fd456 Undefined var in parse() method causing problems. Original author most likely meant $attr.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6463 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 20:47:44 +00:00
gwoo
e9c15fe33e updating ErrorHandler with test, fixes #4102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 16:49:17 +00:00
nate
0073683a54 Added Configure option Asset.timestamp = 'force', to force asset timestamps in production mode, fixes #921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 17:35:13 +00:00
nate
d301d7a566 Adding Flash client detection to RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 05:32:46 +00:00
gwoo
5e8a2fb7f4 fixes #4106, object test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6459 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 04:52:46 +00:00
gwoo
1c894d0cfd fixes #4111, empty array in model task when table indexes missing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6458 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 04:48:40 +00:00
nate
0d2c0c1c6c Cleanup from last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6457 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:16:13 +00:00
nate
766703f15f Fixing default route mappings, refactoring route generation, fixes #4109
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6456 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:11:33 +00:00
nate
e0fb76d757 Fixing undefined index error in Router::getParams() when rendering error pages in the test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6455 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:53:59 +00:00
nate
e41d586e03 Updating View test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6454 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:45:47 +00:00
nate
f3355bd74b Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
nate
50236e3431 Adding Object::dispatchMethod() as faster (OO) replacement for call_user_func_array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6452 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:02:40 +00:00
nate
96d2b4b738 Adding ACL component test coverage and whitespace fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6451 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:27:16 +00:00
nate
14523dc8c4 Fixing XML class references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
7f673226d7 Enabling suffixes for virtual fields, fixes #3724
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:20:43 +00:00
nate
7248048d85 Adding default configuration to Oracle driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6448 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 01:13:13 +00:00
nate
ba98d6cc12 Fixing TimeHelper tests for the month of February
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6447 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 01:12:22 +00:00
phishy
cd8da1bd18 removed conect config parameter in favor of auto-persistant connection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6446 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-07 15:46:05 +00:00
nate
3e36695b1f Adding RequestHandlerComponent::beforeRedirect() callback to handle Ajax redirects, delaying initialization of content-types, fixes #2680
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6445 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-07 00:03:59 +00:00
nate
ab1a245086 Adding option to remove application base path to Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 20:47:48 +00:00
nate
e1e9a6fe28 Updating docblock for JavascriptHelper::link(), fixes #4079
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6443 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 17:34:55 +00:00
nate
bb879da388 A fixing Dispatcher handling for GET vars when request is made from domain base, fixes #3856
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6442 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 17:22:39 +00:00
nate
5770e95fc9 Adding fixes and tests for Set::check(), closes #4077
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 15:48:31 +00:00
gwoo
0a52e958b9 adding patch for component initialize, fixes #4000
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6440 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 07:47:42 +00:00
gwoo
6abbb882f5 updating view error handling, fixes #4069 and fixes #4073, added long dash to escaped chr in http socket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 07:30:49 +00:00
nate
89052b0f54 Adding performance enhancement to Set::numeric(), adding $filterKey param to Model::create() to overwrite primary keys, closes #4046
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 02:35:12 +00:00
gwoo
f5de1ac9a2 adding shell loading from plugins, updating exit from lists controller and model in tasks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6437 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 00:44:34 +00:00
nate
1db0c07852 Fixing issues in Set::check() with implicit array-to-string casting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 23:08:21 +00:00
gwoo
28545feec3 updating view tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6435 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 14:58:55 +00:00
nate
abd94bc068 Additional path and extension tests for JavascriptHelper::link()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6434 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-04 17:12:19 +00:00
gwoo
241bda262a updating test manager to show "all tests" when there are no app groups
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6433 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-04 16:59:52 +00:00
nate
271777b9f5 Adding FormHelper tests for ID generation, closes #4005
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6432 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 06:54:05 +00:00
nate
67d7579fda Adding tests for auto-constructing hasAndBelongsToMany associations, disproves #3859
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6431 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 06:40:15 +00:00
nate
afebe2d418 Fixing XML text node conversion support in Set class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 04:53:52 +00:00
nate
6f73e4fd76 Updating database config docblocks and removing extra db-specific options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6429 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 01:28:43 +00:00
phpnut
df805f0a66 "Closes #3940, adding inserting/updating of multiple translations at once.
Additional tests added for TranslateBehavior"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 21:14:13 +00:00
nate
acfc38e57d Fixing XML support in Model and Set classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 20:45:37 +00:00
nate
71bd08b950 Refactoring Auth / Security::hash()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6426 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:51:49 +00:00
nate
881cf3fc0a Adding foreign key check to Model::updateCounterCache(), fixes #4049
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:50:44 +00:00
gwoo
6e537beb73 fix typo in xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6424 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 09:32:01 +00:00
nate
5fcf4c7bb3 Clean-up from XML commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 05:00:44 +00:00
nate
172d355e05 Adding namespace support to XML class, as well as XML generation options, entity conversion, whitespace output support, node filtering, I could go on. Props to Mike O'Toole. Fixes #3476
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 04:53:09 +00:00
nate
7d39cad13f Updating docblocks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 02:03:04 +00:00
nate
18c2d9d446 Adding ModelBehavior::cleanup() callback for when behaviors are dynamically detached from models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6420 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 00:56:22 +00:00
nate
41cb80ee46 Removing deprecated function call from HtmlHelper::checkbox()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-30 15:19:53 +00:00
gwoo
5138bcda38 updating form helper field map, if var $map is defined it will use that, closes #3976
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 16:52:15 +00:00
phishy
97cae1c208 added support for introspecting oracle schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6417 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 14:25:48 +00:00
phishy
9ddbd992e9 chunked query generation for more than 1000 IN arguments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6416 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 02:38:54 +00:00
nate
423a56c958 Adding Model::attach() and Model::detach() for dynamic loading/unloading of behaviors + tests, fixes #4010
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 18:56:22 +00:00
gwoo
f00834f81a fixes #3608 vendorPaths in configure,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6414 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 17:17:11 +00:00
nate
377643cf2b Adding deprecation warning to Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6413 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 01:14:05 +00:00
nate
4e56b06f66 Adding Set::sort(), for sorting model results by association keys, tests included
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 20:22:45 +00:00
nate
39940856b8 Removing undefined variable notice for empty arrays in Sanitize::paranoid()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6411 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 03:31:33 +00:00
nate
b9d3c4e2e8 Updating Model::saveAll(), adding tests. Fixes #3871
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6410 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 01:57:39 +00:00
nate
d9691a19c8 Refactoring Router::mapResources(), adding tests for REST routing and HTTP method overrides
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-26 08:50:06 +00:00
gwoo
ebeb7d0f94 updating dispatcher related to #3856, test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6408 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 21:19:13 +00:00
gwoo
f598b58465 updating console so shells and tasks do not have to extend Shell, updated error handler params and maintained backwards compatibility closes #3538, updated Object::cakeError to add app_error, closes #3982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 20:32:10 +00:00
gwoo
cb27bcc21a fixes #3961 options in Html::tableCells,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 16:37:47 +00:00
nate
b93e5c13ea Adding tests for routes with UUID matches, closes #3973 (disproven)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6405 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 16:09:27 +00:00
nate
074cfeb75d Fixing Configure::listObjects() to not return incorrect core classes, closes #3954. Adding route testing support to cake console.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 04:14:58 +00:00
the_undefined
38c705a06b Fixed some issue with initializing the HttpSocket in a certain way
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 23:17:55 +00:00
gwoo
59cf6c8fc0 ajax test updated, closes #3950
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6402 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:49:53 +00:00
gwoo
e127d8f86f updating ajax and form closes #3582, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:47:56 +00:00
gwoo
b7aa6ada2c updating validate in bake model task, fixes #3957
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6400 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 06:49:10 +00:00
nate
7e3a30fd85 Correcting database input value for midnight on 12-hour display, fixes #3927
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 12:53:37 +00:00
nate
943eaf7549 Refactoring DboSource::fields(), updating column type handling in DboSqlite, fixes #3944, using unquoted names to get column type in update queries, fixes #3917
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6398 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 02:21:28 +00:00
gwoo
a98c80d44b updating form helper which really fixes #3869, required css class, test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 00:39:44 +00:00
gwoo
70ebd40cdd fix for empty var in debugger
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6396 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 22:25:20 +00:00
gwoo
39eb8a9218 updating encoding in HtmlHelper::charset((), fixes #3937
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:57:19 +00:00
gwoo
d901e0af31 fixed bake interactive models for self associations and error in Set:extract when data is not an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:42:01 +00:00
phpnut
e8ec5a4667 ""
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6393 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 02:54:32 +00:00
phpnut
7e1c80f9ae "Fixes generation of model tests and fixtures"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6392 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 22:04:54 +00:00
gwoo
411bf98d40 updating form handling of required validation, fixes #3869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:52:13 +00:00
gwoo
c91b3721bc updating dispatcher for gzip handling of assets, fixes #3921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6390 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:29:11 +00:00
gwoo
1c3d18db23 updating form.php, fixes #3942 "FormHelper::create() ignores non-standard primary key"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:16:34 +00:00
phpnut
5b29c6a71f "Fixing -f param in schema, this fixes generation of scheme.php when model have not been created"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6388 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 20:36:50 +00:00
nate
4c6bbaffff More Postgres abstraction/emulation fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-17 17:09:10 +00:00
phpnut
d3e790a27a "Fixes #3910, cake generates failing fixtures due to column length restrictions"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6386 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 19:38:24 +00:00
phpnut
7098c5558c "Fixes #3887, Controller::modelClass incorrect when using AppController::uses"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6384 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 18:09:25 +00:00
phpnut
5b3cbf2ea0 "Refactoring TreeBehavior::recover();
Added TreeBehavior::reorder(); to reorder nodes of tree"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 16:51:18 +00:00
phpnut
520d179850 "Fixes #3876, Associations do not work correctly in plugins"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6382 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 07:34:42 +00:00
nate
d7c960ea15 Fixing file upload support for multi-record forms
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6381 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 07:37:29 +00:00
nate
8a7d9dfa8c Updating AjaxHelper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6380 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:39:25 +00:00
nate
1e4549679a Refactored JavascriptHelper::object(), improved JSON spec compliance, added sport for native json extension, improved tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:21:07 +00:00
nate
14122fd1e6 Refactoring TimeHelper, adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 04:29:55 +00:00
gwoo
818fba4005 updating memcache to make sure server is active
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 16:06:19 +00:00
nate
428241bd5e Fixing bad Dispatcher test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6376 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 05:18:51 +00:00
nate
6dc742d675 Adding ACL test setup to Auth test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6375 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 04:23:19 +00:00
phpnut
654669d48f "Refactoring Component tests.
Removed Component::!__construct();"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6374 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 04:06:01 +00:00
phpnut
6419ee2bc7 "Removed Configure::write(); left over code when using Auth in the test"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6373 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 03:55:10 +00:00
phpnut
11afd24c19 "Adding fix when a component loads a component that is also in the components array list.
{{{
	var $components = array('Auth', 'RequestHandler');
}}}
Controller::RequestHandler; would not be available.
Added additional tests

Fixed loading of libs/xml.php "

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6372 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 03:53:01 +00:00
gwoo
d564eda38d updating component and tests for Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 00:53:45 +00:00
nate
2b2bdcde5c Fixing ACL tests for schema refactor
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6370 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 20:50:34 +00:00
gwoo
5649f17f7b updating PaginatorHelper::numbers(), fixes #3788
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:59:37 +00:00
gwoo
e989625316 update loading of components, fixes #3899, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:35:12 +00:00
gwoo
ce1b042843 updating schema, fixes #3816 and fixes #3896
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:06:28 +00:00
phishy
a9cd0f997d fixed instances where invalid UPDATE and DELETE statements were being generated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 22:40:44 +00:00
gwoo
34bbeb0d39 fixing cache engine prefix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 18:35:45 +00:00
nate
7b2627caa2 Fixing typo in DboSource::renderStatement()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 17:07:26 +00:00
nate
ff5e6c9002 Fixing Postgres sequence name generation for names not in the sequence map, fixes #3886
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6363 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 15:49:07 +00:00
nate
6640e45e33 Adding Schema test to Model test group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6362 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:30 +00:00
nate
c8974be887 Refactoring fixture handling and Model tests, fixing UPDATE and DELETE queries for other databases, fixes #3794. Only forcing 'test_suite' prefix on default database connection, fixes #3873
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:00 +00:00
nate
5e4a641003 Updating model test case and adding custom field support to Model::find('list'), closes #3802 (thanks GreyCells)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6360 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 03:16:19 +00:00
gwoo
6e1cc5b182 updating dispatcher test for #3868
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6359 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 01:23:21 +00:00
gwoo
edcdcf3235 updating form helper labels for multiple records, fixes #3880, updating custom acl component loading, #3875
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 23:13:53 +00:00
nate
aa7ca4e703 Updating docblocks of deprecated methods, closes #3819, closes #3878
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 19:50:33 +00:00
gwoo
aeaeb97a49 updating helpers for multiple records, fixes #3874
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 18:50:31 +00:00
nate
cbd715618b Removing MySQL-specific schema code from core, improving support for PostgreSQL sequences, most tests passing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 08:44:38 +00:00
nate
188ff4737d Removing database-generated primary keys from fixture data, fixed primary key handling in schema generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 07:02:33 +00:00
nate
db621672d3 Enabling alternate titles for PaginatorHelper::sort() links based on sort direction, closes #3865
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 01:12:26 +00:00
gwoo
74e77b7eab adding connection param to schema shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6352 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 14:44:02 +00:00
nate
367d7a76fb Whitespace fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6351 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 14:04:27 +00:00
nate
3eb04c36db Fixing database drivers for UPDATE/DELETE changes, updating drivers to comply with model tests, most passing. Fixes #3794.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6350 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:32:45 +00:00
nate
7268121495 Correcting parameter declaration in API shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6349 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:25:37 +00:00
gwoo
01418cdb00 updating View error handling for extensions, fixes #3795
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:21:21 +00:00
phpnut
e7c4233963 "Fixing bug with scaffold and valid Session id check"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 04:51:12 +00:00
phpnut
68487baf47 "Fixes #3854, Scaffolding is generating an id field with an empty value for auto_increment primary key"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 04:50:08 +00:00
phpnut
04934fdb2f Reverting [6249] and [6250] this commit broke the working implementation.
Closes #3810

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6344 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 01:06:45 +00:00
phpnut
3b2e24d6ef "Adding test cases from #3810"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6343 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 01:04:14 +00:00
phpnut
c8172ed96a "Fixes #3851, Acl component fails to check() if a permission is denied in action (*)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 00:39:00 +00:00
phpnut
43eab108c7 "Fixes #3811, $_SESSION not found
Fixes #3823, Session not restarted after instantiating new SessionComponent
Fixes #3850, Configuration Session.start and SessionComponent::!__active aren't handle correctly"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6341 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 15:46:02 +00:00
phpnut
15be9d3cb9 "Fixes #3862, set_time_limit(0) has no effect because of ini_set('max_execution_time', 60 * 5);
changed max_execution_time , 0. Since php 4.3 this is the default anyway"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 13:53:03 +00:00
nate
acd9cd5b8a Fixing return value in Model::saveAll(), fixes #3852
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6337 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 10:21:25 +00:00
nate
b7abaf019c Adding non-null association key fix in Model, and updating Model::isUnique() to account for current record, fixes #3859, closes #2032
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6336 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 06:29:51 +00:00
gwoo
2c4a8f4131 updating component, removing use of Router not needed anymore, fixes #3858
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:59:01 +00:00
gwoo
d45d7a8faf updating HttpSocket with auth, closes #3838
removing type casting, fixes #3827
adding socket.group to tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:50:19 +00:00
phpnut
348df0fca2 "Fixes #3849, Deprecated loadView() call in email component when using theme"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 02:48:07 +00:00
phpnut
d754adb067 "Updating controller tests created with the console.
Added associated fixtures to model tests"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6332 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-07 13:35:14 +00:00