Commit graph

918 commits

Author SHA1 Message Date
tPl0ch
49ad582759 Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings on PHP5.3 with E_STRICT
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-19 09:19:21 -05:00
Juan Basso
d60a66f16b Separate the variables of internationalized strings in controllers of cake bake.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 01:10:31 -05:00
Juan Basso
0ac99eddb5 Replacing "echo sprintf" by "printf" where possible. Fixes #209.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 00:56:22 -05:00
ADmad
2441849fa0 Replacing constant CIPHER_SEED with Configure class variable 'Security.cipher_seed' and renaming Security class method 'checkSessionKey' to 'checkSecurityKeys' 2010-01-16 03:26:26 +05:30
Mark Story
813a7779e0 Removing inflections.php from skel directory. 2010-01-15 13:28:09 -05:00
Mark Story
c20aba6b9c Merge branch 'merger' into 1.3 2010-01-15 13:27:19 -05:00
Mark Story
f11068b831 Trimming trailing whitespace from files. Refs #201 2010-01-15 13:26:47 -05:00
Mark Story
09ad7418f5 Merge remote branch 'origin/1.2' into merger
Conflicts:
	cake/console/templates/skel/config/inflections.php
	cake/libs/model/cake_schema.php
	cake/libs/model/model.php
2010-01-15 11:51:58 -05:00
Mark Story
f2cc41bb3a Fixing php4 issues for AclShell test case. 2010-01-14 22:15:14 -05:00
Mark Story
8f2a4a1e0e Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2 2010-01-14 20:28:00 -05:00
Mark Story
5c47d8dd7a Trimming trailing whitespace from files. Refs #201 2010-01-14 20:15:54 -05:00
Joël Perras
15b8a3ec71 Updating copyright date on all files. 2010-01-13 23:47:14 -05:00
Mark Story
8243afa383 Updating css file in skel dir. 2010-01-13 23:03:02 -05:00
Mark Story
e60243c464 Merge branch '1.3' into scaffold-design 2010-01-13 22:16:47 -05:00
Mark Story
619f9210f3 Removing orphaned method. 2010-01-13 21:55:32 -05:00
Mark Story
f93094b6ea Moving skel/config/sql to skel/config/schema
Updating index.php and test.php in skel dir.
2010-01-13 00:17:15 -05:00
Mark Story
53f0771a48 Fixing output of 'Actions' in bake templates. Now outputs a __() call. 2010-01-13 00:14:57 -05:00
Mark Story
ee8ebce837 Merge branch '1.3' into scaffold-design 2010-01-12 23:33:52 -05:00
Mark Story
dc00cfe539 Adding &nbsp; to baked index files to fix rendering issues in IE. 2010-01-12 18:28:16 -05:00
Juan Basso
5149d65c7e Adding redirect to baked controllers so when no delete could be done an
error page is not displayed.
Fixes #188

Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-11 18:07:29 -05:00
Mark Story
4a96f52be9 Refactoring testsuite shell and consolidating duplicated filename generation logic. 2010-01-11 18:04:38 -05:00
Mark Story
980a85cec4 Updating testsuite shell to use new CodeCoverage methods. 2010-01-10 15:55:09 -05:00
Mark Story
f4bda62ea3 Adding doc blocks and correcting constructor of CakeCliReporter
Fixing TestSuite console code coverage output.
2010-01-09 23:00:03 -05:00
Mark Story
081509a09c Fixing typos.
Removing useless constant.
Fixing constructor
2010-01-09 21:30:46 -05:00
Mark Story
696af91aa0 Refactoring testsuite shell features, and adding i18n text. 2010-01-09 21:25:05 -05:00
Mark Story
80670d85fb Updating TestSuite shell to use refactored classes and methods in the TestSuite. 2010-01-09 20:20:51 -05:00
Mark Story
1e0215b7c1 Correcting whitespace. 2010-01-09 19:44:50 -05:00
Mark Story
95135d18cc Merge branch '1.3' into 1.3-misc 2010-01-03 23:36:32 -05:00
predominant
47fc47ff59 Refs #147. Adding more verbose baked validations for models. 2010-01-01 17:28:05 +11:00
Mark Story
a9a8c0b0e4 Adding access tags and additional param/return docs. 2009-12-29 22:50:43 -05:00
Mark Story
fdd8cf0138 Making FixtureTask always refresh schema for models. 2009-12-29 22:39:49 -05:00
Mark Story
31fff5e390 Making ViewTask always refresh model schema so baked views reflect current schema. 2009-12-29 22:23:52 -05:00
Mark Story
ec88bd9c8c Forcing ModelTask to always reload schema for models when baking. Also setting the dbo's cacheSources = false so table listings are always fresh as well. 2009-12-29 22:23:03 -05:00
Mark Story
b0a50e10b7 Updating bake templates and default css file. 2009-12-28 23:13:04 -05:00
Mark Story
1216884a30 Starting work on bake template redesign. 2009-12-28 23:13:04 -05:00
Mark Story
1183846390 Removing $cakeDebug from skel layout. 2009-12-28 10:20:11 -05:00
Mark Story
9230bb93af Merge branch '1.3' into 1.3-misc 2009-12-16 23:07:44 -05:00
Mark Story
780e85a031 Refactoring ModelTask::_confirmAssociations() so it doesn't fail with $i counter. 2009-12-15 23:14:03 -05:00
ceeram
64045e1e18 Apply new Helper syntax to remaining files
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-14 18:52:13 -05:00
predominant
6be2fd05e4 Changing default Security.level to medium. 2009-12-13 11:59:14 +11:00
Mark Story
6615094350 Merge branch '1.3' into 1.3-misc 2009-12-10 23:42:55 -05:00
Mark Story
76780ab99c Updating uses of Routing.admin to be Routing.prefixes, as Routing.admin is deprecated. 2009-12-08 23:52:02 -05:00
predominant
8b9ee22c84 Removing "Long description for file" from /cake/console tree. 2009-12-08 20:18:19 +11:00
ADmad
e2c4c0d4de Removed adding of Html and Form helper by default to baked controllers as its not DRY and they are alrady inherited from Controller class. If var helpers is declared in AppController, Html and Form should be included there. 2009-12-08 01:41:52 +05:30
mark_story
24b636cc71 Merge branch 'mergers' into 1.2-merger
Conflicts:
	cake/libs/view/helpers/text.php
	cake/tests/cases/libs/view/helpers/text.test.php
