Commit graph

6970 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
0ca5c11e6c Making the form helper put the "required" class on all imputs that have a validation rule and does not explicitly sets allowEmpty => true in validation array 2010-02-27 22:58:27 -04:30
José Lorenzo Rodríguez
056b87d13a Implementing template for input formats, test pending 2010-02-26 18:39:33 -04:30
José Lorenzo Rodríguez
9a4de854d6 Improving the guessing process of required fields in the form helper.
Now it does not rely on the "required" property of the validation array anymore, which was misleading
2010-02-23 09:55:01 -04:30
Mark Story
753721c777 Making private properties and methods in FileEngine protected. Will make any possible subclasses easier to work with. 2010-02-22 23:36:47 -05:00
Mark Story
fbf054b22b Making FileEngine emit errors when a path does not exist but is used for caching. Should make cryptic errors coming from Cache easier to figure out. Removed useless private property.
Tests added.
Fixes #384
2010-02-22 23:21:30 -05:00
Mark Story
b1a3e05374 Fixing failing tests in ControllerTask. 2010-02-21 22:37:18 -05:00
Mark Story
1c7c748a7c Merge branch 'view-all' into 1.3 2010-02-21 22:29:22 -05:00
Mark Story
8615274e7f Fixing issue where baking a model non-interactively would omit hasMany associations. Tests added. 2010-02-20 20:13:42 -05:00
Mark Story
8ce9560f41 Correcting forcing of debug = 1 in console. Updating order of bootstrapping to match the one used for web requests. Fixes #366 2010-02-20 19:57:17 -05:00
Mark Story
7075aa5e86 Fixing DboSource not quoting table/field names with - in them. Tests expanded . Fixes #323 2010-02-20 11:42:17 -05:00
Juan Basso
416abed211 Test of ticket #323.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-02-20 11:35:54 -05:00
Mark Story
06fc87fc2d Fixing lack of space in meta tags lacking a link attribute.
Fixes #371
2010-02-20 01:41:56 -05:00
Mark Story
6a3347ef7c Merge remote branch 'origin/1.2' into 1.2-merger
Conflicts:
	cake/VERSION.txt
	cake/config/config.php
	cake/console/libs/tasks/model.php
	cake/dispatcher.php
	cake/libs/l10n.php
	cake/libs/model/datasources/dbo_source.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/console/libs/tasks/model.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/cases/libs/view/helpers/text.test.php
