Commit graph

1235 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
12c73806f4 Skipping tests on Sqlite that involve creating a duplicate connection/ It is not possible to open multiple connections to it 2011-09-03 21:07:40 -04:30
Jose Lorenzo Rodriguez
149deba416 Fixing Mysql test case after making the DboSource throw exceptions 2011-09-03 19:12:06 -04:30
Jose Lorenzo Rodriguez
8897335af4 All tests passing on postgres 2011-09-03 18:58:53 -04:30
Jose Lorenzo Rodriguez
74ba030e7c More postgres tests passing again 2011-09-03 18:34:11 -04:30
Jose Lorenzo Rodriguez
93d6cd4ad6 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-09-03 18:08:16 -04:30
Jose Lorenzo Rodriguez
61ff8d6154 Making DboSource tests more portable 2011-09-03 18:07:26 -04:30
mark_story
d597186274 Fixing a few more failing tests.
Adding some parent calls to tests, removing duplicated junk.
2011-09-03 23:23:24 +01:00
Jose Lorenzo Rodriguez
d06d5f8738 Not checking length on databases that won't return it for floats 2011-09-03 17:21:48 -04:30
Jose Lorenzo Rodriguez
fcf58371fd Fixing a failing postgres test 2011-09-03 17:09:41 -04:30
Jose Lorenzo Rodriguez
7003edeb8f Adding missing expectedException annotations 2011-09-03 17:05:09 -04:30
Jose Lorenzo Rodriguez
0ca8af2c22 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-09-03 17:01:49 -04:30
Jose Lorenzo Rodriguez
f0ef0aab62 Making postgres tests pass 2011-09-03 17:00:16 -04:30
mark_story
2c21fc90fb Fixing failing tests and issues with Sqlite. 2011-09-03 22:07:45 +01:00
Jose Lorenzo Rodriguez
d24c408537 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-09-03 14:31:02 -04:30
mark_story
4172eac7c6 Removing trigger_warning() that causes tests to fail in Sqlite, as
it does not assign lengths for integer columns.
2011-09-03 18:59:23 +01:00
Jose Lorenzo Rodriguez
49b8b24ac2 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-09-03 13:09:04 -04:30
mark_story
2ceea79862 Fixing errors and failing tests with SQLite.
Seems that MySQL is extremely permissive with NOT NULL fields.
SQLite is more strict it seems.
2011-09-03 18:37:29 +01:00
Jose Lorenzo Rodriguez
36470f4a86 Removing $error property from DboSource, errors in queries will throw exceptions now 2011-09-03 12:17:00 -04:30
mark_story
cc8d44f21f Adding an exception for when a PDO interface is not installed. 2011-09-03 17:03:31 +01:00
Jose Lorenzo Rodriguez
783b5d4d1c Fixing fatal errors when running postgres 2011-09-03 11:27:58 -04:30
Jose Lorenzo Rodriguez
df303f9e09 Fixing remaining failing tests 2011-09-03 09:43:50 -04:30
Jose Lorenzo Rodriguez
2bca1435ab Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-09-03 07:05:48 -04:30
Jose Lorenzo Rodriguez
01f26995b6 Fixing failing test in fixture test case 2011-09-03 07:04:51 -04:30
Jose Lorenzo Rodriguez
89b1e54071 Removing Oracle driver, it will not make it to stable release. Revert this commit to bring it back for next version 2011-09-03 06:50:19 -04:30
mark_story
027dba72c9 Removing the helpPath feature as its not documented, not tested and most likely
entirely unused.
2011-09-03 12:18:03 +01:00
mark_story
ca078d9a25 Converging on 4px for border-radius.
Updating debug() to output a tiny bit more HTML so it can be made sexy.
2011-09-03 10:06:01 +01:00
mark_story
1c40a37439 Removing dead links from the home.ctp
Updating CSS for changes in previous commit.
2011-09-03 10:06:01 +01:00
mark_story
f1f4afacbd Fixing duplication of classes. cake-debug was used for debug and error messages. 2011-09-03 10:06:01 +01:00
mark_story
8c75488979 More changes to the CSS, and updating the bake templates and scaffolds. 2011-09-03 10:06:01 +01:00
mark_story
815b78c2f9 More tweaks to the error output and headings.
Removing extra | from debugger output.
2011-09-03 10:06:00 +01:00
mark_story
ec9d29fca5 Removing the trailing ?> from the suggested error code text. 2011-09-03 10:06:00 +01:00
mark_story
85d9b1af8d Fixing failing tests caused by path/object cache issues. 2011-09-03 01:14:51 +01:00
mark_story
efbeab6199 Merge branch '1.3' into merger
Conflicts:
	cake/libs/controller/components/email.php
	cake/tests/cases/console/libs/tasks/fixture.test.php
	lib/Cake/Console/Command/Task/DbConfigTask.php
