Commit graph

2186 commits

Author SHA1 Message Date
phpnut
fa61b3fbda "Resetting numeric keys for paths"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6572 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:16:18 +00:00
nate
a9378fb681 Adding performance optimizations to dispatch cycle
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6570 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:04:36 +00:00
the_undefined
49a092f1d0 Removed code that was not needed any longer from Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 18:30:34 +00:00
the_undefined
32d9de160d Added/Fixed doc blocks for Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:19:56 +00:00
the_undefined
3daf495488 Added initial XPath support for Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:05:56 +00:00
nate
360b91eea7 Fixing HABTM associations on non-standard keys, fixes #4219, refactoring DboSource::calculate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6565 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:11:29 +00:00
nate
3ff5bfa829 Fixing default value for float columns in Postgres, fixes #3963
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6564 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:06:14 +00:00
phpnut
acc79fe0f3 "Closes #2508, Allow requestAction to use array urls
Fixes #4325, error pages no longer displayed since changeset
Closes #4329, remove am() usage in core"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
698d3e4f40 Removing default value for required parameter in HtmlHelper::meta(), fixes #4321
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 04:10:39 +00:00
nate
6fe1e62555 Implementing JavascriptHelper::$inBlock, docblocking JavascriptHelper properties, adding fix for AjaxHelper::sortable() 'overlap' option, fixes #4292
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 03:57:54 +00:00
phpnut
12acf6ab9f "Adding vendors path to corePaths to be used when cake core is placed outside of normal install paths"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6560 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 23:53:37 +00:00
the_undefined
7a769f68ca Restricted named route element to contain no special chars other then '_'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6559 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 15:19:46 +00:00
nate
2c3ec768c7 Updating model tests for Postgres, fixing Postgres metadata handling for UUID primary keys, adding Postgres tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6558 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 05:22:17 +00:00
nate
c1c35b2e13 Refactoring DboSource - removes all SQL from Model, refactoring transaction handling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6557 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 02:44:33 +00:00
phpnut
9ae17c25e5 "Closes #4305, fixed to allow cake core outside of normal install locations"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6555 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 16:46:33 +00:00
phpnut
57918f4199 "Fixing Controller::output; to allow access to the content in Contorller::afterFilter();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6554 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 13:24:36 +00:00
phpnut
a2db4e69b3 "Fixes #4305, Configure::corePaths() causes PHP safe_mode errors"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6553 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 11:01:37 +00:00
gwoo
57a61f8f82 fixes #4165, string conditions with translate behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 07:01:01 +00:00
nate
bacb74a6ef Adding fix for Set::reverse() XML handling, fixes #4275, plus fixes from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
nate
1ddeb7fbfe Fixing File class loading for FileEngine when called from console
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:22:04 +00:00
nate
35397debc8 Enabling Cache::write() to handle 'empty' values, fixes #4090
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6549 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:11:20 +00:00
phpnut
5374807164 "Fixes #3846, Security blackhole when no radio selected
Fixes #3920, Multiple select w/ checkboxes issues warning when all are unselected
Fixes #3962, validation POST never pass when select multiple is submit
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 00:25:59 +00:00
nate
8fc104b44b Correcting column quoting for custom-aliased fields, fixes #4228
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6543 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:15:08 +00:00
gwoo
be09e5a90d closes #3915, Folder delete does not require path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6542 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:14:12 +00:00
nate
98831d27fe Enabling mutli-record validation errors in FormHelper, fixes #4076
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6540 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 18:28:38 +00:00
gwoo
dd10cb191f fixes #3788, paginator numbers first and last issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 16:42:04 +00:00
nate
db1e079e5f Enabled specifying of join type in hasOne/belongsTo associations, fixes #4085
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6537 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 08:47:42 +00:00
nate
9e37b6fc26 Adding test cases for saving hasMany associations with saveAll(), ref #4035
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6536 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:59:23 +00:00
nate
9a6029f03e Fixing fully-qualified form field references, fixes #4068
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:36:34 +00:00
nate
ab7bf5a46c Fixing call-time pass-by-ref errors in Behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6533 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:00:05 +00:00
nate
e87d4e80dd Refactoring behavior method dispatch handling to work on PHP4, fixes #4296, refactoring schema test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6532 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 06:24:40 +00:00
phpnut
da19393614 "Fixes #4285, Importing a vendor in bootstrap.php fails to work.
If you want to use custom paths that are set in app/bootstrap.php you must first use the following code to set these paths before calling App::import() but after the $*Paths variables;
 * Configure::buildPaths(compact('modelPaths', 'viewPaths', 'controllerPaths', 'helperPaths', 'componentPaths', 'behaviorPaths', 'pluginPaths', 'vendorPaths'));
 * You would only use the *Paths in the above code that you have set."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6525 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 22:50:30 +00:00
nate
ae57eecc19 Adding test and patch for bug in Set::_ _flatten(), fixes #4297
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:33:22 +00:00
phpnut
63144591c6 "Fixes #3820, Email Component only sends message if using template and layout.
Fixes #4019, email component: attaching file is broke, fixes undefined variable, allows full paths to attachment.
Fixes #4171, Email Component: Lost a head line 'period' via SMTP method.
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6522 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:26:16 +00:00
nate
58e6da6a5b Adding test case for custom 'finderQuery' for HABTM associations. Disproves #4100
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6521 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:08:15 +00:00
nate
c096e20350 Fixing XmlHelper::elem() when rendering non-empty content values, fixes #4300
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6520 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 18:39:00 +00:00
gwoo
c1ea4dff88 fixes #3969, schema name for app dirs with special characters
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6518 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:30:44 +00:00
nate
24ea731e7f Making parsed parameters always show up at the beginning of 'pass', closes #4299
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6517 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:14:51 +00:00
phpnut
d801e5c897 "Fixing typo in [6514]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6515 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 05:58:14 +00:00
phpnut
0740ac519b "Fixes #3234, Session.cookie_path in php ini gets a buggy value when not using mod_rewrite."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6514 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 05:44:04 +00:00
nate
1a69866df1 Fixing custom hasMany associations, fixes #3918
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6512 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 04:36:20 +00:00
nate
0ee0324e20 Improving validation support in Model::saveAll(), adding tests for cross-database joins, disproves #4251
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6511 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 01:29:19 +00:00
the_undefined
885b41808f Fixed return value for Controller::setAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6508 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-04 23:44:50 +00:00
nate
12466ebe43 Making sure default extension is always set when Router::parseExtensions() is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6507 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:56:18 +00:00
nate
017afa637d Fixing View::render() for custom views on Windows, fixes #4265
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6506 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:30:52 +00:00
phishy
18b30e11b4 fixed bug in quoting of acl schema identifiers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6505 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 18:34:15 +00:00
gwoo
afedfae4bf fixes #4260, removed php5 syntax in xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6504 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 16:55:36 +00:00
the_undefined
5c6b6b9cf6 Removed illegal function names from Router::__named
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6503 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 16:01:46 +00:00
the_undefined
6ca8de212e Optimized Router for speed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6502 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-02 22:47:59 +00:00
nate
9fbf783286 Adding database prefix check in Model::setDataSource()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6501 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 20:30:01 +00:00