Commit graph

10219 commits

Author SHA1 Message Date
mark_story
8d5e68d582 Fixing issue where habtm tables would not have the connection prefix removed when generating schema. Fixes #1180 2011-02-05 11:19:05 -05:00
mark_story
ca22624b2b Tiny tweak to remove a duplicated line. 2011-02-05 10:43:30 -05:00
mark_story
79bbd227e3 Cache::configured() and in_array() are faster than calling Cache::config() 6 times. 2011-02-05 10:30:28 -05:00
mark_story
cf50cbdd9d Fixing issue in FormHelper where CURRENT_TIMESTAMP or other invalid data could cause a notice error. Fixes #1508 2011-02-05 06:43:00 -05:00
mark_story
0a266fa1fc Fixing typo. 2011-02-05 05:54:38 -05:00
mark_story
f58f3763eb Updating tests to account for attribute whitespace change. 2011-02-05 05:52:18 -05:00
mark_story
8f66fe6ed4 Removing additional spaces in tags. 2011-02-05 01:48:52 -05:00
mark_story
f5383a2243 Fixing some failing tests. 2011-02-05 01:40:14 -05:00
mark_story
8d7df1721c Removing duplicate import. 2011-02-05 01:29:35 -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
8e267f7be2 Fixing bake's unit test detection so it checks for PHPUnit properly.
Fixes #1505
2011-02-04 21:56:24 -05:00
Mark Story
7b34d879dc Making exception class names visible in the WebTest runner. Fixes #1506 2011-02-04 17:11:49 -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
59dac2255e Expanding test coverage. 2011-02-03 22:46:31 -05:00
mark_story
060360c787 Switching Controller->Session => Auth->Session. 2011-02-03 22:46:31 -05:00
mark_story
dc7565ad47 Removing crufty methods
Removing additiona ->Controller all over the place
2011-02-03 22:46:31 -05:00
mark_story
af934e3443 Removing more dead code in the Auth test. 2011-02-03 22:46:31 -05:00
mark_story
ffb6c29e79 Removing dead fixtures, dead properties and dead models. 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
91a3fc4aee Fixing tests so they run in the webrunner. 2011-02-03 22:46:30 -05:00
mark_story
0e7f490489 Fixing failing test. 2011-02-03 22:46:30 -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
67c4c9a693 Fix failing test and removing tests for settings that no longer exist. 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
f2bba3d36e Adding tests for AuthComponent::redirect() previously there weren't any. 2011-02-03 22:46:28 -05:00
mark_story
6eb31dfc94 Removing test cases that were doing integration testing with router, and plugin models. Plugin model tests are in FormAuthenticate. And there is no more automatic login. 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