mariano.iglesias
896f62544b
Changing @return int to @return integer and @param bool to @param boolean
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
160cd28440
Correcting @return int
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:11:12 +00:00
phpnut
da97a5c871
Correcting @return bool
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
897825d596
Adding documentation to classes belonging to Cake console.
...
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
phpnut
e750c9d38f
Closes #3318 , When model calls invalidate, it would be usefull to use the __(messageID, true)
...
Fixes #2603 , Scaffold edit() should redirect to index() when no record is found.
Closes #2990 cake_sessions Needs A Database Name Setting, Configure::write('Session.database', 'default')
Closes #3120 , database - $config['encoding']; added new settings to database.php.default
Corrected errors when setting database configurations from console, would not allow changing setting on old configuration.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5815 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 10:14:30 +00:00
phpnut
e78fc1e90c
Fixes #3305 , Console i18n extract using wrong paths.
...
Closes #3396 , i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
6e848de479
Fixes #3334 , when using bake to create a new database configuration, all previous configs are lost
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5808 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 22:05:20 +00:00
phpnut
1aa1164b1d
Closes #3394 , applied test patch
...
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php
Removing additional defines in core.php, replaced with Configure::write();
Added CakeSession::__startSession() to check for sent headers before attempting to start the session.
Added notices to Configure::__loadBootstrap() that will be removed before stable release.
Refactored Folder::tree().
Added additional FolderTest cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:05:25 +00:00
gwoo
68c63b67f3
model and db_config task fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5760 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 07:48:19 +00:00
gwoo
0230c3184b
updating project task and folder, fixes #3284
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5756 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 19:18:24 +00:00
gwoo
08b690d196
updating db connection setting for model task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 20:47:37 +00:00
gwoo
72de81ce74
update ProjectTask, fixes #3292
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5698 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 11:16:26 +00:00
phpnut
bd3e702d77
changed i18n schema to use only one db table for translations
...
changed fieldname 'row_id' to 'foreign_key'
now allows fallbacks for not-existing translations by setting model's locale to array of locales
model used for hasMany associations and for saving/deleting of translation records is configurable by Model::$translateModel property, db field 'i18n.field' is configurable by property $displayField of this custom model, instance of this model is obtainable by $this->ModelName->translateModel()
Added tests for translate behavior.
Added i18n shell script
Correcting translation function calls in various files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5669 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 04:16:04 +00:00
phpnut
aaf161c073
Moving extract.php to tasks directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5668 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 03:38:28 +00:00
phpnut
a9bcb441e4
Fixes #3257 , schema shows twice in tasks/db_cofnig.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5664 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 21:13:21 +00:00
phpnut
563019c91f
Closes #3123 , Unnecessary comment generated by bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5660 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:56:55 +00:00
phpnut
b91f9b087d
Fixes #1166 , bake.php ability to supply alternate database configurations.
...
Removed debug code from FolderTest
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5640 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:23:30 +00:00
gwoo
b2e263cd46
updating console paths fixes #3092 and fixes #3109
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5627 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:03:34 +00:00
phpnut
a41b962ae5
Fixes #3147 , Bake not detecting all associations
...
Fixed typo in DboSource::name()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5622 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:18:52 +00:00
gwoo
bb199db68d
updating bake view task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 20:54:11 +00:00
gwoo
85dca42d93
fixing shells formatting an api shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:00:19 +00:00
gwoo
f851ceff9e
fixing auto routing.admin from project task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5581 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 15:38:26 +00:00
gwoo
66cc55e705
updating bake tasks and skel for new Routing.admin with removal of CAKE_ADMIN
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5580 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 15:29:44 +00:00
gwoo
8bb67d9f6a
Adding Schema support, updated fixtures, deprecated loadInfo, changed Dbo::describe in all dbos, fixed tests,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5563 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 21:46:59 +00:00
dho
22c25e62f8
Texts slightly modified
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 16:53:25 +00:00
gwoo
fa73554781
fixing missing Controller in view task, #3090
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5544 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 15:13:54 +00:00
dho
b6c6721528
Fixing typo (ticket #3046 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5511 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 17:10:04 +00:00
gwoo
e4b57ef80f
fixing acl console for help, #3024 , updating bake controller task help
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 18:18:30 +00:00
gwoo
43b3b1a0fe
moving some bootstrapped stuff to dispatch and updating tests, added paginator counter to bake index template, added option to do "bake controller Posts admin" for baking just admin methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 02:03:18 +00:00
gwoo
d332106cf7
fixing interactive baking of views, #2913
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5481 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 03:11:01 +00:00
phpnut
549d86ac23
Refactoring dispatcher.
...
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
gwoo
a215447f83
updating project task, adding option to specify full path to skel directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-18 01:54:47 +00:00
gwoo
e746fedf45
closes #2754 , fix for project task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5409 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 19:33:20 +00:00
gwoo
9cd8a79ad9
adding support for passing model name to model task, updated isMobile check in requestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5377 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-05 08:50:56 +00:00
phpnut
172f9817cb
Fixing console scripts.
...
Correcting errors when using bake shell to create views.
Corrected errors when interactively creating controllers and views
Corrected issue in ProjectTask::cakeAdmin() with admin route not writing the admin define in core.php
Moved ControllerTask::getAdmin() to Shell::getAdmin()
Removed define setting CAKE_ADMIN to null which would cause issues with admin methods and views
Corrected missing ?>
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:38:46 +00:00
phpnut
dac1bd0913
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
gwoo
879e568d9d
updating bake cake admin define
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 06:20:39 +00:00
gwoo
ad98ae8a1f
updating help for bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 08:44:34 +00:00
gwoo
5f0740add8
updating view task and view template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5249 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 07:31:55 +00:00
dho
b3b1b0ad74
Fixing problem when baking only admin functions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 17:06:00 +00:00
dho
40c943112f
Fixing typo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 15:37:06 +00:00
gwoo
3b80f5a866
updating view task and view template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 08:49:36 +00:00
gwoo
661b32a241
#2672 : fixed model task unit test baking
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:53:22 +00:00
gwoo
76a4ae2a79
updating shells with startup callback, so a shell initializes, then loads tasks, then starts up, Tasks are the same. few other minor fixes to bake, api and acl.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5239 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 07:21:17 +00:00
gwoo
7ab1cad783
updating view task and adding view task templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:56 +00:00
gwoo
1b8ad3927d
updating dbconfig, project, model, and controller tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:33 +00:00
dho
08e2db3251
Fixing bug introduced in [5228].
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5232 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-02 05:49:06 +00:00
gwoo
772c4714cd
fixing missing passedArgs member in controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5228 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:34:42 +00:00
gwoo
537f28878d
updating acl and model cli
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5217 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 06:30:08 +00:00
gwoo
b77586db23
updating project task paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5212 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 16:13:42 +00:00
dho
4dc7d4ab8c
Formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 12:13:00 +00:00
dho
83f0635b3b
Refactoring tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5196 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 09:00:54 +00:00
dho
5077bfc93e
Fixing undefinded variable error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5115 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 09:26:33 +00:00
gwoo
b77a0af14a
updating db config task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5106 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 04:21:44 +00:00
gwoo
c2968d91e9
updating project task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5103 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:54:47 +00:00
gwoo
d1a44e9777
updating project task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5102 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:51:40 +00:00
gwoo
673d0e1492
updating project task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5101 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:41:50 +00:00
gwoo
e77f5b52ea
adding bake tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5095 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:24:40 +00:00
phpnut
edd112eae9
Removing unused tasks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5090 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 04:36:42 +00:00
phpnut
586fbc9dea
Correcting doc comments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5086 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:14:41 +00:00
gwoo
338a8c8f4b
updating tasks, removing BakeTask base class, Task extends Shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5077 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 21:47:36 +00:00
gwoo
846c665497
updating shells for new conventions, better handling of paths, more help
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5058 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:18:07 +00:00
phpnut
883d8a963c
Correcting line endings on bash script.
...
Starting to correct paths to new console directory.
Replaced SCRIPTS define with CONSOLE_LIBS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5020 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 06:00:38 +00:00
phpnut
900d180ec9
Restructuring console directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5015 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:09:34 +00:00