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
a921492b5a
updating configure and core.php. fixes a no mod_rewrite issue.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5764 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 21:56:31 +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
de89168680
fixing typo in view.ctp, closes #3395
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5753 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 01:19:56 +00:00
gwoo
1eea608e0c
updating Acl to use Configure, adding config stack to CacheEngine, adding notices for defines to Configure, modifying bootstrap for Cache::config() updating tests for acl, auth, and cache.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 01:09:21 +00:00
phpnut
26a864d3df
Closes #3356 , added additional changes for translated views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5735 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-08 20:13:20 +00:00
phpnut
5f0ea6fd2e
Closes #3356 , makes baked views easier to translate.
...
Corrected undefined index in home.ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5729 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 06:46:45 +00:00
phpnut
03c0f26ec0
Fixes #3327 , wrong paths in home.ctp after baking a project
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5727 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 05:01:50 +00:00
gwoo
e8dfaa322e
updating core.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5708 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 18:58:35 +00:00
gwoo
312fd044af
updating skel core.php, fixes #3332
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5706 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 15:39:31 +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
603ed0e39c
Initial start of Unicode support, I may move this handling of this to a unicode class.
...
Implemented multi-byte methods for:
String::strpos();
String::stripos();
String::strtoupper();
Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper()
Corrected file encodings.
Added loading of configurations from cake/config
Added specifc case folding files to cake/config/unicode/casefolding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 23:49:54 +00:00
phpnut
dc76d14191
Correcting Model::invalidFields() isset would return false if $data[$fieldName] had been set to null, fixes issues with validating fields if their value had been set to null.
...
Merged changes from app to skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 22:45:00 +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
d55e7b8987
Making changes to move extract to task directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5667 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 03:34:44 +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
21c077925e
Closes #3202 , Transparent Favicon
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:47:06 +00:00
phpnut
078dbba8c8
Closes #1463 , Pages Controller Title Enhancement.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5644 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:06:17 +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
7ba8247a53
updating skel core.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5631 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-13 16:57:41 +00:00
gwoo
7c6edeb33d
fixes #3122 and fixes #3194 for home.ctp checks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5629 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 20:48:37 +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
8d62f0cac4
Adding [5490] changes to cake/console/libs/templates/views/home.ctp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 12:41:23 +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
nate
79beef1a36
Fixing tree display for ACL CLI (thanks phishy)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5616 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-04 13:53:13 +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
e54fe6a523
adding label and fieldset for radio, set label=>false to turn it off, css adjusted
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 00:11:36 +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
84ff113d1d
updating schema
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 00:57:00 +00:00
gwoo
4a79765b26
updating schema generation, adding table option to schema shell commands
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 23:22:15 +00:00
gwoo
746d292be6
updating schema callbacks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5566 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:46:05 +00:00
gwoo
d4d98e2bab
updating schema output
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5564 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:27:17 +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
gwoo
b0c21b9297
adding array support for output methods in Shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5560 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 14:17:45 +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
268838eafa
updating test.php, thanks biesbjerg
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 21:24:42 +00:00
gwoo
2c62da69d8
updating test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5546 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 20:54:38 +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
nate
3e7044d4b8
Implementing prefix-based routing, and transitioning configuration away from global constants
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
nate
17a229bfdb
Removing deprecated constant ACL_FILENAME
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5520 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:49:35 +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
28ebd0bf66
fixing typo in bake index template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5499 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 20:34:02 +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
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
chartjes
2680afb990
Added in dynamic unbinding, verification of existing models, verification of existing associations, added in help text and reorganized code in swich-case block now that I figured out you could put preg_matches in a case statement :)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5215 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 16:06:12 +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
gwoo
241ec845cd
minor enhancements like sorting in api shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5188 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 01:34:53 +00:00
chartjes
06e728eebb
Added message when no result set is found
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5187 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 21:45:39 +00:00
chartjes
aef4b1b21b
Made changes to properly parse output of find() and findAll()...but I don't like how it's doing it, have to find a more elegant solution later
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 19:52:30 +00:00
chartjes
e965ac1df0
Added code to handle outputting associations like hasMany properly
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5183 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:38:40 +00:00
chartjes
89c2ce23b0
Using $this->hr() instead of $this->out('------------') as per gwoo's request
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 16:34:07 +00:00
gwoo
1968312773
updating interactive console for the grumpy guy
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5171 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 16:17:30 +00:00
chartjes
cfe54f4049
Added missing parameter to dynamic bind call
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5170 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 15:35:33 +00:00
gwoo
01d59c7a70
updating interactive console for the grumpy guy
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5169 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 15:26:50 +00:00
chartjes
20c0a87876
Added in initial functionality for for returning result sets and providing help information
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5162 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 03:03:15 +00:00
mariano.iglesias
734d52b608
Adding API Shell to get method signatures from core CakePHP classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5161 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 21:03:01 +00:00
gwoo
5e6afe29be
fixing pre color in css
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5158 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:22:27 +00:00
nate
22611de49b
Fixing undefined variable in Shell:error()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5155 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 17:27:30 +00:00
phpnut
50fb02cb17
Fixing notice in in the skel home.ctp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5121 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:20:56 +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
4c9a9ebb31
updating shell paths and help
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5099 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 01:16:10 +00:00
gwoo
b9c1fb8ed8
updating acl shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5096 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:10:32 +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
gwoo
9bc9ac4b31
updated file class, console classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5094 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:23:25 +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
nate
a17d40e948
Fixing incorrect index in ACL shell script error message, and clarifying help text
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5089 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 02:19:26 +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
phpnut
a27b0f2fa6
Fixing output caused when class was loaded in console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5083 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:42:16 +00:00
phpnut
e2fadb5680
Refactoring translation string extractor class to work with new console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5082 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:20:47 +00:00
gwoo
51e3ce02f6
updating baking of models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5081 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 23:11:40 +00:00
gwoo
aca2ccf3bb
fixing error in shell taskNames
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5079 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 22:03:03 +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
1875d74e4a
updating shell task handling, removing bake2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5076 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:49:37 +00:00
gwoo
e8292ec7fd
updating acl and bake shells
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5075 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:18:57 +00:00
gwoo
be64c569b1
adding tasks and uses to shells, var $tasks and var $uses. if the task exists in the var it will be executed if the command is the same as the task. uses will load the model.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5074 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 20:17:27 +00:00
gwoo
0a428b371c
removing em from css
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 16:03:24 +00:00
gwoo
130d95bd5d
updating shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5068 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 01:36:56 +00:00
gwoo
b71eede168
updating bake setCake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5064 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:44:37 +00:00
gwoo
9b39236117
updating paths for shell, bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5063 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:40:37 +00:00
nate
7154feb7c8
Fixing ACL script for new model interface (Ticket #2164 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5062 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 23:11:58 +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
2e8e37860d
Adding directories to skel/vendors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5057 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:02:50 +00:00
phpnut
16a71704bd
Renaming file
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5056 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 20:08:27 +00:00
gwoo
f1bf1fa6ee
not fully complete changes but adding so we can change from Script to Shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5054 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 19:47:14 +00:00
phpnut
5be2a6ef40
Removing unneeded empty files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5051 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 18:33:33 +00:00
dho
6e4f66555d
Removing unused function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5039 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-11 12:13:00 +00:00
gwoo
d1d583f0cd
updating scaffolding and css
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-10 16:19:23 +00:00
nate
ca92008260
Updating help text on ACL script
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5036 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-08 15:24:00 +00:00
dho
e46be32f43
Removing bake() function and implementation of help()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5034 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-07 15:30:06 +00:00
phpnut
6295402bc3
Adding fix for #2530 , adds support for Oracle to acl cli
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5032 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:32:06 +00:00
phpnut
44f611cba7
Fixing paths erros in new bash and CLI scripts.
...
Updated missing files and directories in skel.
Corrected paths for app custom scaffold templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5031 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:12:23 +00:00
phpnut
c803acea56
Adding empty file to all empty directories
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5030 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:09:27 +00:00
phpnut
aecb9e63f0
Copying missing directories to skel/views/layouts
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5029 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 02:50:02 +00:00
phpnut
32cc12553e
Copying i18n.sql to skel directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5028 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 02:39:44 +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
476d621309
Moving dispatch.php to console/cake.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5017 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 21:46:55 +00:00
gwoo
694a1f30dc
updating acl console script
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5016 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:12:08 +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