2011-09-03 00:48:09 +01:00
Renan Gonçalves
bc3828179b Not using Folder if its a git repository. 2011-09-02 00:19:37 +02:00
Renan Gonçalves
65956ab863 Adding __d(...) to the upgrade shell messages. Althought there is no 'real' need for it its good to be aligned to the others shells. 2011-09-01 22:10:42 +02:00
Renan Gonçalves
81c46a76b7 Not running 'git mv ...' if its dry-run. 2011-09-01 22:10:42 +02:00
Renan Gonçalves
265c094f2f Fixing the path to tests on upgrade shell and also fixing the option for git, it needs to be boolean. 2011-09-01 22:10:42 +02:00
Renan Gonçalves
7ae89c3679 Checking if short options exist, fixed an warning caused by not checking it. 2011-09-01 22:10:42 +02:00
Mark Story mark@mark-story.com
6f8869631f Fixing issue where divide by 0 errors would crop up on empty files. 2011-09-01 20:33:09 +01:00
Mark Story mark@mark-story.com
957a8d5c00 Fixing log files to directories a webserver doesn't always have write access too. 2011-09-01 20:24:39 +01:00
Mark Story mark@mark-story.com
41b22c5521 Fixing Router::mapResources() so it works with plugins.
Fixes #1956
2011-09-01 18:49:01 +01:00
Renan Gonçalves
b5bee102df Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-09-01 19:32:13 +02:00
Renan Gonçalves
edbe60e965 Overriding the files array, so it will not try to perform actions on files that no longer exists. 2011-09-01 19:31:32 +02:00
Mark Story mark@mark-story.com
36eca679fe Adding an isset so a non-existant view isn't accessed.
Fixes #1954
2011-09-01 17:55:42 +01:00
Mark Story mark@mark-story.com
4d1f41dddc Fixing failing tests cased by App::object() cache being warm.
Removing code duplicated in CakeTestCase methods.
Adding missing parent calls.
2011-09-01 00:38:08 +01:00
Mark Story mark@mark-story.com
572412ec6b Removing bad integration test that wasn't required anymore. 2011-09-01 00:23:59 +01:00
Mark Story mark@mark-story.com
bb3a1d546b Fixing RequesHandler::prefers(). It was previously entirely wrong.
It took the ordered list of accept types, and blindly assumed
the first in the list was the most preferred.  This is an incorrect
assumption to make, as all types with the same q value are equal.

- Using CakeRequest::parseAccept() to access only the most preferred
content types.
- Using in_array() to check for the desired type.
- Updating tests for RequestHandler.
2011-09-01 00:20:54 +01:00
Mark Story mark@mark-story.com
e2f48b4a95 Refactoring how q values are parsed, as content types were
reversed for similar q value types.  This causes issues in
RequestHandlerComponent.
2011-09-01 00:20:54 +01:00
Jose Lorenzo Rodriguez
ef4bb2239e Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-08-31 17:40:55 -04:30
Jose Lorenzo Rodriguez
b9b7516945 Merge remote-tracking branch 'ceeram/2.0-email' into 2.0
Conflicts:
	lib/Cake/Network/Email/AbstractTransport.php
	lib/Cake/Network/Email/CakeEmail.php
	lib/Cake/Network/Email/DebugTransport.php
	lib/Cake/Network/Email/MailTransport.php
	lib/Cake/Network/Email/SmtpTransport.php
2011-08-31 17:39:41 -04:30