phpnut
da1d437aee
Removing PEAR database abstraction support
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:49:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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