Commit graph

11504 commits

Author SHA1 Message Date
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
Jelle Henkens
da4b75c993 Fixing issue where the time helper sets the wrong timezone part in RSS dates 2011-08-26 22:16:49 +01:00
Ceeram
9300f094a5 fixing output for logs and accept log level from configs 2011-08-26 09:33:49 +02: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
Ceeram
9e0ff5ad88 add Cakelog to send(), transport classes now all return in same format, fixing some typos 2011-08-26 02:31:18 +02:00
Ceeram
c93274a528 dropping first parameter for _applyConfig() 2011-08-25 16:50:30 +02:00
Ceeram
4cc5295400 more refactoring of CakeEmail 2011-08-25 16:03:39 +02:00
Juan Basso
c60abb1802 Fixed tests affected by the visibility changes. 2011-08-24 23:10:51 -04:00
Ceeram
0b8a3069eb removing duplicate code, config() already applies configs now 2011-08-24 16:58:51 +02: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
Mark Story
18acc65fe1 Adding Cache disabling to bake tasks and parent bakeshell.
Fixes #1889
2011-08-19 12:35:59 -04:00
Ceeram
acdfb483a7 Change casing of delivery method being passed to transport(), to ensure correct transport class will be loaded 2011-08-19 16:47:46 +02:00
Juan Basso
40654df5ab Fixing more documentations. 2011-08-18 22:31:00 -04:00
Mark Story
46c07add3f Fixing issues with HTML5 number inputs and float columns.
For float columns, the default step value is 'any'
Fixes #1907
2011-08-18 22:31:00 -04:00
Juan Basso
0575e92833 Added visibility in some methods and attributes. 2011-08-18 22:30:28 -04:00
Mark Story
0e21093268 Removing XmlHelper references in layouts.
Fixes #1916
2011-08-18 22:11:42 -04:00
Ceeram
138aae670a CakeEmail constructor now accepts $config 2011-08-17 23:15:57 +02:00
Ceeram
803cd287c2 config() will apply configs from email.php if string is passed 2011-08-17 23:11:49 +02:00
ADmad
c3884f407f Implemented feature to allow multiple counter caches per associated model. 2011-08-17 18:10:32 +05:30