Commit graph

965 commits

Author SHA1 Message Date
nate
6776cc2e10 Adding URL fix for Ticket #1679
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4194 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 07:07:57 +00:00
nate
0cea0a6ff5 Integrating new Validation class with Model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4193 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 06:53:19 +00:00
phpnut
a1e3fe6f78 "Adding templating to email component"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4192 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 06:39:02 +00:00
phpnut
fd1cbd7055 Adding Portuguese (Brazil) locale directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4191 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 05:54:32 +00:00
phpnut
2c9aac9c52 Updating Plural-Forms:
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4190 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 05:30:02 +00:00
phpnut
859becf230 Adding Finnish locale directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4189 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 04:55:48 +00:00
phpnut
3eac55449e Adding function to basics.php to allow specifying a catalog to use for translation.
This should be used when LC_MESSAGES does not contain the translation strings.
Added doc comments to I18n and I10n classes.
Refactored I18n class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4188 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 04:42:47 +00:00
phpnut
287c858bb0 Updating French translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4187 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 04:39:01 +00:00
phpnut
528364d6d7 Updating Japanese language
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4186 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 19:47:57 +00:00
phpnut
38ea3b6d3a Updating Russian translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4185 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 19:34:29 +00:00
nate
48a8114579 Adding submit button wrapper div for FormHelper::submit()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4184 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 19:25:04 +00:00
nate
46f5c22a8f Fixing array formatting in DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4183 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 19:20:45 +00:00
gwoo
b75433ff9f cli acl.php fixes. #1773 and #1780
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4182 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 16:35:21 +00:00
phpnut
b0a23e19f8 Moving translation files to proper location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4181 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 05:55:24 +00:00
phpnut
e5c006d9d3 Adding Czech translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4180 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 05:47:14 +00:00
phpnut
43afe6ebc1 Moving core.po to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4179 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 05:12:14 +00:00
phpnut
3638dffb54 Correcting charset for Chinese (PRC)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4177 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 04:47:23 +00:00
phpnut
a06889e24a Updated Chinese translations.
Updated Italian translations.
Added po file for Chinese (PRC)


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4176 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 04:46:17 +00:00
nate
5a3feda301 Adding Router fixes for #anchors and admin/pagination routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4175 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 04:32:22 +00:00
phpnut
313ac20ff8 Updating Japanese translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4174 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 02:31:53 +00:00
phpnut
802acabe31 Danish, French and Russian .po and .mo files added to the core. These have not been translated yet
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4173 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 00:39:50 +00:00
phpnut
5e7db7d91a Adding check to I18n class for found language in the first pass of a translation method call. This speeds up the translations since the language detection in I10n class is not called on each string.
Added additional check for language in I10n::__setLanguage();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4172 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 23:59:57 +00:00
phpnut
de3098855b Changing Session check in I18n class to use the same name as Configure::write().
Changed I10n class to attempt setting language based on DEFAULT_LANGUAGE if it is set and the auto detection of the HTTP_ACCEPT_LANGUAGE fails to find a match

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4171 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 23:35:59 +00:00
nate
673bd82ee8 Adding 1.2 fix for Ticket #1794
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4170 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 21:30:56 +00:00
nate
2ea8e4edee Adding NOT query conditions fix for Ticket #1793
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4167 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 21:24:30 +00:00
nate
a420c70c91 Optimizing findCount() query, and adding beforeFind() reference fix for Ticket #1693
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4165 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 20:36:00 +00:00
nate
ebe6bab814 Adding Controller::flash() fix for Ticket #1783
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4164 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 20:31:06 +00:00
phpnut
ae1c471316 Updating Spanish and Italian translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4163 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 17:38:42 +00:00
phpnut
7333985b97 Updating Dutch language
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4162 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 16:19:52 +00:00
phpnut
38dd966005 Adding Dutch translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4161 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 15:50:59 +00:00
phpnut
2607043916 "Changing charset for Chinese language"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4160 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 15:49:00 +00:00
dho
3dbe5ac5b9 Updating German translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4159 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 15:45:26 +00:00
phpnut
ec388de3cc Adding Chinese translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4158 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 15:44:20 +00:00
phpnut
f9b1b05e17 Updating Italian language
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4157 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 14:30:49 +00:00
phpnut
2a1608473d Updating German translations with new strings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4156 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 10:54:04 +00:00
phpnut
60ad3093da Adding German translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4155 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 10:51:29 +00:00
phpnut
a7045a75b5 Updating translation files with new strings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4154 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 09:24:29 +00:00
phpnut
8e7e58cb1a Updating pot file with new translation strings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4153 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 09:18:28 +00:00
phpnut
42198541d3 Updating core files with translation function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4152 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 09:09:06 +00:00
phpnut
359154fabf "Correcting charset for the Japanese language."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4151 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 08:58:32 +00:00
phpnut
41c71dc9a4 "Modifying home.ctp"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4150 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 08:21:10 +00:00
phpnut
fcaf285dc4 Adding Japanese translation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4149 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 08:15:18 +00:00
phpnut
29a389f322 Updating Portuguese language
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4148 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 07:56:13 +00:00
phpnut
b1c4133aba Adding Portuguese language
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4147 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 07:25:17 +00:00
phpnut
903e96ac5f Adding Italian translation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4146 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 07:08:17 +00:00
phpnut
1be41a5fcf "Adding translation function around Editing this Page"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4145 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 05:43:40 +00:00
phpnut
0d3f1b30de Correcting Spanish translation for Editing this Page
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4144 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 05:32:12 +00:00
phpnut
cc5ccb7e2d "Adding missing string for translation"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4143 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 02:14:10 +00:00
phpnut
2a092d8331 Fixing missing translation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4142 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 02:10:41 +00:00
phpnut
b4a93ea971 "Adding key for Spanish language es_mx"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4141 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 01:55:54 +00:00
phpnut
2ce49ac3ed "Forcing HTTP_ACCEPT_LANGUAGE to lower case string"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4140 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 01:53:16 +00:00
phpnut
036e0d2a15 Adding Spanish translation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4139 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 01:24:55 +00:00
phpnut
cec62a4774 "fixing parse error"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4138 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 01:17:38 +00:00
phpnut
a96e93ab3e Correcting error found when testing bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4137 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:50:49 +00:00
phpnut
c52caa321a Adding default.pot file that holds all translatable strings from the core.mo
Adding English .po and .mo files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4136 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:34:27 +00:00
phpnut
87060dbf86 Updating files with translation function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4135 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:29:39 +00:00
nate
19798c71b3 Adding 1.2 fix for Ticket #1797
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4132 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:17:52 +00:00
phpnut
4f1c5ef386 Wrapping all core messages in translation function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4129 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 22:49:47 +00:00
phpnut
c5ec6b0ea1 Updating HtmlHelper::charset() to use Configure::read('charset)
Updated core layouts to use $html->charset()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4128 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 21:33:23 +00:00
phpnut
9283b97f01 Setting charset with Configure::write();
Adding default charset values for all languages.
Those that I did not know where set to utf-8

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4127 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 21:15:40 +00:00
phpnut
5a128ed722 Adding charset var and __l10nCatalog key to I10n class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4126 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 21:05:42 +00:00
phpnut
238ddacded Cleaning up translations model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4124 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 20:30:09 +00:00
phpnut
d23de28349 Adding doc comments to translation functions in basics.php
Refactoring I18n class to use one locale directory for an application.
Translations will be located in app/locales/[LANGUAGE]/LC_MESSAGES/[CONTROLLER].mo or [CONTROLLER].po
If not found app/locales/[LANGUAGE]/LC_MESSAGES/default.mo or default.po
All core translations will be located in cake/locales/[LANGUAGE]/LC_MESSAGES/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4122 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 20:04:15 +00:00
nate
4c586b7893 Fixing default label rendering in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4121 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 16:26:54 +00:00
dho
b5a4e298fb Fixing "undefined variable" problem in FormHelper::input
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4120 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 07:38:31 +00:00
nate
02ec1887ce Un-requiring model name parameter in FormHelper::create(), and moving date/time option data to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4119 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 05:23:07 +00:00
phpnut
90a78232ed Changed Configure::read() so it would return null if key is not set.
Refactored I18n and I10n classes.
Removing languages that are not found in browsers

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4117 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 22:05:42 +00:00
phpnut
78df4e3549 Cleaning up I10n and I18n classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4116 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 09:17:32 +00:00
nate
6ae8f7e37c Refactoring FormHelper::create(), and stripping empty array elements in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4115 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 06:10:35 +00:00
nate
0de17ece93 Updating auto-generated form tag ID
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4114 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 05:49:19 +00:00
nate
3c023b4335 Adding automatic list variable detection for select menus, and 'default' => false option for preventing form submits via JavaScript
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4113 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 04:46:52 +00:00
nate
fd9a347fe1 Updating FormHelper docblock
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4112 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-20 21:43:11 +00:00
nate
ccf52fa20d Updating scaffold views with new FormHelper and URL code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4111 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-20 21:41:42 +00:00
nate
6e3f0c8f1c Updating helper docblocks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4110 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:31:14 +00:00
nate
8606816642 Fixing View class reference in RssHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4109 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:27:19 +00:00
nate
982381dc74 Binding additional Behavior callbacks to Model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4108 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:26:02 +00:00
nate
eeec18d562 Converting scaffold URLs to array-based
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4107 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-17 15:33:21 +00:00
nate
54a5055fa4 Adding loadControllers() fix for Ticket #1745
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4106 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-15 16:18:15 +00:00
nate
deea24b153 Fixing undefined index error in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4104 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-15 16:10:57 +00:00
dho
c25bcd26ab Fixing error messages in File::create (ticket #1770)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4103 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-15 12:33:15 +00:00
gwoo
1490f7da5d View::layoutPath fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4102 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-13 05:50:32 +00:00
phpnut
b8a46e14d7 Adding Folder::rmdir().
Removed empty lines from basics file

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4101 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-13 04:39:26 +00:00
nate
b5face3516 Changing Model::del to check for existence of itself before allowing deletes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4099 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-13 04:04:15 +00:00
gwoo
16bf452787 updating Folder::mkdirr(), adding Folder::chmodr()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4098 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-13 02:28:36 +00:00
gwoo
f5e2dea563 adding automatic hidden field for FormHelper::input(), removed create() from bake controller edit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4097 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:43:01 +00:00
phpnut
64997718e0 Merging fixes from 1.1.x.x Folder class to 1.2.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4096 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:11:24 +00:00
nate
37281be9de Checking if model exists when setting 'created' field, to enable use with custom IDs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4094 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:06:22 +00:00
phpnut
ff8bc29ee7 Adding fix for Ticket #1746
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4093 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 17:03:21 +00:00
nate
da1eab6e5f Adding 1.2 fix for Ticket #1740
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4092 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 14:25:58 +00:00
phpnut
3bc7ae19c2 Fixing Controller::generateFieldNames() when alias used in a HABTM
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4090 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-11 01:33:18 +00:00
gwoo
6ffdf09d4d fix typo in bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4089 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 21:48:19 +00:00
dho
cc9b30ad2f Typo (ticket #1738)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4088 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 17:37:54 +00:00
gwoo
d67977bba0 fix bug in model names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4087 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 16:20:42 +00:00
gwoo
2bab8c5f57 updating code created by bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4086 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 09:07:53 +00:00
nate
b51bf20390 Adding PHP5 array functions for Router to basics
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4085 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 08:59:35 +00:00
nate
51e7c5e08c Enabling FormHelper::input to introspect default field types based on column type in model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4083 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 08:45:35 +00:00
nate
2c7f129aaa Adding 3rd param to Controller::redirect to allow auto-exiting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4082 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 08:36:36 +00:00
nate
a7d07aea20 Fixing undefined index notice with admin routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4081 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 22:41:20 +00:00
nate
7fd83394ca Fixing admin paths for string URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4080 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 18:59:58 +00:00
nate
8d1a23e008 Fixing reverse-route URL generator for admin routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4077 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 05:58:08 +00:00
nate
94a57a89a4 Adding fixes for reverse routing engine
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4076 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 20:38:28 +00:00
nate
403ff35bdb Refactoring code and updating docblocks in Security and RequestHandler components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4075 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 20:37:12 +00:00
phpnut
0419f05186 Adding fix for View::element().
params variable was reset to an array
Added the method to 1.2.x.x branch also

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4074 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 17:43:14 +00:00
dho
9ca5e14891 Adding new methods to Configure and moving all core messages using DEBUG to use Configure::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4069 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-05 09:49:59 +00:00
gwoo
b72ab690d4 fix for FormHelper::select() showEmpty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4067 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 18:00:36 +00:00
gwoo
ecb2b8c786 fix for generateList
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4065 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 06:59:56 +00:00
phpnut
426bf45f98 Reverting changes in [4055]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4057 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 17:35:30 +00:00
dho
798298e251 Removing unused constant MODULES (ticket #1718)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4056 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 12:56:36 +00:00
phpnut
1040a34fa2 Added Object::debug() for setting debug levels.
Added Configure::debugLevel().
Added Configure::debug().

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4055 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-03 07:18:48 +00:00
nate
33d07d0af9 Refactoring RequestHandler, and updating docblocks for RequestHandler and Security components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4048 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 23:51:43 +00:00
nate
f66b3372b4 Fixing <form /> method case to validate as XHTML, and fixing order in which empty select() elements are added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4045 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 19:04:16 +00:00
phpnut
7cc9b6e38f Adding fix for Ticket #1712
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4044 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 17:10:53 +00:00
phpnut
adae18da2d Corrected doc comments in dbo sources.
Renamed DBO_Pear to DboPear

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4042 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 02:34:56 +00:00
phpnut
85b0e9c842 Adding core Oracle DBO driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4041 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 02:26:12 +00:00
phpnut
1ac85066bc Moving misc files to docs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4040 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 01:24:42 +00:00
phpnut
7b6e81c1e2 Fixing Scaffold in 1.2.x.x when setting Controller::persistModel = true;
Corrected error message with correct method name in scaffold_error templates.
Removed unneeded check for Controller::persistModel in 1.2.x.x.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4038 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 00:48:00 +00:00
phpnut
83afee9a52 Merging fixes between branches for DboSource::generateAssociationQuery()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4037 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 22:26:24 +00:00
phpnut
32d3349eb2 Adding fix for Ticket #1568.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4036 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:54:22 +00:00
gwoo
4abc9e94f8 reverting change for empty options in FormHelper::select()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4035 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:07:08 +00:00
gwoo
f9290417e2 adding ctp extensions for Controller::flash(), removing Controller::flashOut()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4034 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 17:58:33 +00:00
phpnut
e42a93c639 Changing Sanitize::cleanValue() to enforce replacement of \r and \n with \n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4033 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 17:40:37 +00:00
gwoo
e712f87fc0 fixing displayFields in formHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4031 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:37:54 +00:00
gwoo
7e5c99a426 bake fix for self joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4030 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:23:31 +00:00
gwoo
8657757bde fix form helper, bake, refactor Controller::_selectedArray to just take the association name and checks Controller::data, also made Controller::_selectedArray work for submitted form data and returned model data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4029 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 10:21:22 +00:00
gwoo
79e93c180e fix form helper notice with empty options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4028 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 08:14:55 +00:00
gwoo
e2614e5140 updating bake and form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4027 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:58:35 +00:00
phpnut
dc90e5f749 Renaming _viewVars to viewVars in ThemeView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4026 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:32:14 +00:00
gwoo
31f62cca32 oops
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4024 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 06:58:11 +00:00
gwoo
5a39777c95 fix to baked views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4023 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 06:44:45 +00:00
gwoo
8615ddecac fix to baked forms
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4022 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 05:45:46 +00:00
gwoo
8d4fe47571 fix to bake loading models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4021 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 04:19:50 +00:00
phpnut
876d11c46b Moving files to cake/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4018 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 02:51:05 +00:00
phpnut
df9dbd855b Moving VERSION.txt to cake directory so people upgrading will always be able to know what version they upgraded to
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4016 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 02:06:16 +00:00
phpnut
5a74812c7b Adding fix for Ticket #1661
Fixed same issue in function cache() in basics.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4014 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:34:28 +00:00
gwoo
257ff1ef89 updating css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4013 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:08:46 +00:00
phpnut
cbf61ff56f Merging fixes from 1.2 to 1.1.
Added fixes for missing models.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4012 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:05:22 +00:00
gwoo
32cca7345e updating css in 1.2, error_message is now error-message, form-error added for input fields, altRow changed to altrow. Cake conventions are CamelCased for DOM id, dashed-words for css classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4011 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 21:14:28 +00:00
phpnut
2e8730e543 Merging fixes from 1.1.x.x into 1.2.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4010 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 11:18:05 +00:00
gwoo
3b4553a758 updating bake for 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4008 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 09:34:25 +00:00
phpnut
bec875debc Renaming skel views to new ctp extension
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4007 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 09:29:33 +00:00
nate
cc484ddbd2 Adding DboSource::order parsing fix for Ticket #1677
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4004 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 08:18:53 +00:00
phpnut
881dc728cf Adding missing doc comments.
Updated use of Controller::persistModel; Lazy Loading of models now work when this is set to true.
Fixed Scaffold to work with Controller::persistModel = true;

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4003 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 06:25:11 +00:00
phpnut
d7e8a20b19 Adding missing doc comments to SecurityComponent.
Reformatted code to standards

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4000 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 00:00:23 +00:00
gwoo
5c5b77753e fix for scaffold
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3998 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 20:15:24 +00:00
gwoo
083a3bf990 fix for FormHelper:create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3997 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:56:06 +00:00
gwoo
f5cdfcfd32 fix for generateFieldNames belongsTo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3996 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:11:15 +00:00
phpnut
25eedb8502 Starting work on Translate model.
Restructured code to standards

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3995 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 18:15:36 +00:00
gwoo
41faae6265 fix for view files in scaffold
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3993 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 16:04:11 +00:00
phpnut
d6159f1b09 Adding fixed for Ticket #1703
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3992 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 07:36:54 +00:00
phpnut
e935b51b8d Adding fix for Ticket #1699
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3991 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:57:53 +00:00