Commit graph

321 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
5c91827c44 Fixing typo in controller task 2011-03-21 00:45:05 -04:30
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
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
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
Jose Lorenzo Rodriguez
bd2bd4ba22 Udating skel directory, doc blocs and the location of the Console package 2011-03-15 21:53:42 -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
Jose Lorenzo Rodriguez
0cd51de827 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-12 23:49:02 -04:30
AD7six
5861ca03d2 move readme and license to libs dimove readme and license to libs dirr 2011-03-12 20:10:58 +01:00
AD7six
a204ac7005 translation changes for tests.
excludes basics and i18n
2011-03-12 20:08:25 +01:00
AD7six
28eae99ecb translation changes in the view folder 2011-03-12 20:02:56 +01:00
AD7six
e2dfafddb2 translation changes for the Utility dir 2011-03-12 20:02:37 +01:00
AD7six
26038b13e1 translation changes in the TestSuite dir 2011-03-12 20:02:18 +01:00
AD7six
e7f39b456f translation changes in the Routing dir 2011-03-12 20:01:53 +01:00
AD7six
29b874e739 translation changes in the Network dir 2011-03-12 20:01:38 +01:00
AD7six
38180e8951 translation changes in the model dir 2011-03-12 20:01:12 +01:00
AD7six
f7e2bb1021 translation changes in the log dir 2011-03-12 20:00:55 +01:00
AD7six
afc5cd4277 changes in the error dir 2011-03-12 20:00:27 +01:00
AD7six
d264d0feb5 changes in the core dir 2011-03-12 20:00:15 +01:00
AD7six
cb7f0f087e translation changes in the controller ditranslation changes in the
controller dirr
2011-03-12 19:59:40 +01:00
AD7six
8f0c923cf6 translations for the console dir 2011-03-12 19:59:06 +01:00
AD7six
5ae97871da translations changes in the Configure folder 2011-03-12 19:50:52 +01:00
AD7six
d7f275d705 translation changes in the cache folder
modified:   lib/Cake/Network/Http/HttpResponse.php
2011-03-12 19:48:57 +01:00
Jose Lorenzo Rodriguez
6f232c4543 Fixing the loading of the HtmlCodeCoverageReport class 2011-03-12 02:06:50 -04:30
Jose Lorenzo Rodriguez
ecc6a22b3b Adding tests for loading classes from the libs folder 2011-03-12 01:56:34 -04:30
Jose Lorenzo Rodriguez
fd84b1494d Documenting remaining methods in App class 2011-03-12 01:15:56 -04:30
Jose Lorenzo Rodriguez
2bbac9e9b0 Fixing Folder class tests 2011-03-12 00:52:23 -04:30
Jose Lorenzo Rodriguez
d890896777 Updating Lib package usage in App::load() 2011-03-12 00:40:43 -04:30
Jose Lorenzo Rodriguez
bab30bd48d More fixes after the recent changes in App::core() 2011-03-12 00:32:44 -04:30
Jose Lorenzo Rodriguez
c188d1a91c Fixing Dispatcher tests after recent changes in App::core() 2011-03-12 00:29:44 -04:30
Jose Lorenzo Rodriguez
96fa5e79ba Fixing fixture loading after recent changes in App::core() 2011-03-12 00:27:50 -04:30
Jose Lorenzo Rodriguez
fea2ac23c7 Improving Documentation in App class 2011-03-12 00:09:58 -04:30
Jose Lorenzo Rodriguez
fe52c200e3 Documenting auxiliary functions in App class 2011-03-11 23:30:16 -04:30
Jose Lorenzo Rodriguez
db089ac220 Implementing vendor loading and refactoring code in App::import() 2011-03-11 23:21:34 -04:30
Jose Lorenzo Rodriguez
ebd8d1d0c2 Fixing multiple classes loading in App::import() 2011-03-11 18:59:08 -04:30
Jose Lorenzo Rodriguez
5a57f2c3c3 Re-implmenting file loading in App::import(), search it is not longer recursive... if it ever was 2011-03-11 18:57:11 -04:30
Jose Lorenzo Rodriguez
6ac87eef68 Making more App::import() tests pass 2011-03-11 18:18:58 -04:30
Jose Lorenzo Rodriguez
0bf51d92ca Improving App::import() to make importing from plugins work again 2011-03-11 01:31:01 -04:30
Jose Lorenzo Rodriguez
3f7a7cc5d1 Removing more un-used code in App class 2011-03-11 01:07:46 -04:30
Jose Lorenzo Rodriguez
02955fb923 Removing unused code in App class, improving backwards compatibility in App::import() 2011-03-11 01:04:41 -04:30
Jose Lorenzo Rodriguez
e6b253ec0f Starting to write a new App::import() that keeps where possible the backwards compatibility 2011-03-11 00:50:14 -04:30
Jose Lorenzo Rodriguez
90b01b7ec3 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-10 23:17:54 -04:30
Jose Lorenzo Rodriguez
472257c347 Removing unused variables and properly testing more methods in App class 2011-03-09 23:33:03 -04:30
Jose Lorenzo Rodriguez
21286cb8c2 Updating tests for App::objects() 2011-03-09 22:29:52 -04:30
Jose Lorenzo Rodriguez
38d33e4a9a Improving tests for App::core() 2011-03-09 22:15:20 -04:30
Jose Lorenzo Rodriguez
022702506e Properly testing the App::build() method and bugfixing some issues 2011-03-09 22:11:13 -04:30
Jose Lorenzo Rodriguez
f05a105dfb Fixing the HelperCollection test 2011-03-09 21:39:05 -04:30
Jose Lorenzo Rodriguez
75e5496983 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-09 12:58:49 -04:30
Jose Lorenzo Rodriguez
ca32143292 Fixing the ControllerTestCase tests 2011-03-09 01:05:58 -04:30
Jose Lorenzo Rodriguez
7b7dabce48 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading 2011-03-09 00:26:18 -04:30
Jose Lorenzo Rodriguez
a1fe95e072 REverting some changes made to constants 2011-03-08 17:32:22 -04:30
Jose Lorenzo Rodriguez
4c90868652 Fixing the Api shell 2011-03-08 15:37:15 -04:30
Jose Lorenzo Rodriguez
dac34555f8 Fixing parse error in bake shell 2011-03-08 15:18:10 -04:30
Jose Lorenzo Rodriguez
6dee1277c4 Fixing the AclShell test 2011-03-08 15:13:49 -04:30
Jose Lorenzo Rodriguez
65136e8cb1 Re-adding the support for the topmost plugins folder and homogenizing some constants in shell dispatcher 2011-03-08 15:08:28 -04:30
Jose Lorenzo Rodriguez
234d781f77 Fixing the ConsoleErrorHandler test 2011-03-08 14:46:21 -04:30
Jose Lorenzo Rodriguez
d2a38787a2 Fixing the ConsoleOptionParser test 2011-03-08 14:45:23 -04:30
Jose Lorenzo Rodriguez
848c9039e5 Fixing ConsoleOutput test 2011-03-08 14:44:03 -04:30
Jose Lorenzo Rodriguez
9f189d39db Fixing the HelpFormatter test 2011-03-08 14:43:00 -04:30
Jose Lorenzo Rodriguez
ac3caf3154 Fixing the testsuite shell and renaming class for BC 2011-03-08 14:18:46 -04:30
Jose Lorenzo Rodriguez
48b3593a25 Fixing the CommandList shell, renaming the TestSuiteShell to TestsuiteShell for BC 2011-03-08 14:15:44 -04:30
Jose Lorenzo Rodriguez
0c9f4c1935 Fixing schema shell tests 2011-03-08 01:27:52 -04:30
Jose Lorenzo Rodriguez
8442d93d9e Fixing the Sell tests 2011-03-08 01:26:21 -04:30
Jose Lorenzo Rodriguez
fd8a7ed6d6 Fixing ControllerTask tests 2011-03-08 01:25:01 -04:30
Jose Lorenzo Rodriguez
0fe22f598a Fixing DbConfigTask tests 2011-03-08 00:53:06 -04:30
Jose Lorenzo Rodriguez
e46bfff6a0 Fixing FixtureTask tests 2011-03-08 00:51:58 -04:30
Jose Lorenzo Rodriguez
0f993fa767 Fixing ModelTaks tests and starting to work on PluginTask tests 2011-03-08 00:50:07 -04:30
Jose Lorenzo Rodriguez
a56c4bff77 Fxing ProjectTask tests 2011-03-07 01:25:05 -04:30
Jose Lorenzo Rodriguez
0be09cbfb3 Fixing TemplateTask test 2011-03-07 01:01:45 -04:30
Jose Lorenzo Rodriguez
d4b07b6c27 Making TestTask test pass 2011-03-07 00:57:21 -04:30
Jose Lorenzo Rodriguez
2ef02ba29b Starting to move all console related classes, ViewTask tests passing 2011-03-07 00:45:00 -04:30
Jose Lorenzo Rodriguez
b286ff0523 Fixing cache engine tests 2011-03-06 00:26:31 -04:30
Jose Lorenzo Rodriguez
eb709123a8 Canging view package location form email component test 2011-03-06 00:20:50 -04:30