Commit graph

3193 commits

Author SHA1 Message Date
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