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
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
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
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
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
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
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
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
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
nate
5ce4469867
Adding fix for parenting issues in Tree behavior, fixes #4043 , fixes #4037
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6500 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 20:26:42 +00:00
nate
6546a39098
Updating Model::setDataSource(), table prefixes now switch when switching DataSource, unless a custom table prefix is set, fixes #4062
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6496 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:15:53 +00:00
nate
e58c397bc9
Adding fix for loading join models classes from plugins, fixes #4014
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6493 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:25:46 +00:00
nate
ab50975306
Correcting UPDATE query generation to support SQL standards and MySQL-specific features in parallel, fixes #4080
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6491 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:12:12 +00:00
gwoo
1fbc3e6a9b
quick fix for with and saveMulti
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6490 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 22:01:09 +00:00
nate
c8ed9424da
Fixing errors thrown in Model::exists() when $useTable is false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6484 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 04:35:20 +00:00
nate
97dded350f
Returning default column type for models with no schema defined
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6482 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:53:54 +00:00
nate
3a11fe2340
Refactoring find types in Model::find()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:50:38 +00:00
nate
c1251c8265
Adding DboSource fix for SELECT DISTINCT, fixes #4101
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6472 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:15:37 +00:00
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
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
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
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
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
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
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
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
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
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
nate
943eaf7549
Refactoring DboSource::fields(), updating column type handling in DboSqlite, fixes #3944 , using unquoted names to get column type in update queries, fixes #3917
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6398 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 02:21:28 +00:00
phpnut
5b29c6a71f
"Fixing -f param in schema, this fixes generation of scheme.php when model have not been created"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6388 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 20:36:50 +00:00
nate
4c6bbaffff
More Postgres abstraction/emulation fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-17 17:09:10 +00:00
phpnut
5b3cbf2ea0
"Refactoring TreeBehavior::recover();
...
Added TreeBehavior::reorder(); to reorder nodes of tree"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 16:51:18 +00:00
phpnut
520d179850
"Fixes #3876 , Associations do not work correctly in plugins"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6382 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 07:34:42 +00:00
gwoo
ce1b042843
updating schema, fixes #3816 and fixes #3896
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:06:28 +00:00
phishy
a9cd0f997d
fixed instances where invalid UPDATE and DELETE statements were being generated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 22:40:44 +00:00
nate
7b2627caa2
Fixing typo in DboSource::renderStatement()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 17:07:26 +00:00
nate
ff5e6c9002
Fixing Postgres sequence name generation for names not in the sequence map, fixes #3886
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6363 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 15:49:07 +00:00
nate
c8974be887
Refactoring fixture handling and Model tests, fixing UPDATE and DELETE queries for other databases, fixes #3794 . Only forcing 'test_suite' prefix on default database connection, fixes #3873
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:00 +00:00
nate
5e4a641003
Updating model test case and adding custom field support to Model::find('list'), closes #3802 (thanks GreyCells)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6360 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 03:16:19 +00:00
nate
aa7ca4e703
Updating docblocks of deprecated methods, closes #3819 , closes #3878
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 19:50:33 +00:00