gwoo
b5173d0349
updating cake.generic.css, fixes #3616
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6049 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:31:00 +00:00
gwoo
330058c72f
updating env(), fixes #3633
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6048 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:28:09 +00:00
phpnut
d4a0f8300e
"Fixes #3634 , Email Component and PHP4. Double headers being set for To: and Subject:"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6047 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:12:03 +00:00
gwoo
eba8f6770b
updating Sanitize::clean() odd spaces, fixes #3576
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6046 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 17:05:40 +00:00
gwoo
10f259c95b
updating model task, fixes #3610
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 07:21:46 +00:00
gwoo
072495f5e1
updating TextHelper::autoLinkUrls(), fixes #3597
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6043 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 05:36:20 +00:00
gwoo
cc0d4b808e
updating schema value handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6042 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 03:59:19 +00:00
gwoo
c4c6ad1a86
adding check for max pages, fixes #3586
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6041 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 02:51:21 +00:00
phpnut
c83ae0e1a9
"Fixing path search for fixtures in the test suite"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6039 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 01:55:50 +00:00
phpnut
306b577368
"Correcting paths search in Configure::load()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 01:18:27 +00:00
phpnut
0a664d7fbc
"Updating custom view loading"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6037 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-21 18:42:40 +00:00
gwoo
d8e206b9f9
updating controller and auth, fixes #3539
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6036 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-21 17:37:55 +00:00
gwoo
01230b92b1
refactoring Set::map() and reverse, all tests passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6035 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 21:04:58 +00:00
gwoo
dd5854f210
refactoring Set::reverse()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6034 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 20:00:54 +00:00
gwoo
d0f2aaaa62
fixing test for Set::reverse()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6033 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 18:33:40 +00:00
gwoo
6fe654cd9e
adding test for Set::reverse()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6032 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 18:20:47 +00:00
the_undefined
effc9d4029
Added initial cookie jar support to HttpSocket
...
Added test coverage for it
Fixed bug in HttpSocket::buildCookies()
Fixed 'Connection: close' not closing the connection bug
Fixed some issues with HTTPS connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6031 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 17:19:20 +00:00
phpnut
be493341fa
"Correcting svn properties"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6030 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 04:51:06 +00:00
phpnut
2c28dcf841
"Refactoring Configure::_ _buildPaths();"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6028 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 00:39:37 +00:00
phpnut
e110032089
"Updating Controller::render() to use App::import() for loading the view class
...
Corrected typo in basics.php loadView()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6027 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 16:39:14 +00:00
phpnut
cd3fee384d
"Correcting order when building default file paths.
...
Fixed Configure::listObjects() to only return files form the proper paths.
Updated Schema class"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6026 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 15:54:41 +00:00
gwoo
fcdc5ad640
adding support for 0 key in multiple records in View::entity(), added tests to Helper test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6025 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 14:08:37 +00:00
gwoo
a215688e87
adding support for multiple records in Helper::value()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6024 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 09:05:20 +00:00
gwoo
31fac597bd
adding test to dispatcher, closes #3613
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6023 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 22:52:15 +00:00
the_undefined
0eed95dda2
Added $mode parameter to HttpSocket::buildHeader
...
Implemented an initial not yet standards conform cookie parse / build function
Added support for a $chars parameter in token escaping
Modified HttpSocket::parseHeader()s default behavior for duplicate fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6022 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 20:57:42 +00:00
the_undefined
cc3614804f
Fixed some https / magic port recognition issues with HttpSocket::url
...
Added some more tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6021 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 18:55:50 +00:00
the_undefined
922ca3b7cb
Implemented a HttpSocket::url function
...
Fixed some problems with HttpSocket::request
Greatly improved test coverage on HttpSocket::request
Added test for HttpSocket::url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6020 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 16:51:11 +00:00
phpnut
b0a1b18210
"Refactoring App class.
...
Added Configure::corePaths() to return paths to core library install.
Added additional tests for App::import()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6019 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 07:18:25 +00:00
the_undefined
b3afc463ac
Added a new $altKey parameter to normalizeFindParams
...
Refactored the unit test for it and added more samples
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6018 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 06:14:27 +00:00
the_undefined
266d7ba738
Fixed test case for normalizeFindParams
...
Slightly refactored normalizeFindParams
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6017 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 23:31:15 +00:00
nate
f9e8e82b5b
Fixed debug output style for displaying whitespace
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6016 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 23:13:52 +00:00
nate
6f38be85f4
Laying groundwork for Model::find() refactor code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6015 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 22:46:55 +00:00
nate
4823b91a94
Adding HelperTest to Helper test group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6014 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 22:45:03 +00:00
phpnut
cae7db2011
"Updating console scripts to use App::import()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6013 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 17:37:23 +00:00
phpnut
f786c266c2
"Adding App::import for Overloadable class "
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6012 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 17:35:47 +00:00
nate
b3e4b64aa6
Adding Helper/FormHelper fixes for field names which are like model names (Ticket #3588 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6011 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 04:27:24 +00:00
nate
3c7d0e90ee
Adding test to disprove Ticket #3506 (DboSource::order())
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6010 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 03:57:15 +00:00
phpnut
a83cfa8489
"Reverting [6007]"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6009 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 20:34:05 +00:00
nate
22dba9b462
Updating cache class for Configure changes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6008 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 20:11:52 +00:00
nate
97dd2ea2ea
Updating cache config check in Configure::__loadBootstrap()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6007 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 20:07:38 +00:00
phpnut
1b93e79361
"Updating App::import() to allow using plugin components, behaviors, helpers, and view classes"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6006 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 19:10:29 +00:00
phpnut
f60d5bf4bc
"Added missing path define"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6005 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 18:20:52 +00:00
phpnut
c1533a6aa6
"Correcting path searches for base Classes"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6004 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 18:04:02 +00:00
phpnut
87d7124978
Fixing order of code in Configure::__loadBootstrap();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6003 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 12:01:02 +00:00
phpnut
412cc7adfb
Adding searching for paths when cake core is installed in the php include_path
...
Corrected setting for cache key
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6002 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 11:31:13 +00:00
phpnut
c000940e36
Closes #2119 Only define clone() in PHP4 when it hasn't been already defined.
...
Closes #2213 , Support multiple plugin paths.
Closes #2234 , filepaths to behavior classes should be cached in class.paths.php also
Closes #2345 , ability to group components into subfolders
Closes #2645 , Improvement to basic.php for class loading.
Fixes #3526 , Cache::write, when using just the config name, it fails.
Fixes #3559 , loading plugin model as assoc don't work.
Closes #3567 Controller Folders (Note this does not need routing to work, but controller names can not conflict with others in the same application so naming must still be unique)
Fixes #3579 , email.php component: Parse error with php 4.
Adding new class and file importer.
Updated most of the core to use the importer.
Added ClassRegsitry::init() that will create and instance of an object and store it in the registry.
Deprecated most of the load functions in basics.php
Plugin model loading now forces using the dot notation, to use models within a plugin, all the model associations must be in the PluginName.Model syntax, if this is not used, the plugin will look for the models in the main app/models directory first, if not found then it will search the plugin directories recursively until it finds a model.
var $belongsTo = array('SomeModel'); will look for some_model.php in the app/models
var $belongsTo = array('MyPlugin.SomeModel'); will look for some_model.php in my_plugin/models
var $belongsTo = array('MyPlugin.MyPlugin', 'SomeModel'); will used my_plugin/models/my_plugin.php and app/models/some_model.php
The controllers of the plugin will still look for the default models inside the plugin if var $uses is not set:
var $uses = array('SomeModel'); will look for some_model.php in the app/models
var $uses = array('MyPlugin.SomeModel'); will look for some_model.php in my_plugin/models
var $uses = array('MyPlugin.MyPlugin', 'SomeModel'); will used my_plugin/models/my_plugin.php and app/models/some_model.php
All of the above will work between plugins and main app
These changes also allow placing model and controllers is sub directories
Removed old class.paths.php file generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6001 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 09:35:19 +00:00
mariano.iglesias
58d9d38be1
Adding tests for input magic with multiple checkboxes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6000 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 05:27:16 +00:00
phpnut
18c7a00a47
Correcting issues with Sessions and Controller::redirect()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5999 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 03:52:14 +00:00
phpnut
2726d97cfb
Correct location of the AppHelper file
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5998 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 01:11:30 +00:00
phpnut
fd1ad288d9
Moving app_ files out of the root cake directory
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5997 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 01:08:59 +00:00