Commit graph

406 commits

Author SHA1 Message Date
phpnut
aabbf0ed85 Adding patch from #2908, fixed to read the response from the server
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5505 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 13:31:12 +00:00
gwoo
889e62881b added option to modify element cache name, #2327, see tests. Adding auth key for flash message, #2996
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5497 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 07:44:12 +00:00
mariano.iglesias
efd66066f6 Fixing some documentation in Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5495 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 15:00:35 +00:00
gwoo
44058a818f changing key for Cookie, #3017
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:04:29 +00:00
gwoo
99c1e9fe6d auth invalid login return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 07:16:46 +00:00
gwoo
64b5f897e2 updating auth component
added any object authorization
AuthComponent::object replaces AuthComponent::objectModel, add AuthComponent::hash, see #2894


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 06:43:44 +00:00
phpnut
b29366ddc0 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 19:42:58 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
phpnut
31c3447682 Adding fix for #2937, Email component needs new lines when sending as both
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 20:02:14 +00:00
phpnut
17f1d90eba Reverting last commit to EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 19:34:35 +00:00
phpnut
2e342b7eb3 Adding doc comments and refactoring component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5457 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 17:54:38 +00:00
phpnut
9ee71eefa7 Adding fix for #2933, function arrayTrim in class INI_ACL fail to work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:55:25 +00:00
nate
8f69b6f551 Moving SecurityComponent constructor code to initialize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 21:21:08 +00:00
gwoo
87bddd81f0 Auth model authorization will pass user, controller, action as parameters to the model's isAuthorized method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5437 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-10 16:25:23 +00:00
gwoo
c94a72db5a setting Auth::authorize to false by default
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 18:56:45 +00:00
gwoo
dcbab2da0f updating AclComponent to load custom component which should extend AclBase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5424 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:49:16 +00:00
gwoo
a6782f0b72 updating Auth component and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:27:04 +00:00
gwoo
49817ea42d updating Auth component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:38:58 +00:00
gwoo
3769fa796d updating auth, acl and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 21:01:31 +00:00
phpnut
360f00becf Adding fix for #2105, Email Component template should default to null?
Adding fix for #2196, allow creation of user defined headers in email component.
Adding fix for #2215, EmailComponent header injection protection and cleaning.
Adding fix for #2717, EmailComponent should account for SAFE_MODE restriction on php mail function.
Adding fix for #2855, EmailComponent methods and parameters (to, subject, message, from etc.) should be email injection safe
Adding fix for #2859, EmailComponent does not send email when adding cc: and bcc:

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5389 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:33:22 +00:00
phpnut
4ff21a6a08 Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +00:00
gwoo
9cd8a79ad9 adding support for passing model name to model task, updated isMobile check in requestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5377 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-05 08:50:56 +00:00
nate
77950dc608 Addind iPhone detection to RequestHandlerComponent::isMobile()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5375 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 22:20:58 +00:00
chartjes
d1f6f2339e Refactored SMTP send code, cleaned up tests. Test requires local SMTP server that is working
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:12:48 +00:00
chartjes
15da6d1255 Added code to allow Email compoenent to send email via SMTP, along with test for component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5351 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 20:29:38 +00:00
dho
126fac4145 Typo (ticket #2829)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5349 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 06:00:50 +00:00
phpnut
40a47a5e90 Correcting session errors in EmailTest test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 04:28:24 +00:00
chartjes
5913b5d21e Added in support for sending code out via SMTP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 21:17:09 +00:00
phpnut
51aa81f336 Adding fix for Ticket #2821, fixes Controller::postConditions() overrides $data passed in.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 08:24:26 +00:00
phpnut
82ba2fa716 Fixing bug when using Security component and a form has a hidden field, similar to those use by FormHelper::checkbox()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5333 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:19:19 +00:00
phpnut
9d56c4616e Adding fix for Ticket #2809, fixes Add / Edit scaffolding : Template is always 'edit' instead of $action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:20:21 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
f613db8d1c Adding fix for Ticket #2792, fixes AuthComponent: Blank password at user login generates SQL error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 05:59:56 +00:00
phpnut
902c6fa173 Adding fix for Ticket #2773, fixes Security Component requireAuth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:10:15 +00:00
phpnut
32c092ecff Adding fix for Ticket #2798, fixes Hidden field causes undefined Index warning in Security Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:42:17 +00:00
phpnut
a80be72ff3 Adding ability to read cookies in the Controller::beforeFilter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5304 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:18:36 +00:00
dho
c803efec88 Fixing typo (ticket #2779)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 07:58:48 +00:00
gwoo
b1c551f10a fix for scaffold without CAKE_ADMIN
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 21:41:43 +00:00
gwoo
c9a2da3e0c Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
gwoo
335a384613 updating Acl, should fix #2733
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:43:37 +00:00
phpnut
ddb5524028 Adding fix for #2723, this fixes Saving an array in an encrypted cookie, with the CookieComponent, prevents you from deleting it later.
Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
Deprecated the use of the Controller properties to set the CookieComponent properties

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 05:39:39 +00:00
gwoo
851a834995 fixing form helper for tickets #2726 and #2659, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
mariano.iglesias
22ca7f3f3b Adding documentation for Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 04:21:07 +00:00
phpnut
3ed6780ac4 Adding fix for #2648, fixes issue with token not being regenerated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:28:32 +00:00
phpnut
41d41cf7e2 Adding fix for undefined variable in Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5250 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:08:31 +00:00
nate
b2b2da0822 Enabling custom pagination methods in model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 19:14:28 +00:00
gwoo
68113a4a9a fixing missing passedArgs member in controller that was not committed in [5228], fixing cleanUpFields to not set a default time or date.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:40:01 +00:00
phpnut
52680ffcd3 Adding fix for FormHelper::checkbox() not creating the hidden fields.
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 06:11:48 +00:00
phpnut
800961fc97 Adding changes to Controller::set() to force $camelBacked variables only if second params is null
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5231 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 23:04:41 +00:00