Commit graph

159 commits

Author SHA1 Message Date
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
21c077925e Closes #3202, Transparent Favicon
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:47:06 +00:00
gwoo
e54fe6a523 adding label and fieldset for radio, set label=>false to turn it off, css adjusted
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 00:11:36 +00:00
gwoo
268838eafa updating test.php, thanks biesbjerg
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 21:24:42 +00:00
gwoo
2c62da69d8 updating test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5546 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-18 20:54:38 +00:00
nate
3e7044d4b8 Implementing prefix-based routing, and transitioning configuration away from global constants
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
gwoo
de4d316d4d updating Dispatcher with changes for base. Allows setting Configure::write('App.base', '/my/base/path'); in bootstrap.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 00:16:28 +00:00
nate
32fef5ada3 Removing deprecated constant ACL_FILENAME from core config
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5477 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 14:04:18 +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
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
nate
ac2cc7006b Removing localization code from core-not-found error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5275 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-13 15:32:09 +00:00
gwoo
5e6afe29be fixing pre color in css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5158 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:22:27 +00:00
gwoo
0a428b371c removing em from css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5073 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 16:03:24 +00:00
phpnut
2ce69feb4b Renaming vendors/console to vendors/shells
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5055 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 20:00:55 +00:00
phpnut
bde2f70753 adding application specific vendors/console/templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5053 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 18:55:56 +00:00
phpnut
5be2a6ef40 Removing unneeded empty files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5051 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 18:33:33 +00:00
phpnut
1af3b45b0e Adding application specific directories to vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5050 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 18:22:14 +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
phpnut
c803acea56 Adding empty file to all empty directories
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5030 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-06 03:09:27 +00:00
phpnut
137fea94c6 Cleaning up line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
phpnut
166132ca10 Moving all acl related models to model/db_acl.php.
Removing components/models directories
Changing the ACL_FILENAME setting in core.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4960 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 01:49:51 +00:00
phpnut
d029a776b7 Adding Xcache support http://trac.lighttpd.net/xcache/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4947 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 11:31:35 +00:00
phpnut
b3850c56e8 Changing settings used for new caching in core.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4938 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 07:47:14 +00:00
phpnut
c62c550e3f Adding initial implementation of extended caching capabilities
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4933 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 06:01:54 +00:00
phpnut
86ebf5a471 Adding empty files to all tmp/* directories
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4907 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:25:18 +00:00
phpnut
0d69e3a085 Adding initial implementation of I18n database translation support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4880 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 00:24:19 +00:00
nate
bb8c52dac0 Fixing display of core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4877 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 16:39:11 +00:00
phpnut
83daab2b28 Adding fix for Ticket #2376
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4845 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 00:10:47 +00:00
phpnut
7cc6185076 Adding fix for Ticket #2239
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4658 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 09:20:14 +00:00
nate
8131f2a55c Adding core load error in webroot/index, and updating setting for debug reference in Auth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4591 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 15:14:35 +00:00
nate
91736547ba Removing deprecated settings key 'connect' and replacing with 'persistent' in default database connection class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 17:12:20 +00:00
nate
b5100adc2b More debug styles
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-19 04:30:48 +00:00
nate
bf9b2fa179 Adding debug CSS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4538 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 20:26:49 +00:00
john
9bf807b2b6 Proofing the comments in core.php. Fixing spelling errors and trying to reword sections.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4532 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 18:38:36 +00:00
phpnut
46c5c36fcb Moving Translate class to the behaviors directory.
Moving i18n sql to app/config/sql

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:07:57 +00:00
nate
7f553731bd Updating ACL SQL table definitions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4489 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 17:39:54 +00:00
phpnut
1a391e4d2c Updating test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4443 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 07:42:35 +00:00
phpnut
0997bea85c Updating html for test suite.
Added error page when SimpleTest is not installed.
Fixed model.test.php failing on PHP 4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 04:38:42 +00:00
gwoo
50c24a738e updating test suite layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 03:59:55 +00:00
phpnut
8dc3209a59 Fixing unset variable error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4435 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:17:36 +00:00
phpnut
08c412c4ca Updating test suite with correct paths.php
Changed vendor() to return true or false

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:08:17 +00:00
phpnut
d4a4105616 Adding test suite to the core.
Creating directories for application level testing

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4433 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 01:05:51 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
d44e497d19 Changing the order of include_path this is done to fix issues with servers having core cake files in one location and a user wanting to use a local copy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4402 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:34:47 +00:00
phpnut
f06bf86d40 changing field types to char(2) on table aros_acos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4366 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:49:26 +00:00
gwoo
0c2579c565 updating bake and css, also added a name key to the generateFieldNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:43:15 +00:00
gwoo
ea7ae19849 updating cake.generic.css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 02:22:17 +00:00
gwoo
dc366d046d adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:53:52 +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