Commit graph

10310 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
c9ae3c26c4 Removing more code from test app home.ctp file so testing becomes easier 2011-03-21 01:12:32 -04:30
Jose Lorenzo Rodriguez
433e9e7177 Fixing typos in time helper translations 2011-03-21 00:57:37 -04:30
Jose Lorenzo Rodriguez
b68bc7d4aa Removing session helper usage in default layout of test app to avoid haing to mock an additional class 2011-03-21 00:50:43 -04:30
Jose Lorenzo Rodriguez
5c91827c44 Fixing typo in controller task 2011-03-21 00:45:05 -04:30
mark_story
9dd39bb32c Fixing some typos and adding some missing information. 2011-03-20 21:44:15 -04:00
AD7six
32df3156a7 consolidate cake_error and cake_developer to simply "cake_dev"
it's a lot easier for adding new translations to think:
	is it for the end user?
		use 'cake' as the domain
	is it for the developer
		use 'cake_dev' as the domain
	is it for the console
		use 'cake_console' as the domain

also neatly avoids the "this message is an error, and it's in
cake_developer, why?" - question (because cake_error was intended for
anything which is used in trigger_error/exceptions, not a variable named
$error
2011-03-20 16:38:31 +01:00
AD7six
7fa52710f3 correct tests to use correct language domains.
updated test_app default.ctp and home.ctp to be (almost) identical to
the files shipped in the core
2011-03-19 18:52:43 +01:00
AD7six
52f3d75df3 syncronize translations in this test with the class it's testing 2011-03-19 18:48:00 +01:00
AD7six
a90ca69202 remove translation domains from this test.
Baked output will not contain __d('cake' - the output is project
specific
2011-03-19 18:46:00 +01:00
AD7six
d66ad0bc60 remove translation from this test
you can't compare the result of a translation to a fixed string and be
sure it's going to pass.
2011-03-19 18:43:44 +01:00
AD7six
128407fb4a corect a bad habbit
don't request the same thing 3 times - request it once and use 3 times.
removed the almost duplicate translation too.
2011-03-19 18:41:50 +01:00
AD7six
ca254dae98 update language domains used in standard views 2011-03-19 18:40:36 +01:00
AD7six
5725a23a56 use the domain cake_developer and cake_error as appropriate 2011-03-19 18:35:14 +01:00
AD7six
2078dbccaa use the cake_console domain for everything related to the cli
using big po files causes a lot of noise to be loaded whenver the
langauge domain is touched - therefore avoid any cli messages from being
loaded by web requests at all.
2011-03-19 18:32:35 +01:00
AD7six
d2badbeb22 update language domains
no domain - the thing being translated comes from the app - so let the
user handle that
cake - end user
cake_error - error messages
2011-03-19 18:29:31 +01:00
AD7six
a3447592d5 updating langauge domains
cake - end user
cake_error - error messages
cake_developer - not an error just for the developer
2011-03-19 18:23:01 +01:00
AD7six
1f6346c58f using cake_error for error messages 2011-03-19 18:18:14 +01:00
AD7six
268c061a2e t
dividing language domains

cake - end user
cake_error - error messages
cake_developer - not an error, just for the developer
2011-03-19 18:16:12 +01:00
AD7six
b19ca3c95e using the domain cake_error for messages intended for the developer 2011-03-19 18:09:58 +01:00
AD7six
f95340b361 use the domain cake_error for error message intended for the developer 2011-03-19 18:07:05 +01:00
AD7six
9b092f4bf2 using the domain cake_error for messages not intended for end users 2011-03-19 18:00:24 +01:00
AD7six
2fc8d88916 using the domain cake_error for error messages.
These are error message for developers
2011-03-19 17:58:47 +01:00
AD7six
b90939f659 documentation correction 2011-03-19 17:51:46 +01:00
mark_story
f33329ae43 Merge branch 'acl-behavior' into 2.0
Conflicts:
	cake/libs/model/behaviors/acl.php
	cake/tests/cases/libs/model/behaviors/acl.test.php
2011-03-19 10:14:10 -04:00
mark_story
4118477c0a Merge branch '1.3' into merger
Conflicts:
	cake/console/templates/default/views/index.ctp
	cake/libs/cache.php
	cake/libs/cake_log.php
	cake/libs/cake_socket.php
	cake/libs/view/helpers/form.php
	cake/libs/view/helpers/js.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/lib/reporter/cake_cli_reporter.php
2011-03-19 09:08:28 -04:00
mark_story
9c860d2ce8 Changing how CakeLog registers itself as the error handler, this fixes issues with e-accelerator on some platforms. Fixes #1597, fixes #1087 2011-03-19 08:54:07 -04:00
mark_story
6d2b31d4d1 Fixing issues with plugin models used in habtm 'with' keys. Fixes #1548 2011-03-19 08:45:10 -04:00
Jamie Mill
cf0e9c0a31 Fixing undefined var and docblock error in CakeCliReporter->paintException(). 2011-03-17 19:15:08 +00:00
AD7six
e492bce64f Merge branch '2.0-translations' of github.com:AD7six/cakephp into 2.0-class-loading 2011-03-16 17:08:15 +01:00
AD7six
64e71de52a Merge branch '2.0-class-loading' of github.com:cakephp/cakephp into 2.0-class-loading 2011-03-16 17:07:22 +01:00
AD7six
69ce628f07 fix file permissions
except for app/console/cake and lib/cake/Console/cake no files should
be executable
2011-03-16 16:06:44 +01:00
AD7six
39c7d03319 Merge branch '2.0-class-loading' into 2.0-translations
Conflicts:
	lib/Cake/Console/Command/Task/ControllerTask.php
	lib/Cake/Console/Command/Task/ProjectTask.php
	lib/Cake/Core/Configure.php
	lib/Cake/View/pages/home.ctp
2011-03-16 12:29:39 +01:00
AD7six
4f29f58a5e correct path to tmp and core.php file when running outside your app dir.
also wrapped HttpException class declaraion in an if !class_exists test
- the class exists in the pecl http extension.
2011-03-16 12:13:47 +01:00
mark_story
e15a373995 Merge remote branch 'rchavik/misc' into 1.3 2011-03-16 06:39:41 -04:00
Rachman Chavik
60db93a914 removing extra space in default bake template 2011-03-16 13:50:56 +07:00
Jose Lorenzo Rodriguez
8ce605ab88 Fix for regression introduced in last commit 2011-03-16 00:28:08 -04:00
Jose Lorenzo Rodriguez
3f7928fccc Changing paths againg form datasources sub packages,
Updating database.php.default file
Fixing view generation task
2011-03-16 00:14:37 -04:00
Jose Lorenzo Rodriguez
32e42aaf6f Updating more skel files 2011-03-15 23:56:28 -04:00
Jose Lorenzo Rodriguez
8213160bb1 Udating template home.ctp and providing a default skel dir in tamplate task 2011-03-15 23:48:51 -04:00
Jose Lorenzo Rodriguez
a1f5fe706a Udatint TestTask test 2011-03-15 22:59:18 -04:00
Jose Lorenzo Rodriguez
9293361562 Updating ControllerTask to crete files with new naming conventions 2011-03-15 22:23:51 -04:00
Jose Lorenzo Rodriguez
b0a7a109e9 Updating ModelTask to crete files following the new namings 2011-03-15 22:14:10 -04:00
mark_story
9ae8dcafdc Updating documentation to include new option. 2011-03-15 22:05:14 -04:00
hiromi2424
38e85ebd6e Supported default ion for FormHelper::checkbox(). Test added fixes #805
Signed-off-by: mark_story <mark@mark-story.com>
2011-03-15 22:03:04 -04:00
Jose Lorenzo Rodriguez
bd2bd4ba22 Udating skel directory, doc blocs and the location of the Console package 2011-03-15 21:53:42 -04:00
mark_story
357588c60e Updating and reorganizing tests. Removing totally redundant tests. 2011-03-15 21:39:37 -04:00
mark_story
4537499ea9 Updating doc block. 2011-03-15 21:39:15 -04:00
mark_story
c6b7482308 Making sure forms always have a generated id attribute. Updating tests. 2011-03-15 21:19:15 -04:00
Jose Lorenzo Rodriguez
2e2f5ea2a5 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-15 21:13:45 -04:00
Jose Lorenzo Rodriguez
b6b03cb379 Adding files missing from previous commit 2011-03-15 21:13:33 -04:00