Commit graph

4106 commits

Author SHA1 Message Date
TommyO
48f55a0f56 Greatly modified the way newLine characters are handled.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7437 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 17:02:22 +00:00
gwoo
ed6ea45581 closes #5207, empty values in scaffold view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 14:33:44 +00:00
gwoo
a29b328c16 closes #5206, adding clearstatcache() to File::delete()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7435 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 14:19:29 +00:00
renan.saddam
5319e89b5c Refactoring RssHelper tests.
Adding tests to multiple category inside item. Refs #5135.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7434 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 03:24:18 +00:00
renan.saddam
57575402bc Removing deprecated methods. Commenting several classes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7433 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 03:22:25 +00:00
mark_story
0f8326e376 fixing error from earlier
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7432 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 02:53:56 +00:00
gwoo
18c0e70151 fixing root vendor path which was changed in 7422
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7431 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 20:09:27 +00:00
mark_story
e7e43252f3 Allowing overriding of schema class and file name. Closes #5175. Fixed issue with php4 compatibility in CakeSchema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 19:46:44 +00:00
DarkAngelBGE
b3f06defcd adding workaround for schema generate snapshot. Fixes #5159 Adding documentation for schema generate snapshot.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7429 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-04 16:53:39 +00:00
AD7six
ac6c22d910 Allowing schema test to run as part of a group test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 17:41:05 +00:00
AD7six
903b78d108 Changing FormatColumns to refer to model->alias instead of model->name
Test case modified to use a unique class name (to allow test groups to run)


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 15:32:33 +00:00
nate
c917c611dc Adding Spanish-language error message detection to DboMssql, fixes #5195
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7426 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 14:12:08 +00:00
mark_story
d9de0c6cd5 Adding documentation to doc-blocks for View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 05:24:10 +00:00
mariano.iglesias
eb02ec4ca9 Fixing issue on Containable when multiple unbindings take place on the same model, fixes #5096. Fixing notices on unmergable results on DboSource.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7424 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 21:56:55 +00:00
AD7six
c3e28fdb66 correcting eroneous reference to $db in model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:57:04 +00:00
AD7six
0bfaa1ab89 Modifying the core path method to break on the first found core installation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:49:54 +00:00
AD7six
53dcefff53 Modifying dbo_source to refer to $this->fullDebug rather than Configure::read() to determine whether or not to log
queries
modifying fixture loading to not log create, drop, truncate statements
correcting model tests that change fullDebug to reset to the value before the test ran


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 19:41:53 +00:00
DarkAngelBGE
f131b2e441 refactoring Security::hash(), fixing two broken tests in Security
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7420 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:44:42 +00:00
DarkAngelBGE
27125a247b fixing broken sanitize::escape() test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:31:50 +00:00
renan.saddam
a07a023bbc Added tests to prove conditions parsing complex keys bug. Refs #5134
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 14:26:50 +00:00
renan.saddam
616682decd Added tests to save data with non existent fields. Closes #5154 as invalid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7417 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-02 00:50:40 +00:00
mark_story
9e9775ee53 Fixing clearCache() no notices are generated. Closes #5012
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7416 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 23:46:53 +00:00
the_undefined
8fb9a50d3c Added test for using Set::insert to overwrite keys with empty values and reverted change permitting it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:52:34 +00:00
AD7six
739c5169e4 fixes #5064 Preventing 'floating' results from being returned by find('threaded')
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7414 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:49:56 +00:00
mark_story
5ff62650e5 Correcting file layout in test_app. Fixing tests in Configure test and ThemeView Test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7413 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:23:16 +00:00
mark_story
bdf4c8406c Fixing broken view tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 15:50:37 +00:00
nate
185a832e22 Removing column length from unsupporting columns in DboPostgres::buildColumn(), fixes #4804
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7411 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 13:10:37 +00:00
TommyO
570145d568 Added test to show (deprecated?) support of string status codes in redirect().
Fixed fail on string status codes in redirect().

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7410 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 11:27:53 +00:00
nate
8284872b82 Adding schema scoping to table description queries in DboPostgres, fixes #5006
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:33:01 +00:00
nate
793295036f Re-fixing Model::set() to allow for fields that don't exist, fixing model validation with messages, adding tests to prove parameter order for custom validation errors, refs #50005
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7408 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:28:59 +00:00
nate
661e757612 Refactoring configuration handling in DataSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 06:08:23 +00:00
nate
22edda11ad Adding FormHelper test to disprove ticket #5184
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 05:39:53 +00:00
nate
f5977baeb5 Fixing magic find methods in DboSource, and fixing DboSource::reconnect() to merge old params instead of overwriting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7405 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:54:54 +00:00
nate
974e62baf1 Adding file to previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:45 +00:00
nate
0119c0d46f Fixing HTML entity escaping in helpers, fixing broken XmlHelper test, all helper tests now passing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:16 +00:00
mark_story
c5cfc77365 Removing php5 only code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7402 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 01:34:17 +00:00
gwoo
4a94397b43 removing deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 01:04:03 +00:00
gwoo
cf8ddbada0 reverting accident commit in time helper from [7387]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7400 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 00:48:14 +00:00
gwoo
c350448cd8 adding a notEmpty rule to validation and updating bake default for strings to use notEmpty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 23:58:20 +00:00
gwoo
b0d2451a97 removing optional instantiation of Set class. Adding toArray() to xml class and calling it from Set::reverse(); updated test cases.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7398 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 23:50:32 +00:00
gwoo
e8acb375ec fixes #5179, set::numeric and other fails in set.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 19:36:28 +00:00
gwoo
4a5282bcd7 closes #5172, AuthComponent login with with UUID
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7396 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 19:00:12 +00:00
gwoo
7ce4bd4131 closes #5160, finishing tag implementation on paginator helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 16:58:57 +00:00
renan.saddam
93c29a1f3a Added tests to cover numeric array comparison. Refs #5179
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 16:33:56 +00:00
gwoo
f6d269a9e0 closes #5142 primary key on custom join models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7393 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 15:38:23 +00:00
mark_story
f97a3f27b0 Quick update to AclBehavior test. Expanded coverage on deletion of dependant Nodes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7392 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 03:35:26 +00:00
mark_story
3402f40061 Adding test case for AclBehavior. Modified AclBehavior to use $model->name for configuration and operation. Closes #5163
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 03:26:15 +00:00
mark_story
7f75f74f5b Updated test_plugin/tests views to reflect changes made in tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7390 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 00:55:24 +00:00
mark_story
8b28eec1ab Removed almost all am() calls from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 00:16:16 +00:00
gwoo
a4499befe3 fixes #4086 caching with params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7388 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 21:14:22 +00:00
TommyO
b6e9888753 Replaced all instances of ife() in /cake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 20:34:01 +00:00
gwoo
565163303c changing ClassRegistry::params() to ClassRegistry::config()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7386 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:53:12 +00:00
nate
5c796f4dbe Disabling caching on SQLite table list queries, adding SQLite test, fixes #5174
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7385 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 19:18:48 +00:00
TommyO
7c7410bda2 Replaced instances of ife() with more sutiable alternatives in model.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7384 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 16:26:48 +00:00
DarkAngelBGE
501437baa0 introducing ClassRegistry::params() to fix testing of models associations; also removes the need for TestModels that extend the model under test to change the useDbConfig, fixes #5158, #5076 (kudos to nate)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 15:37:26 +00:00
DarkAngelBGE
eddf2ee5f3 conditional inclusion for ErrorHandler class in the session.test file in order to prevent the CakeSession class being redeclared when running the testsuiteshell; fixes #5092
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7382 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 14:00:36 +00:00
DarkAngelBGE
0948035eba fixing broken test in theme test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7381 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:57:24 +00:00
DarkAngelBGE
0d147f8652 fixing broken test in view test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7380 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:56:45 +00:00
DarkAngelBGE
1052d21522 fixing broken tests in FormHelper, closes #5088
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:40:59 +00:00
DarkAngelBGE
1fdc76ba1a enabling different paths for plugin tests closes #5105
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:39:17 +00:00
DarkAngelBGE
838ecb8527 doc comments for the test manager class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:37:06 +00:00
mark_story
3c1ebafa0a Modified dbo_mysql update() fixes issue with updateCounterCache on self join tables. updateCounterCache query optimized. Closes #4652, #5152
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7376 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 02:22:15 +00:00
mark_story
bd298f0ff3 Fixed broken test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7375 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 01:12:03 +00:00
mark_story
4267a4f631 Added patch from 'cavendish' releasing previous result resources in resultSet(). Closes #4801
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7374 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-29 23:29:26 +00:00
mark_story
96b5a6fa87 Added test to prove #5125. Added documentation to updateAll.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7373 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-29 01:18:57 +00:00
gwoo
e0e20aa4fb fixing check for cache settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7372 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-28 20:29:55 +00:00
gwoo
ce5550fb37 adding Cache::set() will change settings until write, delete, clear, or set is called. refactoring class to use Cache::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-28 02:29:58 +00:00
mark_story
ac45340a71 Optimization when checking for setTable prefix.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7370 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 15:55:49 +00:00
gwoo
460b219810 small refactor to Controller::paginate handling of sort direction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 15:55:19 +00:00
mark_story
9b857e9f36 Added camelCase check for setTablePrefix. setTablePrefix now fires on PHP5. Closes #5147
Updated test in model.test to reflect changes in empty string handling for float and integer types.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 04:19:54 +00:00
mark_story
8185fb87fc cleaning up requires to be App::import()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 03:36:30 +00:00
mark_story
8d2e4721e3 Added checks for empty string in integer columns. value() Now returns NULL. Closes #5141
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 02:49:02 +00:00
gwoo
e26b7e7a63 refactor dispatcher, fixes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:09:20 +00:00
gwoo
caa7bb6218 updating cache engines so key will expire when duration is changed, updated datasource and configure to for new settings, closes #5083
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:00:20 +00:00
nate
4451c02b1c Corrects handling of fully-qualified URLs in Router::normalize(), fixes #4036
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7363 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-25 11:45:00 +00:00
mark_story
6add903d84 Corrected key in validation::multiple test. closes #5146
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7362 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 23:55:15 +00:00
TommyO
5dc4388fa0 Added tests for template and layout rendering. Currently fail as component doesn't wordwrap properly. May also explain #4498
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:54:39 +00:00
TommyO
e235e422ed log fix: Committed in error. No real changes made to file.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7360 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:52:37 +00:00
TommyO
c466cfdc8b Adding elements and templates to test app for EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7359 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:34:46 +00:00
nate
b0b9c1e4bd Adding PaginatorHelper tests for additional custom URL settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 04:04:21 +00:00
mark_story
cc098629a6 Added direction check to Controller::paginate(). paginate() now forces 'asc' when wrong. Added tests. Closes #5120
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:46:39 +00:00
mark_story
b45a369d1d Added string cast to FileEngine::read() closes #5094
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:23:46 +00:00
mark_story
d7b043a374 Fixing test_app/test_plugin files. Many had incorrect file / class names. Added tests to cover plugin class loading, and dispatching.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:19:05 +00:00
gwoo
d6d7bd68bd changing include to readfile, fixes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-23 20:53:59 +00:00
mark_story
c1dce9e7ff Implemented Validation::multiple() Tests added. Closes #5086, #3329, #4852
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-23 02:15:48 +00:00
mark_story
71634b6b1d Relaxing Sanitization on error messages to prevent UTF-8 characters from being stripped. Closes #5133
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7352 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 23:33:01 +00:00
mark_story
d9bb166721 Added firebird transaction commands. Thanks to 'daniele.teti'. Closes #5130
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7351 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 23:22:17 +00:00
phishy
9cf8a77e88 added fetchResult() wrapper
fixed queryAssociation(), it was producing invalid queries


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7350 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 12:20:18 +00:00
mark_story
2bf7181f05 Added check to Configure::getPaths() to account for chroot 'ed hosting. Tested with open_basedir. Closes #5093
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7349 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-22 01:12:53 +00:00
mark_story
0b23ec64ff Modified all remaining tests to use CakeTestCase. Switched all uses() calls to App::import().
Added tests to configure.test to test importing from plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-21 02:40:58 +00:00
mark_story
c286736f69 Added afterFind callback to Models where recursive >= 2. Added tests from 'ezyang'. Closes #5103
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7347 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-20 17:25:39 +00:00
mark_story
c1bac3358a Adding additional tests related to prefix routing. Shows usage in paginator. Refs #5115
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-19 17:20:42 +00:00
mark_story
c19e7ff3da Modified test to use accented characters.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:14:28 +00:00
mark_story
993bee59fa Moving charset meta tag above title tag. Closes #5107
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7344 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:07:42 +00:00
the_undefined
d363dfccd1 Fixed documentation for date 'my' validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7343 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 15:59:18 +00:00
mark_story
4355a13939 Altered TextHelper::truncate() when using exact = false and considerHtml = true close tags would be chopped off leaving incorrect Html. Closes #4941
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:40:49 +00:00
mark_story
2e5532348d Removed end of generated file whitespace from plugin bake task. Closes #5102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7341 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:34:03 +00:00
renan.saddam
8bbc0d7078 Added test case to prove #5096. Refs #5096
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 00:48:58 +00:00
joelmoss
029f2ab75c Created test to prove #4941. Refs #4941
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7339 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 11:01:44 +00:00
mark_story
b2d74c8be1 Added tests to cover model validation setting errors, controller render passing error and form helper field error display. Closes #5077.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7338 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 02:13:14 +00:00
mark_story
c53669f928 Updated CSS files to remove display:block property on all inputs. Added additional padding to radio buttons. Closes #5073
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7337 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-13 23:28:45 +00:00
mark_story
684fb5fcce Replaced in_array() with array_key_exists(). Closes #4465
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7336 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:23:08 +00:00
mark_story
20851bd548 Added ability to singularize 'gloves', 'wolves', 'shelves' and other ves words. Added tests. Closes #5080
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:22:09 +00:00
mark_story
96fa4e4db1 Updated skel/config/routes.php to reflect .ctp extension. Fixed spelling error. Closes #5084
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 17:37:32 +00:00
mark_story
5ec8eef6ce Added userOffset check to timeAgoInWords, tests added. Closes #5068.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 03:30:28 +00:00
AD7six
a98cafcfbe Adding test case for #5064
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7332 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 17:51:08 +00:00
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
gwoo
c3aa47f08e updating Securiity::hash(), closes #5060, closes #5044.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7326 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 17:13:09 +00:00
mark_story
e20944a976 Added patch from 'biesbjerg' corrects timestamps not being applied to Vendors css and js. Closes #5045
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 01:19:41 +00:00
phpnut
3713fe25ae Reverting change to Security::cipher(); in [7322]. Newer versions of PHP 5.2.1 and above no longer produce same identical seeds
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7324 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 15:03:46 +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
1c2b1ef8eb Fixes #5008, DBO Source fails on >= query fixes failing tests added in [7302]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7319 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:56:56 +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
30a49a39e4 Fixes #5016, Security->disabledFields not working properly. Empty value arrays needed to be unset
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7314 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 10:10:19 +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
23dac08d77 Updated non-existent variable, removes notice error, closes #5043
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7308 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 17:34:09 +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
80b6e027c1 Fixed infinite recursion on missingHelper error triggered by missing helper defined in AppController. MissingHelpers are now removed from the helpers array to prevent recursion. Closes #5010.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7305 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-02 00:54:53 +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
DarkAngelBGE
90d243aabc adding constructClasses() call to controller test generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7301 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 12:36:20 +00:00
nate
200673dfce Fixing database errors when no DB connection present on initial splash page
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7300 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 01:09:13 +00:00
mark_story
551cf75bbc Added check for empty array, removes warning. Closes #5012.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7299 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-29 21:26:37 +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
2967fd8d01 Merging 1.2.x.x changes and enhancements to trunk: [7295] [7294] [7293] [7292] [7291] [7290] [7289] [7288] [7287] [7286] [7285] [7283] [7281] [7280] [7278] [7276] [7275] [7274] [7273] [7272] [7271] [7269] [7268] [7267] [7266] [7265] [7264] [7263] [7262] [7261] [7260] [7259] [7258] [7257] [7256] [7254] [7253] [7252] [7251] [7250] [7249] [7248] [7247] [7246] [7245] [7244] [7243] [7242] [7241] [7240] [7239] [7238] [7237] [7236] [7235] [7234] [7233] [7232] [7231] [7230] [7229] [7228] [7227] [7226] [7225] [7222] [7221] [7220] [7219] [7217] [7216] [7215] [7214] [7213] [7212] [7211] [7210] [7209] [7208] [7207] [7206] [7205] [7204] [7203] [7202] [7201] [7200] [7198] [7197] [7196] [7195] [7194] [7193] [7192] [7191] [7190] [7189] [7188] [7187] [7186] [7185] [7184] [7183] [7182] [7181] [7180] [7179] [7178] [7177] [7175] [7174] [7173] [7172] [7171] [7170] [7169] [7167] [7165] [7164] [7163] [7162] [7158] [7155] [7154] [7153] [7152] [7149] [7148] [7146] [7145] [7144] [7143] [7141] [7140] [7139] [7138] [7137] [7136] [7134] [7133] [7128] [7126]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 09:09:03 +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
phpnut
558c93a46e Correcting typo in package doc tag
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7293 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:23:27 +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
phpnut
815c6fb1f5 Fixes #4997 CookieComponent write multiple values doesn't not obey $encrypt
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7291 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:14:55 +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
gwoo
7ad1790ea2 removing and moving deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7285 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:19:04 +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
0fc7355e6b another small optimization from last fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7281 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 05:34:37 +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
b8714ede74 fix to paginate sort order for self associated models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7278 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 03:12:45 +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
5e92674990 fixes #4995, call time pass by reference in dbo_mysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7275 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 23:07:42 +00:00
nate
376ee191cb Commenting fix in DboMssql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7274 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 21:13:10 +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
2ce0f1f3cf deprecating findAllThreaded
removing __doThread
adding find('threaded')


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7271 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 19:33:44 +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
gwoo
e70f45e1d6 fixes #4987, unable to delete by adding version compare and setting useAlias in DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7268 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:24:16 +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
nate
f52706ea9a Fixing transaction statement and Italian-language error checking in MSSQL database driver, fixes #4074, fixes #4890
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7266 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 14:45:32 +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
gwoo
330992a8a3 fixes #4968, double quoted strings in cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7251 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 23:13:28 +00:00
gwoo
ef92581451 updating comments in core.php, closes #4979
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7250 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 22:58:06 +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
9661a54a13 reformatting and fixing doc comment in inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7244 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 03:08:35 +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
72620bec84 fixes #4967, schema printing error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7241 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:53:30 +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
gwoo
1ff02bde7a fixes #4861, find all recursive 2 with habtm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7238 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 17:34:05 +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
605bfa5bc5 closes #4842, clean up logic in ErrorHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7228 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:35:17 +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
ebe635a827 Correcting syntax error in DboAdodb, fixes #4965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7226 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 13:03:25 +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
nate
f7a4858503 Correcting coding standards violations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7220 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 11:57:56 +00:00
gwoo
c9eff14ca4 adding import for ConnectionManger to modelTask
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7219 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 00:42:08 +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
a0c4d2783a removing redundant $not from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7216 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 16:15:49 +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
gwoo
dd909280e5 closes #4837, updated usage of ini_set in index.php and test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7214 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:45:54 +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
21e23ba0bd fixes #4945, shell initialize loading models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7211 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:20:05 +00:00
gwoo
ce4cbba4f5 fixes #4944, documentation of setDataSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7210 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:46:56 +00:00
gwoo
2b699435f0 initial commit for dbo hasResult. should lead to further refactoring
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7209 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:28:17 +00:00
gwoo
73d9fec80d closes #3691, fix re added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7208 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:23:48 +00:00
gwoo
5257c95316 #fixes 4940, use default config
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7207 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:18:26 +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
193959ebf3 closes #3901 unnecessary setting of path in App::__settings, closes #4115 DboSource::fetchAll() does not need resultSet for every row
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7205 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 15:43:08 +00:00
gwoo
b5c4681a11 fixes #4893, open_basedir errors messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7204 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:47:11 +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
8ff4ae273c proper fix for #4931
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7202 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:06:05 +00:00
gwoo
ccddcec642 fixes #4931, array_intersect_key() error in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7201 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 04:30:38 +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
gwoo
01bf6526c4 fixes #4911, scripts for layout on cache refresh
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7197 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 19:48:15 +00:00
gwoo
eb67aa879e fixes #4841, TreeBehavior ambiguous columns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7196 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 17:51:25 +00:00
AD7six
9d87ce5a06 minor syntax correction, changing a string condition to be an array for consistency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7195 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 13:08:36 +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
4e36492440 fixes #4919, updating model to use $this->__exists throughout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7191 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 02:58:23 +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
gwoo
2756634b73 removing deprecated methods from HtmlHelper, File, and Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7182 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:53:06 +00:00
gwoo
7cd2cd3ae2 fixes #4898, Config.language in l10n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7181 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:08:54 +00:00
gwoo
2999b7f15d fixes #4902, email smtp headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7180 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:03:47 +00:00
gwoo
e9daddddf3 fixes #4910, aclnode loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7179 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 16:40:45 +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