Commit graph

10644 commits

Author SHA1 Message Date
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
3ff9747d02 sync app core.php with tempalte core.php
don't use apc on the cli unless it's enabled - which by default it is
not
2011-04-17 11:48:51 +02: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
Renan Gonçalves
3f4f9d0890 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-04-17 08:29:25 +02:00
Renan Gonçalves
5280f5aa5c Fixing the CAKE_CORE_INCLUDE_PATH, including the new 'lib' namespace. 2011-04-17 08:29:02 +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
Graham Weldon
ffdf720cf7 Moved Upgrade console into place for 2.0 Console standards. 2011-04-17 12:32:54 +10:00
Graham Weldon
215445c32d Merge remote-tracking branch 'origin/2.0' into 2.0-upgrade 2011-04-17 12:22:15 +10:00
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
mark_story
12c245609e Fixing XmlHelper overwriting its Xml property when creating an open element with elem()
Fixes #1642
2011-04-16 16:56:32 -04:00
mark_story
4395e8acc1 Fixing formatting, and updating test to better reflect what would normally happen. 2011-04-16 15:56:40 -04:00
tylerseymour
13c64f1707 Fix issue where values are not recursively deleted. ie:
$this->Cookie->write('User.email', 'test@example.com');
$this->Cookie->delete('User');
The cookie for User.email would not be removed (despite being removed from the __values array.
Fixes #1651

Signed-off-by: mark_story <mark@mark-story.com>
2011-04-16 15:16:34 -04:00
mark_story
bc5edebee6 Adding a test case for #1651 2011-04-16 15:15:53 -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
mark_story
9f51c4ccfc Updating API docs for FormHelper::input() fixes #1649 2011-04-13 18:48:29 -04:00
Juan Basso
2c4ed9bfc2 Fixed the input name when multiple is setted to false. 2011-04-13 00:32:15 -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
554d32e76d Using the config from CakeEmail instead try to read from Configure class in email transports. 2011-04-12 22:17:30 -04:00
Juan Basso
daa90ed2b2 Created the email class and a logic in CakeEmail. 2011-04-12 22:17:28 -04:00
Juan Basso
5f54946cf8 Test to smtp disconnect. 2011-04-12 22:17:25 -04:00
Juan Basso
5018953407 Tests to smtp send data. Fixed the method to transform headers in string to not put in the string empty values. 2011-04-12 22:17:23 -04:00
Juan Basso
56a3ecf6a6 Test to smtp send rcpt. 2011-04-12 22:17:21 -04:00
Juan Basso
e280a7cc5d Changed the method names in transport to new form. 2011-04-12 22:17:19 -04:00