Commit graph

13012 commits

Author SHA1 Message Date
Ceeram
d296fd1c00 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-04-04 21:51:41 +02:00
Mark Story
27952ebc9a Fixing missing array cast that could result in warnings from array_merge
if a model or behavior returned false from a beforeValidate callback.
Fixes #1629
2011-04-03 11:01:55 -04:00
Mark Story
a0321a723b Updating documentation for ClassRegistry::init() to not imply that it
can be used to construct non model objects.  Fixes #1633
2011-04-03 10:50:05 -04:00
mark_story
0d7672476f Removing accidental error. 2011-04-02 15:10:21 -04:00
mark_story
f4d8a7eff1 Making Configure::load merge by default. Adding a test case for overwriting. Fixes #1618 2011-04-02 10:00:59 -04:00
mark_story
5a58d38a80 Removing the ?> from files generated by bake. Fixes #1631 2011-04-02 09:17:14 -04:00
dereuromark
dd245747e8 merge configs instead of overriding them completely 2011-03-29 04:39:35 +02:00
Ceeram
2c79450228 Nicer baked webroot/index.php and test.php. Fixes #1621
Signed-off-by: mark_story <mark@mark-story.com>
2011-03-27 19:18:07 -04:00
mark_story
fbab7bd9c3 Fixing linking of emails that are missing tld's. They should not be turned into links. Test added. Fixes #1622 2011-03-27 19:09:46 -04:00
mark_story
249607654b Updating doc blocks to match method names. 2011-03-27 18:00:37 -04:00
Ceeram
77730b0b9b removed some more dead links to trac 2011-03-26 22:34:03 +01:00
Ceeram
7e550231d7 removed dead links to trac.cakephp.org 2011-03-26 20:40:03 +01:00
Ceeram
9102321112 removing links to code.cakephp.org/tickets 2011-03-26 20:27:36 +01:00
Ceeram
72f4ce8dd9 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-03-26 20:23:29 +01:00
mark_story
95d298bf28 Fixing test method names.
Adding a test for updateAll with empty values.
2011-03-26 11:10:43 -04:00
mark_story
893ced5c30 Removing reference operators from function signatures. Fixes #1223 2011-03-26 00:04:25 -04:00
Ceeram
d0e574cbba added extra tests for changed view file extension 2011-03-25 23:27:42 -04:00
mark_story
6cc1688d4e Fixing issue where DboMysql would perform joins on delete queries even if the conditions did not require joins. Added a more intelligent join detector, that removes joins if all the conditions are simple. This will only be able to optimize array conditions.
Test cases added.  Fixes #1571
2011-03-24 23:25:56 -04:00
mark_story
532555b94b Fixing order condition quoting to allow fields with - in them. Fixes #1599 2011-03-24 22:28:11 -04:00
mark_story
0bab8f8e14 Removing deprecated parameter from Inflector::slug(), use Inflector::rules() instead. 2011-03-23 22:31:27 -04:00
Ceeram
e0be31093f renamed missing_conenction.php to missing_connection.php 2011-03-23 21:47:50 -04:00
mark_story
b1318f8ab8 Merge remote branch 'ceeram/2.0-1607' into 2.0 2011-03-23 21:43:36 -04:00
mark_story
b8e560b8b4 Merge remote branch 'ceeram/1.3-authuser' into 1.3 2011-03-23 21:31:13 -04:00
Ceeram
9f223f9ebc fixed failing testcase for Auth component, closes #1607 2011-03-23 23:48:22 +01:00
Ceeram
0acbba8faa Auth enhancement, less calls to user() 2011-03-23 15:39:12 +01:00
Ceeram
d3ff625409 Merge branch '1.3' of git://github.com/cakephp/cakephp into 1.3 2011-03-23 15:36:16 +01:00
Ceeram
c902d4c060 Auth enhancement, less calls to user() 2011-03-23 15:34:02 +01:00
Jose Lorenzo Rodriguez
6737380deb Partial migration of folders to camelcase in app 2011-03-22 00:46:51 -04:30
ADmad
69e5854f0a Applying patch from 'Eärendil' to add option 'hiddenField' for FormHelper::select() for use with 'multiple'=>'checkbox'. Test cases added. Closes #1161 2011-03-21 19:18:53 +05: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
mark_story
e2773242f7 Adding a test case for the issue fixed in #1408.
Fixing issue where -app command did not work as expected.
Fixes #1601
2011-03-20 22:19:22 -04:00
mark_story
9dd39bb32c Fixing some typos and adding some missing information. 2011-03-20 21:44:15 -04:00
mark_story
33afe21aa7 Updating version numbers to 1.3.8 2011-03-20 16:10:00 -04:00
mark_story
dd9ebd8a60 Fixing a failing test caused by changes in fixture schema. 2011-03-20 16:06:44 -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