Mark Story
220fba9bba
Fixing inflection of parameters when using bake. Model, View, Controller, and Fixture tasks all accept either singular or plural forms of the table name. Fixes #425
2010-03-05 21:30:58 -05:00
Mark Story
1d449e3847
Refactoring label generation into a method.
...
Fixing issues with labels having a for attribute = Array when an array of id's is provided.
Fixing issues where a date input would require you to provide id keys for hour, minute, and meridian even if you were not using them.
Fixes #411
2010-03-04 22:46:43 -05:00
Mark Story
f8cb20e994
Passing interactive property to inner tasks. Inner tasks now share the parent interactive setting making things more consistent. Fixes #423
2010-03-04 22:02:49 -05:00
Mark Story
d4393e9058
Fixing path generation in BakeTask.
...
Removing name properties as they were causing troubles.
All BakeTasks are now interactive = false by default. This makes interfaces more consistent when working with bake. Refs #423
Tests updated.
2010-03-04 21:57:48 -05:00
predominant
382e11ccde
Changed Configure::write to return true on success. Maked testing result simpler.
2010-03-04 10:20:15 +11:00
hiromi2424
256ce41b1f
LC_TIME support multi-byte value.
2010-03-02 23:51:22 -04:30
Mark Story
3b3987de7f
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-28 13:52:02 -05:00
Mark Story
65169971d4
Making memory leak test work with margins present in php5.3.1
2010-02-28 13:51:47 -05:00
Mark Story
428ee1998a
Updating paths so app layout doesn't break tests.
2010-02-28 13:44:04 -05:00
Mark Story
dbe35a495c
Updating Object test to include fixtures for both comment fixtures.
2010-02-28 13:34:37 -05:00
Mark Story
2a19a8d5e4
Updating CakeSchema test so it runs in both solo and group contexts. Changing table used on TestPluginComment to match its name.
2010-02-28 13:31:23 -05:00
Mark Story
27ffd43214
Fixing issue in component test where AppController will cause failing tests due to bleed through.
2010-02-28 12:48:34 -05:00
José Lorenzo Rodríguez
29eed5f5e8
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
2010-02-28 13:09:15 -04:30
Mark Story
a6efda66b8
Adding fixtures to fix errors in schema shell test case.
2010-02-28 12:38:49 -05:00
José Lorenzo Rodríguez
f0e73e1158
Changing order of expectations to get more correct results
2010-02-28 13:08:36 -04:30
Mark Story
4256cbc6f8
Fixing fails in apishell test.
2010-02-28 12:28:31 -05:00
Mark Story
6360d8d306
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-28 12:26:54 -05:00
Mark Story
322d8e667c
Removing duplicate method.
2010-02-28 12:26:15 -05:00
José Lorenzo Rodríguez
d5fa897681
Adding tests for startupProcess and shutDownProcess in controller
...
Fixing variable reference
2010-02-28 12:55:35 -04:30
Mark Story
e0eb48d250
Adding expectError to catch errors coming from FileEngine.
...
Fixing incorrect tests in ApcTest.
2010-02-28 12:15:25 -05:00
Mark Story
75e98387e7
Removing debug() from test case.
2010-02-28 11:39:09 -05:00
Mark Story
e0abe99d7d
Merge remote branch 'origin/1.2' into 1.2-merger
...
Conflicts:
cake/libs/view/helpers/html.php
cake/tests/cases/libs/folder.test.php
2010-02-28 01:58:29 -05:00
Mark Story
37cf55470f
Adding tests for Component::triggerCallback(). Deprecating other Component methods, as they are just wrappers for triggerCallback().
2010-02-28 01:49:19 -05:00
José Lorenzo Rodríguez
1f1e0f4ff7
Merge commit 'origin/1.3' into 1.3-form
2010-02-27 23:23:43 -04:30
José Lorenzo Rodríguez
b782563daf
Adding test for form input templates
2010-02-27 23:18:21 -04:30
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
Mark Story
ec5d9729b0
Model::find(first) no longer uses the id set in a model as the default conditions. Fixes #266
2010-02-27 11:32:29 -05:00
Mark Story
0960abcfb9
Removing workaround code for PHP 5.3.0. Error is no longer being generated in PHP 5.3.1
2010-02-27 11:26:16 -05:00
Mark Story
3192e130af
Fixing magic select creation for fields that have plural variables added to the view.
2010-02-27 11:01:28 -05:00
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
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
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
763aa524b9
Fixing recursive directory creation when nested create() calls fail. Fixes #347
2010-02-20 11:25:46 -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
f4c670e5be
Fixing lack of space in meta tags lacking a link attribute.
...
Fixes #371
2010-02-20 01:39:15 -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
renan.saddam
63f7900ba1
Checking if the last query returned a error, tests added. Fixes #72 .
2010-02-17 22:31:00 -03: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
2279b1a736
Adding patches, and tests from tkykmw. Add support for plugin datasource drivers. Fixes #297
2010-02-16 22:35:16 -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