Commit graph

70 commits

Author SHA1 Message Date
Ceeram
2d78d59a7b Small optimization, remove unneeded else 2011-05-27 23:13:57 +02:00
mark_story
6289f20b83 Fixing Router::reverse() serializing all of _Token.
Removing CSRF tokens from the parameters SecurityComponent exports.
Updating tests for both Router and SecurityComponent.
Fixes #1697
2011-05-16 20:35:27 -04:00
AD7six
0cb70ae3bb remove CONFIGS constant 2011-05-15 18:34:52 +02:00
Jose Lorenzo Rodriguez
91bce16e9d Merge remote-tracking branch 'origin/2.0' into 2.0-merge
Conflicts:
	lib/Cake/Test/Case/Console/Command/Task/TemplateTaskTest.php
	lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/Test/Case/Log/Engine/FileLog.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/plugged_helper.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/test_plugin_app.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticateTest.php
	lib/Cake/tests/Case/Log/Engine/FileLog.php
	lib/Cake/tests/Case/Log/Engine/FileLogTest.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/PluggedHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/TestPluginAppHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php
2011-05-15 00:40:54 -04:30
Jose Lorenzo Rodriguez
7ba60ff424 Changing more paths 2011-05-13 03:15:04 -04:30
mark_story
339db4033f Removing goofy protected field that didn't work all the time.
Making AuthComponent::loggedIn() check the current user status.
Fixes #1694
2011-05-09 21:54:59 -04:00
Jose Lorenzo Rodriguez
d83555cc52 Merge remote-tracking branch 'origin/1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/auth.php
	cake/libs/controller/controller.php
	cake/libs/view/helpers/xml.php
	cake/libs/view/pages/home.ctp
	cake/libs/xml.php
	cake/tests/cases/console/cake.test.php
	cake/tests/cases/libs/controller/components/cookie.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo_source.test.php
	cake/tests/cases/libs/view/helpers/xml.test.php
	cake/tests/cases/libs/xml.test.php
	lib/Cake/Console/Command/SchemaShell.php
	lib/Cake/Controller/Component/CookieComponent.php
	lib/Cake/Network/Http/HttpSocket.php
	lib/Cake/TestSuite/Fixture/CakeTestFixture.php
	lib/Cake/VERSION.txt
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/View/Helper/TextHelper.php
	lib/Cake/View/Helper/TimeHelper.php
	lib/Cake/config/config.php
	lib/Cake/tests/Case/Cache/CacheTest.php
	lib/Cake/tests/Case/Model/CakeSchemaTest.php
	lib/Cake/tests/Case/TestSuite/CakeTestFixtureTest.php
