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
gwoo
3fdfdfb1cb
updating FormHelper::input() to allow multiple checkbox
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-15 07:18:25 +00:00
nate
1f56ef2b7a
Adding 'multiple' => 'checkbox' option to FormHelper::select() (Ticket #1901 and Ticket #3043 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5992 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-14 05:51:49 +00:00
gwoo
f5dc3c7655
fix for overriding of FormHelper::input() type
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5991 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-13 09:36:31 +00:00
phpnut
a681c99c0f
Closes #3462 , Auth component cause post validation of security component fails.
...
Fixes #3500 , Auth and Security at the same time. input a error username or a error password. the failure redirector will mistake.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5990 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 18:14:18 +00:00
phpnut
dbe9beb6cb
Refactoring [5988]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5989 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 17:31:37 +00:00
phpnut
656ab3a9ab
Closes #3530 , SQL log not shown when enabling debugging only for certain actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5988 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 11:51:30 +00:00
phpnut
eb6c94a01e
Closes #2781 , $form->input on date fields renders maxYear and minYear in $options as HTML attributes.
...
Closes #3181 , Year list ordering in FormHelper order is now formated descending.
Fixes #3524 , FormHelper->month, day, year, hour, and minute should use $selected if it is supplied.
Fixes #3558 , post validation don't pass if form use only hidden fields.
Fixes #3568 , Saving datetime fields is broken in scaffolding.
Fixes #3574 , Typo in Session class.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 11:31:43 +00:00
phpnut
c7307742e2
Adding fix for Undefined variable: _SESSION
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5986 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 05:31:35 +00:00
phpnut
6d867d72a9
Fixes #3547 , EmailComponent: SMTP: Cc and Bcc recipients must be sent through RCPT TO - also need different formatting.
...
Fixes #3548 , EmailComponent: SMTP: No subject, and no recipient headers.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5985 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 03:26:34 +00:00
phpnut
2d428905aa
Fixing blackHole of forms when date/datetime fields are used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5984 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 02:41:23 +00:00
phpnut
e584f7bd0c
Fixing undefined index notice when missing * errors are thrown
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5983 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 02:04:54 +00:00
phpnut
11d295eb0c
Fixes #3507 Session Security.level "high", session destroyed on media 404.
...
Added ability to turn off HTTP_USER_AGENT check in a Controller::beforeFilter(),
Added id() to Session helper and component to return current Session id, the component accepts a $id parameter to force setting the Session id which must be called in a Controller::beforeFilter().
Sessions id are not longer renewed if a request is from Ajax, or from requestAction();
When Security.level (1.2) or CAKE_SECURITY (1.1) is set the 'high' renewing of Session id only happens if request is 2 seconds after the last request.
Added $_Session[Config][timeout] which forces renewing Session if request are within the 2 second limit and over 10 request.
If an application is expected to make multiple request (more than 10) to the server in a single proccess, Configure::write('Security.level', 'medium'); (1.2) or $this->Session->security = 'medium'; (1.1) should be used in a beforeFilter for the specific methods.
1.2 Sessions allow using CacheEngines to store Sessions, be aware that using memory caching as the only storage of Sessions is not reliable. Further work will be done to allow using the CacheEngines with database Sessions, etc.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5982 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 01:36:20 +00:00
gwoo
6c0e70faa5
updating scope in Helper::setEntity()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5981 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 00:57:38 +00:00
gwoo
25252e678a
updating scope in Helper::setEntity()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5980 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 00:43:38 +00:00
phpnut
b867f832c1
Refactoring return of Set::map(); and Set::reverse();
...
Added new test cases to SetTest.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5979 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-11 23:49:30 +00:00
gwoo
e51455cb17
Adding merge support for PluginAppController properties
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5978 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 19:56:40 +00:00
gwoo
70366e99e0
change error message format for i18n in Auth, closes #3539
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5976 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 15:41:06 +00:00
gwoo
3feac9a768
updating model Cache engine.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5975 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 08:00:59 +00:00
gwoo
2edfe3dd53
updating Controller::redirect(), closes #3522 , deprecated Controller::cleanUpFields, see Model::deconstruct()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5973 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 02:34:00 +00:00
gwoo
18c916fc76
adding tests, closes #3550 , closes #3513 , fixes #3556
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5971 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 01:36:34 +00:00
gwoo
d303a64f65
refactoring Helper::setEntity, adding test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5970 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 00:17:44 +00:00
gwoo
431f2c2a88
updating schema generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5969 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 19:06:06 +00:00
nate
4e4fd05034
Fixing conflicting var names in scaffold
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5968 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 15:30:23 +00:00
gwoo
42767170d1
fixing habtm
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5967 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 01:44:47 +00:00
nate
858447a184
Fixing date/time inputs and removing dependency on Controller::cleanUpFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5965 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 00:05:12 +00:00
gwoo
557a1bf239
Router::__mapRoute, added check for plugin and controller with the same name
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5961 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-07 00:17:38 +00:00
mariano.iglesias
9b01ce7066
Adding support for Set::countDim() to count dimensions in all branches of an array, not just the first element. Set second parameter of countDim to true to get the real dimension of the array (regardless if the deepest depth is on first element).
...
Adding better documentation and test cases for countDim
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5960 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 18:54:32 +00:00
phpnut
4e163f471f
Fixes #3520 , EmailComponent: Doesn't catch valid SMTP authentication response.
...
Fixes #3521 , EmailComponent: Violates SMTP protocol - "Improper use of SMTP command pipelining"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5959 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 06:09:06 +00:00
phpnut
e48e49073b
Fixes #3486 , Incorrect rule in Inflector::singularize()
...
Added additional test for Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5957 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 05:12:37 +00:00
phpnut
1e1c49025a
Fixes #3502 . Minor fix to email component - leading newline bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5956 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 04:39:23 +00:00
gwoo
33ce66dd54
fixed extra space in auth msg, closes #3531
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5953 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 18:03:36 +00:00
nate
0b217acd18
Enabling formatting attribute for FormHelper date and time fields (Ticket #2405 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5951 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 03:57:12 +00:00
mariano.iglesias
1356ea3794
Fixing documentation for CakeSchema
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5950 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 03:43:31 +00:00
mariano.iglesias
53052452f7
Adding documentation for Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5949 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 03:36:12 +00:00
mariano.iglesias
b31e0951b3
Fixing accessor in documentation for ConnectionManager and adding more documentation for DbAcl
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5948 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 02:47:04 +00:00
nate
a320969c0a
Fixing form entity scoping when security tokens are enabled
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5947 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 19:15:18 +00:00
nate
43ed8db5ea
Cleaning up test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5946 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:57:23 +00:00
nate
6040dd2779
Updating helpers with new form field naming scheme
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5945 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:07:59 +00:00
nate
506cba0dc9
Removing dependency on default database connection from all test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5944 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:05:00 +00:00
gwoo
5ccea91b91
updating error handling: messages, templates and css, updating home page messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5943 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 07:03:57 +00:00
the_undefined
73d873acaa
Fixed issue that lead HttpSocket to choke on big files (> 100kb)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5942 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 02:29:42 +00:00
the_undefined
7e57a4d28b
Updated return value docblock for Model::save
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5941 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-03 17:55:30 +00:00
gwoo
53f889f6c6
updating router fixes #3485
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5935 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-02 06:21:41 +00:00
the_undefined
58517b34b0
Added SSL support for Socket
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5934 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-01 21:37:52 +00:00
gwoo
b1b8fcddd2
adding named to params so the proper args get passed to the action, updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5932 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-31 03:53:41 +00:00
nate
9b578c5bb1
Adding tests for incorrectly matched routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5931 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 22:41:55 +00:00
nate
458bd08027
Adding regular expression tests for route matching
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5930 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 21:25:02 +00:00
mariano.iglesias
9885e2d253
Changing CamelCase parameter to camelBack
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5929 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 18:07:23 +00:00
mariano.iglesias
cecc2e74e3
Adding documentation for ModelBehavior and ConnectionManager
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5928 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 17:42:31 +00:00