Commit graph

2121 commits

Author SHA1 Message Date
nate
3140144a1f Adding behavior test case and fixing validation behavior methods, fixes #4205
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6471 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 02:47:10 +00:00
nate
0572926d49 Refactoring model behavior handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-21 15:36:13 +00:00
phishy
5c9c5dbb47 removed duplicate baseConfig
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6468 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-20 20:02:18 +00:00
gwoo
9d5435266e reverting httpsocket change from [6439]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6466 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 03:59:27 +00:00
gwoo
fb4244bb89 updating Helper::setEntity() and form.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6464 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-18 21:58:32 +00:00
john
18dc1fd456 Undefined var in parse() method causing problems. Original author most likely meant $attr.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6463 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 20:47:44 +00:00
gwoo
e9c15fe33e updating ErrorHandler with test, fixes #4102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 16:49:17 +00:00
nate
0073683a54 Added Configure option Asset.timestamp = 'force', to force asset timestamps in production mode, fixes #921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 17:35:13 +00:00
nate
d301d7a566 Adding Flash client detection to RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 05:32:46 +00:00
nate
766703f15f Fixing default route mappings, refactoring route generation, fixes #4109
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6456 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:11:33 +00:00
nate
e0fb76d757 Fixing undefined index error in Router::getParams() when rendering error pages in the test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6455 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:53:59 +00:00
nate
f3355bd74b Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
nate
50236e3431 Adding Object::dispatchMethod() as faster (OO) replacement for call_user_func_array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6452 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:02:40 +00:00
nate
96d2b4b738 Adding ACL component test coverage and whitespace fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6451 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:27:16 +00:00
nate
14523dc8c4 Fixing XML class references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
7f673226d7 Enabling suffixes for virtual fields, fixes #3724
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:20:43 +00:00
nate
7248048d85 Adding default configuration to Oracle driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6448 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 01:13:13 +00:00
phishy
cd8da1bd18 removed conect config parameter in favor of auto-persistant connection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6446 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-07 15:46:05 +00:00
nate
3e36695b1f Adding RequestHandlerComponent::beforeRedirect() callback to handle Ajax redirects, delaying initialization of content-types, fixes #2680
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6445 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-07 00:03:59 +00:00
nate
ab1a245086 Adding option to remove application base path to Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 20:47:48 +00:00
nate
e1e9a6fe28 Updating docblock for JavascriptHelper::link(), fixes #4079
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6443 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 17:34:55 +00:00
nate
5770e95fc9 Adding fixes and tests for Set::check(), closes #4077
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 15:48:31 +00:00
gwoo
0a52e958b9 adding patch for component initialize, fixes #4000
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6440 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 07:47:42 +00:00
gwoo
6abbb882f5 updating view error handling, fixes #4069 and fixes #4073, added long dash to escaped chr in http socket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 07:30:49 +00:00
nate
89052b0f54 Adding performance enhancement to Set::numeric(), adding $filterKey param to Model::create() to overwrite primary keys, closes #4046
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 02:35:12 +00:00
nate
1db0c07852 Fixing issues in Set::check() with implicit array-to-string casting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 23:08:21 +00:00
nate
afebe2d418 Fixing XML text node conversion support in Set class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 04:53:52 +00:00
phpnut
df805f0a66 "Closes #3940, adding inserting/updating of multiple translations at once.
Additional tests added for TranslateBehavior"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 21:14:13 +00:00
nate
acfc38e57d Fixing XML support in Model and Set classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 20:45:37 +00:00
nate
71bd08b950 Refactoring Auth / Security::hash()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6426 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:51:49 +00:00
nate
881cf3fc0a Adding foreign key check to Model::updateCounterCache(), fixes #4049
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:50:44 +00:00
gwoo
6e537beb73 fix typo in xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6424 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 09:32:01 +00:00
nate
5fcf4c7bb3 Clean-up from XML commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 05:00:44 +00:00
nate
172d355e05 Adding namespace support to XML class, as well as XML generation options, entity conversion, whitespace output support, node filtering, I could go on. Props to Mike O'Toole. Fixes #3476
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 04:53:09 +00:00
nate
7d39cad13f Updating docblocks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 02:03:04 +00:00
nate
18c2d9d446 Adding ModelBehavior::cleanup() callback for when behaviors are dynamically detached from models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6420 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 00:56:22 +00:00
nate
41cb80ee46 Removing deprecated function call from HtmlHelper::checkbox()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-30 15:19:53 +00:00
gwoo
5138bcda38 updating form helper field map, if var $map is defined it will use that, closes #3976
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 16:52:15 +00:00
phishy
97cae1c208 added support for introspecting oracle schema
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6417 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 14:25:48 +00:00
phishy
9ddbd992e9 chunked query generation for more than 1000 IN arguments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6416 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 02:38:54 +00:00
nate
423a56c958 Adding Model::attach() and Model::detach() for dynamic loading/unloading of behaviors + tests, fixes #4010
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 18:56:22 +00:00
gwoo
f00834f81a fixes #3608 vendorPaths in configure,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6414 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 17:17:11 +00:00
nate
377643cf2b Adding deprecation warning to Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6413 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 01:14:05 +00:00
nate
4e56b06f66 Adding Set::sort(), for sorting model results by association keys, tests included
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 20:22:45 +00:00
nate
39940856b8 Removing undefined variable notice for empty arrays in Sanitize::paranoid()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6411 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 03:31:33 +00:00
nate
b9d3c4e2e8 Updating Model::saveAll(), adding tests. Fixes #3871
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6410 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 01:57:39 +00:00
nate
d9691a19c8 Refactoring Router::mapResources(), adding tests for REST routing and HTTP method overrides
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-26 08:50:06 +00:00
gwoo
f598b58465 updating console so shells and tasks do not have to extend Shell, updated error handler params and maintained backwards compatibility closes #3538, updated Object::cakeError to add app_error, closes #3982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 20:32:10 +00:00
gwoo
cb27bcc21a fixes #3961 options in Html::tableCells,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 16:37:47 +00:00
nate
074cfeb75d Fixing Configure::listObjects() to not return incorrect core classes, closes #3954. Adding route testing support to cake console.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 04:14:58 +00:00