nate
0cd5b435d9
Adding Router tests to verify URL generation with flags and prefixes both in and out of context
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7331 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 14:28:32 +00:00
joelmoss
aa1b0c776e
JavascriptHelper::blockEnd now correctly respects safe option. Test also added. Fixes #5074
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7330 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 12:08:51 +00:00
renan.saddam
8d644172c9
fixing broken test, improving code coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 04:07:16 +00:00
mark_story
acdbf66f50
Adding tests to object test. Coverage now ~80%
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7328 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 03:15:01 +00:00
mark_story
a341e74f03
String::insert() now variable safe. Tests added. Fixes 5041.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7327 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 23:24:39 +00:00
phpnut
ed0a031ec4
Adding correct test cases for #5046 showing proper prefix usage, closes #5046 as invalid
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:48:09 +00:00
phpnut
9bc1acb2ec
Closes #5051 , AjaxHelper form function should use mt_rand() instead of rand().
...
Replaced all rand() with mt_rand() in the core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:31:22 +00:00
phpnut
bdc3685e62
Fixes #5024 , find('threaded') returns empty array if root node is not included in the results.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:10:42 +00:00
phpnut
d853520e46
Fixes #5025 , UTF8 signs are not treated correctly at form validation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 13:25:22 +00:00
phpnut
84069e372f
Fixes #5021 , findAllThreaded does not work with tables that have set primaryKey to something other than 'id'
...
Removed am() from Model::_findThreaded();
Cleaned up error.php and dispatcher.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7318 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:37:18 +00:00
gwoo
20439c098b
adding another test case for img from vendors, closes #5033
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7317 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:24:51 +00:00
phpnut
5131e1c3b3
Fixing undefined variable usage in Model::saveField();
...
Fixes #5053 Model:saveField $options bug;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 11:02:09 +00:00
phpnut
8b3dc85907
Committing test case I missed in [7314] for ticket #5016
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7315 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 10:27:29 +00:00
phpnut
6ee4849172
Removing invalid test case added in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:47:13 +00:00
phpnut
822c8978a9
Fixes #5002 Model name in PaginatorHelper sortKey.
...
Closes #5032
Small performance improvement in App::!__load();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:44:42 +00:00
gwoo
5ddd330b11
closes #5019 , updating test case to show that security component is operating as expected. fix for newLine in utf subject of email component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7311 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 14:18:01 +00:00
gwoo
a764b471f6
closes #5011 , target _blank for all html links that open new windows
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:44:23 +00:00
gwoo
3ab12a868f
updating controller test. closes #5029 , if you change the content type with request handler in a test debug must be set to 0, see line 630 of RequestHandler. Fixed duration handling for core cache settings when debug equal to 1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7309 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:26:43 +00:00
mark_story
3da913f392
Updated String::insert() so that when using ? as parameter it offsets the length of the parameter. Added tests to model, and string. Closes #5035
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 02:19:19 +00:00
mark_story
c25ed9016a
Fixed attributes being set for select elements in formHelper::dateTime() when $options[id] is specified. Closes #5013 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 00:46:42 +00:00
mark_story
a2fdf97c41
Added test for deep array read and writes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 23:55:46 +00:00
nate
f6934e3237
Fixing test database checking in CakeTestCase
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 16:42:44 +00:00
renan.saddam
88197569ad
Added test case to #5008 . Quoting numeric value 0 (zero)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7302 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 13:44:16 +00:00
mark_story
4b1de6ac0e
Added test for setting extension with Router::connect()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7298 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-29 20:24:06 +00:00
nate
99eb60e7b0
Adding test case for DboSource::conditions(), disproves #5008
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7297 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-28 01:08:52 +00:00
gwoo
c004dd68a5
removing empty lines from the end of test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:17:02 +00:00
gwoo
a6d12c7842
updating folder test to use TMP
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7294 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:04:54 +00:00
gwoo
2bf3a0b08f
commented behavior.test for future cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:23:22 +00:00
nate
4fa9872969
Small correction to previous test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7290 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:54:40 +00:00
nate
7bad69a2d0
Adding test for CookieComponent::write() and writing an array of unencrypted key/value pairs, disproves #4997
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7289 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:52:36 +00:00
gwoo
06869fd4b3
updating file.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7288 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:46:42 +00:00
gwoo
c78b02460f
updating mode.test to comply with last changes to deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7287 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:33:53 +00:00
phpnut
022ffa3f4f
Adding fixes for pagination on associated models.
...
Corrected dot notation use in Controller::paginate();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7286 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:25:08 +00:00
nate
14e8c5fe7b
Correcting inconsistent return values in Model::saveAll(), updating bad tests, fixes #4981
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7283 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:07:00 +00:00
gwoo
70276afa3b
fixes #3456 , Use = instead of IN where possible
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7280 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 05:14:52 +00:00
gwoo
1576a83505
fixing issue with sort in pagination and adding tests, removes previously deprecated controller methods and adds trigger_error to recent ones
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7276 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 00:43:31 +00:00
gwoo
924ca38fea
updating view test case for enhancement
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7273 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 21:04:46 +00:00
AD7six
d000c59ceb
Deprecating findNeighbours
...
adding find('neighbors')
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7272 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 19:42:07 +00:00
AD7six
383c11fc13
Adding test case for find('threaded');
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7269 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:28:12 +00:00
joelmoss
a34c3a85de
removing getTests method from model test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7267 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:09:02 +00:00
joelmoss
65281500b3
Added test to disprove #4992 . Closes #4992 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7265 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 14:12:48 +00:00
gwoo
3e8c2ad204
lets see if this closes #4982
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7263 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 06:05:15 +00:00
renan.saddam
57dabe311f
adding test case to #4980 , proving cake:nocache bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7262 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 05:26:10 +00:00
gwoo
cf25e1eb55
fixes #4982 , params in console when baking app
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7261 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 03:50:11 +00:00
gwoo
abf3d0685a
fixes #4986 , .ctp extension failover for layouts
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7260 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-25 03:16:53 +00:00
phishy
c60b232ab4
fixed quoting bug in name()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7259 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 21:11:23 +00:00
gwoo
f2fd386217
fixes #4892 different users on oracle, fixes #4894 escaping field
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7258 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 20:30:51 +00:00
nate
3ce765358d
Fixing boolean handling in DboPostgres, closes #4878
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7257 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:55:59 +00:00
gwoo
3552ebea58
converting spaces to tabs in dbo_postgres.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7256 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:12:39 +00:00
renan.saddam
64486027db
moving models to models.php
...
fixing translating issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7254 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 03:16:28 +00:00
gwoo
38bbfb66ce
fixes #4976 , escape chars in attributes of xml tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7253 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:38:40 +00:00
gwoo
013e9889e5
updating file engine and test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7252 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:09:54 +00:00
renan.saddam
bc82967dd1
* fixing "Nesting level too deep" in PHP 5.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7249 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 21:12:17 +00:00
gwoo
73eab59ada
closes #4000 , added test case to show ext functionality is working as expected
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7248 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 20:09:24 +00:00
gwoo
91d86b91a4
fixes #4832 , lastinsert in postgres. test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7247 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 15:59:27 +00:00
mariano.iglesias
6eb4aba543
Changing test for Containable to reflect #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7246 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 06:33:31 +00:00
gwoo
ca38b035b5
fixes #4790 , restoring associations in Containable. Thanks to maular for the patch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7245 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 04:41:15 +00:00
gwoo
352b121220
fixes #4916 , i18n quoted strings. fixes #4968 , quoted strings in cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7243 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:27:33 +00:00
gwoo
67f55ba53e
fixes #3869 , required css for validation fields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7242 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:07:33 +00:00
gwoo
4759a4506b
better fix for #3869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7240 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:31:44 +00:00
gwoo
d29883993e
fixes #3869 , form 'required' CSS when not actually required
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7239 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:16:34 +00:00
DarkAngelBGE
8b9aa057dd
adding test for #4861
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:18:30 +00:00
DarkAngelBGE
ca0fa7b796
adding a return value to the fixture::truncate() method,
...
fixing some doc comments in the fixture class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7236 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:15:28 +00:00
DarkAngelBGE
a0ff55926c
small formatting issues
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7235 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 14:28:45 +00:00
the_undefined
95522fa3a9
Applied patch by floob, fixes #4876
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7234 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 12:27:54 +00:00
mariano.iglesias
f7c447aa32
Adding test to containable, disproves and closes #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7233 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 00:02:30 +00:00
mariano.iglesias
689c0d9762
Fixing matches from previous tests added to Containable
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7232 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:55:03 +00:00
mariano.iglesias
8d8fb99e37
Adding one more test case to Containable, refs #4872
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7231 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:54:00 +00:00
mariano.iglesias
9746c713fa
Adding test cases to Containable, disproves and closes #4872
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7230 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:52:38 +00:00
mariano.iglesias
64d49c8afc
Adding test cases to Containable, disproves and closes #4934
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7229 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:41:54 +00:00
gwoo
42db64bbb3
fixes #4778 , rss helper addNs, closes #4949 xml helper serialize with test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7227 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:23:58 +00:00
nate
7b6ee7386b
Correcting issue where TranslateBehavior hijacks find() calls from Model::exists(), fixes #4765
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7225 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 02:33:04 +00:00
nate
df75a06756
Fixing coding standards violations in core, and adding misc tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
renan.saddam
66ea6be098
fixes #4958 , Windows directory separator issue
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7221 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 19:30:29 +00:00
gwoo
c75cad26d5
updating model test for new find syntax
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7217 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 17:06:50 +00:00
gwoo
7d06612b35
closes #4935 , NOT usage requires ()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7215 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 16:12:57 +00:00
nate
63217b7e10
Fixing failing tests in core helper group, closes #4946
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7213 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:31:00 +00:00
gwoo
8b493b2923
fixes #4947 , debugger using LOG_DEBUG
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7212 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:23:29 +00:00
gwoo
82f4a03385
fixes #4923 , argSeparator in Router::connectNamed()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7206 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 15:46:49 +00:00
gwoo
9bc88e5e40
update to test_manager to make sure dispatcher is loaded
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7203 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:11:57 +00:00
gwoo
52b9f7a889
closes #4903 , closes #4669 allows serving images from vendors and plugin vendors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7200 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 04:24:55 +00:00
phpnut
886183fcd4
Closes #4202
...
Adding patches
Added fixture files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7198 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-16 03:11:32 +00:00
DarkAngelBGE
16fa9effb0
closes #4918 , allowing multiple calls to testAction() in the same test run with supplied get data without interfering with the get data needed for the testsuite to work and also ignoring the get data used for the previous call to testAction
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7194 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 10:24:52 +00:00
DarkAngelBGE
ed6caf5d33
closes #4875 , fixing uninitialized model group key for fixtures
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7193 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:17:23 +00:00
DarkAngelBGE
a83d373f51
allowing the passing group statements to Model::find() in array notation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7192 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:08:50 +00:00
gwoo
552af82e7b
closes #4857 , data validation in translate behavior, if field in model data is passed as an array. Either the data with current mode local or the first value in the array of data is used for validation purposes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7190 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 23:21:09 +00:00
gwoo
9d950c7698
closes #4726 , test cases added to show special characters in select options
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7189 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:48:57 +00:00
gwoo
8707c6861a
fixes #4912 , correct label "for" in time input
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7188 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:40:01 +00:00
gwoo
2d3480a9ae
closes #4917 , adding test cases to show that 0 is properly handled in conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7187 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:26:01 +00:00
gwoo
df2be46b00
fixes #4874 , duplicate base when url is empty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7186 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:12:56 +00:00
gwoo
069fb0011c
fixes #4839 , assets served from vendors must provide proper extension to ensure accurate content type header is set
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7185 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:05:06 +00:00
gwoo
e57a7cc88c
fixes #4888 , closes #4864 Model::set when saving multi dimensional arrays, tests added from patch, thanks renan
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7184 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 20:39:27 +00:00
gwoo
21072ae707
fixes #4889 , or conditions and parentheses. Also removes unneeded parentheses which hopefully makes for cleaner looking query strings. Tests updated to match the new output.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7183 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 19:45:26 +00:00
mark_story
dada609521
Fixed issue where setting debug did not properly set error reporting level, test case added. Closes #4903
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7178 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 14:04:28 +00:00
gwoo
97a57a0f05
fixing bug in error handler when callbacks were moved to construct classes, moved callbacks back to dispatcher for now until we find a better place in the controller, fixed caching for the "home" page by adding check for "/', original test case was incorrect.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7177 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-12 18:36:08 +00:00
gwoo
75e157a167
updating error test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7175 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 16:01:11 +00:00
gwoo
1e231e9511
some cleanup, wrapping uses() in class exists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
phpnut
04343b8bc0
Adding changes to error.test.php that did not merge properly in last commit
...
Fixes #4883 for real this time
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7170 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 09:02:54 +00:00
phpnut
8a30290862
Fixes #4883 Duplicated component name
...
Removed bad test since AppController::beforeFilter() is now run when Controller::constructClasses() is called.
Fixed bug with App::import() not caching properly.
More performance changes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7169 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 08:54:27 +00:00
DarkAngelBGE
763800bf11
fixing component name in error.test to remove Fatal Error when running the all group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7167 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 07:56:51 +00:00
mark_story
44159ec303
Removed all references to Router::url in all helpers. Closes #4880 . Fixed failing test in RssHelper, added more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +00:00
phpnut
6807d4c333
Starting initial refactoring of current code base.
...
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
DarkAngelBGE
70aa290f5b
fixing find('list') calls with a fields array that doesn't contain the model alias, closes #4851
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7158 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 17:27:12 +00:00
DarkAngelBGE
e221e9fb61
forcing the db layer to make an WHERE field IS NULL when find statements are called with empty arrays, closes #4845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7155 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 16:17:44 +00:00
DarkAngelBGE
3c518c182f
fixing wrong NOT IS in dbo_source, closes #4844
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7154 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 15:45:54 +00:00
mark_story
ebe6e31ef3
Changed Scaffold views to allow Type, Alias, Detail, Data, and Field as Model names. Closes #4136 , #4859 . Updated tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7152 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 02:12:32 +00:00
mark_story
8c32547351
Adding test to formHelper. Testing checkbox in response to #4869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7146 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 12:34:30 +00:00
the_undefined
2d8e63ae7b
Refactored and updated postConditions to new operator syntax, fixes #4860
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7145 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 08:29:56 +00:00
the_undefined
2f761ccba1
Set correct permissions for dbo_oracle.test.php, fixes #4843
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7144 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 07:31:00 +00:00
mark_story
8f59f18877
Added fallback view file for scaffolded admin routes. Closes #4862 . Added tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7143 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 02:56:36 +00:00
gwoo
5807def032
updating some view stuff
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7140 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 15:44:46 +00:00
DarkAngelBGE
5869715a19
fixing broken controller test
...
fixing multiple times defined constant AppControllerExists for the all group to run
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7139 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 14:35:14 +00:00
DarkAngelBGE
7b7a45f66b
fixing a couple code coverage manager tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7137 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:21:45 +00:00
DarkAngelBGE
2ca6136504
changing interface for group test cascading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7136 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:19:57 +00:00
gwoo
1c21457eef
fixes #4858 , self referencing components
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7133 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-06 16:18:14 +00:00
DarkAngelBGE
52d72a63b5
fixing a little problem in acl test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7128 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 18:55:33 +00:00
AD7six
a978fb2661
adding Doc blocks to everything in tests folder missed in the first pass.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7126 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 15:20:45 +00:00
gwoo
f7365640bf
updating dbo source test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7124 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:54:56 +00:00
gwoo
288db81884
fixes #4850
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7122 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:48:54 +00:00
nate
7e2b58b8d7
Adding test case for DboSource::order(), disproves #3098
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7117 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:27:55 +00:00
gwoo
b3f605c1d8
fixes #4836 components initialize for error pages, also changing Object::stop() to Object::_stop()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7116 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:04:58 +00:00
gwoo
298ede514c
removing debug statement from form.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7115 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 17:07:40 +00:00
the_undefined
de164962dc
Disproving ticket, see #4709
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7114 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 16:27:19 +00:00
gwoo
071af32eb2
adding test cases showing usage of showParents in form helper, closes #4831
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7113 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 15:57:45 +00:00
mark_story
55bcf1e25e
Components can have settings assigned in the components declaration, tests added. Closes #4055
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7112 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 02:39:05 +00:00
TommyO
f1921c15ef
New tests added for xml-based helpers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7109 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:33:21 +00:00
TommyO
57b6dedc49
Additional tests added for XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7106 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 17:59:23 +00:00
mariano.iglesias
2d2096d9f7
Fixing issue where Containable was not resetting the original bindings properly when reset was false under some circumstances, fixes #4812
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7104 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 14:12:38 +00:00
nate
7dfb31200f
Improving test case list display formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7103 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 12:58:20 +00:00
nate
84a4bcfce4
Adding new-CGI environment settings to dispatcher test, disproves and closes #4807
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7102 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 11:38:20 +00:00
mark_story
fbed4d6bf9
Added maular's submitted tests. Closes #4786 , #4789
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7099 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 04:43:44 +00:00
mariano.iglesias
1d56175560
Adding missing attach to replicate issue what was already solved for #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7098 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:41:29 +00:00
nate
af16245ab0
Fixing persistent connection handling in Postgres driver, updating fixture with unique index name, removing support for deprecated 'connect' key in database drivers, closes #4773
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7097 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:26:40 +00:00
TommyO
93864f608a
Added test cases for Xml namespaces
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7096 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 01:42:05 +00:00
mark_story
4b1335797c
Updated session lib test to use fixtures, fixes some of the errors in the test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7095 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 23:57:30 +00:00
AD7six
f44c755475
Adding doc blocks to everything in the tests dir
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7094 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:22:55 +00:00
mariano.iglesias
04b8270fb6
Adding tests to show use of bindModel with reset false and pagination in Containable, closes #4812
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7090 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 18:05:45 +00:00
gwoo
a7289ff89d
updating cache engine to better deal with prefixes for multiple apps. Allows fully or partially overriding core settings from core.php. fixes #4810
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7089 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 17:35:56 +00:00
gwoo
09fae6203d
fixing issue with references from latest component refactor. test case added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7088 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 04:57:06 +00:00
mark_story
1bc9d198cc
Updating skel/cake.generic.css to remove validation warnings. Added test icons to test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7086 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 03:36:20 +00:00
mark_story
7820d639b8
changed column datatyping in __destroy() closes #4782 . Updated session test to use session fixture.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7084 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 22:03:29 +00:00
mariano.iglesias
3cfa3132e4
Fix issue with test and precision of float numbers. Adding test to show use of quoteKey, closes #4806
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7083 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:22:59 +00:00
mariano.iglesias
4b2b8fcc1c
Adding tests to show HABTM saving with custom model keys, disproves and closes #4791
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7082 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:04:30 +00:00
mariano.iglesias
7101b8d4cd
Adding tests for grouping with Product model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7081 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 19:00:33 +00:00
mark_story
9bea02d518
Adding product fixture and product model for group by tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7080 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 18:26:25 +00:00
mariano.iglesias
768e0c748b
Keeping index when setting validation errors for saveAll, fixes #4769 and closes #4462
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7079 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 22:01:47 +00:00
mariano.iglesias
29c784be15
Adding test for issue when group and order are specified for a find
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7077 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 21:29:37 +00:00
gwoo
73e926fea8
adding test to model, closes #4809
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7076 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 16:57:30 +00:00
nate
39feb3f7c1
Refactoring DboSource. Model array conditions must now have comparison operators on the left side, fixes misc bugs, updated core to reflect changes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7075 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 12:36:38 +00:00
gwoo
c57b5611a0
adding patch for Acl::allow(), fixes #4792 , closes #4781
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7072 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:31:30 +00:00
gwoo
14df77c12d
removing memory usage line that was usage in component test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7071 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:03:49 +00:00
gwoo
cf896eaa9b
refactoring component handling, closes #4795 , tests added. deprecated Controller::_initComponents();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7070 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 03:54:22 +00:00
mariano.iglesias
3a643bad92
Adding test for non existing layout when calling SessionComponent::setFlash, disproves and closes #4798
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7069 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 03:06:07 +00:00
mariano.iglesias
a94c890734
Adding test to show original associations working correctly, disproves and closes #4790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7068 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 02:59:55 +00:00
joelmoss
d294e91d42
Fixing PHP error with $divOptions in FormHelper::input() when passing $option['div'] = false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7066 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 16:05:53 +00:00
joelmoss
03322a31d7
FormHelper::submit() now accepts alternative wrapping tags, instead of a div.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7065 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:44:39 +00:00
joelmoss
4dfe7333b7
FormHelper::error() can now be passed the tag to wrap the error message in.
...
FormHelper::input() can now be passed the tag to wrap the input element in; same applies to the tag that wraps the error message.
Corrected date format in Form test testMonth().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7064 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:07:32 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
DarkAngelBGE
f749143f5d
enabling nesting of group tests in TestManager::addTestFile
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7060 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:27:56 +00:00
TommyO
ecc4347e25
Fixed bug for Authenticating against SMTP server. Added test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7058 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 17:26:43 +00:00
mark_story
78ff2ad4bd
Implemented 'group' by conditions for model finds. Added tests from 'wluigi' Closes #2833
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7057 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 12:27:23 +00:00
AD7six
4bafc397f9
fixes #4761 , tree behavior parameter array merge logic incorrect
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7056 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 16:02:31 +00:00
AD7six
26a31efbe5
fixes #4761 , visibility in tree test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7054 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 15:26:29 +00:00
mark_story
ca48055ddb
Added ability to specify cdata blocks and ignore special character stripping in RssHelper. Tests updated as well. Closes #4491
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7051 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 02:19:55 +00:00
gwoo
047c5fc040
refactor ShellDispatcher::parseParams(), fixes #4771
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7049 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 21:43:15 +00:00
gwoo
a2b873d0f8
adding test to schema, closes #4731
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7048 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 18:44:55 +00:00
mark_story
78e534b73b
Refactored month() to take monthNames in the options array. Added options descriptions to several doc blocks. Tests updated.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7047 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 00:07:00 +00:00
gwoo
13a717aed6
updating Cache engines, fixes #4759
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7045 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 19:24:09 +00:00
nate
9eeecc8755
Adding content stripping fix for email component, fixes #4753
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7043 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-25 18:08:55 +00:00
TommyO
c9c3983296
Additional email component tests. Fixes for existing tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7042 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-25 15:39:31 +00:00
mark_story
dcdfdb3cbe
Updated Auth redirect url generation. Now correctly retains passedArgs and namedParams. Added tests for this behavior. Closes #4750
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7040 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 22:43:19 +00:00
mark_story
9da3e638df
Applied Enhancement submitted by 'chjunior', month display can be set to numbers or translated text. Closes #4327 . Tests also updated.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7039 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 04:00:26 +00:00
mariano.iglesias
060bbf1caf
Adding test to show proper use of allowEmpty on validation rules, closes #4749
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7036 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:46:42 +00:00
nate
6a99a6ba60
Changing Model::getColumnType() to return null for unknown fields, allowing for type introspection, updating docblock for Model::hasField(), fixes #4751
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7035 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:40:50 +00:00
AD7six
fdc26e38aa
adding test case to address #4747
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7032 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 17:46:37 +00:00
mariano.iglesias
9c722b6999
Improving field detection in Containable. paginate() now avoids sending recursive to find calls when it is not explicitly set. Adding more tests to Containable to show how to paginate, fixes #4746
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7030 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 16:12:14 +00:00
mariano.iglesias
88b16a1d6c
Updating model test for slow DB connections
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7028 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 14:48:55 +00:00
the_undefined
54715db5dd
Made DboSource::length return string for float-like values, added a bunch of tests, fixes #4739
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7027 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 07:09:16 +00:00
nate
c6e5ed8aba
Adding test for ACL node creation with parent ID, disproves #4098
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7026 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 06:16:50 +00:00
nate
57473a4633
Fixing XML test for case where App.encoding is empty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7025 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:53:49 +00:00
gwoo
deb972d13d
fixing theme view test usage of error handler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7024 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:37:43 +00:00
gwoo
d5f71ccadf
fixing view test usage of error handler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7023 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:26:33 +00:00
the_undefined
52bae8a7bf
Made form helper pick up field definitions outside the current context
...
Made form helper handle maxlength for float fields properly, fixes #4724
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7021 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:14:57 +00:00
nate
7402680cc1
Misc code formatting and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7020 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:11:41 +00:00
mark_story
6384da5b53
View::beforeLayout and View::afterLayout now implemented closes #4722
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7018 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 02:16:36 +00:00
nate
f2ea3c8bb0
Refactoring DboSource to use Model in order to properly quote values by column type, correcting serial integer schema generation in DboPostgres, fixes #4702 , refactoring TreeBehavior to use DboSource::calculate(), fixes #4725 , updating docblocks, fixing DboSource test to be database-agnostic, misc. whitespace fixes, updating DboSource test to reflect new quoting rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7015 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 19:05:37 +00:00
the_undefined
e256d4a814
Applied patches by 'asavoy', fixes #4707
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7014 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 18:18:23 +00:00
mariano.iglesias
62bf371aec
Allowing paginate to override the default find type for fetching records.
...
Set the find type as the first string parameter in your paginate settings:
var $paginate = array('popular', ...);
Check the test case for an example.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7013 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 17:07:42 +00:00
gwoo
aaab0306aa
removing exit() and replace with $this->stop();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7012 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:57:46 +00:00
mariano.iglesias
ac9a96663d
Adding tests to paginate() to make sure extra parameters cannot be defined via URL
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7011 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:42:56 +00:00
mariano.iglesias
8f92952d46
Allowing paginate() to send any extra parameters to the find call, and updating it to use new find notation.
...
Updating test in Containable to reflect how to properly use pagination: just set your 'contain' setting as you do with other pagination parameters, for example:
var $paginate = array('Article' => array('conditions' => ..., 'contain' => array( ... ));
and then do your normal paginate(), without having to set reset to false nor call resetBindings(). Check the test case for an actual example.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7010 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 16:25:10 +00:00
AD7six
d1d06eb4fe
correcting invalidLftRght test to not attempt to set not-null fields to null
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7009 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 15:33:41 +00:00
mariano.iglesias
ea94b57ec1
Properly setting non-array option overrides, fixes #4732
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7008 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 14:22:12 +00:00
mariano.iglesias
340496079f
Removing countReset option from Containable as pagination support will be handled from paginate
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7006 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 13:43:23 +00:00
nate
5def68bf30
Updating Model test to reflect TreeBehavior changes, adding association support to Model::getColumnType()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7005 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 12:56:41 +00:00
joelmoss
17c542d76d
HtmlHelper::tableCells() now accepts a fifth parameter $continueOddEven, which by default is true, thereby not affecting current behaviour. When false, $count will not be static, and will therefore start from zero, giving correct odd and even values if they are passed. Fixes #4222
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7003 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 09:13:23 +00:00
joelmoss
9b514352dc
Set::combine() now returns an empty array if first passed var is empty. Fixes #4709 and #3784
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7002 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 08:21:08 +00:00
nate
fbdb4af2c1
Supressing header exceptions in RequestHandler test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7001 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 03:01:22 +00:00
mark_story
62d4397d4a
All components group works. Acl test and Auth test were clobbering each other.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7000 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 02:46:24 +00:00