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
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
5955cc6ed7
Adding trimming of Accept headers to CakeRequest.
...
Fixes #1684
2011-08-25 22:28:02 -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
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
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
ADmad
c3884f407f
Implemented feature to allow multiple counter caches per associated model.
2011-08-17 18:10:32 +05:30
Mark Story
54e1de9070
Adding visibility keywords to code that came from
...
a 1.3 merge.
2011-08-16 22:40:38 -04:00
Juan Basso
16ef234180
Removing trailing spaces.
2011-08-15 23:55:08 -04:00
ADmad
2b342d96d6
Optimizing various finds when deleting records and updating counter cache to avoid extra queries, unnecessary joins and callbacks triggering
2011-08-15 11:47:52 +05:30
Juan Basso
7581db2cf2
More API description/examples to relations variables.
2011-08-15 01:10:32 -04:00
Juan Basso
0fcf6f6a1d
Updating some sentenses.
2011-08-15 00:35:20 -04:00
Juan Basso
725e512839
Description to some attributes in Model.
2011-08-15 00:17:40 -04:00
Juan Basso
620a65b2fc
Merge branch '2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Utility/Debugger.php
2011-08-14 21:12:05 -04:00
mark_story
182b13fdbd
Fixing failing test. In 2.0, absolute paths are not altered.
2011-08-14 14:49:56 -04:00
mark_story
e29eb1cb03
Fixing failing cache tests.
2011-08-14 14:45:47 -04:00
mark_story
d93c8cb200
Merge branch '1.3' into merger
...
Conflicts:
cake/libs/controller/components/security.php
cake/libs/view/pages/home.ctp
cake/libs/view/view.php
lib/Cake/Cache/Engine/FileEngine.php
lib/Cake/Config/config.php
lib/Cake/Model/Datasource/Database/Postgres.php
lib/Cake/Test/Case/Utility/SanitizeTest.php
lib/Cake/Test/Case/Utility/SetTest.php
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper/CacheHelper.php
2011-08-14 14:39:49 -04:00
ADmad
ef4826eb70
Making Model::find('count') behave nicely when 'group' key is specified in options. Closes #1677
2011-08-14 07:37:23 +05:30
ADmad
5d79299362
For paging links the 'class' attribute is now always applied to the wrapping tag for consistency. Closes #1759
2011-08-14 05:09:57 +05:30
ADmad
b781762903
Fixing regression in Set::extract(). Refs #1895 , #1816 , #1692 .
2011-08-14 03:11:55 +05:30
ADmad
7983b4109b
Data returned by Model::save() not contains primary key too when new record is created. Closes #1869
2011-08-14 02:56:08 +05:30
ADmad
2a2a4ab3cc
Merge pull request #176 from martin-ueding/1.3
...
Added commented "encoding" => "utf8" to default db config
2011-08-13 09:26:57 -07:00
Martin Ueding
00a77b41f5
prepared utf8 database connection option
2011-08-13 17:13:27 +02:00