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
gwoo
306aa69c08
adding fix for lost params in console, #2807
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5480 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-03 00:15:52 +00:00
gwoo
de4d316d4d
updating Dispatcher with changes for base. Allows setting Configure::write('App.base', '/my/base/path'); in bootstrap.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 00:16:28 +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
phpnut
79147c297f
Adding fix for #2880 , using the acl cli help command would return list of all commands instead of individual commands
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5415 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 03:49:00 +00:00
gwoo
d83a705dc3
fixing acl shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5413 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 01:04:54 +00:00
phpnut
d2ed329e76
Adding fix for #2877 , adds quit option in bake.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5412 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 23:48:05 +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
phpnut
f7dbc8a256
Adding fix for #2757 , acl shell view command broken
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5402 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 04:12:52 +00:00
phpnut
a0a0a4a718
Adding fix for #2752 , acl shell creates invalid sql
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5401 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 03:38:07 +00:00
phpnut
7e14187bc7
Adding fix for #2776 , ACL Shell should not accept / as an alias
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5400 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 03:15:26 +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
gwoo
4573cf0796
adding fix for bake form template: #2834
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5352 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 14:55:13 +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
mariano.iglesias
d733eced60
Adding basic description to Acl shell class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 14:56:28 +00:00
mariano.iglesias
259303d935
Adding documentation for Acl shell and internationalizing messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 14:50:19 +00:00
phpnut
ffdc3bc89a
Fixing translations function typo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 08:01:03 +00:00
phpnut
4b6c5afe35
Adding loadPluginModels back to dispatcher until I fix issue with loading associated plugin models.
...
Corrected form.ctp template parse error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-19 07:52:32 +00:00
gwoo
c4c64fa9df
fix bake index template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:21:48 +00:00
gwoo
6d91aad41e
updating bake templates for i18n, fixes for scaffold templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:19:31 +00:00
gwoo
c9a2da3e0c
Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
gwoo
63387a79e3
updating acl shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:38:50 +00:00
gwoo
85a662d9ba
updating headers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:05:08 +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
95bb7e0f04
updating bake view templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 16:30:22 +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
ed23e08921
refactoring task loading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 07:53:58 +00:00
dho
eea7d7aafc
Initializing tasks before execution (ticket #2725 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 13:09:59 +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
9402ab76ef
fixing extra ; in bake form template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5241 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:12:11 +00:00
gwoo
0a52326b0c
fixing arg shifting in shells for php4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5240 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:07:50 +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
gwoo
5bcb658b37
updating main shell class and dispatcher
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5235 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-03 23:56:04 +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
chartjes
9e16b0a404
Added "Model columns" command to get a list of columns and column type for a model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5225 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 01:49:00 +00:00
chartjes
84feacd6b2
Added in more verbose output of Model->save() functionality
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5220 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 21:11:34 +00:00
chartjes
37fd7e41ef
Added in Model->save() method along with help text explaining how to use it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5219 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 21:07:39 +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
chartjes
ff40f65fab
Removed "protected" declaration from a function...PHP 5 only
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5216 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 18:08:52 +00:00