Commit graph

2285 commits

Author SHA1 Message Date
nate
b9cfc9ecf3 Correcting handling of empty URLs with full base, fixes #4470
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-04 04:34:29 +00:00
nate
32ea41a90e Correcting MSSQL limit/distinct handling, correcting date/time handling, fixes #4352, fixes #1778
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-03 14:15:47 +00:00
mariano.iglesias
e0a9f03572 Fixed issue where $selected = true sent to FormHelper date method was generating multiple OPTION tags with SELECTED attribute
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:26:11 +00:00
mariano.iglesias
893c218be6 Fixing issue where FormHelper::dateTime was generating non valid XHTML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:22:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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