Commit graph

2412 commits

Author SHA1 Message Date
phpnut
47e8b36c92 Adding fix for hidden fields causing blackHole on forms when using SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5720 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:27:35 +00:00
mariano.iglesias
792ba68b35 Restoring commented test functions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5719 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:16:44 +00:00
mariano.iglesias
556ae6c161 Adding test to showcase notice when create has no ID and security component is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5718 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:15:48 +00:00
gwoo
84f8c78e05 updating mysql, postrges tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5717 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 15:54:59 +00:00
gwoo
45444faeb0 updating dispatcher for automatic plugin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5716 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:09:26 +00:00
nate
a1fb0073a3 Adding MSSQL field quoting fix (Ticket #3203)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5715 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:04:44 +00:00
phpnut
6205ad0b3b Adding MediaView class that will allow displaying content from outside of the webroot.
Will be implemented @ the helper level to allow plugins to package all assets in one place.
Will be implemented in the ThemeView.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5714 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 05:03:22 +00:00
phpnut
bfa4c12166 Closes #2094, removed unreachable return
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 04:32:43 +00:00
phpnut
9a4d314b81 Closes #707, added Inflector::slug() to return a string with all spaces converted to $replacement and non word characters removed.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5712 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 02:17:40 +00:00
gwoo
c7d2c7bacd updating AuthComponent::isAuthorized(), closes #3331
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5711 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-03 00:50:23 +00:00
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
gwoo
9d2a62752d updating auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5604 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 05:35:38 +00:00
phpnut
0ed8c17f80 Fixes Ticket #2999, HABTM save multiple for PostgreSQL
Merged changes from 1.2 DboOdbc into 1.1

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5603 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 05:07:16 +00:00
phpnut
51418a07da Fixing Model test that causes a fatal error on PHP > 5.1.6 and PHP 4.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5602 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 04:59:57 +00:00
phpnut
b8c31ae9f9 Adding additional tests for Ticket #2613
Adding test for Ticket #3152, loadModel fails on second iteration of the same model

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 04:38:48 +00:00
phpnut
fc3990cc87 Adding recursive level = 3 for Ticket #2613
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5600 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 03:06:40 +00:00
phpnut
f053eb7d26 Adding test for reopened Ticket #2613.
Test proves the ticket comment that reopened it is invalid

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5599 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 02:56:53 +00:00
phpnut
981c117ae6 Adding test case for correct usage of code given in Ticket #2960
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5598 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:18:48 +00:00
phpnut
62124094b1 Added test for Ticket #3098.
Fixes #3098, sql errors if ORDER BY includes compare statement

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5597 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 01:02:21 +00:00
phpnut
49275b8aee Merging recent changes in 1.2 datasources into 1.1
Refactored Model::setSource() to remove unneeded code

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 00:16:13 +00:00
gwoo
24abf517d6 updating file cache engine, fixes #3041
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 23:34:14 +00:00
gwoo
9d0502943a fix for odbc, closes #3145 and closes #3146. changes will be merged to 1.1 shortly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5594 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 22:46:57 +00:00
phpnut
0161f4f6d7 Fixes #3118 Prefix in models : can't use allow empty tablePrefix with a prefix defined in DATABASE_CONFIG
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:44:47 +00:00
gwoo
7793b4f5c0 fix for router and edit links, added tests, closes #3108
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:16:24 +00:00
phpnut
37ff270d04 test to close #3151
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 20:35:50 +00:00
phpnut
a2c30ff570 Adding fix for CookieComponent::destroy() and secure Cookies
Fixes bug with Cookie not being destroyed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5590 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 01:29:00 +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
nate
3723885be3 Adding ACL node locator fix for AclNode::node() (Ticket #2976)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:16:49 +00:00
nate
ce51d009ac Adding hasMany optimization fixes for failing model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5587 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:11 +00:00
gwoo
656247427f fix for label in radio
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:08 +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
9072c07cd6 updating console help for ticket #3133
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5584 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-26 15:51:05 +00:00
gwoo
53a01b7a5c updating auth and scaffold for Routing.admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:26:21 +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
0533bbd92c updating schema reading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 03:59:21 +00:00
gwoo
2e60a4d2f1 Configure::__list() fix for undefined variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 17:00:32 +00:00
nate
1326d20792 Router fix for breaking out of plugins (Ticket #3106)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 13:11:31 +00:00
nate
73909d0617 Adding Router fix for breaking out of admin mode (Ticket #3119)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 12:50:21 +00:00
gwoo
476007f0f4 firebird dbo fix from #2936
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 05:17:59 +00:00
gwoo
b3859caa7e updating dbo_mysql buildColumn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 00:47:49 +00:00
gwoo
3a5f89f3e2 updating fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5573 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 22:38:04 +00:00
dho
f2e5dcbbf9 Fixing syntax errors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-23 05:43:12 +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
8e213b8124 fix for number helper separator spelling, #3048
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:33:46 +00:00
nate
b33ff0330f Additional default named argument for pagination (Ticket #5535)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5569 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:32:12 +00:00
gwoo
780fe16c09 refactoring cleanUpFields with tests for #3101
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5568 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 01:31:34 +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
5f84abc452 updating schema output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5565 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 22:27:27 +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
nate
2ff0e4f54f Admin routing test for Ticket #3104
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 17:02:07 +00:00
gwoo
871817e6fe updating acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 14:29:39 +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
gwoo
74d16fc110 adding deprecated notices to file class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5559 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 03:39:02 +00:00
AD7six
59f3dfc427 Minor cleanup to tree test and fixture. No functional changes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 17:46:44 +00:00
nate
c4c3bf4ccd Adding fixes for parameter matching in reverse routing (Ticket #3099)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5557 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 16:02:11 +00:00
nate
8f8e471b5b Adding fix for DboMssql::lastError() (Ticket #3073)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:16:12 +00:00
nate
b4a8d513c3 Removing benchmarking code from Router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:12:24 +00:00
nate
bd194b51e5 Routing fixes for invalid null value matching and named argument handling (Ticket #3083, #3085, #3086, #3093). Thanks biesbjerg for all your help!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
gwoo
6c1a81eeb8 updating auth and db_acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5553 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 02:18:27 +00:00
phpnut
eeeee7b49b Implementing automatic UUID for primary keys if the field is CHAR(36).
Stripped out old code from NeatString.
Added String:uuid();
Renamed neat_string.test.php.
Added test for UUID generation.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5552 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 01:58:44 +00:00
phpnut
91197d7863 Renaming neat_string.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 01:17:41 +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
nate
5ba07c76c4 Localizing label text in FormHelper::input() (Ticket #2314)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 12:55:23 +00:00
nate
b7d7e70d46 Adding deprecation warning for $beforeFilter property usage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 23:47:09 +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
4529f428d0 updating AuthTest and AclComponent to work with it.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5545 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 16:42: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
mariano.iglesias
b4d77ddf8f Fixing test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5543 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 20:27:55 +00:00
mariano.iglesias
f2d4894f73 Adding new test case to show failing inner associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5542 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 19:03:49 +00:00
nate
44e978c194 Fixing hasMany SQL optimization (Ticket #3075)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5541 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 13:37:56 +00:00
dho
a5fd1561e8 By default no radio element is checked (ticket #2963)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 09:15:19 +00:00
dho
3c7168c58c Removing unwanted id from radio elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 08:50:16 +00:00
nate
382235ffbf Adding Router parsing test for Ticket #3074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5538 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 18:50:25 +00:00
gwoo
b222afd20b fixing errors resulting from removal of argSeparator and namedArgs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5537 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 17:54:02 +00:00
nate
e65c404c9c Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5536 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:32:18 +00:00
nate
90567a286a Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
gwoo
49df24a5e3 another update for console bootstrap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:42:21 +00:00
gwoo
bab2df65d0 updating bootstrap and index
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 08:39:12 +00:00
gwoo
db9b9d0e1b updating console bootstrap in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5532 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 07:35:18 +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
gwoo
82b263a8aa updating auth test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 19:33:46 +00:00
gwoo
5689a9af03 fix for auth redirect, #3072
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5529 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 18:37:43 +00:00
gwoo
1e56828522 fix for Controller::referer
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5528 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 18:05:28 +00:00
nate
5c48a926e7 Adding model test fixture and additional Router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 16:26:04 +00:00
nate
3b0099b877 More Router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:28 +00:00
gwoo
8dbd6366c1 fix for missing Folder class, #3069
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:25 +00:00
nate
32e61a8adf Adding Router test case for Ticket #3028
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:28:53 +00:00
nate
ad75ecea81 Fixing and refactoring reverse routing, and adding URL generation fixes (Ticket #3034)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:18:39 +00:00
nate
c3dc8cb827 Implementing automatic join models for HABTM associations, adding table prefix fix for Ticket #1965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 23:12:24 +00:00
nate
214ad6346f Refactoring Router and fixing route matching, adding tests (Ticket #3033)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:51:34 +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
nate
9d799ec7ca Expanding model support for Controller::paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5519 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:46:22 +00:00
nate
1911b1d7a5 Implementing custom array value formatting in Set::combine() and Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5518 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:59:49 +00:00
nate
9d77d85ce4 Additional groups for your unit-testing pleasure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5517 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:40:37 +00:00
nate
8d2d9d8684 Refactoring FormHelper::__selectOptions() (Ticket #1312) and adding tests for multiple select boxes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:20:01 +00:00
phpnut
e5de1e7f2b Adding fix for Debugger when running cake on a server that has E_STRICT enabled for php 5
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5515 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 15:59:16 +00:00