Commit graph

1825 commits

Author SHA1 Message Date
ADmad
95d44c3694 Updating example code in comment to reflect renaming of Controller::$view to Controller::$viewClass. Closes #1579 2011-03-10 04:00:14 +05:30
mark_story
de57802f05 Fixing left over action from previos refactoring of viewClass/view. 2011-03-07 21:50:53 -05:00
mark_story
5e3cd74b03 Replacing request->here with request->here(). Saves a call to Router::normalize() in a few places. 2011-03-02 22:04:51 -05:00
mark_story
af16b13e5f Fixing issues with double base dir in FormHelper::create(). Fixes #1568 2011-03-02 21:47:11 -05:00
mark_story
e3841955dc Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-03-01 22:23:57 -05:00
mark_story
3ea8c2246a Merge branch '1.3' into merger
Conflicts:
	cake/console/cake.php
	cake/dispatcher.php
	cake/libs/controller/components/cookie.php
	cake/libs/view/helper.php
	cake/libs/view/helpers/ajax.php
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/model/model_validation.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/lib/cake_test_fixture.php
2011-03-01 22:21:44 -05:00
Jeremy Harris
b138c84df3 Merge remote branch 'upstream/2.0' into 2.0 2011-03-01 19:02:34 -08:00
Jeremy Harris
06f9fc0fc9 Made form post to the current location by default. Fixes #1418 2011-03-01 17:31:02 -08:00
Jeremy Harris
2977448891 Added more options to NumberHelper::currency() to allow for better flexibility in defining formats. Fixes #1267 2011-03-01 17:14:15 -08:00
ADmad
d999650d5e MediaView now forces download of unknown file types. Closes #140 2011-02-27 06:31:15 +05:30
mark_story
b80955c9fe Adding newlines to the builtin email template. Fixes issues with long lines. Refs #857 2011-02-25 18:50:50 -05:00
Juan Basso
a091302c92 Removed the isInterfaceSupported method. It not make sense in PHP5. 2011-02-25 12:54:57 -03:00
mark_story
139d6b3133 Changing the checks surrounding dataExpression to use empty() instead of isset() so unexpected things don't happen if you ever use dataExpression = false. Fixes #1521 2011-02-23 21:15:39 -05:00
ADmad
1f2afd8d3f Removing deprecated function TimeHelper::relativeTime() which was simply an alias for TimeHelper::timeAgoInWords() 2011-02-22 01:27:46 +05:30
mark_story
c64dd9d352 Adding the ability to pass additional information into the rendering of flash messages. Allows you to keep keep code DRY by moving repeated settings into the view.
Added tests.
Fixes #792
2011-02-21 14:08:29 -05:00
Victor Widell
d0b7d3355d $this->data[$habtmKey] could be a string, meaning $this->data[$habtmKey][$habtmKey] would be the first character of that string. Probably not what you want.
Fixes #1549

Signed-off-by: mark_story <mark@mark-story.com>
2011-02-21 10:39:55 -05:00
ADmad
681b9997b0 Renamed Controller::view to Controller::viewClass and Controller::view, View::view can now be used to change the view rendered by default. Parameters of Controller::render() and View::render() changed to eliminate redundancy. Closes #1520 2011-02-13 02:24:39 +05:30
mark_story
42c2f3011b Applying fix from 'Mark Mitchell' to expose PeriodicalExecuter in the callback. Fixes #1529 2011-02-11 21:49:00 -05:00
mark_story
9a940709ab Removing unsupported options from PrototypeEngine. Fixes #1516 2011-02-07 20:59:01 -05:00
mark_story
584116524b Fixing range option for prototype engine. Fixes #1509 2011-02-07 19:19:50 -05:00
Juan Basso
f2a4b1e959 Supporting %e in windows. Fixes #1510. 2011-02-06 15:51:28 -02:00
mark_story
e149c411fb Merge branch '1.3' into merger
Conflicts:
	cake/VERSION.txt
	cake/config/config.php
	cake/console/shells/tasks/template.php
	cake/dispatcher.php
	cake/libs/controller/component.php
	cake/libs/controller/components/email.php
	cake/libs/controller/scaffold.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/view/helpers/cache.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
	cake/tests/fixtures/datatype_fixture.php
