mark_story
d0dfd7f18c
Removing more calls to strtolower(). Instead type the method names with the correct casing.
2011-03-12 11:10:31 -05:00
mark_story
ab4ce97cad
Fixin CakeErrorController's constructor, so it matches the parent class. Removing duplicated code.
2011-03-10 22:00:08 -05:00
mark_story
c8f33b77a1
Fixing failing tests, and issues around Controller::$view not getting
...
set properly.
2011-03-09 07:31:11 -05:00
mark_story
3ea8c2246a
Merge branch '1.3' into merger
...
Conflicts:
cake/console/cake.php
cake/dispatcher.php
cake/libs/controller/components/cookie.php
cake/libs/view/helper.php
cake/libs/view/helpers/ajax.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/model_validation.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/lib/cake_test_fixture.php
2011-03-01 22:21:44 -05:00
Juan Basso
52163b4b05
Allowing strings in cc and bcc. Fixes #1553 .
2011-02-22 21:23:15 -03:00
mark_story
0b75906649
Adding docs about the ability to set settings in the helper as well.
2011-02-21 14:08:29 -05:00
mark_story
6338299e77
Merge branch 'clean-get' into 2.0
2011-02-21 12:47:41 -05:00
mark_story
d1821b3f9d
Removing $request->query[url]. This simulated value is also available at $request->url, and having it in the query array confuses things, as GET[url] no longer exists.
...
Fixing failing tests elsewhere in the framework.
2011-02-20 21:52:20 -05:00
mark_story
8cbd9fc361
Fixing viewClass name on Scaffold.
2011-02-19 22:21:58 -05:00
mark_story
633fcba4e8
Fixing viewClass name on Scaffold.
2011-02-19 22:21:38 -05:00
mark_story
63f07d3f0f
Making Authorize and Authenticate objects have constructors like other components.
...
Adding ComponentCollection as a argument for the constructor, this unifies the two types of objects and makes them consistent with other components. It also allows authenticate/authorize objects to access other components, thanks to hiromichan for the idea. Tests updated.
2011-02-17 23:17:07 -05:00
mark_story
5c4854b897
Adding omitted return that would prevent users from reaching the login page after being redirected to it. Tests added. Fixes #1542
2011-02-17 07:44:41 -05:00
mark_story
c638443b4d
Merge branch '2.0-auth' into 2.0
2011-02-14 22:45:39 -05:00
ADmad
681b9997b0
Renamed Controller::view to Controller::viewClass and Controller::view, View::view can now be used to change the view rendered by default. Parameters of Controller::render() and View::render() changed to eliminate redundancy. Closes #1520
2011-02-13 02:24:39 +05:30
mark_story
e0420937a7
Fixing notice error that could occur if csrfTokens ended up being null/not an array.
2011-02-11 22:30:51 -05:00
mark_story
71f76080a2
Fixing issue where creating cookies in the beforeFilter would result in
...
cookies with the wrong expiry time. Thanks 'RabidFire' for the patch. Fixes #1523
2011-02-09 21:19:15 -05:00
mark_story
33390070d3
Removing HTTP authentication from SecurityComponent. There are new
...
Authentication objects to fill this hole now.
2011-02-08 22:09:57 -05:00
mark_story
fbd798da6c
Reordering parameters to make it easier to remember the order.
2011-02-06 16:59:47 -05:00
mark_story
e32f419d0a
Fixing comments.
2011-02-06 00:01:52 -05:00
mark_story
3629925a40
Refactoring authentication objects so basic and digest authentication can work without cookies. This makes non browser clients able to use Basic and Digest auth.
...
Updating test cases.
2011-02-05 18:41:00 -05:00
mark_story
e149c411fb
Merge branch '1.3' into merger
...
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/console/shells/tasks/template.php
cake/dispatcher.php
cake/libs/controller/component.php
cake/libs/controller/components/email.php
cake/libs/controller/scaffold.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/view/helpers/cache.php
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/fixtures/datatype_fixture.php
2011-02-05 12:20:09 -05:00
mark_story
304f12d0ed
Removing a pointless import in CakeRequest.
...
Moving inclusion of ObjectCollection to bootstrap. This avoids repetitive calls to import()
2011-02-05 01:28:41 -05:00
mark_story
3875d0ef54
Removing a method that is duplicated in AuthComponent.
2011-02-03 23:00:41 -05:00
mark_story
9854947d0f
Fixing reversed args.
2011-02-03 22:46:31 -05:00
mark_story
5834225cc3
Making AuthComponent::password() static, as it might be needed in places where an instance of AuthComponent is not handy.
2011-02-03 22:46:31 -05:00
mark_story
a5d9a64e1a
Removing loginError, its not used anymore.
2011-02-03 22:46:31 -05:00
mark_story
2f917674d1
Fixing docblock to reflect change from '*' to 'all'. Adding note about constant.
2011-02-03 22:46:31 -05:00
mark_story
82851895ef
Shifting includes around.
2011-02-03 22:46:31 -05:00
mark_story
669672a1a0
Adding doc blocks.
2011-02-03 22:46:30 -05:00
mark_story
d5f5ae3271
Fixing typo where realm would be wrong if not specified.
2011-02-03 22:46:30 -05:00
mark_story
705b3288e1
Basics of DigestAuth are working.
2011-02-03 22:46:30 -05:00
mark_story
945e49ad09
Starting Digest auth, using Basic auth as a starting base.
2011-02-03 22:46:30 -05:00
mark_story
bcd8dcd0f7
Extracting common logic into the base class.
2011-02-03 22:46:30 -05:00
mark_story
4610a0bf3c
Adding some more tests for basic auth challenge headers.
2011-02-03 22:46:30 -05:00
mark_story
e8bf6ed176
Basic tests for BasicAuthenticate are passing.
2011-02-03 22:46:30 -05:00
mark_story
ba02483ae8
Adding a response parameter to authenticate() both basic and digest auth need to set response headers.
2011-02-03 22:46:30 -05:00
mark_story
332b6cfc22
Adding basic authentication skeleton.
2011-02-03 22:46:29 -05:00
mark_story
041e0a65ac
Extracting a base class.
2011-02-03 22:46:29 -05:00
mark_story
ee804c6f8c
Removing properties from AuthComponent that have been moved to authentication and authorization objects.
...
Adding the '*' key to allow code to stay DRY, also adding a constant for ALL, so there aren't as many magic strings around.
Updating tests.
2011-02-03 22:46:29 -05:00
mark_story
41819975e8
Removing a dead property.
2011-02-03 22:46:29 -05:00
mark_story
b207ee8cbe
Making AuthComponent::user static, so user data can be fetched from anywhere.
2011-02-03 22:46:29 -05:00
mark_story
35864c2a02
Removing AuthComponent::getModel(). Auth no longer directly interacts with models.
2011-02-03 22:46:29 -05:00
mark_story
66f5ae07ed
Removing AuthComponent::validate() there are no tests and no documentation on this method. It also uses components that may or may not exist even in the old implementation.
2011-02-03 22:46:29 -05:00
mark_story
28ad51c92b
Removing action() from AuthComponent, its in the authorization objects now.
...
Updating tests.
2011-02-03 22:46:29 -05:00
mark_story
dc03e4f26c
Moving an import.
2011-02-03 22:46:29 -05:00
mark_story
fd8fb1225d
Removing automatic password hashing from AuthComponent. Its a frustrating feature that often befuddles new users, and can be plain annoying sometimes.
...
Moving hashing into FormAuthenticate.
Updating tests.
2011-02-03 22:46:28 -05:00
mark_story
23db2f086e
Adding more documentation.
2011-02-03 22:46:28 -05:00
mark_story
e155e6acba
Adding doc block usage information.
2011-02-03 22:46:28 -05:00
mark_story
ed122c70f4
Removing custom request reversal code, and using Router::reverse()
...
Removing dead tests that are covered by Router tests.
Removing check for TestsController, it hasn't existed in forever.
2011-02-03 22:46:28 -05:00
mark_story
dc8c99308e
Starting to remove magical login process.
...
Updating tests to actually test the methods they are named after.
2011-02-03 22:46:28 -05:00