mark_story
|
b088daf045
|
Adding tests for csrf feature separation.
Removing serialize() calls as they didn't really add anything.
|
2010-09-30 00:06:38 -04:00 |
|
mark_story
|
237b66d193
|
Adding support for httpOnly cookies to CookieComponent. Fixes #1127
|
2010-09-25 23:24:37 -04:00 |
|
mark_story
|
d64bd2a82c
|
Making cookie component not send gobs of headers when being tested.
Making test case pass in cli.
|
2010-09-24 23:30:01 -04:00 |
|
mark_story
|
b59033687d
|
Making private properties and methods protected so they can be manipulated with mocks.
|
2010-09-24 23:30:00 -04:00 |
|
mark_story
|
f21161ef46
|
Merge branch '1.3' into 2.0. Had to fix a number of 1.3 -> 2.0
differences upon merging.
Conflicts:
app/config/core.php
cake/console/templates/skel/config/core.php
cake/libs/cache/file.php
cake/libs/cake_session.php
cake/libs/controller/components/email.php
cake/libs/i18n.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/model/model_write.test.php
|
2010-09-24 23:27:22 -04:00 |
|
ADmad
|
b9a7b27ba1
|
Fixing regression cased by commit d5ffdc288d causing ajax layout to be not auto set for ajax request for html pages. Refs #1099
|
2010-09-21 00:25:17 +05:30 |
|
ADmad
|
e10d634f91
|
Mails sent using php's "mail()" function now have header fields terminated by CRLF and body too contains CR and LF only as combination CRLF in compliannce with RFC 2822. Closes #1071
|
2010-09-19 03:54:32 +05:30 |
|
ADmad
|
d5ffdc288d
|
Including RequestHandler in controller now automatically sends proper content-type and encoding headers for html pages too like it does for other known file types. Closes #1099
|
2010-09-18 20:20:52 +05:30 |
|
mark_story
|
e91fa68f8e
|
Making the set() functions use + instead of array_merge() so that numeric indices are properly preserved across multiple method calls. Fixes #1105
|
2010-09-18 00:13:03 -04:00 |
|
mark_story
|
1707c92aa1
|
Removing duplicated code.
|
2010-09-14 23:15:10 -04:00 |
|
mark_story
|
f34cfd1f1e
|
Updating EmailComponent to use new methods on the ComponentCollection to ensure it always has a controller reference.
Removing triggerDisabled key as its no longer needed or wanted.
|
2010-09-14 23:02:38 -04:00 |
|
mark_story
|
273a189e98
|
Adding some documentation about component callbacks.
|
2010-09-14 23:01:39 -04:00 |
|
mark_story
|
30589e2cdf
|
Removing dead method.
|
2010-09-14 22:56:33 -04:00 |
|
mark_story
|
0ef76eb69a
|
Adding a reference of the controller to the component collection, so components can easily access the controller in their constructor.
|
2010-09-14 22:52:51 -04:00 |
|
mark_story
|
0baaf6801b
|
Removing call to RequestHandler as its just a pass through to the request object which is available in that scope. Updating the test cases to not use deprecated and non-existent things.
|
2010-09-14 22:12:14 -04:00 |
|
mark_story
|
97dd7c7644
|
Adding support to ObjectCollection and its subclasses to trigger callbacks on all objects instead of just the enabled ones. Fixes issues where inner components would not get access to the controller as the initialize callback wasn't fired. This fixes some backwards compatibility issues. Tests updated.
|
2010-09-14 21:57:40 -04:00 |
|
mark_story
|
e4b2fb173b
|
Removing the deprecated properties.
Removing property copying to helpers.
Making the view test cases pass again.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
a521291afd
|
Adding a __set() method to make some tests pass.
Updating internal usage to not use deprecated attributes.
Updating test cases to not use deprecated attributes.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
84565151de
|
Removing all the deprecated properties from Controller.
Adding a __get() method to provide the properties that were moved to CakeRequest.
Tests added.
|
2010-09-13 23:11:59 -04:00 |
|
mark_story
|
730e373afe
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/cake_session.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/cake_session.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
cake/tests/fixtures/data_test_fixture.php
|
2010-09-12 13:35:46 -04:00 |
|
mark_story
|
e9d194822d
|
Adding more tests for SMTP address formatting. Fixes #1100
|
2010-09-12 11:48:09 -04:00 |
|
mark_story
|
e4d34b640b
|
Merge branch '2.0-exceptions' into 2.0
Conflicts:
cake/libs/error.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/error.test.php
|
2010-09-10 20:31:16 -04:00 |
|
mark_story
|
f8dbeb2b70
|
Adding documentation for a new feature.
|
2010-09-09 22:02:36 -04:00 |
|
mark_story
|
4a0e34a0d6
|
Applying patch from 'jeremyharris' to make RequestHandler::renderAs() accept an array of options that can be used to send a file as a download. Fixes #950
|
2010-09-09 21:31:34 -04:00 |
|
mark_story
|
d5e906f086
|
Adding deprecation flags.
|
2010-09-08 22:49:00 -04:00 |
|
mark_story
|
12338a0c16
|
Updating instance method calls in AclComponent.
|
2010-09-08 22:48:21 -04:00 |
|
mark_story
|
5d703c4f50
|
Fixing + adding imports for Scaffold.
|
2010-09-08 00:11:37 -04:00 |
|
Mark Story
|
09fd8ba463
|
Adding stack trace output to the framework errors.
|
2010-09-06 17:54:48 -04:00 |
|
Mark Story
|
d88da3d579
|
Merge branch '1.3' into 2.0
Conflicts:
cake/libs/configure.php
cake/libs/model/connection_manager.php
cake/libs/model/model.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/cases/libs/view/helpers/text.test.php
|
2010-09-06 16:53:04 -04:00 |
|
Mark Story
|
474ace09c1
|
Adding CakeResponse to the list of included files for Controller.
|
2010-09-06 01:11:26 -04:00 |
|
Mark Story
|
2e8a60f932
|
Removing some mentions of cakeError as its been removed. Also adding information about exceptions that can be raised.
|
2010-09-02 16:38:19 -04:00 |
|
Mark Story
|
dbdd17f51a
|
Adding test cases from 'euromark' and updating how email addresses are parsed so they are slightly more conformant to RFC 5322. Fixes #1066
|
2010-09-02 11:16:10 -04:00 |
|
mark_story
|
a8d4015f47
|
Updating bootstrap process in CLI to match the one in web.
Updating all_libs to use new file.
Updating error_handler test to run in cli.
Updating Controller so it imports required classes.
|
2010-08-30 22:59:10 -04:00 |
|
mark_story
|
534f6006f8
|
Adding omitted parent call.
|
2010-08-29 23:38:46 -04:00 |
|
mark_story
|
612c52bb8b
|
Adding a beforeRender() that automatically escapes all the content sent to errors handled by CakeErrorController.
|
2010-08-29 23:31:20 -04:00 |
|
mark_story
|
f1164c93d6
|
Updating the various CakeExceptions to take arrays in their constructors. This allows for the existing templates to continue working, as well as generalize the way in which errors are handled. This change also makes the messages coming out of exceptions more readable and removes string hackery.
|
2010-08-29 21:37:25 -04:00 |
|
mark_story
|
756baeafdb
|
Making CakeErrorController get the most recent request, this will help when using requestAction.
Updating test cases for error404.
Updating ErrorHandler
|
2010-08-28 23:32:14 -04:00 |
|
predominant
|
04d3353ee4
|
Adding access specifiers to methods
|
2010-08-28 15:38:48 +10:00 |
|
mark_story
|
5de88c0f02
|
Moving CakeErrorController to its own file.
|
2010-08-28 01:37:39 -04:00 |
|
predominant
|
f7addabcf2
|
Whitespace removal
|
2010-08-28 15:27:12 +10:00 |
|
mark_story
|
9485f0a993
|
Merge branch 'request-response' into 2.0
Conflicts:
cake/tests/cases/libs/controller/controller.test.php
|
2010-08-28 00:24:07 -04:00 |
|
mark_story
|
2cdb10812d
|
Merge branch '2.0-exceptions' into 2.0
Conflicts:
cake/dispatcher.php
cake/libs/controller/scaffold.php
cake/tests/cases/dispatcher.test.php
|
2010-08-28 00:14:34 -04:00 |
|
mark_story
|
dc67b9cacc
|
Moving all the exceptions into one file for the short term.
|
2010-08-28 00:08:35 -04:00 |
|
José Lorenzo Rodríguez
|
f63b093d24
|
Merge branch '2.0-request' into 2.0
Still tons of tests failing
Conflicts:
cake/dispatcher.php
cake/libs/controller/components/auth.php
cake/libs/controller/components/request_handler.php
cake/libs/controller/components/security.php
cake/libs/controller/controller.php
cake/libs/router.php
cake/libs/view/helper.php
cake/libs/view/helpers/html.php
cake/libs/view/view.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/controller/components/auth.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
cake/tests/cases/libs/controller/components/security.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helper.test.php
cake/tests/cases/libs/view/helpers/cache.test.php
cake/tests/cases/libs/view/helpers/form.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/cases/libs/view/helpers/paginator.test.php
|
2010-08-27 23:31:41 -04:30 |
|
mark_story
|
c4cb629d80
|
Replacing cakeError with exceptions in Scaffold.
|
2010-08-27 23:54:00 -04:00 |
|
mark_story
|
b301b0d86e
|
Adding MissingModelException.
|
2010-08-27 23:04:35 -04:00 |
|
mark_story
|
b5b7595bc0
|
Fixing issue in scaffold where it accessed $output, which no longer exists.
|
2010-08-22 12:41:04 -04:00 |
|
mark_story
|
7221f9c3b9
|
Moving response construction into Controller, this will let controller classes more easily modify the response subclass they want to use.
Test case updated.
|
2010-08-22 12:31:55 -04:00 |
|
mark_story
|
f46241a6e7
|
Merge branch '2.0' into 2.0-helpers
|
2010-08-16 23:02:44 -04:00 |
|
mark_story
|
705e90bef7
|
Merge branch '1.3' into 2.0-merge
Conflicts:
cake/libs/cache/memcache.php
cake/libs/cake_session.php
cake/libs/model/behaviors/acl.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/model/behaviors/acl.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
|
2010-08-15 23:09:02 -04:00 |
|