Commit graph

261 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
nate
7e6db39d50 Additional helper detection for paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:39:47 +00:00
nate
f96a1728eb Fixing ambiguous key sorting in Controller::paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:46:28 +00:00
gwoo
315529507c overfactoring namedArgs, they are used by default with a colon as a separator
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 15:37:45 +00:00
nate
d2967c3f92 Adding Paginator methods for links and sorting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:27:02 +00:00
nate
9ce0247acc Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4232 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 06:12:29 +00:00
phpnut
69379095c8 Adding fix from Ticket #1808.
Correcting language name in I10n class.
Removed unused var from CookieComponent

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4220 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:41:33 +00:00
phpnut
a98d44c455 Updating CookieComponent class to allow multidimensional arrays to be stored in one cookie.
Changed write() to allow passing $expire and $encrypt.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4218 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 23:31:32 +00:00