2011-05-04 01:10:23 -04:30
mark_story
aca8cc8b77 Fixing issue where content types wouldn't be detected as once parseExtensions() is enabled the extension will always
default to html.
2011-05-02 22:26:58 -04:00
mark_story
1c417ac2fd Removing dead code, and adding another deprecation warning. 2011-05-01 14:17:33 -04:00
mark_story
512e570202 Adding ability to map arbitrary content types and decoding methods to RequestHandlerComponent.
Removing hardcoded XML decoding, but continuing to provide the functionality.
Adding default support for JSON decoding.
Fixing stdin/input mixup.
Fixes #716
2011-05-01 10:21:00 -04:00
mark_story
53b4a129ba Changing RequestHandler to use CakeRequest::input() 2011-04-30 13:09:30 -04:00
Juan Basso
1523ff6874 Moved the CakeEmail to Network/Email. Now this class have similar structure of HttpSocket. 2011-04-26 22:20:35 -04:00
Juan Basso
24fbaafe01 Merge with 2.0-email. 2011-04-23 22:36:55 -04:00
Juan Basso
6a7b42f1eb Renamed the default X-Mailer value. 2011-04-22 23:39:11 -04:00
evilbloodydemon
d484d90fe5 Unused variables in Controller removed 2011-04-23 00:02:06 +04:00
Juan Basso
ddb54b67df Updated the method name in email component. 2011-04-21 00:00:58 -04:00
mark_story
63275626ee Adding backwards compatible cookie reading back into CookieComponent.
Cookie values using the 1.x formatting will be read, and upon next write
be converted to json encoded values.
Fixes #1593
2011-04-18 22:07:45 -04:00
mark_story
d4ff39206a Making CookieComponent use json_encode instead of a custom
serialization.  Fixes issues where values containing | or , would be
handled incorrectly.  Fixes #1593
2011-04-18 22:07:45 -04:00
ADmad
961208c9be Fixed incorrect Controller object property name usage in Email component. Closes #1661 2011-04-19 00:38:51 +05:30
Juan Basso
11331066ab Setted EmailComponent as deprecated. 2011-04-17 21:21:09 -04:00
Juan Basso
96686e79bb Added the html and text message in component. 2011-04-17 18:41:57 -04:00
Juan Basso
88f2c19336 Added the support to set variables in component. 2011-04-17 18:41:54 -04:00
Juan Basso
0bf8e3483b Fixed methods to integrate with CakeEmail. 2011-04-17 18:41:51 -04:00
Juan Basso
1ee8ad6d8e Removed more unused code. 2011-04-17 18:41:49 -04:00
Juan Basso
35c77b5a7a Setting the additional parameters to mail transport. 2011-04-17 18:41:47 -04:00
Juan Basso
a28e8ba4e7 Removed unused code. 2011-04-17 18:41:46 -04:00
Juan Basso
84e405db81 Removed the format address method. 2011-04-17 18:41:44 -04:00
Juan Basso
8f2aeec2f3 Removed the transport methods (mail, smtp, debug). 2011-04-17 18:41:42 -04:00
Juan Basso
8457c8f840 Removed wrap method. 2011-04-17 18:41:41 -04:00
Juan Basso
5815743e0a Removed formatMessage and render methods. 2011-04-17 18:41:39 -04:00
Juan Basso
163c7f06bb Removed boundary methods. 2011-04-17 18:41:38 -04:00
Juan Basso
46c79ec4a1 Removing headers methods. 2011-04-17 18:41:36 -04:00
Juan Basso
5e56f76510 Rewrited the send method to use CakeEmail. 2011-04-17 18:41:34 -04:00
Juan Basso
3b896a82ef Revert "Removing the methods from Email component. Tests commentds until adjust the code to BC."
This reverts commit 00016c515d.
2011-04-17 18:41:33 -04:00
Juan Basso
00016c515d Removing the methods from Email component. Tests commentds until adjust the code to BC. 2011-04-12 22:25:24 -04:00
Jose Lorenzo Rodriguez
000e05b468 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/libs/view/helpers/js.php
	cake/tests/lib/templates/missing_conenction.php
	cake/tests/lib/templates/missing_connection.php
	lib/Cake/Model/ConnectionManager.php
	lib/Cake/TestSuite/templates/missing_conenction.php
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
AD7six
32df3156a7 consolidate cake_error and cake_developer to simply "cake_dev"
it's a lot easier for adding new translations to think:
	is it for the end user?
		use 'cake' as the domain
	is it for the developer
		use 'cake_dev' as the domain
	is it for the console
		use 'cake_console' as the domain

also neatly avoids the "this message is an error, and it's in
cake_developer, why?" - question (because cake_error was intended for
anything which is used in trigger_error/exceptions, not a variable named
$error
2011-03-20 16:38:31 +01:00
AD7six
f95340b361 use the domain cake_error for error message intended for the developer 2011-03-19 18:07:05 +01:00
AD7six
39c7d03319 Merge branch '2.0-class-loading' into 2.0-translations
Conflicts:
	lib/Cake/Console/Command/Task/ControllerTask.php
	lib/Cake/Console/Command/Task/ProjectTask.php
	lib/Cake/Core/Configure.php
	lib/Cake/View/pages/home.ctp
2011-03-16 12:29:39 +01:00
Jose Lorenzo Rodriguez
0cd51de827 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-12 23:49:02 -04:30
AD7six
cb7f0f087e translation changes in the controller ditranslation changes in the
controller dirr
2011-03-12 19:59:40 +01:00
Jose Lorenzo Rodriguez
0696dd9200 Fixing BasicAuthenticate test 2011-03-05 19:37:56 -04:30
Jose Lorenzo Rodriguez
ec8577a562 Fixing CrudAuthorize test 2011-03-05 19:30:05 -04:30
Jose Lorenzo Rodriguez
cacbab168a Fixing som package location in AuthComponent 2011-03-05 17:54:42 -04:30
Jose Lorenzo Rodriguez
f1e2f5e949 Starting to migrate AuthComponent to the new class loader 2011-03-05 17:40:42 -04:30
Jose Lorenzo Rodriguez
3ee49c0c5c Moving BaseAuthenticate class 2011-03-05 17:37:09 -04:30
Jose Lorenzo Rodriguez
82834f2ec0 Moving Auth related classes to the new structure 2011-03-01 23:38:39 -04:30
Jose Lorenzo Rodriguez
42b3f993b9 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-01 23:04:52 -04:30
José Lorenzo Rodríguez
b62c8d8ee2 Fixing bug in RequestHandler that was preventing the helper related to content type to be loaded correctly 2011-02-22 23:42:14 -04:30
José Lorenzo Rodríguez
4cebe55a9b Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	app/webroot/index.php
	lib/Cake/Controller/Component/AuthComponent.php
	lib/Cake/Network/CakeRequest.php
	lib/Cake/tests/cases/libs/controller/components/auth.test.php
2011-02-21 22:28:30 -04:30