Commit graph

883 commits

Author SHA1 Message Date
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