Commit graph

160 commits

Author SHA1 Message Date
phpnut
bf273081f0 Closes #3238, added ability to turn of check for HTTP_USER_AGENT by using Configure::write('Session.checkAgent', false); in a beforeFilter().
Added test for changes.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5770 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 00:40:47 +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
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