Commit graph

2267 commits

Author SHA1 Message Date
phpnut
fda664d737 Fixes #3282, Problem with _Token.fields and few submit buttons
Fixed failing Dbo*Test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:37:58 +00:00
gwoo
c740e02896 updating Auth and console script params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5724 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 01:00:55 +00:00
gwoo
1d46e068d3 adding test to router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5723 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 23:29:57 +00:00
phpnut
d7ad471580 Fixing undefined notice in FormHelper when using SecurityComponent.
Corrected test case in FormHelperTest::testFormCreateWithSecurity()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 19:43:32 +00:00
mariano.iglesias
24eb2d357c Fixing wrongly forced ID in test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5721 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:41:30 +00:00
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