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
the_undefined
38c705a06b
Fixed some issue with initializing the HttpSocket in a certain way
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 23:17:55 +00:00
gwoo
e127d8f86f
updating ajax and form closes #3582 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:47:56 +00:00
nate
7e3a30fd85
Correcting database input value for midnight on 12-hour display, fixes #3927
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 12:53:37 +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
gwoo
a98c80d44b
updating form helper which really fixes #3869 , required css class, test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 00:39:44 +00:00
gwoo
70ebd40cdd
fix for empty var in debugger
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6396 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 22:25:20 +00:00
gwoo
39eb8a9218
updating encoding in HtmlHelper::charset((), fixes #3937
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:57:19 +00:00
gwoo
d901e0af31
fixed bake interactive models for self associations and error in Set:extract when data is not an array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:42:01 +00:00
gwoo
411bf98d40
updating form handling of required validation, fixes #3869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:52:13 +00:00
gwoo
1c3d18db23
updating form.php, fixes #3942 "FormHelper::create() ignores non-standard primary key"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:16:34 +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
7098c5558c
"Fixes #3887 , Controller::modelClass incorrect when using AppController::uses"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6384 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 18:09:25 +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
nate
1e4549679a
Refactored JavascriptHelper::object(), improved JSON spec compliance, added sport for native json extension, improved tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:21:07 +00:00
nate
14122fd1e6
Refactoring TimeHelper, adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 04:29:55 +00:00
gwoo
818fba4005
updating memcache to make sure server is active
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 16:06:19 +00:00
phpnut
654669d48f
"Refactoring Component tests.
...
Removed Component::!__construct();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6374 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 04:06:01 +00:00
phpnut
11afd24c19
"Adding fix when a component loads a component that is also in the components array list.
...
{{{
var $components = array('Auth', 'RequestHandler');
}}}
Controller::RequestHandler; would not be available.
Added additional tests
Fixed loading of libs/xml.php "
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6372 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 03:53:01 +00:00
gwoo
d564eda38d
updating component and tests for Session
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 00:53:45 +00:00
gwoo
5649f17f7b
updating PaginatorHelper::numbers(), fixes #3788
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:59:37 +00:00
gwoo
e989625316
update loading of components, fixes #3899 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:35:12 +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
gwoo
34bbeb0d39
fixing cache engine prefix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 18:35:45 +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
gwoo
edcdcf3235
updating form helper labels for multiple records, fixes #3880 , updating custom acl component loading, #3875
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 23:13:53 +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
gwoo
aeaeb97a49
updating helpers for multiple records, fixes #3874
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 18:50:31 +00:00
nate
cbd715618b
Removing MySQL-specific schema code from core, improving support for PostgreSQL sequences, most tests passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 08:44:38 +00:00
nate
188ff4737d
Removing database-generated primary keys from fixture data, fixed primary key handling in schema generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 07:02:33 +00:00
nate
db621672d3
Enabling alternate titles for PaginatorHelper::sort() links based on sort direction, closes #3865
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 01:12:26 +00:00
nate
3eb04c36db
Fixing database drivers for UPDATE/DELETE changes, updating drivers to comply with model tests, most passing. Fixes #3794 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6350 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:32:45 +00:00
gwoo
01418cdb00
updating View error handling for extensions, fixes #3795
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:21:21 +00:00
phpnut
e7c4233963
"Fixing bug with scaffold and valid Session id check"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 04:51:12 +00:00
phpnut
68487baf47
"Fixes #3854 , Scaffolding is generating an id field with an empty value for auto_increment primary key"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 04:50:08 +00:00
phpnut
04934fdb2f
Reverting [6249] and [6250] this commit broke the working implementation.
...
Closes #3810
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6344 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 01:06:45 +00:00
phpnut
c8172ed96a
"Fixes #3851 , Acl component fails to check() if a permission is denied in action (*)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 00:39:00 +00:00
phpnut
43eab108c7
"Fixes #3811 , $_SESSION not found
...
Fixes #3823 , Session not restarted after instantiating new SessionComponent
Fixes #3850 , Configuration Session.start and SessionComponent::!__active aren't handle correctly"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6341 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 15:46:02 +00:00
nate
acd9cd5b8a
Fixing return value in Model::saveAll(), fixes #3852
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6337 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 10:21:25 +00:00
nate
b7abaf019c
Adding non-null association key fix in Model, and updating Model::isUnique() to account for current record, fixes #3859 , closes #2032
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6336 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 06:29:51 +00:00
gwoo
2c4a8f4131
updating component, removing use of Router not needed anymore, fixes #3858
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:59:01 +00:00
gwoo
d45d7a8faf
updating HttpSocket with auth, closes #3838
...
removing type casting, fixes #3827
adding socket.group to tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:50:19 +00:00
phpnut
348df0fca2
"Fixes #3849 , Deprecated loadView() call in email component when using theme"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 02:48:07 +00:00
nate
9650c1a73f
Fixing reading and writing in Configure class for references 3 levels deep, fixes #3845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 11:34:56 +00:00
phpnut
06175843a1
"Removing unneeded :"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6328 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:50:43 +00:00
phpnut
028c5ab75d
"Fixes svn file property line"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6326 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:45:01 +00:00
gwoo
3b7c80a65d
updating Cache to apply prefix for every key, closes #3821
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 03:24:25 +00:00
phpnut
c47700d8c4
"Removing call to Controller::_initComponents(); and Controller::__mergeVars(); out of Dispatcher"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 01:31:15 +00:00
gwoo
22cc25e9c5
updating Set::map() handling of deeply nested arrays, fixes #3809 , thanks to speedmax for an updated test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 01:32:52 +00:00
phpnut
83b6be9d60
"Correcting line changed in error"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6319 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 19:41:06 +00:00
phpnut
6dec91a89f
"Fixes #3814 , Bug in hasAndBelongsToMany"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6317 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:50:59 +00:00
gwoo
d963a721b3
updating TimeHelper, fixes #3801
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:42:36 +00:00
nate
6191c58f69
Fixing after filters for Model::find('list'), fixes #3805
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6315 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 23:07:54 +00:00
nate
93f034b9bd
Fixing JavascriptHelper::link() for script files outside of webroot/js (i.e. plugins), fixes #3799
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 19:32:46 +00:00
phpnut
fd2b4595aa
"Fixing paths returned by Debugger::trimPath();"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6308 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:23:44 +00:00
nate
60fa3938ee
Adding regular expression support to Set::extract(), closes #3263
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 04:46:49 +00:00
nate
9c68a253e4
Refactoring, fixing SessionComponent test, adding String::tokenize()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 03:06:57 +00:00
nate
7ea47e9893
Fixing Model::find('list') when using self-joins
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:30:19 +00:00
phpnut
aa32649c02
"Closes #2608 , CSRF usability problems
...
Closes #3436 , Security Component and multiple instances of the webapp"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6301 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:38:35 +00:00
gwoo
618d7bd84a
adding Debugger::log() and test cases, closes #995
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6300 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:31:13 +00:00
nate
695ac50fd7
Adding full join model support, closes #828 , closes #1845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6299 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 23:57:17 +00:00
phpnut
852fa4e921
"Closes #3653 , Some optimization in code"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6297 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:28:47 +00:00
phpnut
cb53dc61b0
"Closes #2897 , Built-in file validation.
...
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
nate
5abe66289d
Implemented 'counterCache' and 'counterScope' for belongsTo associations
...
Exempted 'created', 'updated' and 'modified' fields from whitelist when saving, closes #3720
Updated Model::bind(), closes #2355
Adding Model::saveAll() to save multiple records and associated records, closes #3615
Replacing Model::generateList() with Model::find('list'), deprecates Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 19:34:40 +00:00
phpnut
43e05117fa
"Closes #3602 , Model beforeFilter API doc update"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6294 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 18:34:55 +00:00
nate
a5d9b2085a
Adding quoting and name-resolving fields in TreeBehavior updates, fixes #3778
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6293 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:18:32 +00:00
phpnut
1aa2324e8e
"Fixes #3786 , Missing keys when Model merges actsAs.
...
Added additional test for Set::merge();
Refactored Controller::_mergeVars."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:07:24 +00:00
phpnut
013133457c
"Fixes #3768 , Controller loads wrong model when plugins controller has the controller name of a main model.
...
moved merging of components, helpers, and uses vars to Controller::_mergeVars(); fixes bug with PluginAppController vars not being merged before components are loaded.
Added call to Controller::_mergeVars(); in Dispatcher::dispatch();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 23:27:14 +00:00
nate
ac1c7e9da8
Adding stored procedure support to DboMysqli, fixes #2348
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 18:12:44 +00:00
nate
368b085c94
Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
nate
18110fe97a
Adding asset timestamps for JS, CSS, and images. Set 'Asset.timestamp' to true in Configure (only in dev mode), fixes #921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 04:24:14 +00:00
gwoo
b57ee695a4
updating TimeHelper, closes #1182
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 01:45:57 +00:00
nate
1c9b87da4e
Fixing environment detection issues in Dispatcher, adding environment tests, adding tests for embedded route regular expressions, fixes #2666
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:33:48 +00:00
nate
a11db494bb
Changing SERVER_IIS constant to 'App.server' config variable
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:28:59 +00:00
gwoo
f6b71c29e9
updating HtmlHelper, closes #2592 , closes #2406 , closes #2220 , closes #2080 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 21:14:15 +00:00
gwoo
48bf9e420d
updating router admin handling, closes #3697 test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 19:53:21 +00:00
gwoo
fdeb41a826
updating FormHelper::inputs(), fixes #3770 , tests updated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 18:25:00 +00:00
gwoo
a1198bb3b7
reverting previous changes and updating view, fixes #3785
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:20:48 +00:00
gwoo
3b1b182873
updating view again
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:10:41 +00:00
gwoo
aa637e1b1d
updating view, fixes #3785
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:03:36 +00:00
gwoo
7e845242d5
updating set handling of xml and adding tests for model saving xml
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:24:10 +00:00
gwoo
99da081907
updating dispatcher, fixes #3773 , fixes #3783 , fixes #3779 , updating default layouts, adding Debugger::dump($var); and some other changes for exporting string vars
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:22 +00:00
nate
658b98e361
Adding empty table handling in TreeBehavior::generateTreeList(), fixes #3784
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 16:20:30 +00:00
phpnut
ebe356d3b1
"Fixes #3772 , getting errors using treebehavior and translatebehavior on the same model"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 08:33:29 +00:00
phpnut
c5ff7cb4db
"Fixes #3774 , Set::combine possibly applies wrong formatstring"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:59:22 +00:00
nate
e48e6a5e83
Fixing column lengths in DboMssql::describe(), fixes #3769
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-26 22:44:41 +00:00
phpnut
63bb042c9e
"Fixes #3766 , RequestAction fails on plugin to app and plugin to plugin"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-26 02:20:47 +00:00
phpnut
0644112ca9
"Closes #3560 , edit form use PUT so SecurityComponent::validatePost() don't call on submit"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:49:29 +00:00
nate
72c80efa75
Fixes #3698 , no additional select performed in Model::deleteAll() if $callbacks and $cascade are false
...
Fixes #2146 , set 'foreignKey' => false and use association conditions to get custom join scoping
Fixes #3323 , set 'foreignKey' => false to disable default conditions
Fixes #3627 , added Model::$findQueryType to inform callbacks of the current find query type, i.e. 'count'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:37:08 +00:00
phpnut
75b5623f33
"Closes #3587 , Multiple resource routes"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:25:42 +00:00
phpnut
9bed2fa6d7
"Fixes #3255 , Adding link attributes to breadcrumb links in Html helper"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:07:27 +00:00
phpnut
6fe54aa1d0
"Reverting 5254, this change is only for 1.2 branch"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:55:59 +00:00
phpnut
f9c1058a20
"Closes #3295 , Centralize encoding / charset setting in one Configure setting"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:08:36 +00:00
nate
fbf5330fd8
Adding TreeBehavior::setScope(), fixes #3232
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6252 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:00:05 +00:00
phpnut
69b2ad7556
"Closes #3338 , Allow AuthComponent::allow to take an array as an argument"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 08:11:26 +00:00
phpnut
9c6f44006f
"Closes #3012 "
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6249 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:59:13 +00:00
phpnut
b96a3a2e6f
"Closes #3216 , Allow condition overrides in AuthComponent::identify()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:33:29 +00:00
phpnut
aa667c4d61
"Closes #3059 , Set::format() allow arg type conversion with use of sprintf format style"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:10:20 +00:00
phpnut
23ad8a4c7d
"Closes #3651 , Allow the specification of an interval in the generation of the minute select"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 06:45:48 +00:00
phpnut
1489239252
"Closes #2215 , Santize Class and EmailComponent need some header injection protection and cleaning"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 05:30:54 +00:00
phpnut
3935746a29
"Refactored Model::invalidFields() to pass array(field => value) back to custom validation methods in a model
...
Closes #1863 postal code validation for Italy and Germany
Closes #2766 , Add field name to params array for custom validation rules
Closes #3735 , Custom validation functions
Commented out the failing model tests until the missing fixtures are added
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 04:53:15 +00:00
gwoo
d7926aaaad
adding context and trace to other debugger output formats. adds E_USER_ERROR to fatal
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 23:47:46 +00:00
phpnut
71039959d0
"Refacorting App::import() to implement vendors loading.
...
Added ability to set the file extension of the file to be loaded"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6241 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 22:39:28 +00:00
nate
586e93f59f
Adding 'last' validator option fix for Model::invalidFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6240 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 22:14:31 +00:00
gwoo
44718cced7
fixing datetime handling dbo_mssql, fixes #1778
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6239 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:49:13 +00:00
gwoo
66fc807b93
note to self, remember to make a diff first
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:18:00 +00:00
gwoo
1ee0b564e1
adding TimeHelper::toQuarter() with range, closes #3121
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:16:20 +00:00
mariano.iglesias
9160660f58
Allowing AjaxHelper::observeForm to receive frequency setting for periodical observations.
...
AjaxHelper::drop and AjaxHelper::dropRemote can also accept arrays in their 'accept' setting.
Adding more tests for AjaxHelper.
Making AjaxHelper::autoComplete accept only dot notation fields. Adding callback setting for autoComplete.
Closes #2438 , closes #3038 , closes #3058 , closes #3316 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 01:45:39 +00:00
gwoo
d7f910bf89
adding output handling to Debugger.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6235 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:25:30 +00:00
mariano.iglesias
12075ec7c1
Adding contentType, encoding and postBody AJAX options.
...
Adding onCreate (specify 'create' in $options) and onException (specify 'exception' in $options) callbacks. All callbacks should be specified using their aliases (so use 'complete' => 'completeFunc();' for onComplete callback, etc.)
Adding tests for AJAX helper.
Closes #1244 , closes #2644 , closes #2856 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6234 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:08:54 +00:00
nate
7104e40b62
Cleaning up DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6231 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:30:08 +00:00
nate
0d469ac4ba
Fixing ability to specify select fields for join models, and adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6230 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:03:19 +00:00
phpnut
6e1bacebf5
"Removing unneeded code"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6229 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 17:00:31 +00:00
phpnut
473b414131
"Removing duplicated code"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6228 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 16:44:42 +00:00
phpnut
a281b7b6e3
"Adding fix for new line endings on windows"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 16:40:56 +00:00
phpnut
22334ac248
Reverting [6224]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6225 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 11:09:45 +00:00
phpnut
acc94e2fec
"Closes #3029 , Model::updateAll not quoting strings"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6224 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:57:05 +00:00
phpnut
c0bd6b4104
"Closes #1553 , Inconsistent treatment of empty string values, between INSERT and UPDATE/SELECT"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6223 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:40:11 +00:00
phpnut
46f0615479
"Fixes #3549 , AjaxHelper::sortable update and change invalid options for script.aculo.us"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6222 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:27:48 +00:00
phpnut
7890c1b950
"Fixes #3625 , LOG_ERROR undefined"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6220 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 09:13:02 +00:00
phpnut
d7b0a5865b
"Reverting [6216]"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6219 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 08:58:40 +00:00
phpnut
d58b906f5c
"Fixes #3738 , Inconsistencies with default languages and mappings in L10n.php"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6217 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 08:05:13 +00:00
phpnut
9b117fc4d6
"Fixes #3625 , LOG_ERROR undefined"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6216 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:59:59 +00:00
phpnut
7e17c42e35
"Fixes #3727 , ModelEngine::clear() doesn't work"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6215 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:56:36 +00:00
phpnut
4bad481735
"Fixes #3555 , model::deleteAll gives sql error when retrieving id's (postgresql)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6214 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:43:31 +00:00
phpnut
0ff7b98d5b
"Fixes #3737 , ACL behavior warnings"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:10:38 +00:00
phpnut
cf87b90bbc
"Fixes #3691 , HTML Helper returns incorrect url from when <cacke:nocache> is used"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6212 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:06:31 +00:00
phpnut
877cf930ad
"Fixes #3748 , Auto loading model classes fail in plugins when using $uses in the AppController"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6211 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 06:45:26 +00:00
phpnut
27721cb730
"Fixes #3726 , Saving date, datetime, and time into database (form->input)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6210 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 05:40:25 +00:00
phpnut
c98d1457ac
"Fixes #3743 , Loading mechanism tries to load files twice from same location.
...
Fixes #3751 , Behavior of Configure::listObjects() changed."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6209 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 04:42:59 +00:00