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
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
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
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
mariano.iglesias
c95175a4f9
Fixing documentation for Scaffold by adding more, and removing not relevant tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5927 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 17:29:38 +00:00
mariano.iglesias
490ac83313
Adding more documentation for Controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5926 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 17:21:23 +00:00
phpnut
6dabd38589
Correcting undefined variable notice
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5920 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 04:00:28 +00:00
gwoo
10d31dc8c6
updating scaffold templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5919 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:54:56 +00:00
phpnut
3ce7ff6d8e
Refactoring of scaffold and bake.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5918 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:14:07 +00:00
phpnut
6ab2b013bc
Initial refactoring of scaffold and bake.
...
Removing unused vars
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5917 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 03:04:08 +00:00
nate
8f12e402df
Fixing ACL test, misc ACL lookup optimizations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5916 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 00:17:37 +00:00
gwoo
fbd3811cd1
removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00
phpnut
7bc90a2eb1
Fixes #3474 , Plugin Models Not Loading for 1.2.0.5875 pre-beta release.
...
Remove deprecated loadPluginController() from basics.php
Fixed changed loadPluginController to loadController in CacheHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5905 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 03:27:09 +00:00
phpnut
f41aa80b78
Removing vars that are no longer used.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 01:32:17 +00:00
phpnut
f25e3b273c
Removing deprecated Controller::generateFieldNames(); and Controller::_selectedArray();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5903 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 01:15:11 +00:00
phpnut
8d6599c34b
Fixing bug for related records not being returned when using $recursive > 1.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5902 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-26 08:40:10 +00:00
phpnut
56425c7f39
Closes #3429 , scripts_for_layout are lost when you send an email with EmailComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5874 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 23:52:12 +00:00
mariano.iglesias
cd4ae338cc
Adding documentation for RequestHandlerComponent, SecurityComponent, and SessionComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5870 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 21:22:35 +00:00
mariano.iglesias
b1f42ec4c5
Adding documentation for EmailComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5869 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 21:03:47 +00:00
mariano.iglesias
ffde2a06dd
Adding documentation for CookieComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5867 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 20:44:51 +00:00
phpnut
f5be2ded4b
Adding fix to EmailComponent, would not use custom view.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5862 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 17:24:37 +00:00
phpnut
dfa840ad92
Fixes #3433 , [5788] breaks email component under certain conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5861 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 17:14:49 +00:00
mariano.iglesias
896f62544b
Changing @return int to @return integer and @param bool to @param boolean
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
1f9136eb18
Fixes #3432 , Email component won't show smtp info during debug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5859 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:20:07 +00:00
phpnut
160cd28440
Correcting @return int
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:11:12 +00:00
phpnut
da97a5c871
Correcting @return bool
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
654ff430d4
Adding documentation to AclComponent and AuthComponent.
...
Removed unused method DB_ACL::__getObject()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5854 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 06:58:51 +00:00
mariano.iglesias
897825d596
Adding documentation to classes belonging to Cake console.
...
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
mariano.iglesias
c3a735a2c1
Adding documentation for PagesController and Scaffold
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5839 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 23:38:01 +00:00
mariano.iglesias
3e4f219df4
Adding documentation for Controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5837 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 22:49:53 +00:00
phpnut
b584fe28c0
Fixes #3424 , Scaffold add no longer working, produces "Invalid Id" error message
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5832 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 17:37:25 +00:00
phpnut
e750c9d38f
Closes #3318 , When model calls invalidate, it would be usefull to use the __(messageID, true)
...
Fixes #2603 , Scaffold edit() should redirect to index() when no record is found.
Closes #2990 cake_sessions Needs A Database Name Setting, Configure::write('Session.database', 'default')
Closes #3120 , database - $config['encoding']; added new settings to database.php.default
Corrected errors when setting database configurations from console, would not allow changing setting on old configuration.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5815 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 10:14:30 +00:00
phpnut
e78fc1e90c
Fixes #3305 , Console i18n extract using wrong paths.
...
Closes #3396 , i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
d9153f6352
Fixes #3417 , isset but empty username or password means passwords not hashed by AuthComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5807 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 21:49:29 +00:00
phpnut
28a36282c5
Fixes #3393 , Email headers get appended each time send() is called
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5791 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 04:08:50 +00:00
phpnut
cc7d1ab74c
Fixes #2462 mime_content_type() is deprecated in EmailComponent.
...
Closes #2909 , Emailcomponent SMTP authentication.
Closes #2916 , EmailComponent: Add read receipt header.
Closes #2969 , change default charset in emailcomponent from ISO-8859-15 to utf-8.
Closes #3304 , EmailComponent doesn't allow custom view class.
Fixes #3353 , Email Component, content not shown when a file is attached.
Fixes #3381 , Email::__wrap function ignores the $_newLine configuration property.
Fixed ThemeView::renderElement() to load helpers
Changed View::renderElement() to search core elements also
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5788 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 02:31:25 +00:00
phpnut
998ee569e7
Fixes #2902 , DB_ACL::allow allowing all when $actions is not an array.
...
Fixes #2988 , AclComponent check() does not inherit permissions.
Fixes #3022 , Inconsistent table alias quoting crashes Acl node lookup with PostgreSQL.
Fixes #3129 , Console ACL Shell ACO View Broken
Fixes #3176 , Problems with ACL support on Microsoft SQL Server.
Closes #3311 as invalid, DboSourceTest::testArrayConditionsParsing tests added
Fixes #3312 , DB_ACL::check() fail returning right permission
Fixes #3344 , Model->field adds incorrect condition under certain circumstances.
Fixes #3400 , Cookie Component: When reading a non-existing key it throws a notice.
Fixes #3407 , Since [5768] CookieComponent throws warning when used in beforeFilter().
Closes #3401 , Added form test to ensure $Form->fields array is what the security component requires.
Updated AclComponentTest
Merged changes in app/ to cake/console/libs/templates/skel
Fixed generated link to Run More Test after running Group > All tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5776 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 12:51:17 +00:00
phpnut
1aa1164b1d
Closes #3394 , applied test patch
...
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php
Removing additional defines in core.php, replaced with Configure::write();
Added CakeSession::__startSession() to check for sent headers before attempting to start the session.
Added notices to Configure::__loadBootstrap() that will be removed before stable release.
Refactored Folder::tree().
Added additional FolderTest cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:05:25 +00:00
gwoo
a00eff7c1e
updating acl fixes #3398
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5761 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 16:34:24 +00:00
gwoo
1eea608e0c
updating Acl to use Configure, adding config stack to CacheEngine, adding notices for defines to Configure, modifying bootstrap for Cache::config() updating tests for acl, auth, and cache.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 01:09:21 +00:00
nate
61c06ae94a
Refactoring AuthComponent and implementing digest authentication in SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5745 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 21:00:32 +00:00
phpnut
348e31530a
Fixing blackHole when form has more than one model with check boxes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5742 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:47:32 +00:00
phpnut
8a90658771
Fixed undefined notice caused in [5739]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5740 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:06:10 +00:00
phpnut
2806a2fb61
Fixing multiple checkboxes causing blackHole of forms
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5739 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 18:02:17 +00:00
gwoo
8fbcfe5239
updating scaffold, fixes #3367
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5734 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-08 19:58:56 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
dho
0d1d5f51fa
Removing debug statement
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5507 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:58:09 +00:00
phpnut
aabbf0ed85
Adding patch from #2908 , fixed to read the response from the server
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5505 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 13:31:12 +00:00
gwoo
889e62881b
added option to modify element cache name, #2327 , see tests. Adding auth key for flash message, #2996
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5497 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-07 07:44:12 +00:00
mariano.iglesias
efd66066f6
Fixing some documentation in Component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5495 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-06 15:00:35 +00:00
gwoo
44058a818f
changing key for Cookie, #3017
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:04:29 +00:00
gwoo
99c1e9fe6d
auth invalid login return false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 07:16:46 +00:00
gwoo
64b5f897e2
updating auth component
...
added any object authorization
AuthComponent::object replaces AuthComponent::objectModel, add AuthComponent::hash, see #2894
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 06:43:44 +00:00
phpnut
b29366ddc0
Refactoring loading of plugins.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 19:42:58 +00:00
phpnut
549d86ac23
Refactoring dispatcher.
...
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
phpnut
31c3447682
Adding fix for #2937 , Email component needs new lines when sending as both
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 20:02:14 +00:00
phpnut
17f1d90eba
Reverting last commit to EmailComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 19:34:35 +00:00
phpnut
2e342b7eb3
Adding doc comments and refactoring component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5457 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 17:54:38 +00:00
phpnut
9ee71eefa7
Adding fix for #2933 , function arrayTrim in class INI_ACL fail to work
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:55:25 +00:00
nate
8f69b6f551
Moving SecurityComponent constructor code to initialize()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 21:21:08 +00:00
gwoo
87bddd81f0
Auth model authorization will pass user, controller, action as parameters to the model's isAuthorized method
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5437 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-10 16:25:23 +00:00
gwoo
c94a72db5a
setting Auth::authorize to false by default
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 18:56:45 +00:00
gwoo
dcbab2da0f
updating AclComponent to load custom component which should extend AclBase
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5424 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:49:16 +00:00
gwoo
a6782f0b72
updating Auth component and tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:27:04 +00:00
gwoo
49817ea42d
updating Auth component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:38:58 +00:00
gwoo
3769fa796d
updating auth, acl and tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 21:01:31 +00:00
phpnut
360f00becf
Adding fix for #2105 , Email Component template should default to null?
...
Adding fix for #2196 , allow creation of user defined headers in email component.
Adding fix for #2215 , EmailComponent header injection protection and cleaning.
Adding fix for #2717 , EmailComponent should account for SAFE_MODE restriction on php mail function.
Adding fix for #2855 , EmailComponent methods and parameters (to, subject, message, from etc.) should be email injection safe
Adding fix for #2859 , EmailComponent does not send email when adding cc: and bcc:
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5389 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:33:22 +00:00
phpnut
4ff21a6a08
Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +00:00
gwoo
9cd8a79ad9
adding support for passing model name to model task, updated isMobile check in requestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5377 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-05 08:50:56 +00:00
nate
77950dc608
Addind iPhone detection to RequestHandlerComponent::isMobile()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5375 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 22:20:58 +00:00
chartjes
d1f6f2339e
Refactored SMTP send code, cleaned up tests. Test requires local SMTP server that is working
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:12:48 +00:00
chartjes
15da6d1255
Added code to allow Email compoenent to send email via SMTP, along with test for component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5351 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 20:29:38 +00:00
dho
126fac4145
Typo (ticket #2829 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5349 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 06:00:50 +00:00
phpnut
40a47a5e90
Correcting session errors in EmailTest test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 04:28:24 +00:00
chartjes
5913b5d21e
Added in support for sending code out via SMTP
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 21:17:09 +00:00
phpnut
51aa81f336
Adding fix for Ticket #2821 , fixes Controller::postConditions() overrides $data passed in.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 08:24:26 +00:00
phpnut
82ba2fa716
Fixing bug when using Security component and a form has a hidden field, similar to those use by FormHelper::checkbox()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5333 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:19:19 +00:00
phpnut
9d56c4616e
Adding fix for Ticket #2809 , fixes Add / Edit scaffolding : Template is always 'edit' instead of $action
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:20:21 +00:00
phpnut
dac1bd0913
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
f613db8d1c
Adding fix for Ticket #2792 , fixes AuthComponent: Blank password at user login generates SQL error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 05:59:56 +00:00
phpnut
902c6fa173
Adding fix for Ticket #2773 , fixes Security Component requireAuth
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:10:15 +00:00
phpnut
32c092ecff
Adding fix for Ticket #2798 , fixes Hidden field causes undefined Index warning in Security Component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:42:17 +00:00
phpnut
a80be72ff3
Adding ability to read cookies in the Controller::beforeFilter()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5304 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:18:36 +00:00
dho
c803efec88
Fixing typo (ticket #2779 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 07:58:48 +00:00
gwoo
b1c551f10a
fix for scaffold without CAKE_ADMIN
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 21:41:43 +00:00
gwoo
c9a2da3e0c
Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
gwoo
335a384613
updating Acl, should fix #2733
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:43:37 +00:00
phpnut
ddb5524028
Adding fix for #2723 , this fixes Saving an array in an encrypted cookie, with the CookieComponent, prevents you from deleting it later.
...
Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
Deprecated the use of the Controller properties to set the CookieComponent properties
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 05:39:39 +00:00
gwoo
851a834995
fixing form helper for tickets #2726 and #2659 , updated tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
mariano.iglesias
22ca7f3f3b
Adding documentation for Component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 04:21:07 +00:00
phpnut
3ed6780ac4
Adding fix for #2648 , fixes issue with token not being regenerated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:28:32 +00:00
phpnut
41d41cf7e2
Adding fix for undefined variable in Controller::cleanUpFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5250 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:08:31 +00:00
nate
b2b2da0822
Enabling custom pagination methods in model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 19:14:28 +00:00
gwoo
68113a4a9a
fixing missing passedArgs member in controller that was not committed in [5228], fixing cleanUpFields to not set a default time or date.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:40:01 +00:00
phpnut
52680ffcd3
Adding fix for FormHelper::checkbox() not creating the hidden fields.
...
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 06:11:48 +00:00
phpnut
800961fc97
Adding changes to Controller::set() to force $camelBacked variables only if second params is null
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5231 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 23:04:41 +00:00
phpnut
88dec237a7
Adding change to Controller::set() to force variable to $camelBacked
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5230 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 22:41:43 +00:00
phpnut
9be44a5df1
Fixing issue with bad key set in Controller::generateFieldNames() causing HABTM not to save
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5229 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 22:12:55 +00:00
gwoo
700368710f
fixing typo in cleanUpfields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5214 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 04:45:14 +00:00
phpnut
cbd5bc9e47
Changing Helper::_ _value(); to Helper::value();
...
Removed HtmlHelper::value();
Changed all references to _ _value() to value();
Started changes needed for loading custom view classes located in a plugin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 19:54:36 +00:00
phpnut
f916745c87
Implementing lazy loading of plugin models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 02:32:27 +00:00
gwoo
97879bc516
fixing typo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:42:02 +00:00
gwoo
80845b11c5
adding check to previous cleanUpFields fix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5205 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:40:40 +00:00
gwoo
741e77c4b0
updating cleanUpFields in 1.2 and 1.2 for #2632
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5204 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:38:10 +00:00
gwoo
67144a0341
moving beforeRender to before loadView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5184 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 05:41:07 +00:00
nate
eaff06bff6
Adding beforeRender() callback to components
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5159 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:24:22 +00:00
gwoo
5e3c6def84
cleaning up auth, adding options to sort in paginator, adding preg match for database in dbo source
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:15:58 +00:00
nate
ae7ab27d20
Refactoring ACL class locations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5156 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:12:05 +00:00
phpnut
552d723bad
Adding fix to SecurityComponent::_ _validatePost()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5150 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 20:20:55 +00:00
phpnut
7fb6896ab6
Adding fix for #2611 , fixes App crashes when using requestAction with Security Component enabled
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:34:37 +00:00
phpnut
ce66c9863e
Adding fix for #2607
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5141 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:24:58 +00:00
phpnut
e2617621fd
Adding fix for #2607 , fixes Fatal error: Call to a member function on a non-object when using php 4
...
Adding fix for #2590 , fixes ps_files_cleanup_dir: failed: Permission denied
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5124 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 04:44:18 +00:00
nate
e9357fc432
Refactoring AclComponent to use model instances consistently
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5112 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 20:01:44 +00:00
gwoo
3a9799c554
updating scaffold links and views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 05:38:56 +00:00
dho
4513007f35
Applying patch of ticket #2560
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5040 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-11 13:05:55 +00:00
gwoo
d1d583f0cd
updating scaffolding and css
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-10 16:19:23 +00:00