2009-12-06 22:03:17 -05:00
mark_story
7259a1b920 Merge branch '1.2' into 1.2-merger
Conflicts:
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/view/helpers/text.php
	cake/libs/view/theme.php
2009-12-06 21:43:53 -05:00
mark_story
bbb61b28f7 Merge branch '1.3-misc' into mergers 2009-12-06 21:11:26 -05:00
mark_story
3907893263 Adding tests for incorrect function used in form.ctp.
Fixing mistyped function name. Fixes #364
2009-11-26 09:52:15 -05:00
mark_story
ae98a556d6 Removing vendors/img, vendors/css and vendors/js from skel dirs. 2009-11-25 22:51:33 -05:00
mark_story
dd4fbbab45 Updating PluginTask to create webroot dir and no longer create vendors/css, vendors/js and vendors/img 2009-11-25 22:50:50 -05:00
mark_story
d758dbc343 Updating cake.generic.css to let .altrow class to apply to dd and dt elements. Fixes #361 2009-11-24 19:57:20 -05:00
mark_story
8cdee90b4f Merge branch '1.3-misc' into 1.3-merger
Conflicts:
	cake/libs/view/helpers/html.php
2009-11-22 21:28:14 -05:00
mark_story
4d37e75f18 Merge branch '1.2' into 1.3-merger
Conflicts:
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/extract.php
	cake/console/libs/tasks/model.php
	cake/libs/configure.php
	cake/libs/controller/components/cookie.php
	cake/libs/debugger.php
	cake/libs/flay.php
	cake/libs/http_socket.php
	cake/libs/inflector.php
	cake/libs/model/cake_schema.php
	cake/libs/model/connection_manager.php
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo_source.php
	cake/libs/router.php
	cake/libs/view/helper.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/html.php
	cake/libs/view/helpers/js.php
2009-11-22 20:38:50 -05:00
ceeram
cd6fd74caf Added -empty flag for ProjectTask to bake with empty dir files, tests included
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-22 18:18:14 -05:00
mark_story
f038cb8ffb Updating default bake templates to exclude primary key input for all actions containing 'add'
Fixes #319
2009-11-21 21:10:31 -05:00
Juan Basso
1c0c1bc9c7 Replace function split by explode when possible.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:45:04 -05:00
Juan Basso
df9e1e0bd1 Replace function join (alias) by implode.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:43:11 -05:00
Juan Basso
1acc60b04c Replace function die (alias) by exit.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:38:11 -05:00
mark_story
94c0ec1699 Adding libs to templates/skel so baked projects contain an app/libs dir. 2009-11-17 10:27:09 -05:00
mark_story
925fda7ba6 Updating core layout, and skel layout to reflect changes in session->flash().
Updating skel layout to use $this->Helper.
2009-11-16 20:01:55 -05:00
mark_story
89558dc4af Fixing issues with models using default inflected tables instead of their actual tables when detecting associations. Fixes #315 2009-11-16 09:24:52 -05:00
mark_story
ddb9f8924c Updating i18n shell to use updated schema shell api. 2009-11-16 09:12:41 -05:00
mark_story
acd2c15690 Merge branch '1.3-misc' into 1.3-merger
Conflicts:
	cake/tests/cases/libs/configure.test.php
