Commit graph

1168 commits

Author SHA1 Message Date
nate
92cd894314 Fixing AjaxHelper::dropRemote() (Ticket #2260) and updating test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:54:24 +00:00
gwoo
7ff6ac5bcb updating themeView for 2225, fixing layout paths noticed when using email component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4624 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 20:36:24 +00:00
gwoo
48a1a9cba2 updating cleanUpFields to skip created, modified, updated and only update if the field is set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4623 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 17:30:58 +00:00
nate
de7423e4b6 Adding phishy's Oracle patch, fixing Sybase queries and column defs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4620 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 14:23:54 +00:00
nate
00c3711dd4 Fixing $_this reference in ConnectionManager (Ticket #2254)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 13:26:09 +00:00
dho
a0897be3fb Fixing small bug in Session::check() (ticket #2257)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4618 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 12:47:49 +00:00
nate
3dae247bab Fixing FormHelper::create() for use with associated models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 04:47:10 +00:00
gwoo
8581323bf5 updating cleanUpFields to skip created, modified, updated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4616 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 22:09:59 +00:00
dho
8917efcc0a Appending .js to strings like script-x.x.x in link() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4615 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 16:37:46 +00:00
nate
32887a68ec Making sure $attributes is an array in FormHelper::select()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 23:05:19 +00:00
nate
729c75affe AuthComponent::isAuthorized() now returns true if valid authorization requirement is disabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4612 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 20:53:14 +00:00
nate
4b022122d1 Updating AjaxHelper::autoComplete() for new API
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4611 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 20:47:39 +00:00
nate
261ff6f219 Adding View::uuid() to generate DOM IDs, updating HTTP headers in View::error(), and fixing code formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4610 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 18:28:36 +00:00
gwoo
5be52520c5 fixing bug i introduced in cleanUpFields where it would add the current date to any datetime field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4609 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 11:46:32 +00:00
gwoo
9b7787d039 adding fix for router urls without the *
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4607 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-12 01:52:40 +00:00
gwoo
d28aaae113 adding caching for elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4602 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-09 04:50:45 +00:00
gwoo
6e256bd593 updating domId to always return an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 17:25:21 +00:00
nate
7c65f4c6a2 Adding patch for multipart boundary formatting (thanks sdevore)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4600 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 02:01:29 +00:00
gwoo
3b2264f56f fixing latest bug in router reverse mapping
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4598 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-07 07:53:43 +00:00
gwoo
ac89620c88 refactoring cleanUpFields even though its going to be removed, uncommenting the ajax and abre routes in router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 23:48:25 +00:00
nate
169832606c Adding and updating core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 20:56:45 +00:00
nate
272efd4c07 Updating AjaxHelper::submit() with FormHelper reference
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:53:43 +00:00
nate
3b0a6bf5d4 Fixing 'ambiguous column' bug in Model::findCount()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:47:16 +00:00
nate
8131f2a55c Adding core load error in webroot/index, and updating setting for debug reference in Auth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 15:14:35 +00:00
phpnut
fd3e9fe9f8 Adding fix for Ticket #2198
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4590 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 14:48:49 +00:00
phpnut
a9c128b0ec Adding fix for Ticket #2101.
Changed Helper::loadConfig() to accept a param with the name of the file to load

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 13:48:21 +00:00
phpnut
59908ac629 Adding Helper::clean() to strip all harmful tags from output.
CHanged Sanitize::escape() to strip off the beginning and ending ' that is added by Dbo*::value()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 12:13:37 +00:00
phpnut
9b19833273 Removing error view path setting from viewPaths in Configure class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 09:48:07 +00:00
phpnut
d1134c071c Adding fix for Ticket #2090.
Refactored view loading.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 09:38:31 +00:00
phpnut
d6f73252ae Moved all deprecated methods to end of file.
Added notices for all methods that are deprecated.
Added fix for Ticket #2185.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 15:28:08 +00:00
phpnut
0e44a16fbd Adding fix for Ticket #2161
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 13:00:50 +00:00
phpnut
82c4b1e0a9 Moving deprecated methods to end of file.
Corrected fix for Ticket #2188

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4581 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:28:42 +00:00
phpnut
6c6efd4244 Adding fix for Ticket #2188
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4580 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:19:13 +00:00
phpnut
694bee97ac Moving date/time related form methods to FormHelper.
Fixed Ticket #2189.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:14:33 +00:00
phpnut
d931b77111 Removing $this->Html-> in FormHelper::textarea()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:51:24 +00:00
phpnut
d4c62a855b Adding fix for Ticket #2156
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:31:02 +00:00
phpnut
41aff9c2f6 Adding fix for Ticket #2055.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:33:21 +00:00
phpnut
dea1dc77fb Adding fix for Ticket #2130, Ticket #2168, Ticket #2178
Adding beforeRender() callback for helpers.
Adding fix for Set::diff();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:12:09 +00:00
phpnut
55a66a9091 Adding fix for Ticket #2084
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 05:19:30 +00:00
phpnut
ba89ee9298 Removing debug code from Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4573 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 05:18:02 +00:00
phpnut
b3b1c80a69 Adding patch from Ticket #2176, extracts the sequence name from the default value for the primary key and returns it's last value
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:54:48 +00:00
phpnut
f05ab47e94 Adding fix for Ticket #1442.
Controller components are now initialized in cached views

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:43:30 +00:00
phpnut
91c821ae6c Adding fix for Ticket #2118.
Removing check for inflections.php file, this file has been included in releases since v 1.0.0.2312

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:28:59 +00:00
phpnut
82d0c2e742 Adding fix from Ticket #2074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4569 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:05:57 +00:00
phpnut
5cdb3bfc91 Moving loading of Debugger class to Configure::write() so it loads only when DEBUG > 0
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4568 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 03:45:44 +00:00
nate
7c9e71e72d Refactoring Model::getColumnType() and Model::getColumnTypes()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-03 15:18:45 +00:00
nate
5964d074c5 Updating HttpSocket::serialize() to use Router::queryString(), updating Auth to use salted hashes, and resolving RequestHandler conflict for Ajax-based requests to custom content types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4566 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-02 20:41:10 +00:00
nate
b81d297f5c Adding bootstrap check for unique application salt value, and updating File error message
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4565 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-02 20:38:57 +00:00
nate
f4172f0de3 Patching Configure to bootstrap without an app
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4564 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-28 15:41:44 +00:00
nate
e823ca1bf2 Fixing default JavaScript template, and code generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-27 18:23:09 +00:00
nate
c0ac0f536b Initial implementation code for dynamic POST variable names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 18:58:18 +00:00
nate
7aea4e5a18 Temporarily disabling Ajax/bare routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4559 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 16:51:51 +00:00
nate
9bec5d8ebb Deprecating HtmlHelper::selectTag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 13:44:04 +00:00
nate
9b904515f3 Fixing reverse route matching in Router::url() and updating Router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 02:11:30 +00:00
nate
563f960ae0 Fixing layout search paths for alternate content types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 19:07:43 +00:00
nate
e8cfab14a0 Refactoring Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 00:14:51 +00:00
nate
2650c3a582 Finished retro-fitting CakeSession::del() (Ticket #2163)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4552 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-22 19:53:25 +00:00
nate
105b17799a Fixing conflict between JS script caching and dynamic updating of 'magic' Ajax div's
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 22:13:16 +00:00
nate
00c6f22532 Initial import of JsHelper JavaScript generator. PHP5-only until further notice.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 20:46:34 +00:00
nate
552e6850c3 Forcing cached script output to be written inline (JavascriptHelper)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 16:53:32 +00:00
john
163e820188 Beefing up documentation blocks.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 03:41:13 +00:00
nate
f912c4fd57 Importing initial draft of HttpSocket class, as implemented by Felix Geisendorfer
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4546 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 20:06:55 +00:00
nate
cb511b95ed Removing eval() calls from Session and replacing with Set methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4545 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 19:51:58 +00:00
nate
e24b44e266 Fixing AuthComponent::redirect() to redirect back to $loginRedirect instead of $loginAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4544 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 17:45:41 +00:00
phpnut
b82cf78964 Corrected doc comment in Validation::blank()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4543 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 17:27:14 +00:00
nate
21dd6a96fb Adding core Debugger object
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4542 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 16:57:43 +00:00
phpnut
43db90d1b9 Adding fix for secure cookie not being destroyed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4541 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 06:41:54 +00:00
dho
23f559a4b0 Replacing "thtml" with "ctp" in error templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-19 07:41:46 +00:00
phpnut
4a9110828d Adding fix for #2137
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4537 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 15:25:56 +00:00
phpnut
ff434df4e5 Adding fix for #1815
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:17:28 +00:00
phpnut
a324348be2 Adding fix for #2068.
Renaming Translate to TranslateBehavior.
Added empty class methods to TranslateBehavior.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:10:11 +00:00
john
3b06d7ad6c Adding some clarifications to controller doc comments.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 17:59:44 +00:00
nate
0e7fd21a8e Removing 'showParents' attribute from FormHelper::select() output (Ticket #2134)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:56:25 +00:00
nate
c8da214170 Fixing instance references in Set method calls
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4529 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:54:36 +00:00
dho
c46c6de561 Fixing typo (ticket #2144)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4528 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 13:58:00 +00:00
dho
076a5dbd63 Renaming $__transactionStarted to $_transactionStarted (ticket #2141)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 08:28:09 +00:00
dho
34c63427fb Renaming $__sources to $_sources (ticket #2140)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:31:29 +00:00
phpnut
46c5c36fcb Moving Translate class to the behaviors directory.
Moving i18n sql to app/config/sql

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:07:57 +00:00
nate
84a5c14c9b Fixing event:Selectors implementation for Ajax reloads
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:40:26 +00:00
nate
770446905a Fixing implementation of Set::remove() for instance and static calling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:39:43 +00:00
nate
a633a7392a Adding key fix for Model::create() (Ticket #2106), and adding warning message for model load failures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 18:45:47 +00:00
nate
64bbd74c85 Refactoring ACL and tree code for query optimization changes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 06:09:20 +00:00
nate
6989f80376 Fixing the display of SQL errors when DEBUG > 0
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4520 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 03:03:17 +00:00
phpnut
074598a96f Adding the DB2 driver submitted by Daniel Krook
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4519 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 20:41:06 +00:00
nate
4c24c7b784 Updating core Auth/ACL error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4518 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 20:04:00 +00:00
nate
c78b777db7 Optimizing ACL node querying
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4517 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:26:42 +00:00
nate
b45f8984f8 Adding parameters for AjaxHelper::sortable()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:24:54 +00:00
nate
939d141287 Implementing Set::check() and Set::remove()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4515 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-13 18:20:28 +00:00
phpnut
b6bc6d6033 Refactoring SessionHelper and SessionComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4514 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 22:29:49 +00:00
nate
eaa0881285 Adding Model::bindNode() callback for optional authorization aliasing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4513 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:56:06 +00:00
phpnut
53254d9a0f Refactoring SessionHelper and SessionComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4512 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:46:17 +00:00
phpnut
2847ba7f82 Refactoring CakeSession to remove eval()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4511 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:20:30 +00:00
nate
71115620bf Fixing issue with Set::insert(), and changing CakeSession::_ _writeSessionVar() to use Set::insert()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4510 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 20:06:39 +00:00
nate
cdb8925912 Implementing Set::insert() for dynamic array writes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4509 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 18:31:26 +00:00
nate
73fdbfe8c5 Implementing controller (CRUD)-based authorization
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4508 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 05:05:31 +00:00
nate
8fabe04f58 Adding Set class dependency to Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4507 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 03:22:45 +00:00
phpnut
0db06d9fdb Refactoring SessionComponent::write() to allow the first param to be an array.
Removing eval() from CakeSession::returnSessionVars() and CakeSession::readSessionVar() 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4506 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 00:57:44 +00:00
nate
5b85b87dc3 Refactoring Auth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4505 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 18:09:27 +00:00
nate
42193deb8f Adding AjaxHelper::sortable() fix for Ticket #2100
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4504 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 18:07:40 +00:00
nate
d312737d84 Updating AclComponent for distributed ACL system
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4503 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 00:29:23 +00:00
nate
2a954b5fbf Refactoring ACL system to require less model code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4502 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 22:59:08 +00:00
nate
c87b48e034 Refactoring AclBehavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4501 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 20:28:22 +00:00
nate
3bff0fd2d1 Fixing object support for Set::diff()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4500 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 17:21:32 +00:00
nate
4fb52738d3 Adding null value checks to Set::diff()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4499 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 17:19:49 +00:00
nate
6331a6d4c4 Moving Object::enum() to Set::enum()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4498 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 16:02:45 +00:00
phpnut
d8a8cbfb92 Fixing typo, those happen when you are in a coma
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4497 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 08:17:39 +00:00
phpnut
0fc79cdf6a fixing last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4496 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 08:14:01 +00:00
phpnut
2c837ffac2 Adding Object::enum()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4495 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 08:13:28 +00:00
nate
96abdcb619 Fixing ACL node creation for multiple insertions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4494 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 04:15:25 +00:00
nate
b50b478f8a Fixing permissions setting for ACL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 21:26:09 +00:00
nate
45bff19372 Loading additional ACL model classes in AclBehavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4492 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 19:13:38 +00:00
phpnut
de3d0bb193 Adding define ACL_DATABASE
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4491 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:33:32 +00:00
phpnut
115037e815 Adding missing headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:18:01 +00:00
nate
6ec10af951 Adding Permission join model for ACL nodes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4488 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 08:29:07 +00:00
nate
30134cbd9e Importing new ACL system
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4487 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 08:13:13 +00:00
nate
ce71e04618 Changing Object::set() to non-conflicting _set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 05:08:15 +00:00
nate
24fd9b1e9b Removing password data from user record access in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4484 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 23:44:58 +00:00
nate
a1afe34106 Implementing AuthComponent::$autoRedirect()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4483 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:25:45 +00:00
nate
8a025938b5 Adding tests for DboSource and AjaxHelper, and fixing code formatting in XmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:16:35 +00:00
nate
9468feec18 Adding object support to Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4481 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:14:36 +00:00
nate
b5dc025a61 Fixing order of operations for AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4480 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:10:58 +00:00
nate
a7653e4d80 Changing param order in Model::updateAll() so it makes more sense
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4479 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 18:36:26 +00:00
nate
fbc0ea77b7 Fixing $conditions === true in DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 18:13:14 +00:00
phpnut
af4bacb960 Reverting changes made in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4477 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:58:19 +00:00
nate
1e4ce0d35d Implementing Model::deleteAll()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:50:47 +00:00
nate
15f7509171 Refactoring set() method into Object, and adding $conditiions === true translation in DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:33:59 +00:00
phpnut
f377ed6d2a Adding Helper::webroot() to return correct url if theme is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 07:42:23 +00:00
phpnut
88ac78f03d Adding check for webroot/themed/[theme name]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:21:28 +00:00
phpnut
869dbb6b05 Fixing theme class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:15:04 +00:00
phpnut
d791bd75b4 Changing check for theme to empty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:55:26 +00:00
phpnut
2bacc6603e Updating theme class to allow setting theme to null and deafult locations will be used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:38:10 +00:00
phpnut
5403b58ab7 Fixing Configure::store().
Original version of method would set the array for a $key $value par incorrectly

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 03:25:37 +00:00
nate
90b0f1f1cc Allowing 'error' => false to disable validation error output in FormHelper::input() (Ticket #2071)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 20:13:59 +00:00
nate
0baab3b06f Updating Behavior class def with new callback param
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:37:49 +00:00
nate
76548b0aad Refactoring Model::save() and adding $created parameter to afterSave()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:36:19 +00:00
nate
709e257707 Fixing null child reference issue in XML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4461 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:19:11 +00:00
nate
a175687bd5 Updating View class properties, and committing additional core tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:18:23 +00:00
nate
d25aa2a4cb Fixing undefined index 'action' notice in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 23:45:26 +00:00
nate
9bba7b70a2 Securing AuthComponent against re-POSTing password data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 20:19:34 +00:00
dho
24d65cafbc Fixing typo (ticket #2057)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 12:26:31 +00:00
phpnut
0c490af5b1 Adding fix for #2051
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 04:53:31 +00:00
nate
8f641887b7 Adding 'evalScripts' fix for AjaxHelper (Ticket #2048)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 19:28:22 +00:00
phpnut
f0eac2527c Adding fix for #2047
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4437 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:46:12 +00:00
nate
ed2b697999 Fixing default extension parsing behavior for Router::parseExtensions()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4432 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 23:10:03 +00:00
nate
c98de6fe7f Updating Router::parseExtensions() so that parameters do not need to be wrapped in an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 21:47:38 +00:00
nate
fede6a410f Fixing AjaxHelper::form() for compatibility with FormHelper::create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4427 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 18:38:22 +00:00
nate
75eea8950c Disabling Model::loadInfo() for models that do not use tables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4426 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 17:31:42 +00:00
phpnut
0c9c0e44b4 Adding fix for #1989
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 02:32:42 +00:00
phpnut
944e1d98bb Adding fix for #2018
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4422 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 01:03:33 +00:00
phpnut
554433c7fb Adding additional fix for #1994
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4420 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 00:05:51 +00:00
phpnut
8916bd6a49 Adding changes to Router to pass tests cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 23:55:47 +00:00
nate
2648b23238 Adding page # fix for PaginatorHelper::counter() (Ticket #1994)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4417 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 21:38:11 +00:00
nate
46aa081d5c Adding SQL Server column aliasing fix for hasMany/HABTM associations (Ticket #1931)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4416 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 20:14:03 +00:00
phpnut
b64e27d9fe Added missing return in Model::invalidFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4413 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 18:07:56 +00:00
phpnut
cca419c124 Adding fix for #1936
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4412 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 18:05:48 +00:00
nate
b4cc0dfd96 Adding numeric value quoting fix for DboSource (Ticket #1927)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4411 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 15:21:51 +00:00
phpnut
ab2a8800a2 Adding patch for #2041
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4408 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 13:11:00 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
9751f8549b Adding fix for #2012
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4404 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:58:38 +00:00
phpnut
9b28c2ed27 Adding fix for #2021
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4403 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:39:48 +00:00
phpnut
5b8f656fe1 Added fix for #1991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4401 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:57:57 +00:00
nate
375276df4f Adding redirect fix for Ticket #1951
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4400 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:54:25 +00:00
nate
5a8cc752f1 Disabling REST-compliant hidden field temporarily
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4399 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:42:00 +00:00
phpnut
9c4766f3bb Applying patch from #2019
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 02:47:53 +00:00
nate
75d8f42684 Adding magic method fix for null query values (Ticket #1999), and adding PostgreSQL boolean quoting patch (Ticket #1788)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4396 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 02:21:44 +00:00
gwoo
8f7add9c29 adding patch to dbo_postgres, #1828
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 00:06:26 +00:00
phpnut
ce033247ed Adding patch from #1844
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4394 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 23:58:02 +00:00
phpnut
03d15ff892 Adding fix for #1928
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4393 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 23:43:56 +00:00
phpnut
c0c5a3e28c Added plugin view caching #1805.
Also fixed #1315

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4392 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 21:16:36 +00:00
phpnut
e4a9ab6959 Adding patch from #1851.
Fixed #1851 and #1876

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4391 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 20:11:28 +00:00
phpnut
67e582cc2f Fixed bad merge on Model::bindModel().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4390 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 18:45:38 +00:00
phpnut
a83f2bf470 Adding fix for #1946.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4389 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 18:37:42 +00:00
phpnut
92802aeefb Fix for #2031
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4386 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 07:17:54 +00:00
phpnut
51969dc95a Adding fix for #1988
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4385 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 07:06:40 +00:00
phpnut
ba6ad9d3c1 Adding fix for #1965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4382 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 05:18:25 +00:00
phpnut
7e68d31e60 Adding fix for #2023
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4381 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 04:43:22 +00:00
phpnut
1aef0e1f72 Adding fix for #1908
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4379 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 04:02:43 +00:00
phpnut
96f8227255 Adding fix for #1822
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 03:38:27 +00:00
phpnut
67ee75dba4 Correcting doc comments for #1852
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4376 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 03:02:08 +00:00
phpnut
5c79d064aa Reverting changes recent changes to DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4375 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 02:49:19 +00:00
nate
67c5c43761 Fixing undefined variable notice in DboSource::update()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4374 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 02:15:52 +00:00
nate
f1912bbe60 Fixing $fields error for belongsTo associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4373 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 02:13:33 +00:00
gwoo
7d1e5bb30c updating inflector rules #1939
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4371 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 01:01:36 +00:00
phpnut
6b8bd59b20 Adding fix for #1872.
Fixed helpers not being set in cached files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 00:41:21 +00:00
nate
8ed5dc6694 Adding fix for AjaxHelper::drag() (Ticket #1906), and adding AjaxHelper test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4369 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 23:48:51 +00:00
nate
0698b9cdf6 Updating DboSource with new query generator implementation, and updating DboSource tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4368 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 23:25:05 +00:00
nate
f754449004 Replacing ternary operations in FormHelper, and adding DOM ID's back to hidden inputs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4365 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:43:32 +00:00
phpnut
7dc7c03991 Adding fix for #1888
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4364 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:01:33 +00:00
nate
b721b963d3 Fixing key quoting in JavascriptHelper::object() (Ticket #1986)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4362 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:17:07 +00:00
nate
caeed6bf4c Adding PostgreSQL conditional expressions to DboSource (Ticket #1914)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:07:32 +00:00
phpnut
b36dc55327 Adding fix for #1953
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:05:51 +00:00
nate
cedb56676f Adding insertQueryData fix for foreign keys = 0 (Ticket #1959)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4357 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:56:47 +00:00
phpnut
35f479f232 Adding fix for #1853
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4356 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:39:36 +00:00
phpnut
39b580237b Adding patch from #1973
This fixes issues with singular words that end in us or ss

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:33:34 +00:00
phpnut
719cd36729 Adding fix for Status singular inflection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:03:43 +00:00
phpnut
69fc957fd3 Allowing user defined inflections to override the core
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4352 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 18:49:30 +00:00
gwoo
6d9eb33c6a adding uses('set') for Set::normalize() fix in RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-30 09:13:26 +00:00
gwoo
9728ef5ae9 fixing use of normalize in RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4347 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 22:09:58 +00:00
gwoo
f77e642f24 fix for xml helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 22:04:26 +00:00
phpnut
bfc5168358 Adding fix for Notice: Undefined variable: data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4345 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 10:40:19 +00:00
nate
4d9ea2cc63 refactored most methods, transaction support, case insensitive comparison & sorting, added createSequence() and sequenceExists(), bug fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4344 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 20:32:01 +00:00
dho
ed61f5ac8d Applying patch from ticket #2009
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 12:29:52 +00:00
nate
1df76850c3 Enabling join models for all DBOs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4342 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 01:53:35 +00:00
nate
620f00adef Updating HtmlHelper::css() to support array paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4341 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 18:17:23 +00:00
nate
4f794248af Fixing magic method query generation for array condition values (Ticket #2008)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4340 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:48:48 +00:00
nate
8307f2bc85 Updating Model for testing compatiblity
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4339 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:45:26 +00:00
nate
dc00f9b905 Fixing script output caching in JavascriptHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:41:32 +00:00
nate
55a4245d01 Rewriting automatic variable detection to work with any field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-26 21:03:35 +00:00
nate
3d53828511 Adding Socket core class and unit test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4335 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-25 14:34:11 +00:00
nate
dbbfa5b837 Fixing column quoting for array-based conditions when columns are wrapped in SQL functions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4330 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 20:04:27 +00:00
nate
f9a00da02b Fixing column length parsing in DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4329 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 13:03:24 +00:00
phpnut
ea2c7819f3 Fixing error introduced in [4311] the DboSource::limit() does not return results as expected.
When column is tinyint(1) is $limit = LIMIT tinyint(1).
All others are similar result with $limit = LIMIT [column type][#]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4328 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 10:47:12 +00:00
nate
4d96ad09f1 Refactoring AuthComponent::user()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4327 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 07:26:52 +00:00
nate
5654ae2f63 Updating AuthComponent docblocks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4326 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 04:38:39 +00:00
nate
138a5001cf Fixing AuthComponent redirect URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 02:28:16 +00:00
nate
cb2952d60b Adding shortcut icon generating to HtmlHelper::meta()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 01:56:12 +00:00
nate
bd67cfc0db Adding fallback for deprecated function mysql_list_tables() in DboMysql::listSources()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4323 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 22:23:39 +00:00
nate
685054fac3 Adding AuthComponent::user() to return current user, fixing config/paths docblocks, and adding IMAGES path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 16:27:34 +00:00
nate
6c670400ca Adding automatic password hashing for user logins and creates in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 15:22:23 +00:00
nate
51cf77d4cc Fixing issue with conditional values being empty arrays in DboSource::conditionKeysToString()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 19:21:21 +00:00
nate
7d9ab97745 Fixing $model parameter in FormHelper::create() (Ticket #1963)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4318 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:32:00 +00:00
nate
d1e375f5dd Clearing validation errors on Model::create() (Ticket #1960)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4316 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:22:10 +00:00
nate
9444538ec0 Updating helper method references, and fixing FormHelper::hidden() to work with '_method'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:12:06 +00:00
nate
51d384932f Adding Model::isUnique() for simplified checking of unique fields/values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:09:17 +00:00
nate
92fb921732 Refactoring AuthComponent, and fixing URL comparison error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:08:34 +00:00
nate
53dca9cccc Adding schema generation support to DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-21 22:55:58 +00:00
nate
4010ecb8b3 Adding Controller::redirect() fix (Ticket #1951), and fixing redirect URL to conform with HTTP/1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4309 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 21:26:42 +00:00
nate
3f1154c8cf Adding fix for Ticket #1974
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4308 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:59:38 +00:00
nate
06f83ea86d Moving normalizeList() (basics) to Set::normalize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:50:57 +00:00
nate
4ad44ec8a0 Fixing AppController::$uses merging for controllers with no models of their own. To completely disable $uses, set $uses = null in your controller.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:46:12 +00:00
gwoo
7af304b742 fixing FormHelper::input() error messages, ticket #1957
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4302 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:17:25 +00:00
nate
9737072e27 Fixing array key name in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:07:35 +00:00
gwoo
0c2579c565 updating bake and css, also added a name key to the generateFieldNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:43:15 +00:00
nate
6e56e926e7 Adding 'before', 'between', and 'after' options to FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4298 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:54:55 +00:00
nate
6dcdad1a2c Adding back 'default' key to table description, and fixing Model::create() to not include empty default values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4297 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:53:39 +00:00
nate
5655ec336b Fixing URL error condition in AuthComponent::startup(), and adding login failure handler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4296 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:51:56 +00:00
nate
23cb3451c0 Fixing $model parameter for FormHelper::create(). Must pass false if the form is not associated with a model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 07:07:49 +00:00
nate
e049d680e0 Adding 'default' option to HtmlHelper::link() to prevent default action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 15:19:42 +00:00
nate
33990b2193 Adding FormHelper::input() fix for generating select menus (Ticket #1860)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4293 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 05:46:03 +00:00
phpnut
2ef3e325ca Changed Configure::_ _writeConfig() to use instance from getInstance().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 01:29:20 +00:00
phpnut
bcd2a951e4 Adding check for existence of Core key in class.paths.php.
Change Configure::_ _writeConfig() to cache files for 10 seconds if DEBUG > 0.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 01:25:13 +00:00
nate
2e715c9da0 Fixing key checking in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 23:05:26 +00:00
nate
de4bd50931 Adding Auth component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 17:49:02 +00:00
phpnut
55e9a1eda6 Reverting changes from [4285]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 17:25:56 +00:00
gwoo
8eccba69ce adding a return false to cache and configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 16:37:56 +00:00
phpnut
d967e98ee1 Adding addslashes() to Configure::store() so content will have backslashes before characters that need to be quoted.
Removed error notice that is thrown when file is not present

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 01:33:18 +00:00
gwoo
86c344917d updating FormHelper, #1860
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 00:11:55 +00:00
gwoo
dc366d046d adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:53:52 +00:00
gwoo
790689fc32 moving data conversion for xml from Model::set() to RequestHandler::startup();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 21:20:06 +00:00
gwoo
7019ee7d26 adding empty $config to Configure::__writeConfig, update to model for multiple datasources with a table prefix, added option to wrap xml with <data> to wrap the model elements when using Model::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 11:15:43 +00:00