Commit graph

2302 commits

Author SHA1 Message Date
gwoo
24d4f966b1 modifying Auth::startup(), closes #3339
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5710 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-02 18:32:44 +00:00
gwoo
cb80df2219 removing $controller property from view, closes #3337
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5709 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 19:54:33 +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
2ef118c3c4 replacing define CACHE_CHECK with Configure Cache.check, updating Model::exists()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-01 16:49:37 +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
7c366d4803 updating scaffold, fixes #3309
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 21:56:59 +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
7aa5dfad0e whitespace fix in bootstrap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5703 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 20:07:10 +00:00
gwoo
bf651a279e updating controller fixes #3191
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5702 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 19:30:48 +00:00
gwoo
66bfa5631a updating DboMysql, fixes #3269, fixes #3192, fixes #3266, adding tests for DboMysql, DboPostgres, DboMssql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 18:13:46 +00:00
gwoo
4f8f7a7045 refactoring cache engines, adding tests, update configure fixes #3082
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5700 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-30 07:45:34 +00:00
gwoo
908f4c8a39 defining $fields in Model::loadInfo()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5699 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-28 10:04:25 +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
gwoo
18ab04b32b refactor Dispatcher::__getController to pass all tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 10:58:06 +00:00
phpnut
34a88741bf Fixing sorting of fields used in a form when using the SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5696 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 00:38:03 +00:00
phpnut
0c6cdfb5c9 Fixing issue with PHP 4 referencing instance of the String object
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5695 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-26 15:10:21 +00:00
gwoo
ad6a0c12c5 refactor args generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5694 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-26 09:49:01 +00:00
gwoo
e5aef425a6 reverting change to AuthComponent::identify(); adding patch from #3222
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5693 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-25 14:22:05 +00:00
gwoo
c8d3fe4a4e adding validation to AuthComponent::identify()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5692 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-25 11:27:00 +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
gwoo
cdaa7fcce3 added test for cleanUpFields, closes #3191
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5689 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 10:59:46 +00:00
gwoo
bf51cabb50 updating auth doc bloc
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5688 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 10:11:08 +00:00
gwoo
54854aff43 fixes #3285
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5687 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 09:56:25 +00:00
nate
8f4dd39257 Fixing return value for JavascriptHelper::blockEnd() for script caching (Ticket #3172)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-23 14:23:39 +00:00
nate
52f1e2dc5c Implementing beforeRedirect callback for components, adding JSON and CSV content types to RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5685 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 17:04:23 +00:00
phpnut
643da0ab97 fixes #3260, Router generating wrong url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5684 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 02:29:36 +00:00
phpnut
15e943fff8 Fixes #3164, removed use of uniqid() replaced with String::uuid()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5683 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:57:27 +00:00
the_undefined
ce48cc2ec1 Fixed MagicDbTestData::get function
Removed inline comments
Improved docblock comments
Fixed behavior of validates() function

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5682 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:45:42 +00:00
the_undefined
3aea99e9d3 Added early version of MagicDb class plus test case for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5681 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:23:09 +00:00
phpnut
b89c3c98ad Fixes #3217, Auth flash message when Auth->authorize = false is not shown.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5680 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 01:07:59 +00:00
phpnut
0f1de003c6 Fixes #3215, UserDefined Validation broken.
Added test for Validation::userDefined()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5679 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 00:42:34 +00:00
phpnut
6677e0abcc Adding test I forgot to commit with [5677]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5678 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 00:16:38 +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
nate
09e64d075f Implementing beforeValidate() behavior callback (Ticket #2818), and allowing $actsAs to be specified in AppModel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5676 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 15:16:25 +00:00
nate
f749683a8c Adding boolean return value to ClassRegistry::addObject()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5675 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 14:50:42 +00:00
phpnut
3e9a2a0851 Removed check for parent class in loadController()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5674 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 07:24:57 +00:00
phpnut
d8f2a62057 Fixing return path for file names, name is only set if it is a actual file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-20 02:54:20 +00:00
phpnut
a1df2ac915 Fixes #3261, AppController methods are made protected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-19 14:42:07 +00:00
phpnut
3ce10a4826 Fixes #3191, problem when input is TIME type
Added tests for cleanUpFields()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5671 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-19 04:15:24 +00:00
phpnut
b1d79fb0d3 Adding test for RssHelper.
Added syntax for adding attributes to channel child elements
Fixed bug in item method that added bogus attributes
Added default description to channel method


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5670 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 18:00:22 +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
7e42c6cf12 Fixes #3240, Wrong permissions are set when baking a project.
Added Folder::tree() that will return an array of nested directories and files in each directory.
Refactored Folder::chmod() to allow changing permission recursively on a directory structure

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5666 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-17 06:02:44 +00:00
nate
653f9d7101 Fixing HtmlHelper::css() test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5665 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-17 03:53:06 +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
a55aa374c7 Fixes #3244,loadControllers() does not work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5663 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 21:10:05 +00:00
phpnut
39612a9bad Fixes #2970, bad encoding in email send as text
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5662 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 20:36:28 +00:00
phpnut
3a4b960520 Fixes #2966, soring of fields corrected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5661 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 20:09:09 +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
nate
5c7f53d9fb Fixing test case for HtmlHelper::css()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5659 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:39:43 +00:00
phpnut
45d50e8aaa Fixes #3173, Change single quotes to double quotes in EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5658 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:19:52 +00:00
phpnut
337c81bc74 Removing ability to write to a session using the SessionHelper.
All writing to the session should be handled in the Controller

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5657 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:05:31 +00:00
phpnut
7c40e8d6c9 Fixes #3191, Undefined variable: _hour
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5656 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:54:09 +00:00
phpnut
6c650e2371 Fixes #3234, Session.cookie_path in php ini gets a buggy value when not using mod_rewrite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5655 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:43:41 +00:00
nate
55e8592e17 Fixing passed args support in Router, refactoring helper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5653 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:32:02 +00:00
nate
02494a0519 Adding fix for Set::extract() when only grabbing numeric keys
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5652 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:22:17 +00:00
nate
1791a378c0 Allowing behavior methods to be used in model validation (Ticket #3178)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5651 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:18:23 +00:00
nate
8237bf51e3 Removing debug()-only code from pr() (Fixes undefined variable notice)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5650 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 17:26:06 +00:00
phpnut
7ab8875a9c Closes #3254, loadController fails when requestAction is called multiple time on a Controller derived from an intermediate controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5649 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:56:31 +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
590ec3650f Closes #1497, Non-linked breadcrumbs
Closes #1103, List functions for ul / ol elements in HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:42:33 +00:00
phpnut
ce3f0cf140 Closes #1818, enhancement for the debug() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5646 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:36:30 +00:00
phpnut
1b64111871 Closes #1827
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5645 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:24:34 +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
gwoo
bcc9c80b02 updating dbo_adodb, fixes #3256
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5643 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 22:31:24 +00:00
phpnut
3c316511ac Closes #3235, Missing relative model data when fetching a HABTM mixed up with belongsTo.
Patch from Mariano applied

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5642 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:34:27 +00:00
phpnut
dd5c795b30 Closes #1985, Sanitize::clean( ) should provide an option to specify what should/shouldn't be cleaned
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5641 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 20:28:46 +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
mariano.iglesias
e7b3d24e18 Fixing tests getting them ready for HABTM fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5639 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 19:40:12 +00:00
mariano.iglesias
8fbc64fe85 Making all tests run
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5638 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 09:02:12 +00:00
mariano.iglesias
2aa2a35803 Fixing model tests to include auto-with model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5637 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 08:57:50 +00:00
phpnut
fbe6179e7b Fixing habtm associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5636 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 07:50:32 +00:00
mariano.iglesias
52093d3498 Fixing test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5635 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-15 07:10:21 +00:00
mariano.iglesias
d4e60a21c0 Adding tests for AjaxHelper::link
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5634 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-14 02:21:52 +00:00
mariano.iglesias
f433768806 Fixing double return
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5633 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-14 01:08:11 +00:00
mariano.iglesias
2e2f20ab82 Adding tests for getCrumbs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5632 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-13 23:19:48 +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
mariano.iglesias
d05a5d4804 Adding new failing test case to showcase problem with HABTM and belongsTo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 21:00:58 +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
d64636796e fixes #3183, Folder::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-11 19:41:57 +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
fdc575b107 Fixes #3140, UUID char(36) primary key double insert bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5625 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 12:06:53 +00:00
phpnut
7fe576f122 Fixes #3195, Controller::cleanUpFields() doesn't check the schema if the fields allows null
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5624 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:58:19 +00:00
phpnut
1ed5a285ba Fixes #3220, Hitting Ctrl-D in a cake console, causes it to loop forever.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5623 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-10 11:51:59 +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
ed6b0d7649 fixes #3184 FormHelper::radio() values, fixes #3156 FormHelper::create() action, fixes #3097 FormHelper::label() localization text. Thank you for the patches and tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-07 01:22:03 +00:00
mariano.iglesias
3eaa019625 Small typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5618 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:41:54 +00:00
mariano.iglesias
a798cd3dbb Adding some documentation tags. Fixing issue with stripLinks not properly removing multiple links. Making excerpt and autoLinkUrls case insensitive. Adding some tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:28:36 +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
phpnut
a81f7d00ce Fixes Ticket #2992, Logout redirect not setting default
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5615 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-03 05:08:48 +00:00
phpnut
77a9e3dd22 Fixing fixtures.
Fixing setting of primaryKey when a model HABTM association is defined

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5614 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-03 04:48:58 +00:00
phpnut
b574a98306 Adding recent fixes to DboDb2 driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 01:53:53 +00:00
gwoo
92f9c81dfb updating model test join classes so cache is not created
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5610 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 00:58:19 +00:00
gwoo
5b0a88e724 refactored controller::constructClasses, added tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5609 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-30 00:19:07 +00:00
phpnut
f1de783295 Fixing bug when instances of an HABTM association was automatically created.
Deprecated using $this->(ModelName) if an associations is created with an alias.

 
 	example with alias: var $hasMany = array('Assoc' => array('className' => 'ModelName'));
 					correct usage: $this->Assoc->modelMethods();

  	example without alias: var $hasMany = array('ModelName');
 					correct usage: $this->ModelName->modelMethods();

Fixed instances of 'className' that was still used in the core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5608 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 20:47:03 +00:00
phpnut
e7921c7741 Initial work on single queries for hasAndBelongsToMany associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5607 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 13:33:14 +00:00
phpnut
d20ddfeadc Refactoring automatic model creations for HABTM associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5606 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 10:14:14 +00:00
gwoo
ae4ebec603 updating schema and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5605 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 08:32:18 +00:00