Commit graph

6976 commits

Author SHA1 Message Date
Mark Story
1f25bb31c0 Refactoring option extraction into a separate method. 2010-02-27 11:01:28 -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
Mark Story
6285f7893e Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3 2010-02-24 22:58:26 -05:00
Mark Story
e4b392a4ff Updating and expanding form helper submit documentation. Refs #335 2010-02-24 22:58:09 -05:00
Mark Story
47afceea22 Expanding documentation for FormHelper::submit() Fixes #390 2010-02-24 22:54:48 -05:00
Mark Story
585f731ae2 Mostly reverting changes made in [8ce9560f41]. Using a console like project bake from outside a cake app no longer causes errors from Configure. Fixes #387 2010-02-24 22:35:20 -05:00
Mark Story
9632e74cfc Making bake model.ctp only include the association comment when there is a non empty association. Fixes #393 2010-02-24 22:23:09 -05:00
predominant
48cd4d5738 Fix newline in VERSION.txt 2010-02-24 07:58:33 +11:00
José Lorenzo Rodríguez
6ae54fda8d Using the method cache for the rest of the return statements in DboSource::name 2010-02-23 10:09:11 -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