mark_story
76919902b9
Removing direct tests of protected method.
...
Refactoring View with the intention of eventually removing coupling with CacheHelper.
Making Helpers load after the first rendering method is called.
Moving callbacks out of _render() to make logic simpler, and with the idea that elements will get a callback too.
2010-11-07 13:23:42 -05:00
mark_story
540f1426be
Removing View::error(). Instead you should be handling error states in your controller, or throwing exceptions and letting the application error handling deal with the error.
2010-11-07 13:23:42 -05:00
mark_story
3f61fa004e
Removing dead import.
2010-11-07 13:23:42 -05:00
Mark Story
8f31ef7149
Making $scripts_for_layout and $content_for_layout regular viewVars. This will allow helpers to manipulate them in callbacks.
...
Made $___dataForView an optional parameter, it defaults to $this->viewVars if left undefined. Refs #624
2010-11-07 13:23:42 -05:00
Mark Story
157bdfafc6
Moving beforeLayout, before additional viewVars are processed. Refs #624
2010-11-07 13:23:42 -05:00
mark_story
09d3a0626a
Updating l10n to use the new CakeRequest method.
2010-11-07 01:38:25 -04:00
mark_story
22bb07abb0
Adding visibility to a few methods.
2010-11-07 01:36:37 -04:00
mark_story
1424e02488
Adding a method to CakeRequest to parse out the accept-language header. This will help remove features from l10n.
2010-11-07 01:35:36 -04:00
mark_story
bff711e2dc
Merge branch '2.0-console' into 2.0
...
Conflicts:
cake/console/shells/acl.php
cake/tests/cases/console/libs/tasks/plugin.test.php
2010-11-02 23:49:19 -04:00
Juan Basso
b0a600f925
Merge branch '2.0-post-method' into 2.0
2010-11-03 01:42:06 -02:00
Juan Basso
adb2d90b9a
Changed the regex to follow the RFC 3986, working to protocols like "svn+ssh://" and "ed2k://"
2010-11-03 01:26:41 -02:00
Juan Basso
b752766d6c
Using full base when $url is empty.
2010-11-03 01:16:38 -02:00
Mark Story
a3da915abd
Fixing issue where value in difference array was always the string value instead of the original value.
2010-10-31 22:41:33 -04:00
Mark Story
c2063f1229
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2010-10-31 21:58:38 -04:00
Mark Story
b67d3fac44
Updating FormHelper to fix failing test from merge.
2010-10-31 21:57:51 -04:00
Mark Story
08e7bcb7ab
Merge branch '1.3' into integration
...
Conflicts:
app/config/core.php
cake/console/libs/acl.php
cake/console/templates/skel/config/core.php
cake/console/templates/skel/webroot/test.php
cake/dispatcher.php
cake/libs/view/errors/missing_action.ctp
cake/libs/view/helpers/form.php
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/log/file_log.test.php
cake/tests/cases/libs/model/cake_schema.test.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/groups/bake.group.php
cake/tests/groups/behaviors.group.php
cake/tests/groups/i18n.group.php
cake/tests/groups/javascript.group.php
cake/tests/lib/reporter/cake_cli_reporter.php
2010-10-31 21:56:59 -04:00
Juan Basso
7f448a1d35
Allowed the use of empty() and isset() in Controllers aliases properties.
2010-10-31 22:02:26 -02:00
Mark Story
b86bec14b5
Removing dead code in EmailComponent.
...
Fixes #1248
2010-10-31 00:00:54 -04:00
Juan Basso
e380b76e16
Created an exception to error 405 (Method Not Allowed) and changed the delete action in bake to use it.
2010-10-30 23:13:54 -02:00
Juan Basso
4eed660a62
Changed the form style to not affect layout.
2010-10-30 22:39:31 -02:00
Mark Story
d5f582beee
Merge branch 'master' of http://github.com/kwiky/cakephp into kwicky
2010-10-30 00:29:21 -04:00
Mark Story
3b5dafadc5
Adding value option documentation.
2010-10-29 23:56:22 -04:00
Robert Sworder
593c45b6e7
Whitespace changes
2010-10-29 23:43:50 -04:00
Robert Sworder
9eb533b9f6
dateTime functions + tests
2010-10-29 23:43:50 -04:00
Robert Sworder
a876c77987
meridian function
2010-10-29 23:43:50 -04:00
Robert Sworder
6d97aedd47
__selectOptions function
2010-10-29 23:43:50 -04:00
Robert Sworder
d3c1e8c974
minute function + tests
2010-10-29 23:43:49 -04:00
Robert Sworder
5f0700342b
hour function + tests
2010-10-29 23:43:49 -04:00
Robert Sworder
6620b3b8fc
month function + tests
2010-10-29 23:43:49 -04:00
Robert Sworder
529791842c
year function + tests
2010-10-29 23:43:49 -04:00
Robert Sworder
a1b1a07af2
__dateTimeSelected and day functions done, with tests
2010-10-29 23:43:48 -04:00
Robert Sworder
30f3494c98
Select function signature changed. Corresponding tests changed.
2010-10-29 23:43:48 -04:00
Robert Sworder
115c6102b9
Changes to make tests pass...
2010-10-29 23:43:48 -04:00
Juan Basso
daa8d1fac2
Added a message to avoid the use of postLink and postButton in forms.
2010-10-30 00:32:14 -02:00
Mark Story
148870f492
Using a simple regexp instead of a strpos to ensure the protocol is at the beginning of the url.
2010-10-29 22:10:24 -04:00
Mark Story
3a95a546e8
Doing some code cleanup and moving conditionals around.
2010-10-29 21:45:09 -04:00
Mark Story
dbce29a058
Doing some refactoring, to reduce code duplication.
2010-10-29 21:37:03 -04:00
Mark Story
3ca0cdb1ee
Adding support for route objects to return full urls. These urls are not changed by Router, and just returned. This will allow subdomain route classes to be created.
...
Tests added.
2010-10-29 21:33:56 -04:00
mark_story
14ec8703c1
Removing dirty hack in Router for detecting requestAction.
2010-10-29 11:16:50 -04:00
mark_story
f5fd069583
Applying patch from 'Justas Butkus' to fix CakeSchema::compare()
...
Fixes issues with comparing null == '' and adds a new protected method to handle null aware array difference generation.
Tests added.
Fixes #1206
2010-10-27 23:03:31 -04:00
mark_story
d7847288e4
Adding Fennec as a built-in mobile browser.
...
Refactoring a test case to pull out the exceptional case.
Fixes #932
2010-10-27 22:32:15 -04:00
mark_story
1166806218
Removing shutup operator from View::_render()
...
Errors in your views will not be suppressed when debug = 0 anymore.
Fixes #943
2010-10-26 23:12:24 -04:00
Steve Grosbois
bc3a9e8a3a
Removing a dot at the end of a message in mission_action.ctp because there is no dot in the same message in all other errors view, this can help for traductors
2010-10-25 11:43:03 +02:00
SKAhack
23f1c8e1c7
Fix regex match when regex included meta characters
...
Signed-off-by: mark_story <mark@mark-story.com>
2010-10-24 21:42:04 -04:00
mark_story
f61e8b48b6
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2010-10-24 20:58:58 -04:00
Juan Basso
cda0ce4727
Testing the build of XML. If it is invalid will generate a Exception.
2010-10-24 22:42:05 -02:00
mark_story
22239b4481
Making the ability to use longer shared csrf tokens possible. This should make for fewer blackholed' requests when doing complicated javascript.
2010-10-24 20:26:31 -04:00
mark_story
eb3cc3db3a
Making default scaffold views html escape contents. Refs #1186
2010-10-24 19:30:22 -04:00
Graham Weldon
d3e0ddbb0e
Update copyright years.
2010-10-25 07:58:22 +11:00
mark_story
a16f4c5248
Updating version numbers for 1.3.5
2010-10-24 13:56:45 -04:00