2009-11-15 20:09:12 -05:00
mark_story
0783176238 Replacing duplicated code with pluginSplit().
Updating test case.
2009-11-15 19:55:20 -05:00
mark_story
ea6e3dd076 Fixing issue with bake model <name> 2009-11-15 16:47:58 -05:00
mark_story
e1d60368f6 Adding missing reference operator. 2009-11-15 16:38:15 -05:00
predominant
0977b3fe15 Standardising docblock endings throughout. 2009-11-14 23:19:25 +11:00
mark_story
13f9b79dc9 Removing console/libs/templates. Has been moved in 1.3 and a merge with 1.2 added it again. 2009-11-13 09:15:31 -05:00
mark_story
38f578199d Changing new Model() for ClassRegistry::init(). Fixes issues when baking admin and non-admin methods for a controller that uses bound translations + TranslateBehavior. Fixes #245 2009-11-12 09:32:45 -05:00
mark_story
61d56cd275 Changing order of text in project task.
Making ProjectTask::getPrefix silent when interactive = false.
Making ProjectTask silent from View task if all or a controller name is provided.
2009-11-11 09:56:35 -05:00
mark_story
0d37beca75 Removing duplicate variable assignment. 2009-11-10 09:23:43 -05:00
mark_story
b39b38aac9 Adding missing variable.
Adding Test case for previous commit.
2009-11-10 09:17:54 -05:00
mark_story
2af5318e7a Moving import in ModelTask to fix issue running bake model all. 2009-11-09 23:54:59 -05:00
mark_story
adaa2b689c Adding test case for previous commit.
Fixing function for non-windows paths.
2009-11-09 20:10:24 -05:00
ceeram
c810b3cde4 Making ProjectTask bake constants with DS instead of hardcoded / or \.
Makes developing/deploying to mixed systems easier.

refs #278

Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-09 18:58:21 -05:00
ceeram
d251a1d5ca Adding config() call to ensure that DATABASE_CONFIG has been
loaded before attempting to use it.
refs #277

Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-09 18:55:37 -05:00
mark_story
c4b493c934 Manually merging changes from ModelTask in 1.2 to FixtureTask
Adding test cases for FixtureTask.
2009-11-08 22:22:08 -05:00
mark_story
7981b44db4 Merge branch '1.3-misc' into mergers 2009-11-08 21:39:55 -05:00
mark_story
95cafc7138 Adding missing help text. 2009-11-08 13:46:45 -05:00
predominant
167c6e26c0 Removing more @filesource lines. 2009-11-06 18:12:27 +11:00
predominant
90248af9a4 Removing SVN lines. 2009-11-06 18:11:17 +11:00
predominant
62810fb4f4 Updating more Copyright dates. 2009-11-06 18:04:38 +11:00
predominant
1185681549 Removing newline caused by Subversion line removal. 2009-11-06 18:01:22 +11:00
predominant
384bb7a0e0 Update license lines throughout. 2009-11-06 17:51:51 +11:00
predominant
d7b604c8ed Fixing links throughout 2009-11-06 17:46:59 +11:00
predominant
8ff6505fe8 Removing excess whitespace 2009-11-06 17:08:23 +11:00
predominant
6782cb019c Update CakePHP Project link. 2009-11-06 17:00:11 +11:00
predominant
5dfe1777af Removing Subversion file headers. 2009-11-06 16:51:09 +11:00
predominant
ceee56013c Remove Subversion $Date$ lines. 2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe Remove Subversion $LastChangedBy$ lines. 2009-11-06 16:11:16 +11:00
predominant
42f3f16d60 Remove subversion $Revision$ lines. 2009-11-06 16:08:02 +11:00
predominant
1b9b0aae5e Updating Copyright date to include 2009. 2009-11-06 15:34:28 +11:00
predominant
8f75ff58c7 Removing @filesource 2009-11-06 15:24:02 +11:00
mark_story
b4f6dd9c6e Adding tests and support for binary columns in model task. Fixes #241 2009-11-04 22:57:43 -05:00
mark_story
5f1d090bf0 Adding import()s to DbConfigTask and ModelTask to fix missing class errors, when methods are run in certain orders. 2009-11-04 13:21:05 -05:00
mark_story
f81d3da175 Moving import to fix issue where cakeschema would not be found when baking models. 2009-11-04 12:59:32 -05:00
mark_story
dc07a05fca Merge branch '1.3' into 1.3-misc 2009-11-04 09:20:21 -05:00
predominant
cf42c8dd7f Updating default views and baking templates to use $this->Helper syntax for helpers. 2009-11-04 15:52:56 +11:00
mark_story
1d22adbc1a Merge branch '1.3-misc' into 1.3 2009-11-03 22:50:11 -05:00
mark_story
133299c653 Removing duplicate constructor from ShellDispatcher.
Fixes warnings under PHP5.3.
Fixes #132
2009-11-03 09:02:17 -05:00