2011-02-05 12:20:09 -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
8f66fe6ed4 Removing additional spaces in tags. 2011-02-05 01:48:52 -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
63308fdbd8 Fixing issue where a false id would be appended to the route url. Test added. Fixes #1501 2011-02-02 21:52:41 -05:00
Juan Basso
bbf6aedd9c Fixed wrong viewVars store when have objects in view caching. Fixes #1486. 2011-01-28 00:31:18 -02:00
mark_story
5464ed8455 Fixing blackholes caused by using custom name attributes with inputs. Fixes #1489 2011-01-27 21:05:30 -05:00
Juan Basso
dc4357f636 Merge remote branch 'jrbasso/2.0-html' into 2.0 2011-01-23 21:25:02 -02:00
Juan Basso
d933d6bd73 Assigning the helper object in view class, avoiding to use __get magic for each call. 2011-01-23 20:51:56 -02:00
Juan Basso
5b8f680d43 Throwing exception instead notice in loadConfig. 2011-01-23 20:00:06 -02:00
Juan Basso
175e008308 Reading configuration using reader classes. You can pass the key configFile in Html settings to load in constructor. 2011-01-23 19:27:50 -02:00
Juan Basso
7df9782020 Moving loadConfig to Html helper. 2011-01-23 16:21:17 -02:00
Juan Basso
b1f4c6a0c9 Changed tags attributes to protected. 2011-01-23 12:38:36 -02:00
Juan Basso
10d3dd5d2b Moving the parseAttributes to Html helper. 2011-01-23 12:36:14 -02:00
Juan Basso
5bc0f0c2a1 Replacing sprintf using Html tags by useTag. 2011-01-23 12:26:14 -02:00
Juan Basso
8cd54776f1 Created the method useTag in html, avoiding sprintf with Html tags in others helpers. 2011-01-23 12:25:52 -02:00
Juan Basso
41e1aa7ece Support to html5 in docType. 2011-01-23 11:05:51 -02:00
mark_story
9f583097f0 Updating version numbers for 1.3.7 2011-01-19 15:10:53 -05:00
Juan Basso
09fbaaaab4 Removing extra param in internacionalization. 2011-01-19 10:08:35 -02:00
Juan Basso
f73c4f38d5 Fixing the postLink url when the application is not in root path. 2011-01-18 23:40:30 -02:00
mark_story
23dce83836 Fixing test cases and code from merge with 1.3
Making MemcacheEngine::__Memcache protected, so mocking is possible.
2011-01-18 20:20:49 -05:00
mark_story
dca3fecfed Merge branch '1.3' into merger
Conflicts:
	cake/console/error.php
	cake/libs/cache/memcache.php
	cake/libs/cake_session.php
	cake/libs/controller/components/request_handler.php
	cake/libs/model/cake_schema.php
	cake/libs/router.php
	cake/libs/set.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/text.php
	cake/libs/view/view.php
	cake/tests/cases/libs/set.test.php
2011-01-18 20:04:30 -05:00
mark_story
b94edefb2c Removing the last vestiges of the enable parameter.
Fixing issue where isset() stupidly plods along when doing a string index of a string.
Updating DbAcl to use proper settings array.
Fixes #1467
2011-01-18 19:33:57 -05:00
Jeremy Harris
be563e1220 Merge remote branch 'upstream/2.0' into 2.0 2011-01-17 20:07:22 -08:00
mark_story
b0d4951184 Fixing TextHelper::autoLinkEmails() not linking email addresses that contain '.
Test added.
Fixes #1457
2011-01-17 11:11:30 -05:00
mark_story
ca299a097c Fixing issue where get forms created with model = false would create inputs with name = ''. Tests added. Fixes #1455 2011-01-15 14:39:24 -05:00
mark_story
b8780586ec Fixing issue where FormHelper::checkbox() would ignore an explicit checked = false, and use the post data instead. Test case added. Fixes #1437 2011-01-14 21:48:23 -05:00
Jeremy Harris
1f0c57c4ee Fixed aliasing so it works with plugins in the 'className' key 2011-01-14 17:44:33 -08:00