Commit graph

188 commits

Author SHA1 Message Date
dho
d9a0aa1c69 Applying patch from ticket #2763, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 08:32:04 +00:00
dho
a0184d2b41 Adding test to disprove ticket #2763
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 15:03:10 +00:00
nate
3dbf59ece3 Fixing substring quoting in DboSource::__quoteFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-12 15:13:53 +00:00
nate
6866ca42a0 Adding query conditions parenthesis fix for Ticket #2663
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-09 20:32:14 +00:00
gwoo
851a834995 fixing form helper for tickets #2726 and #2659, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
phpnut
52680ffcd3 Adding fix for FormHelper::checkbox() not creating the hidden fields.
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 06:11:48 +00:00
nate
72f44d48af Adding test case for Model::findAll() results modified in afterFind (disproves Ticket #2635)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5233 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 21:54:11 +00:00
gwoo
3acebbcecb adding pass to the default set of router params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:27:10 +00:00
phpnut
0ba769f443 Correcting date string in tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5224 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 01:21:58 +00:00
gwoo
05d5972dee fixing File again adding info property
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5223 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 00:09:14 +00:00
gwoo
151bdd04ef fixing File tests and class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5221 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 23:38:36 +00:00
gwoo
aa81a44bb9 updating File class and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5211 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 16:06:49 +00:00
nate
07006c9e4a Allowing spaces in session keys (Ticket #2639)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5208 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 04:10:29 +00:00
gwoo
ae652431e9 updating file class deprecated getters, fixes for tickets #1838 and #2641, adding tests, changing Folder default directory to TMP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5203 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:30:43 +00:00
dho
a357f30cda Fixing problem with handling "0" in NumberHelper::toReadableSize() (ticket #2654)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 07:22:19 +00:00
gwoo
5a0832f086 updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:16:47 +00:00
gwoo
8ecc250521 fixing bad tests in socket and some working in error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:23:38 +00:00
gwoo
9667aa793a adding strfrotime to FormHelper::month #700, fix to radios which still need to be moved
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5178 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:14:14 +00:00
gwoo
e45062f3ef updating html helper, deprecated methods moved to bottom
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:50:20 +00:00
gwoo
bafd4689fe adding formHelper::checkbox
adding tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5175 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 21:44:05 +00:00
gwoo
04859e37fc typo in number test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5174 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 20:51:37 +00:00
gwoo
75f04aebd9 adding number helper format and test for format and currency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 20:45:27 +00:00
gwoo
34528b40ce adding Media to inflector tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5154 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 17:11:00 +00:00
phpnut
84de5b6e35 Adding fix for #2614
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 05:15:26 +00:00
phpnut
63b2208e76 Removing inline comments in test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5131 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 06:27:09 +00:00
nate
540b1052d8 Fixing string-based URL generation inside plugins (Ticket #2588)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 01:40:34 +00:00
mariano.iglesias
511af227f1 Adding tests to test usage of set() & save() for editing records
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 17:54:59 +00:00
nate
266db033fc Updating branch with Felix's latest HttpSocket work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5111 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:59:59 +00:00
mariano.iglesias
7a380cc0de Adding tests for 'page' and 'offset' with hasMany bindings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5109 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 18:47:02 +00:00
mariano.iglesias
e4fb1372c5 Adding test that fails when using page + limit and offset + limit on a HABTM binding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5108 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 18:19:56 +00:00
gwoo
cec34ae6df updated folder class and test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5092 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 07:09:42 +00:00
phpnut
9d02c911a6 Adding tests and fixes for #2570, this corrects DboSource::conditions fails to quote mixed array/string conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5087 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:52:59 +00:00
mariano.iglesias
7de927eb46 Fixing and adding tests for ticket #2551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5071 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 12:07:23 +00:00
phpnut
5d7ce86000 Adding fix for irregular inflections returning word in lowercase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 00:28:03 +00:00
phpnut
156013f99e Added fix for #2545, fixes VALID_NUMBER does not allow negative values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5047 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:50:42 +00:00
phpnut
6837a51f50 Adding test for #2550.
Added fix for #2550, fixes incorrect inflection of Alias

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:13:45 +00:00
mariano.iglesias
22adcb07a1 Adding possibility to specify if option values should be escaped, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5019 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 00:34:56 +00:00
phpnut
b42e908656 Adding patch from #2528, fixes validation passing when even when allowEmpty === false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5010 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 07:13:15 +00:00
mariano.iglesias
37daaf6dfe Fixed folder test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5004 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:38:26 +00:00
mariano.iglesias
74d9a205ec Adding tests for Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5003 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 00:29:33 +00:00
mariano.iglesias
383c8d36d3 Adding empty test cases for File and Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5001 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 23:25:21 +00:00
phpnut
137fea94c6 Cleaning up line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
phpnut
b5e3a55e03 Adding tests for #2520
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4989 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 18:37:28 +00:00
dho
9b18367fcc Fixing problem with submit options in FormHelper::end() (ticket #2516)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 12:56:51 +00:00
mariano.iglesias
8982d82c0d Adding option to send extra parameters to a custom validation and more tests for validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4980 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 07:48:22 +00:00
phpnut
7982208113 Reverting changes in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4975 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:17:27 +00:00
nate
154e3ccbb1 Refactoring FormHelper token generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4974 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:03:35 +00:00
phpnut
5cd13cff26 Adding additional tests for validation.
Added fix to model to pass the new tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4970 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 10:30:36 +00:00
mariano.iglesias
5317c80429 Restoring commented tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4966 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:04:44 +00:00
mariano.iglesias
d1687bbc06 Adding test to evaluate emptiness in validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4965 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 03:03:53 +00:00