2010-02-20 01:32:04 -05:00
Mark Story
96bbbb2d72 Applying fixes made to JavascriptHelper to JsBaseEngine. 2010-02-17 22:27:52 -05:00
Mark Story
c7de42033c Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2 2010-02-17 22:23:16 -05:00
Mark Story
ab688b88f4 Adding test to check that postfix and prefix options don't go into inner objects. Tests added, fixes #348 2010-02-17 22:22:53 -05:00
Mark Story
2209f198f8 Adding test to check that postfix and prefix options don't go into inner objects. Tests added, fixes #348 2010-02-17 22:21:48 -05:00
Mark Story
e09e520fd5 Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3 2010-02-17 21:32:27 -05:00
renan.saddam
63f7900ba1 Checking if the last query returned a error, tests added. Fixes #72. 2010-02-17 22:31:00 -03:00
renan.saddam
14911cf720 Fixing typo and introducing 'Overwrite all' functionallity. Fixes #333. 2010-02-17 21:41:15 -03:00
Mark Story
bff7ce6925 Refactoring Dispatcher::asset() to remove code left behind from previous
refactoring.  Simplifies asset location as well.
2010-02-16 23:31:54 -05:00
Mark Story
42a5665660 Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3 2010-02-16 23:19:11 -05:00
Mark Story
0b1efd3e86 Fixing delivery of plugin assets that reside in the root of a plugin webroot directory. Tests added. 2010-02-16 23:18:49 -05:00
Mark Story
eb96f4ac3a Minor refactor of ConnectionManager::__connectionData(). Uses pluginSplit() now to consolidate plugin dot notation handling. 2010-02-16 22:42:06 -05:00
Mark Story
2279b1a736 Adding patches, and tests from tkykmw. Add support for plugin datasource drivers. Fixes #297 2010-02-16 22:35:16 -05:00
Mark Story
fc499ac48f Reversing order of short cut checks. Fixes issues in PHP 5.1.x. Fixes #351 2010-02-16 22:05:50 -05:00
Mark Story
e1eb827ee8 Merge branch 'configure-changes' into 1.3 2010-02-15 12:11:05 -05:00
renan.saddam
d7b49e3494 Not forcing the use of ds, so will use $useDbConfig instead, tests added. Fixes #324. 2010-02-15 14:46:18 -03:00
Mark Story
f04add4f79 Fixing querystring parameters being chopped off of absolute webroot asset paths. 2010-02-13 20:43:02 -05:00
Mark Story
dc8f49feda Modifying the bootstrap process, to match the documented changes. $pluginPaths style variables will no longer work. You need to use App::build() to set paths in the bootstrap file. Added a build() call before the bootstrap is included. This allows cold cache import() calls to work from bootstrap.php. 2010-02-13 19:39:11 -05:00
Mark Story
d7dd63de82 Adding the ability to bake all views for one specific action. Tests added. Fixes #251 2010-02-13 19:07:42 -05:00
Mark Story
effbbeca33 Simplifying App::core() path generation. 2010-02-13 19:06:52 -05:00
Mark Story
6ccc43d776 Adding tests for Cache not generating errors when Cache.disable = true. Refs #286 2010-02-13 18:51:39 -05:00
Mark Story
3f667eb412 Adding skipTables to ModelTask. Allows skipping of predefined tables. Adding i18n table to the default list of skipped tables. Fixes #327 2010-02-13 18:15:11 -05:00
Mark Story
b89f40be80 Adding file omitted from [46948dd2c0] 2010-02-13 17:56:19 -05:00
Mark Story
8b6423e9c3 Renaming properties to be protected. 2010-02-13 17:55:34 -05:00
Mark Story
5f5aae71e7 Adding property to signal which actions to skip finding templates for. Fixes #330 2010-02-13 17:51:49 -05:00
Mitchell Amihod
2e8e233f73 Fixing syntax error for baked component test case. Updated relevant
test case.

Fixes #342.

Signed-off-by: Joël Perras <joel.perras@gmail.com>
2010-02-13 16:40:55 -05:00
Mark Story
a479f32da5 Clarifying the behaviour of FormHelper::button() fixes #335 2010-02-12 23:58:35 -05:00
Mark Story
7a655f7fde Fixing broken skipIf commited in 46948dd2c0 2010-02-12 23:51:02 -05:00
renan.saddam
5653c720f0 Fixing an small error with token parsing, tests added. Refs #333. 2010-02-12 11:52:58 -02:00
renan.saddam
f6f04b6425 Clearing variables after running all the methods. Fixes #333. 2010-02-12 11:20:43 -02:00
renan.saddam
d975dc3190 Adding tests for previous commit. Refs #310. 2010-02-12 02:01:54 -02:00
renan.saddam
06109a2eed Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2 2010-02-12 01:57:38 -02:00
Mark Story
46948dd2c0 Fixing memory leak in ThemeView where __paths would grow each time _paths() was called. Fixes #329 2010-02-11 22:57:24 -05:00
renan.saddam
d5ea6b7c2a Flushing the CR after a model is baked, tests added. Refs #310. 2010-02-12 01:57:04 -02:00
Mark Story
0ce14ceb7e Adding return statement, preventing infinite loops when no default fields are bound, and unbindTranslation() is called with no fields. Fixes #307 2010-02-11 22:03:43 -05:00
renan.saddam
0611f1b1f3 Flushing the CR after a model file is created, so a controller can be full baked without the need of restarting an bake session. Fixes #310. 2010-02-11 16:59:49 -02:00
Mark Story
3a03672379 Fixing formatting of code. 2010-02-09 21:05:01 -05:00
Mark Story
0fda18d11c Fixing entity encoding of url strings inside remoteFunctions contained in safe CDATA blocks. Fixes #127 2010-02-08 23:07:13 -05:00