Commit graph

1109 commits

Author SHA1 Message Date
phpnut
4a41ca1da2 Merging fixes into trunk:
Revision: [4199]
Fixes for:
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins

Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv'] 

Revision: [4196]
"Merging fixes made in 1.2 branch.
Adding fixes for Ticket #1785 hourOptionTag can never be empty
and Ticket #1792 dateTimeOptionTag hour is always set to 12 even if selected is null"

Revision: [4195]
Adding URL fix for Ticket #1679

Revision: [4182]
cli acl.php fixes. #1773 and #1780

Revision: [4169]
Adding 1.1 fix for Ticket #1794

Revision: [4168]
Adding NOT query conditions fix for Ticket #1793

Revision: [4166]
Adding beforeFind() reference fix for 1.1 (#1784)

Revision: [4131]
Adding fix for Ticket #1797, and URL fix for Ticket #1755

Revision: [4130]
fix for #1789

Revision: 4118
Mering changes from [4117] Configure::read()

Revision: [4105]
Adding loadControllers() fix for Ticket #1745

Revision: [4103]
Fixing error messages in File::create (ticket #1770)

Revision: [4100]
Changing Model::del to check for existence of itself before allowing deletes

Revision: [4095]
Checking if model exists when setting 'created' field, to enable use with custom IDs

Revision: [4093]
Adding fix for Ticket #1746

Revision: [4091]
Adding fix for Ticket #1740

Revision: [4088]
Typo (ticket #1738)

Revision: [4079]
Adding fix for ErrorHandler throwing error when Dispatcher class is not in memory

Revision: [4078]
Adding fix for Ticket #1732

Revision: [4074]
Adding fix for View::element().
params variable was reset to an array
Added the method to 1.2.x.x branch also

Revision: [4073]
Adding fix for Ticket #1731

Revision: [4072]
Fixing error in Router::parse() when no params are passed.
Initialized $pass variable as an array before the foreach

Revision: [4071]
Adding fix for Ticket #1721

Revision: [4070]
Adding fix for Ticket #1723

Revision: [4066]
Adding fix when using database storage for sessions.

This fixes
Fatal error: Class 'ConnectionManager' not found in
/cake/libs/session.php on line 445

Removed validators.php
Updated svnconfig.txt

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4202 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 12:06:13 +00:00
phpnut
042d7e5f3d Changed scaffold class to work with new FormHelper.
Removed scaffold add.thtml.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4200 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 11:32:58 +00:00
phpnut
43f2afa6eb Fixes for:
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins

Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv'] 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4199 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 10:51:08 +00:00
phpnut
d773f0f8d3 Adding changes that where made to validation class that I forgot to commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4198 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 10:22:48 +00:00
phpnut
14438cb151 "Adding fixes for Ticket #1785 hourOptionTag can never be empty
and Ticket #1792 dateTimeOptionTag hour is always set to 12 even if selected is null"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4197 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 08:03:33 +00:00
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
efe183a30a Adding LC_MESSAGES directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4178 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 05:11:42 +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