Jose Lorenzo Rodriguez
d8933fb773
Small change in use of App::build() in ErrorHanlderTest
2011-04-22 08:47:28 -04:30
mark_story
fd55066dd9
Fixing failing tests in ObjectTest.
2011-04-22 08:16:13 -04:00
mark_story
dbb3149c08
Merge branch '2.0-hiddenclass' into 2.0
2011-04-21 22:25:31 -04:00
Jose Lorenzo Rodriguez
bb8c41d1e4
Fixing more tests related to changes on model validation
2011-04-21 19:12:16 -04:30
Jose Lorenzo Rodriguez
d788301ec9
Fixing failing tests due to recent changes in model validation
2011-04-21 19:01:15 -04:30
Jose Lorenzo Rodriguez
e2591537ed
Fixing error in Task tests
2011-04-21 18:57:21 -04:30
Jose Lorenzo Rodriguez
8dc675335a
Small refactoring, and adding some App::uses() to avoid problems
2011-04-21 17:56:03 -04:30
Jose Lorenzo Rodriguez
a8c2dbfd72
Fixing tests related to PluginTask
2011-04-21 17:55:35 -04:30
Jose Lorenzo Rodriguez
cf73c1da3a
Removing refactoring artifact in TestsuiteShell
2011-04-21 13:31:34 -04:30
Jose Lorenzo Rodriguez
1014806c7b
Colorful error if not PHPUnit is found
2011-04-21 13:28:49 -04:30
Jose Lorenzo Rodriguez
8fa73e9650
Throwing an exception if no PHPUnit is installed and running from console
2011-04-21 13:26:50 -04:30
Juan Basso
636b48024d
Updated the EmailComponent test to be compatible with CakeEmail changes.
2011-04-21 00:09:33 -04:00
Juan Basso
ddb54b67df
Updated the method name in email component.
2011-04-21 00:00:58 -04:00
Juan Basso
fac5ae50d0
Moved the emails templates from elements to views. Renamed the path in layouts to keep the same name. Fixes #1415 .
2011-04-20 23:47:21 -04:00
Juan Basso
599d631f2f
Adapted to support mimetype and contentId in the attachments. Fixes #1201 .
2011-04-20 21:51:30 -04:00
mark_story
d124b6c05d
Removing class
from being excluded from the attributes applied to hidden inputs. Fixes #1124
2011-04-20 21:37:47 -04:00
Renan Gonçalves
4409ca0e28
Fixing typo on file name.
2011-04-20 23:50:54 +02:00
Jose Lorenzo Rodriguez
b1e74cff5b
Fixing more path generation for plugins, and typo from previous commit
2011-04-20 11:32:16 -04:30
Juan Basso
be4b9fcd02
The MIME version can be used in all types of e-mail. Fixes #14 .
2011-04-19 21:47:48 -04:00
Juan Basso
1fee549063
Ooops, removed debug call.
2011-04-19 20:25:09 -04:00
Juan Basso
e0b4623065
Added support to sender email. Fixes #13 .
2011-04-19 20:24:51 -04:00
Juan Basso
baba9fd270
Fixed phpdoc.
2011-04-19 19:48:52 -04:00
Juan Basso
98afe4e09b
Renamed the method fastSend to deliver.
2011-04-19 17:07:38 -04:00
evilbloodydemon
8443b66986
PhpDoc and naming fixes
2011-04-19 17:04:49 -04:00
Jose Lorenzo Rodriguez
147b04ab59
Fixing more paths in skel directory for project generation
2011-04-19 13:04:12 -04:30
Jose Lorenzo Rodriguez
254225372a
Fixing problem with skel generation in project task
2011-04-19 12:14:02 -04:30
Juan Basso
1004b1a168
Fixed the set of boundary.
2011-04-19 09:22:42 -04:00
mark_story
63275626ee
Adding backwards compatible cookie reading back into CookieComponent.
...
Cookie values using the 1.x formatting will be read, and upon next write
be converted to json encoded values.
Fixes #1593
2011-04-18 22:07:45 -04:00
mark_story
d4ff39206a
Making CookieComponent use json_encode instead of a custom
...
serialization. Fixes issues where values containing | or , would be
handled incorrectly. Fixes #1593
2011-04-18 22:07:45 -04:00
ADmad
961208c9be
Fixed incorrect Controller object property name usage in Email component. Closes #1661
2011-04-19 00:38:51 +05:30
AD7six
da9ee49db9
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-18 12:06:11 +02:00
AD7six
0c2bc7f015
bye bye webroot/css.php
2011-04-18 12:05:50 +02:00
Juan Basso
25705af8ed
Added the same email config sample of app/config to console skeleton.
2011-04-17 21:53:30 -04:00
Juan Basso
a1bcaa9d29
Created a static method to send fast emails.
2011-04-17 21:23:48 -04:00
Juan Basso
11331066ab
Setted EmailComponent as deprecated.
2011-04-17 21:21:09 -04:00
Juan Basso
5ea3b75b2f
CakeEmail::viewVars() now merge the param with previous config.
2011-04-17 20:57:57 -04:00
Juan Basso
7acdf1e436
Changed the method layout to template. Template is required to render, but layout is not.
2011-04-17 19:49:13 -04:00
Juan Basso
38f5d9da1f
Fixed issues related with email config.
2011-04-17 18:42:55 -04:00
Juan Basso
42ee001d71
Changed the classname of email config.
2011-04-17 18:42:55 -04:00
Juan Basso
96686e79bb
Added the html and text message in component.
2011-04-17 18:41:57 -04:00
Juan Basso
39236b3229
Removed from the tests the view from class registry.
2011-04-17 18:41:55 -04:00
Juan Basso
88f2c19336
Added the support to set variables in component.
2011-04-17 18:41:54 -04:00
Juan Basso
b2f948dfeb
Adjust partial of test case for EmailComponent.
2011-04-17 18:41:52 -04:00
Juan Basso
0bf8e3483b
Fixed methods to integrate with CakeEmail.
2011-04-17 18:41:51 -04:00
Juan Basso
1ee8ad6d8e
Removed more unused code.
2011-04-17 18:41:49 -04:00
Juan Basso
35c77b5a7a
Setting the additional parameters to mail transport.
2011-04-17 18:41:47 -04:00
Juan Basso
a28e8ba4e7
Removed unused code.
2011-04-17 18:41:46 -04:00
Juan Basso
84e405db81
Removed the format address method.
2011-04-17 18:41:44 -04:00
Juan Basso
8f2aeec2f3
Removed the transport methods (mail, smtp, debug).
2011-04-17 18:41:42 -04:00
Juan Basso
8457c8f840
Removed wrap method.
2011-04-17 18:41:41 -04:00
Juan Basso
5815743e0a
Removed formatMessage and render methods.
2011-04-17 18:41:39 -04:00
Juan Basso
163c7f06bb
Removed boundary methods.
2011-04-17 18:41:38 -04:00
Juan Basso
46c79ec4a1
Removing headers methods.
2011-04-17 18:41:36 -04:00
Juan Basso
5e56f76510
Rewrited the send method to use CakeEmail.
2011-04-17 18:41:34 -04:00
Juan Basso
3b896a82ef
Revert "Removing the methods from Email component. Tests commentds until adjust the code to BC."
...
This reverts commit 00016c515d
.
2011-04-17 18:41:33 -04:00
Juan Basso
ff5365d6ab
Added support to return the html and text message.
2011-04-17 18:39:02 -04:00
Juan Basso
33ca64f505
Added support to set variables to be used in the render.
2011-04-17 18:38:25 -04:00
Juan Basso
d5938dd3c4
Support to multibyte in subject.
2011-04-17 18:38:02 -04:00
Juan Basso
c48db36196
Changed to be able to configure empty array in CakeEmail.
2011-04-17 18:37:31 -04:00
Juan Basso
c5f289fccf
More tests to CakeEmail.
2011-04-17 18:36:49 -04:00
Juan Basso
5b223e747b
Adjusted the Smtp test to use the new config method.
2011-04-17 18:36:42 -04:00
Juan Basso
3a5c04273e
With class loading these code can be global.
2011-04-17 18:36:36 -04:00
ADmad
3844966714
Changed default value for key 'last' in validator options to true. Also implemented ability to list messages for all failed validations for a field at once, instead of current display of just one message at a time.
2011-04-18 02:08:48 +05:30
AD7six
9ac79da3f7
don't repeat the default value in the message
...
the default value is the cli prompt anywaya
2011-04-17 18:17:25 +02:00
AD7six
1c62a66b0b
simpler bake prompt
...
we don't need to repeat the defualt path twice, and a user can just as
easily type "appname" instead of /some/absolute/path/appname
2011-04-17 18:12:25 +02:00
AD7six
4ab27d6fea
full paths are /not/ needed.
...
having the help/text state it is necessary is confusing
2011-04-17 18:08:10 +02:00
AD7six
e1cc348b35
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-04-17 18:05:17 +02:00
AD7six
010feb2092
prevent surpirses with Folder not being available.
...
Previously loading File would load Folder also - that's not true with
the new changes, ensure that the Folder class is regsitered with
App::users when the Folder class is used.
2011-04-17 18:03:43 +02:00
evilbloodydemon
86b76674d0
PhpDoc fixes
...
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-17 11:23:52 -04:00
AD7six
eb66cd352e
in the event of a cache-write error include the engine name
...
Especially if the engine is a variable, it's important to know which
engine had a problem writing to the cache
2011-04-17 11:45:32 +02:00
AD7six
65121a4292
apc is disabled on the cli by default
...
Therefore, on the cli if the extension is loaded - it's necessary to
check if it's also enabled. Otherwise on the cli there will be no cache.
2011-04-17 11:42:04 +02:00
Jose Lorenzo Rodriguez
c504535980
Stating to implement a CakePlugin class to allow the inclusion of bootraping files for plugins
2011-04-17 01:37:31 -04:30
Jose Lorenzo Rodriguez
f14a295a3e
Adding a ConenctionManager::drop() method useful for testing and other dynamic tasks
2011-04-16 22:57:05 -04:30
ADmad
c80a51a163
Splitting View::element() param $params into $data and $options. Removed param $callbacks, use key 'callbacks' in $options array instead. Closes #1646
2011-04-17 07:00:14 +05:30
ADmad
d83712ce43
Renaming Model::$_findMethods to Model::$findMethods and changing visibility to public. Closes #1328
2011-04-17 06:09:00 +05:30
mark_story
a7a076dbee
Fixing ExceptionRenderer so it can render exceptions that are subclasses
...
of CakeException that do not have custom templates, like ConfigureException.
Removing $lastError as it doesn't work.
Added tests.
2011-04-16 18:13:52 -04:00
AD7six
c1a8dbbce7
provide a default skel dir, and default to the core
2011-04-16 20:20:27 +02:00
AD7six
a0fce70c13
prevent undefined index error baking a new project
...
if you call `cake bake project` the skel param is not present
2011-04-16 19:22:53 +02:00
mark_story
0c4a16bc98
Fixing missing import for AppModel when baking with cake bake all
2011-04-16 09:33:16 -04:00
mark_story
a0660ffd9d
Fixing constants being incorrect when calling cake console from the root of the source tree checkout.
2011-04-16 09:32:54 -04:00
Juan Basso
9ac5f9c349
Fixed the tests.
2011-04-13 00:24:27 -04:00
Juan Basso
3200e380d3
Created a new method to return the transport class before send. In some cases you need to do extra calls/configurations before send.
2011-04-13 00:04:37 -04:00
Juan Basso
f4f3bfe2fc
Return the object when is set method.
2011-04-12 23:45:02 -04:00
Juan Basso
40e8632408
Changed to translate messages using cake domain.
2011-04-12 23:37:50 -04:00
Juan Basso
935badff03
Fixed to MailTransport use configs intead Configure::read().
2011-04-12 23:34:23 -04:00
Juan Basso
a9aef5600f
Removed the object from ClassRegistry. It is not used in 2.0.
2011-04-12 23:32:26 -04:00
Juan Basso
3c703641b0
Changed the use of import to uses.
2011-04-12 23:31:07 -04:00
Juan Basso
50c21ccdfe
Renamed the transport files to the new structure.
2011-04-12 22:34:45 -04:00
Juan Basso
00016c515d
Removing the methods from Email component. Tests commentds until adjust the code to BC.
2011-04-12 22:25:24 -04:00
Juan Basso
fd248acadd
Added the config to reset.
2011-04-12 22:17:36 -04:00
Juan Basso
22445e2583
Removed the read from Configure for X-Mailer.
2011-04-12 22:17:33 -04:00
Juan Basso
daa90ed2b2
Created the email class and a logic in CakeEmail.
2011-04-12 22:17:28 -04:00
Juan Basso
1814168ec7
Added kind of visibility to missed methods.
2011-04-12 22:17:12 -04:00
Juan Basso
90d1f62131
Changed others functions to remove the get/set by only one method.
2011-04-12 22:17:09 -04:00
Juan Basso
6e97de5d38
Replace the get/set methods by only one method in addresses and subject.
2011-04-12 22:17:06 -04:00
Juan Basso
f661e37ef1
Added more tests to wrap. Fixed to not cut words with more than should limit.
2011-04-12 22:17:03 -04:00
Juan Basso
985743dc50
Removed debug code line.
2011-04-12 22:16:59 -04:00
Juan Basso
f128711fa5
Test to all getters and setters of addresses.
2011-04-12 22:16:56 -04:00
Juan Basso
6e15945e73
Fixes in render. Tests added.
2011-04-12 22:16:53 -04:00
Juan Basso
d0f1843dd5
Added tests to send email with contents.
2011-04-12 22:16:49 -04:00
Juan Basso
ffaee3d760
Included the method to attach files.
2011-04-12 22:16:46 -04:00
Juan Basso
df2fe579cd
Supporting pass the attach file name.
2011-04-12 22:16:43 -04:00
Juan Basso
8645411c65
Removed unused attribute.
2011-04-12 22:16:40 -04:00
Juan Basso
e6befef1c3
Added the method to render from views.
2011-04-12 22:16:37 -04:00
Juan Basso
c5cbb603a0
Added the methods to format message.
2011-04-12 22:16:34 -04:00
Juan Basso
3a1ebf159a
Striping tags in the message.
2011-04-12 22:16:30 -04:00
Juan Basso
2795d2b771
Initial changes for send.
2011-04-12 22:16:27 -04:00
Juan Basso
89b4cb75e3
Changed to addresses come before others headers. It is not a RFC rule, just to keep more readable the header.
2011-04-12 22:16:24 -04:00
Juan Basso
ace425892d
Implemented method to set/get Message-ID.
2011-04-12 22:16:20 -04:00
Juan Basso
30dced741d
Simply the code.
2011-04-12 22:16:17 -04:00
Juan Basso
03b4ce070b
Added a protection to not insert invalid emails.
2011-04-12 22:16:14 -04:00
Juan Basso
6a76931961
Added support to multibyte in formatAddress. Tests added.
2011-04-12 22:16:11 -04:00
Juan Basso
b29c31709e
Implemented methods to attachments.
2011-04-12 22:16:06 -04:00
Juan Basso
6c3a42c82a
Method to set transport name.
2011-04-12 22:16:03 -04:00
Juan Basso
1a457dc575
Method to set email format (text, html, both).
2011-04-12 22:16:00 -04:00
Juan Basso
35106be647
Removed the configuration to EOL. Moved to MailTransport.
2011-04-12 22:15:56 -04:00
Juan Basso
bd5e5376d1
Implemented method to set layout and template.
2011-04-12 22:15:53 -04:00
Juan Basso
6930ba6207
Changes to in manipulation of header.
2011-04-12 22:15:48 -04:00
Juan Basso
e6c8171d1f
Added some vars to reset.
2011-04-12 22:15:45 -04:00
Juan Basso
82835a3566
Methods to set/get subject.
2011-04-12 22:15:41 -04:00
Juan Basso
187304cebb
Added methods to ReturnPath, ReadReceipt and ReplyTo.
2011-04-12 22:15:37 -04:00
Juan Basso
162da0aec9
Added tests with array in setFrom.
2011-04-12 22:15:33 -04:00
Juan Basso
a28e0f014d
setFrom using _setEmail. DRY and consistence.
2011-04-12 22:15:27 -04:00
Juan Basso
7aa0d6c1eb
Added the methods to set/add/get Cc and Bcc.
2011-04-12 22:15:24 -04:00
Juan Basso
fae641e619
Implemented methods to configure "to".
2011-04-12 22:15:21 -04:00
Juan Basso
5cb58e8f99
Implemented methods to configure "from".
2011-04-12 22:15:18 -04:00
Juan Basso
8f5049e3b1
Initial changes in headers, just draft.
2011-04-12 22:15:15 -04:00
Juan Basso
a92092231c
Throwing exception when headers is not an array.
2011-04-12 22:15:11 -04:00
Juan Basso
77941fb1fb
Added the skeleton of CakeEmail.
2011-04-12 22:15:08 -04:00
Jose Lorenzo Rodriguez
7b8d395cb0
Fixing last few errors after folder renaming
2011-04-11 23:31:00 -04:30
Jose Lorenzo Rodriguez
998b04d438
Moving recently created files
2011-04-11 23:19:49 -04:30
Jose Lorenzo Rodriguez
9f5ab79abc
Fixing bake tasks after most recent changes
2011-04-11 23:01:48 -04:30
Jose Lorenzo Rodriguez
000e05b468
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
cake/tests/lib/templates/missing_conenction.php
cake/tests/lib/templates/missing_connection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/templates/missing_conenction.php
lib/Cake/View/Helper/FormHelper.php
lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
Jose Lorenzo Rodriguez
96baa3015e
Making all test groups run again,
...
small fixes in some tests to make them pass
2011-04-11 22:23:44 -04:30
Jose Lorenzo Rodriguez
75a1481e22
Fixing test loading in cli
2011-04-11 22:23:03 -04:30
Jose Lorenzo Rodriguez
9d90c555eb
Fixing constant use
2011-04-11 22:17:59 -04:30
Jose Lorenzo Rodriguez
cbdafb3f3b
Fixing TestsuiteShell test
2011-04-11 22:16:19 -04:30
Jose Lorenzo Rodriguez
1bbdefc4ad
Fixing some bake tasks
2011-04-11 22:15:51 -04:30
Jose Lorenzo Rodriguez
241a3bf624
Fixing ProjectTask tests and renaming folders in skel directory
2011-04-11 21:43:40 -04:30
Jose Lorenzo Rodriguez
85a7f74f30
Renaming folders in skel dir
2011-04-10 21:04:19 -04:30
Jose Lorenzo Rodriguez
662abd6419
Refactoring FixtureTask so it generates correct file names
2011-04-10 20:56:06 -04:30
Jose Lorenzo Rodriguez
d561460fda
Refactoring TestTask so it generates tests according to the new file naming standard
2011-04-10 20:49:16 -04:30
Jose Lorenzo Rodriguez
0263ffc74e
Renaming tests folders and making tests runnable again
2011-04-10 20:08:24 -04:30
Jose Lorenzo Rodriguez
7f31cfb173
Renaming all fixtures
2011-04-10 19:46:18 -04:30
Jose Lorenzo Rodriguez
74e50d3d98
Moving Console related tests
2011-04-10 19:36:06 -04:30
Jose Lorenzo Rodriguez
2a9679e5b7
Renaming Test Suites
2011-04-10 19:26:26 -04:30
Jose Lorenzo Rodriguez
37745ab50a
Moving all tests one dir up
2011-04-10 19:24:41 -04:30
Jose Lorenzo Rodriguez
cd26ec7a88
Moving TestSuite related tests
2011-04-10 19:23:36 -04:30
Jose Lorenzo Rodriguez
51eba8bd25
Moving View related tests
2011-04-10 17:19:32 -04:30
Jose Lorenzo Rodriguez
b3c4734d75
Moving Session engine tests
2011-04-10 17:08:01 -04:30
Jose Lorenzo Rodriguez
d9da6b00c6
Moving Utility related tests
2011-04-10 17:06:55 -04:30
Jose Lorenzo Rodriguez
063592d628
Moving Routing related tests
2011-04-10 17:01:53 -04:30
Jose Lorenzo Rodriguez
c83a396eb4
Fixing class loading for HttpResponse classes, and making possible to pass plugin HttpResponse classes too
2011-04-10 16:57:44 -04:30
Jose Lorenzo Rodriguez
0a1f9d17c3
Moving Network related tests
2011-04-10 16:50:39 -04:30
Jose Lorenzo Rodriguez
14bbe07a4e
renaming abstract class from wich all model tests inherit
2011-04-10 16:40:30 -04:30
Jose Lorenzo Rodriguez
4f1f833aca
Moving some of the Model related tests
2011-04-10 16:36:53 -04:30
Jose Lorenzo Rodriguez
6bafbf429d
Moving Log related tests
2011-04-10 16:19:19 -04:30
Jose Lorenzo Rodriguez
764b039e58
Moving I18n tests
2011-04-10 16:17:37 -04:30
Jose Lorenzo Rodriguez
c449a7bbf5
Moving Error related tests
2011-04-10 16:15:34 -04:30
Jose Lorenzo Rodriguez
222870a26e
Moving Core related tests
2011-04-10 16:10:36 -04:30
Jose Lorenzo Rodriguez
fcdf9ce81f
Moving configure related tests
2011-04-10 16:08:16 -04:30
Jose Lorenzo Rodriguez
98bb39f476
Moving cache related tests
2011-04-10 16:06:20 -04:30
Jose Lorenzo Rodriguez
974a153818
Moving tests files to follow the naming schema and to mirror the new internal CakePHP structure
2011-04-10 15:59:26 -04:30
Jose Lorenzo Rodriguez
50b47c8729
Renaming constants and fixing the last error related to folder renaming
2011-04-10 15:32:45 -04:30
Jose Lorenzo Rodriguez
7f2734d053
Starting to migrate internal tests files to the new file schema, and fixing related tests
2011-04-10 15:02:19 -04:30
Jose Lorenzo Rodriguez
6737380deb
Partial migration of folders to camelcase in app
2011-03-22 00:46:51 -04:30
Jose Lorenzo Rodriguez
ac0ec44f51
Fixing some extract console tests
2011-03-21 01:26:07 -04:30
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
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
Jose Lorenzo Rodriguez
3ff41b4f56
Fixing problem in cache helper test
2011-03-06 00:08:49 -04:30
Jose Lorenzo Rodriguez
9c0ab75a03
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-05 23:42:25 -04:30
Jose Lorenzo Rodriguez
13e9a9ef7c
Fixing ActionsAuthorize test
2011-03-05 19:41:33 -04:30
Jose Lorenzo Rodriguez
0696dd9200
Fixing BasicAuthenticate test
2011-03-05 19:37:56 -04:30
Jose Lorenzo Rodriguez
6b46c5cd17
Fixing ControllerAuthorize test
2011-03-05 19:33:36 -04:30
Jose Lorenzo Rodriguez
ec8577a562
Fixing CrudAuthorize test
2011-03-05 19:30:05 -04:30
Jose Lorenzo Rodriguez
6d96c38cd3
Fixing DigestAuthenticate Test
2011-03-05 19:25:33 -04:30
Jose Lorenzo Rodriguez
98c8cda6f5
Fixing FormAuthenticate test
2011-03-05 19:23:52 -04:30
Jose Lorenzo Rodriguez
cacbab168a
Fixing som package location in AuthComponent
2011-03-05 17:54:42 -04:30
Jose Lorenzo Rodriguez
f844283463
Updating test case with a bad merge to match the original one in branch 2.0
2011-03-05 17:45:52 -04:30
Jose Lorenzo Rodriguez
f1e2f5e949
Starting to migrate AuthComponent to the new class loader
2011-03-05 17:40:42 -04:30
Jose Lorenzo Rodriguez
f8a08432f4
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-05 17:37:31 -04:30
Jose Lorenzo Rodriguez
3ee49c0c5c
Moving BaseAuthenticate class
2011-03-05 17:37:09 -04:30
Jose Lorenzo Rodriguez
82834f2ec0
Moving Auth related classes to the new structure
2011-03-01 23:38:39 -04:30
Jose Lorenzo Rodriguez
42b3f993b9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-01 23:04:52 -04:30
Jose Lorenzo Rodriguez
ba694c45c9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-27 22:50:53 -04:30
Jose Lorenzo Rodriguez
08bec291fd
Fixing class importing in paginator test
2011-02-27 22:50:25 -04:30
José Lorenzo Rodríguez
b62c8d8ee2
Fixing bug in RequestHandler that was preventing the helper related to content type to be loaded correctly
2011-02-22 23:42:14 -04:30
José Lorenzo Rodríguez
2371ed9f15
Reverting change made in model constructor to lazily initialize the modelClass variable, making remaining controller tests pass
2011-02-22 23:36:53 -04:30
José Lorenzo Rodríguez
ff1942d271
Automatically adding the declaration of the PluginAppModel class in ClassRegistry::init(), making more controller tests pass
2011-02-22 23:03:04 -04:30
José Lorenzo Rodríguez
ffacbd7d27
Fixing pages controller test
2011-02-22 22:49:33 -04:30
José Lorenzo Rodríguez
4e1fcbed61
Fixing ScaffoldView test
2011-02-22 22:47:07 -04:30
José Lorenzo Rodríguez
90cdf5102e
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-22 22:34:58 -04:30
José Lorenzo Rodríguez
deae38546b
Fixing App::objects() and App::setObjects() so all dispatcher tests pass
2011-02-22 00:44:33 -04:30
José Lorenzo Rodríguez
688e914381
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-22 00:13:57 -04:30
José Lorenzo Rodríguez
a9d2078d25
Revert "Refactoring Dispatcher::_isPrivate to directly check for controller methods, doing in in the controller could be unnecessary"
...
This reverts commit c431ddd22c
.
Conflicts:
lib/Cake/Routing/Dispatcher.php
2011-02-22 00:13:35 -04:30
José Lorenzo Rodríguez
b1e007f231
Correctly importing classes in BasicAuthentication test
2011-02-22 00:06:11 -04:30
José Lorenzo Rodríguez
3e7b85dc34
Correctly importing classes in DigetAuthentication test
2011-02-22 00:04:21 -04:30
José Lorenzo Rodríguez
dbff3b8c58
Correctly importing HttpResponse in test
2011-02-22 00:02:35 -04:30
José Lorenzo Rodríguez
0cb08a09dc
Fixing class loading for authentication clasess in HttpSocket, also allowing the use of plugin authentication classes
2011-02-21 23:58:46 -04:30
José Lorenzo Rodríguez
b314149efd
Checkin that PluginAppModel is not in the list of modles to be used for CakeSchema
2011-02-21 23:28:00 -04:30
José Lorenzo Rodríguez
c105899cbc
Removing use of old constant
2011-02-21 22:48:22 -04:30
José Lorenzo Rodríguez
6e60216c13
Fixing error in testLoader class checking
2011-02-21 22:43:49 -04:30
José Lorenzo Rodríguez
4cebe55a9b
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
app/webroot/index.php
lib/Cake/Controller/Component/AuthComponent.php
lib/Cake/Network/CakeRequest.php
lib/Cake/tests/cases/libs/controller/components/auth.test.php
2011-02-21 22:28:30 -04:30
José Lorenzo Rodríguez
227ed6ef27
Fixing the Js engine helpers
2011-02-14 00:19:06 -04:30
José Lorenzo Rodríguez
4938ac2749
Moving the declaration of the CakeTestModel package location so it can be easily loaded
2011-02-14 00:18:28 -04:30
José Lorenzo Rodríguez
396fbeec91
Fixing the HtmlHelper tests
2011-02-14 00:18:10 -04:30
José Lorenzo Rodríguez
f8b51bfd92
Making the test suite load again
2011-02-13 23:56:41 -04:30
José Lorenzo Rodríguez
1b38d7c851
Resolving conflict left out in previous commit
2011-02-13 23:42:41 -04:30
José Lorenzo Rodríguez
c1e81a20cd
Moving more files to the new folder
2011-02-13 23:20:49 -04:30
José Lorenzo Rodríguez
6e4f4efb79
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
lib/Cake/Console/Command/TestSuiteShell.php
lib/Cake/Console/TaskCollection.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Controller/Controller.php
lib/Cake/Core/App.php
lib/Cake/Model/BehaviorCollection.php
lib/Cake/Network/CakeRequest.php
lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
lib/Cake/TestSuite/CakeWebTestCase.php
lib/Cake/TestSuite/TestManager.php
lib/Cake/TestSuite/TestRunner.php
lib/Cake/View/HelperCollection.php
lib/Cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
lib/Cake/tests/cases/libs/test_manager.test.php
2011-02-13 23:10:19 -04:30
José Lorenzo Rodríguez
72c6e0cd58
Fixing Cache tests
2011-01-31 00:47:30 -04:30
José Lorenzo Rodríguez
ff5a809b29
Fixing log engines loading
2011-01-31 00:14:20 -04:30
José Lorenzo Rodríguez
bff6343979
Adding the session datasources apth to App::build(), in the future look into registering only the top level packages
...
Fixing CakeSession tests
2011-01-31 00:02:17 -04:30
José Lorenzo Rodríguez
a1fd27741d
Fixing CakeTestFixture test case
2011-01-30 23:41:59 -04:30
José Lorenzo Rodríguez
33cbdefd8c
Moving config tests assets and adding missing view path in View tests case
2011-01-30 23:39:07 -04:30
José Lorenzo Rodríguez
4f01fc79c1
Fixing ComponentCollecction components loading, as with Behaviors and Helpers, thee MissingFileException can not be thrown
2011-01-28 10:49:53 -04:30
José Lorenzo Rodríguez
06fb51f19d
Added some missing App::uses() calls
2011-01-28 02:06:30 -04:30
José Lorenzo Rodríguez
32e0d86976
Fixing sSecurity component tests
2011-01-28 02:02:33 -04:30
José Lorenzo Rodríguez
4a55ef47cf
Fixing SessionComponent tests
2011-01-28 02:00:20 -04:30
José Lorenzo Rodríguez
024bff2126
Adding missing class usage declaration in ExceptionHandler test case
2011-01-28 01:56:00 -04:30
José Lorenzo Rodríguez
013f88e5f5
Fixing ExceptionRenderer tests
2011-01-28 01:55:07 -04:30
José Lorenzo Rodríguez
1ada281e14
Extracting CakeLogInterface to its own file, this fixes the FileLog test case
2011-01-28 01:52:54 -04:30
José Lorenzo Rodríguez
e81ff384c7
Fixing BehaviorCollection test regarding how classes are loaded. with the introduction of App::uses() it is not possible to determine if a file is missing or just the class in the file, so removing the throwing of MissingBehaviorFileException seems the only choice
2011-01-28 01:48:15 -04:30
José Lorenzo Rodríguez
0bde6d35f5
Fixing Acl classes loading for the AclBehavior tests
2011-01-28 01:44:04 -04:30
José Lorenzo Rodríguez
61e7cafe32
Fixing HelperCollection tests after merging 2.0 branch in
2011-01-28 01:33:08 -04:30
José Lorenzo Rodríguez
aa18cca1c3
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/View/Helper.php
2011-01-28 01:14:59 -04:30
José Lorenzo Rodríguez
2386a11151
fixing tests from last merge
2011-01-22 01:11:22 -04:30
José Lorenzo Rodríguez
d9c99b5ef6
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/tests/cases/libs/controller_test_case.test.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/Fixture/CakeTestFixture.php
lib/Cake/View/pages/home.ctp
2011-01-22 01:00:15 -04:30
José Lorenzo Rodríguez
1332561164
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
lib/Cake/Console/Command/Task/FixtureTask.php
2011-01-09 23:32:05 -04:30
José Lorenzo Rodríguez
ca4ee0c562
Caching plugin objects in App::objects()
2011-01-09 00:01:44 -04:30
José Lorenzo Rodríguez
cd28f19363
Making CakeSchema tests pass
2011-01-08 23:45:07 -04:30
José Lorenzo Rodríguez
be83288806
Fixing App::objects() so it will accept again the plugin syntax fro retreiving plugin objects
2011-01-08 23:44:24 -04:30
José Lorenzo Rodríguez
599a110d6b
Merge remote branch 'origin/2.0' into 2.0-class-loading
2011-01-08 22:59:02 -04:30
José Lorenzo Rodríguez
465330a96d
Fixing some package locations and a parse error
2011-01-08 22:57:27 -04:30
José Lorenzo Rodríguez
3c6f85254c
Fixing translate behavior tests
2011-01-06 00:19:22 -04:30
José Lorenzo Rodríguez
caa29646ce
Fixes for making mpass all ConnectionManager Tests
2011-01-06 00:09:11 -04:30
José Lorenzo Rodríguez
630a3ef223
Renaming test datasources to start making pass ConnectionManager tests
2011-01-06 00:08:39 -04:30
José Lorenzo Rodríguez
406e7b783d
Making all Mysql dbo source tests pass
2011-01-05 23:14:33 -04:30
José Lorenzo Rodríguez
aea5607cdb
Fixing remaining postgres tests
2011-01-05 23:10:08 -04:30
José Lorenzo Rodríguez
e87dca62f1
Fixing postgres dbo source tests
2011-01-05 23:00:33 -04:30
José Lorenzo Rodríguez
ed06d00e4a
fixing merge error in AclNode class
2011-01-05 22:50:33 -04:30
José Lorenzo Rodríguez
296b8dd77b
Fixing ModelDeleTest because of changes on the way datasources handle boolean fields
2011-01-05 22:48:13 -04:30
José Lorenzo Rodríguez
2cc4e0e3cb
Replacing driver type check now that the key "datasource" is to be used instead of "driver"
2011-01-05 22:44:32 -04:30
José Lorenzo Rodríguez
e8a93aef93
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Temporarly commenting code on App class while the transition is made
Conflicts:
lib/Cake/Core/App.php
2011-01-05 22:21:27 -04:30
José Lorenzo Rodríguez
54ecd2e77b
Some changes to ConnectionManager, it is now an static class. the connection objects enumeration will return the stored connections config instead of a cryptic array where only the ekys where useful
2011-01-05 22:15:17 -04:30
José Lorenzo Rodríguez
4c0e06c451
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
cake/libs/view/helpers/js.php
lib/Cake/Model/AclNode.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/bootstrap.php
lib/Cake/tests/cases/libs/controller/controller.test.php
2011-01-02 02:00:03 -04:30
José Lorenzo Rodríguez
8444510bae
Fixing sqlite test case
2010-12-22 00:13:26 -04:30
José Lorenzo Rodríguez
7870fb1ef2
Fixing test in DboSource test case
2010-12-22 00:11:40 -04:30
José Lorenzo Rodríguez
79c6428e49
Fixing DbAcl tests
2010-12-22 00:05:46 -04:30
José Lorenzo Rodríguez
9884a05a28
Reanaming file so it reflects the class contained in it
2010-12-22 00:02:33 -04:30
José Lorenzo Rodríguez
eed6d26ab6
Extracting acl model classes to their own files
2010-12-22 00:01:03 -04:30
José Lorenzo Rodríguez
57929c2be7
Fixing some broken model tests
2010-12-21 23:51:47 -04:30
José Lorenzo Rodríguez
f3e2c0835f
First attempt at trying to fix App::objects()
2010-12-21 23:45:22 -04:30
José Lorenzo Rodríguez
f3a5eaf2f7
Fixing CacheSession test
2010-12-21 22:32:49 -04:30
José Lorenzo Rodríguez
9a52cff389
Fixing DatabaseSession test
2010-12-21 22:32:12 -04:30
José Lorenzo Rodríguez
75bfbe0e37
Fixing Set::merge, broken in previous optimizations
2010-12-21 22:24:55 -04:30
José Lorenzo Rodríguez
6bd735955d
Fixing CacheHelper test
2010-12-21 22:15:21 -04:30
José Lorenzo Rodríguez
5e6926f01b
Fixing some helper and views related tests
2010-12-21 22:13:22 -04:30
José Lorenzo Rodríguez
57e6ac7eb7
Adding cast to avoind fatal error in Helper class
2010-12-21 22:05:36 -04:30
José Lorenzo Rodríguez
9fac0b92c6
Extracting JsBaseEngineHelper to its own file, fixing some JsHelper related test cases
2010-12-21 22:01:38 -04:30
José Lorenzo Rodríguez
43401c271a
Fixing App::uses usage un CakeRouteTest
2010-12-21 21:46:12 -04:30
José Lorenzo Rodríguez
3fff5d144a
Making SessionHelper tests pass again
2010-12-19 23:58:47 -04:30
José Lorenzo Rodríguez
2cb2609a43
Making ThemeView test pass
2010-12-19 23:49:20 -04:30
José Lorenzo Rodríguez
b2ad8fe113
Removing constant TEST_CAKE_CORE_INCLUDE_PATH
2010-12-19 23:33:37 -04:30
José Lorenzo Rodríguez
5fa028839e
Fixing paths location in cake.php files
2010-12-19 23:17:53 -04:30
José Lorenzo Rodríguez
827a74b734
Merge remote branch 'origin/2.0' into 2.0-class-loading
2010-12-19 23:12:37 -04:30
José Lorenzo Rodríguez
5605bf2d9e
Fixing failing test for HelperCollection
2010-12-18 22:32:20 -04:30
José Lorenzo Rodríguez
5f7ca8d2b6
Removing some internal chenck for the "driver" key in database configs
2010-12-18 22:27:55 -04:30
José Lorenzo Rodríguez
e8c73170ba
Ficing a couple of notices when using a mocked CakeRequest
2010-12-18 22:27:28 -04:30
José Lorenzo Rodríguez
633f1dc1e5
Fixing warning in ConnectionManager
2010-12-18 22:27:02 -04:30
José Lorenzo Rodríguez
5e1b49918b
Fixing App::core('cake')
2010-12-18 22:26:23 -04:30
José Lorenzo Rodríguez
151a4bdb33
Fixing view files finding and making tests pass
2010-12-18 22:09:08 -04:30
José Lorenzo Rodríguez
ad78f1dc74
Adding support for plugin classes back,
...
Allowing the user to override core classes in app/libs
Adding some backward compatibility for App::path() and App::build()
2010-12-18 22:07:30 -04:30
José Lorenzo Rodríguez
8bcabdea6a
Fixing constants for test suite
2010-12-18 22:02:25 -04:30
José Lorenzo Rodríguez
5efa201b9b
Moving recently created files into the new folders
2010-12-18 21:52:03 -04:30
José Lorenzo Rodríguez
22581516db
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/tests/cases/libs/controller/component.test.php
lib/Cake/tests/cases/libs/controller/controller.test.php
lib/Cake/tests/cases/libs/controller/pages_controller.test.php
2010-12-18 00:04:44 -04:30
José Lorenzo Rodríguez
387281e506
Moving newly created classes to the new folders
2010-12-15 01:32:37 -04:30
José Lorenzo Rodríguez
8436fd53d0
Changing initial uses of App::uses() to the new packages system
2010-12-15 01:20:02 -04:30
José Lorenzo Rodríguez
07e43bb0f8
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/scaffolds/edit.ctp
cake/libs/view/scaffolds/form.ctp
cake/tests/test_app/plugins/test_plugin/views/tests/scaffold.edit.ctp
cake/tests/test_app/plugins/test_plugin/views/tests/scaffold.form.ctp
cake/tests/test_app/views/posts/scaffold.edit.ctp
cake/tests/test_app/views/posts/scaffold.form.ctp
lib/Cake/Error/ErrorHandler.php
lib/Cake/Model/Behavior/TranslateBehavior.php
lib/Cake/Model/Datasource/CakeSession.php
lib/Cake/Routing/Router.php
lib/Cake/TestSuite/TestManager.php
lib/Cake/View/scaffolds/edit.ctp
lib/Cake/tests/cases/console/shells/bake.test.php
lib/Cake/tests/cases/libs/cake_log.test.php
lib/Cake/tests/cases/libs/cake_request.test.php
lib/Cake/tests/cases/libs/view/helpers/number.test.php
lib/Cake/tests/test_app/plugins/test_plugin/views/tests/scaffold.edit.ctp
lib/Cake/tests/test_app/views/posts/scaffold.edit.ctp
2010-12-15 01:13:05 -04:30
José Lorenzo Rodríguez
8e5bd76752
Fixing several errors when running the testsuite
2010-12-11 01:17:55 -04:30
José Lorenzo Rodríguez
4389764050
Fixing core path
2010-12-11 01:13:42 -04:30
José Lorenzo Rodríguez
2907765404
Replacing almost all remaining uses of App::import
2010-12-10 01:53:27 -04:30
José Lorenzo Rodríguez
e57b3d8e74
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/View/Helper.php
2010-12-10 01:25:00 -04:30
José Lorenzo Rodríguez
f540920b76
More App::imports converted
2010-12-09 01:25:24 -04:30
José Lorenzo Rodríguez
f84351dd07
More replacements of App::import to App::uses
2010-12-09 00:43:11 -04:30
José Lorenzo Rodríguez
b8344ecd33
Replacing some of the App::import by App::uses
2010-12-08 23:15:18 -04:30
José Lorenzo Rodríguez
848461f7a0
Making the testsuite run again
2010-12-08 01:49:36 -04:30
José Lorenzo Rodríguez
4a287faa1e
Moving the tests folder
2010-12-08 01:36:38 -04:30
José Lorenzo Rodríguez
4c9ad2dec8
Starting the tedious process of moving the testsuite and tests
2010-12-08 00:34:45 -04:30
José Lorenzo Rodríguez
02ad049559
Fixing more shells, and updating code in home.ctp
2010-12-07 20:42:50 -04:30
José Lorenzo Rodríguez
7828f7d2fb
Lazy loading connections in ConnectionManager, changing some class names and imports
2010-12-07 19:59:07 -04:30
José Lorenzo Rodríguez
1c368abc1a
Adding back cache loading for "objects" in App class
2010-12-07 19:51:26 -04:30
José Lorenzo Rodríguez
66145db2a9
Fixing class loading for bake tasks
2010-12-07 19:50:56 -04:30
José Lorenzo Rodríguez
b5122e6e81
Fixing more console classes
2010-12-07 01:44:47 -04:30
José Lorenzo Rodríguez
e3690ebccb
Making shells run again
2010-12-07 01:26:10 -04:30
José Lorenzo Rodríguez
1c0a4c9e0a
Starting to move console classes
2010-12-07 00:47:53 -04:30
José Lorenzo Rodríguez
322093a022
Separating cache storing in App shutdown
2010-12-07 00:17:50 -04:30
José Lorenzo Rodríguez
0732552739
Movig CakeSession to a better suited package
2010-12-07 00:02:42 -04:30
José Lorenzo Rodríguez
9e64754005
Adding check to no overwrite cache if it has not been modified
2010-12-07 00:00:20 -04:30
José Lorenzo Rodríguez
6de52f795f
Completing the round of micro optimization, it was fun while it lasted
2010-12-06 23:15:18 -04:30
José Lorenzo Rodríguez
c431ddd22c
Refactoring Dispatcher::_isPrivate to directly check for controller methods, doing in in the controller could be unnecessary
2010-12-06 22:57:09 -04:30
José Lorenzo Rodríguez
1d67d1611c
Micro optimizations in Helper class, as those functions are calles very often the may sum up some milliseconds
2010-12-06 22:49:15 -04:30
José Lorenzo Rodríguez
513eb53426
Fixing package location in DboSource
2010-12-06 22:48:30 -04:30
José Lorenzo Rodríguez
66744c68b0
Making ConnectionManager an static object instead of a singleton
2010-12-06 22:47:43 -04:30
José Lorenzo Rodríguez
2ce2ea222c
Moving config readers to their new package
2010-12-06 09:44:43 -04:30
José Lorenzo Rodríguez
5dddb362ec
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/config/ini_file.php
2010-12-06 09:42:52 -04:30
José Lorenzo Rodríguez
575a6b4b78
A couple of micro-optimizations found using a profileA couple of micro-optimizations found using a profilerr
2010-12-06 09:38:06 -04:30
José Lorenzo Rodríguez
88a4a6609e
Moving the config folder
2010-12-06 00:10:56 -04:30
José Lorenzo Rodríguez
d311cf237b
Moving behaviors
2010-12-05 23:50:05 -04:30
José Lorenzo Rodríguez
3f64844de9
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
lib/Cake/Model/ConnectionManager.php
lib/Cake/basics.php
2010-12-05 23:43:58 -04:30
José Lorenzo Rodríguez
5c0c9841e2
Removing dead code
2010-12-05 20:38:17 -04:30
José Lorenzo Rodríguez
2fed702c57
Moving more model classes to the new package
2010-12-05 15:00:02 -04:30
José Lorenzo Rodríguez
b19b25a788
Moving some spare clases to the corresponding packages
2010-12-05 13:21:28 -04:30
José Lorenzo Rodríguez
c542ac20c9
Moving core view to the new folder and allowing the view class to find those views
2010-12-05 13:07:01 -04:30
José Lorenzo Rodríguez
0596f5a245
Adding cache support for class loader
2010-12-05 12:00:36 -04:30
José Lorenzo Rodríguez
fcd23b0978
Starting to change the class loading for app classes
2010-12-05 10:54:42 -04:30
José Lorenzo Rodríguez
02495188ef
Moving the pages controller
2010-12-04 22:59:55 -04:30
José Lorenzo Rodríguez
377cbc546b
Fixing some errors in loading view classes
2010-12-04 22:06:53 -04:30
José Lorenzo Rodríguez
e425b68a86
Loading the CakeErrorController
2010-12-04 15:11:15 -04:30
José Lorenzo Rodríguez
e3f85ccda8
loading the ExceptionRenderer
2010-12-04 14:06:30 -04:30
José Lorenzo Rodríguez
80452397b6
Changing the way loggers are loaded, this will probable need some changes on userland
2010-12-04 13:56:26 -04:30
José Lorenzo Rodríguez
ff8b1a1041
Stating to move loggers to the new folder
2010-12-04 13:50:26 -04:30
José Lorenzo Rodríguez
6b40c9c854
Moving I18n related classes to the new folder schema
2010-12-04 13:45:07 -04:30
José Lorenzo Rodríguez
f3eb2159eb
Making helpers load
2010-12-04 13:40:24 -04:30
José Lorenzo Rodríguez
be9bcb3627
Moving view clasess to their new home
2010-12-04 13:31:04 -04:30
José Lorenzo Rodríguez
7dc8d5e746
Simplifying datasources loading, it now requires datasources to be configured with the 'datasource' array key, which is a relative path from Model/Datasource/
2010-12-04 12:24:15 -04:30
José Lorenzo Rodríguez
be1263d476
Moving the first database driver to the correct folder to start testing
2010-12-04 11:52:23 -04:30
José Lorenzo Rodríguez
8678661b9c
Merge branch 'feature/2.0/pdo' into 2.0-class-loading
2010-12-04 11:21:54 -04:30
José Lorenzo Rodríguez
592abb569c
More work towards loading datasources
2010-12-04 11:16:42 -04:30
José Lorenzo Rodríguez
4bb6d583b7
More work towards model loading
2010-12-04 03:00:03 -04:30
José Lorenzo Rodríguez
fa83ecda5b
Beginnings of model loading
2010-12-04 02:57:20 -04:30
José Lorenzo Rodríguez
ec93152c9a
Loading the set class successfully
2010-12-04 02:51:42 -04:30
José Lorenzo Rodríguez
c641baaf16
Loading component classes ang beginnings of session loading
2010-12-04 02:49:44 -04:30
José Lorenzo Rodríguez
fbbb5c9337
Moving more clases to the new layout while trying to make controller related classes load
2010-12-04 02:45:22 -04:30
José Lorenzo Rodríguez
b4387d2f51
More replacements to get class loaded using the new file scheme
2010-12-04 02:34:30 -04:30
José Lorenzo Rodríguez
73ad5385eb
Moving more classes to the new layout, it is time to bring the debugger up
2010-12-04 02:16:51 -04:30
José Lorenzo Rodríguez
3c23080dd2
Moving more classes to the new schema, slowly uncommenting code and implementing new class loader
2010-12-03 20:53:47 -04:30
José Lorenzo Rodríguez
ca34b22dbb
Renaming more core classes, next step would be to tweek the autoloader to find only on Cake/ "namespace" (for now)
2010-12-03 20:15:54 -04:30
José Lorenzo Rodríguez
96cb90a82b
Chanigng some constants and commenting code to start testing
2010-12-03 19:48:44 -04:30
José Lorenzo Rodríguez
c57dd6f0f1
Starting to move files to match the PHP standards group file naming standard
2010-12-03 19:38:57 -04:30