Juan Basso
840d27bbb9
Fixed the allow method to parameters not be required.
2011-08-30 21:12:57 -04:00
Jose Lorenzo Rodriguez
6612cb3421
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-08-30 00:08:54 -04:30
Jose Lorenzo Rodriguez
a8b38beb9d
Fixing bug in SchemaShell where it would always force a read on all tables
2011-08-30 00:07:57 -04:30
Mark Story mark@mark-story.com
3a8b344208
Fixing issue where CakeTestCase would erase custom bootstrapped paths in tearDown().
...
Adding App::paths() to simplify getting all the paths App knows about.
Fixes #1934
2011-08-29 22:14:18 -04:00
Jose Lorenzo Rodriguez
0e85170f28
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-08-29 16:55:27 -04:30
Jose Lorenzo Rodriguez
40ba4005bd
Affecting the REQUEST_METHOD env variable in order to ease controller testing with different http verbs
2011-08-29 16:54:22 -04:30
Mark Story
59c6b419e5
Merge branch '1.3' into merger
...
Conflicts:
cake/console/libs/bake.php
cake/libs/configure.php
cake/libs/controller/components/request_handler.php
cake/tests/cases/console/libs/tasks/fixture.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
lib/Cake/Cache/Engine/FileEngine.php
lib/Cake/Test/Case/Controller/ScaffoldTest.php
lib/Cake/Utility/Validation.php
2011-08-28 22:08:49 -04:00
mark_story
5b43d6b9a7
Adding cafe to the list of irregular plurals. Seems that its
...
french origins befuddle normal english pluralization rules.
Fixes #1930
2011-08-28 21:45:16 -04:00
mark_story
9ff922cbc7
App::objects() should skip directories and files starting with
...
`.`. These generally contain version control or OS metadata, and
not code CakePHP can use.
Fixes #1933
2011-08-28 15:36:19 -04:00
mark_story
27ab9093b5
Removing getTests() and fixing failing test in accidentaly skipped tests.
2011-08-28 14:18:09 -04:00
mark_story
4a7bd031e5
Adding a file_exists() check before unlinking cache files.
...
This prevents issues where two concurrent requests could
be clearing the same cache files.
Fixes #1936
2011-08-27 11:52:29 -04:00
mark_story
1a872e6544
Fixing CakeRequest::accepts() where ;q values on Accept header
...
were not respected.
Fixes #1940
2011-08-27 11:39:22 -04:00
mark_story
5df12a287e
Fixing failing tests caused by moving params[ext].
2011-08-27 10:36:11 -04:00
mark_story
02a6883b22
Using Folder class in CakeTestSuite, this fixes issues where
...
hidden directories from VCS would be added as test cases.
Fixes #1933
2011-08-27 10:34:08 -04:00
mark_story
682dc5e24b
Make Folder::tree use SPL Iterators.
2011-08-27 10:20:59 -04:00
mark_story
7656feb0bb
Converting internals of Folder::read() to use DirectoryIterator.
2011-08-27 10:20:59 -04:00
mark_story
fdc006a2e3
Fixing how error handlers are registered when debug levels
...
are toggled mid request. Previously Debugger would stay
as the active error handler even after changing debug to 0.
Now, either CakeLog or Debugger will be assigned as the error handler
depending on the debug level.
Fixes #1941
2011-08-27 10:14:24 -04:00
Jose Lorenzo Rodriguez
f94394f582
Removing routing url from query string in CakeRequest. This happens mostly with nginx setups
2011-08-27 01:29:50 -04:30
Juan Basso
7d0250ff47
Merge branch '2.0-api-doc' into 2.0
2011-08-26 20:22:26 -04:00
mark_story
aee650defb
Adding a test and fixing issues where q value had whitespace as well.
...
Refs #1684
2011-08-25 22:33:21 -04:00
mark_story
72ef310867
Fixing Accept header parsing so content types with leading/trailing spaces
...
are treated as spaceless.
Fixes #1684
2011-08-25 22:31:25 -04:00
mark_story
5955cc6ed7
Adding trimming of Accept headers to CakeRequest.
...
Fixes #1684
2011-08-25 22:28:02 -04:00
mark_story
ec79a09d27
Removing PHP5.2.6 only mode value, and replacing it with PHP4 & 5 compatible
...
mode.
2011-08-25 22:12:33 -04:00
Juan Basso
c60abb1802
Fixed tests affected by the visibility changes.
2011-08-24 23:10:51 -04:00
mark_story
f060fdafb7
Adding the --debug flag that later versions of PHPUnit support.
2011-08-22 22:29:32 -04:00
mark_story
6acf024a2b
Fixing incorrect keying for ext routing parameter. It was
...
nested under params[url][ext]. This makes it unlike
all other routing parameters. Having the nested value
also makes reversing requests harder, and generating urls more
difficult.
Adding a test for Router::reverse() and extensions.
Fixes #1923 , fixes #1928
2011-08-22 22:26:02 -04:00
Mark Story
68b2d67b0a
Adding support for callback style error formatters.
...
This will allow other classes to inject custom error formatting
code into debugger. Hopefully making it possible to remove the getInstance() workarounds.
2011-08-22 20:44:33 -04:00
Mark Story
48c6b78660
Adding tests for Debugger::addFormat()
2011-08-22 20:44:32 -04:00
Mark Story
73f4b8c8bf
Adding additional test cases for assertTags.
2011-08-22 20:44:32 -04:00
Mark Story
daf1251473
Adding tests for Debugger::outputAs()
...
Adding exceptions for invalid state checking.
2011-08-22 20:44:32 -04:00
Mark Story
35fc8352ce
Extracting methods from nasty Debugger::output().
2011-08-22 20:44:32 -04:00
Mark Story
ea3b38ef3e
Adding doc block info for Debugger::output().
2011-08-22 20:44:32 -04:00
Mark Story
8503ffd39b
Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only
...
accurate to the second. Profilers and timers need ms resolution
to be accurate.
2011-08-22 20:44:32 -04:00
ADmad
34d3d6fe9e
Fixing doc block related to session configuration. Closes #1927
2011-08-23 04:07:08 +05:30
Juan Basso
dbb87a0196
Changed protected callbacks of scaffold to public in Controller.
2011-08-21 23:18:55 -04:00
Juan Basso
f7f3515135
Fixed documentation to methods that use func_get_args().
2011-08-21 21:45:34 -04:00
Juan Basso
e9390985ca
Changed mergeAssociation scrubQueryData to be protected.
2011-08-21 21:27:35 -04:00
Juan Basso
689c7ffd45
Fixed some problems caused by the visibility changes.
2011-08-21 01:04:55 -04:00
Mark Story
9daa969783
Switching FixtureTask to use var_export() instead of custom
...
escaping code.
Fixes issues with quotes in text.
Fixes #1922
2011-08-20 20:08:45 -04:00
Matt Alexander
f9ff4e1e68
Add Tibetan locales
2011-08-20 19:17:02 -04:00
Mark Story
58888399f1
Adding Todo about moving Cookie setting to CakeResponse.
2011-08-20 17:28:58 -04:00
Mark Story
7276f3357d
Fixing issues where ControllerTestCase couldn't properly hit plugin
...
controllers.
Fixing some formatting.
Fixes #1918
2011-08-20 09:58:35 -04:00
Mark Story
70f47378f9
Fixing options[data] always writing its data into $_POST['data'].
...
It now just overwrites $_POST.
Fixes #1917
2011-08-20 09:46:01 -04:00
Mark Story
0091fac5b9
Adding prefix based cache clearning to Wincache.
...
This matches APC and Memcache.
Fixes #1911
2011-08-20 09:27:33 -04:00
Mark Story
ef921fa56f
Making ApcEngine::clear() only clear keys with a matching
...
prefix. Refs #1911
2011-08-20 09:27:33 -04:00
Juan Basso
a1a049c700
Merge remote-tracking branch 'origin/2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Model/Model.php
lib/Cake/View/Helper/CacheHelper.php
2011-08-20 01:47:27 -04:00
Juan Basso
61833294f0
Changed the visibility to methods that not affect others classes.
2011-08-20 01:39:30 -04:00
Juan Basso
f5a54d00dd
Changed methods and attributes from private to protected.
2011-08-20 00:43:34 -04:00
Juan Basso
3dd86ebfd4
Fixed the Memcache::clear() to not flush all the server, just the variables associated with the prefix. Refs #1911
2011-08-19 22:12:37 -04:00
Mark Story
8dcb7fd9cb
Fixing failing tests.
2011-08-19 21:08:03 -04:00