euromark
|
e8cfac0eec
|
adding query() for CakeRequest
|
2012-09-18 19:38:53 +02:00 |
|
dogmatic69
|
5cc03ca805
|
converting if($foo == true) to if($foo)
|
2012-09-14 18:54:29 +01:00 |
|
Juan Basso
|
fd2f3aed46
|
Changed to accept language do not return the qualifiers and order the values by the qualifier. Also, making the test case insensitive
|
2012-08-28 23:52:05 -04:00 |
|
ceeram
|
973670ca1c
|
Merge pull request #749 from ceeram/2.3-allow
Add allowed() to CakeRequest, to check if the request method matches the...
|
2012-08-22 16:44:11 -07:00 |
|
Ceeram
|
d730acba59
|
Add onlyAllow() to CakeRequest, to check if the request method matches the allowed ones.
Throws exception if not matched, using the required Allow response header.
|
2012-08-22 17:23:24 +02:00 |
|
mark_story
|
e75fdd21ee
|
Add tests to show caseinsensitive nature of detectors.
Closes #3132
|
2012-08-20 11:43:10 -04:00 |
|
mark_story
|
e183e91b17
|
Make CakeRequest work with content-type headers that include a charset.
Refs #3113
|
2012-08-14 12:42:05 -04:00 |
|
Rodrigo Moyle
|
e10f6f57a3
|
Fix notice error when parsing input data.
Prevent error in CakeRequest from parsing input data in
PUT and DELETE requests.
Fixes #3002
Signed-off-by: mark_story <mark@mark-story.com>
|
2012-07-05 22:06:02 -04:00 |
|
mark_story
|
54679023f9
|
Add support for DELETE + form encoded data.
Much like PUT, DELETE requests will automatically parse
form-urlencoded request bodies and set them as $this->data.
|
2012-06-17 20:03:45 -04:00 |
|
AD7six
|
2335ef1a13
|
remove pseudo-mock code
Not required, not used by any committed code
|
2012-06-06 23:08:40 +02:00 |
|
AD7six
|
b509bdb04b
|
Automatically handle PUT requests
make the following "just work"
curl -X PUT -d foo=bar http://...
|
2012-06-06 22:59:37 +02:00 |
|
Jelle Henkens
|
f7ce5262b7
|
Updating mixed @param documentation to seperate list of accepted types
|
2012-05-21 21:55:10 +01:00 |
|
mark_story
|
f6b33db02c
|
Add test for accept header.
Refs #2828
|
2012-04-29 14:48:45 -04:00 |
|
mark_story
|
c15259f49c
|
Remove useless backups.
PHPUnit does this for us.
Fix formatting and whitespace.
|
2012-04-17 21:57:07 -04:00 |
|
Kyle Robinson Young
|
90e7afbdc7
|
Correct parameter order of assertEquals and assertNotEquals
|
2012-03-22 23:37:12 -07:00 |
|
mark_story
|
d0733ceb00
|
Fix most coding standards in Case/Network
|
2012-03-16 22:19:01 -04:00 |
|
Juan Basso
|
3b1bd90ad6
|
Updated copyright to 2012.
|
2012-03-12 22:46:07 -04:00 |
|
mark_story
|
17eb0e4f68
|
Fix duplicate values when merging POST data.
Fixes #2648
|
2012-03-06 20:22:13 -05:00 |
|
dogmatic69
|
ac06880241
|
making the name lowercase in the addDetector method so that it will be found in the is() method fixes #2622 with tests.
|
2012-02-28 16:05:32 +00:00 |
|
Mark Story
|
1ddc8f6489
|
Merge pull request #519 from shama/patch-vis-convention
Correct convention with public visibility
|
2012-02-23 09:23:13 -08:00 |
|
Kyle Robinson Young
|
c202859523
|
Correct convention with public visibility
|
2012-02-23 00:03:31 -08:00 |
|
Kyle Robinson Young
|
86fafd0ae5
|
Fix failing tests with CakeRequest when ran in webrunner
|
2012-02-22 23:50:13 -08:00 |
|
Ceeram
|
2e2ee3b096
|
another attempy to set correc order for expected and result in assert, definitely time for some coffee
|
2012-02-22 22:31:28 +01:00 |
|
Ceeram
|
d5cdc46661
|
fixed expected and result order in asserts, also added extra test
|
2012-02-22 22:25:24 +01:00 |
|
Ceeram
|
44ea3fb122
|
testcase for incorrect merge of post data
|
2012-02-22 21:53:51 +01:00 |
|
mark_story
|
6684b775cd
|
Fix failing tests.
|
2012-02-21 20:45:44 -05:00 |
|
Kyle Robinson Young
|
45ec5d73c5
|
Add missing visibility keywords
|
2012-02-16 23:13:12 -08:00 |
|
mark_story
|
943d928084
|
Merge branch '2.0' into 2.1
|
2012-02-18 22:19:38 -05:00 |
|
mark_story
|
89df484fc5
|
Remove un-necessary Set::merge().
Using Set::merge() on an empty array causes issues with out of order
numeric keys. Only merge if necessary.
Fixes #2595
|
2012-02-18 22:18:16 -05:00 |
|
mark_story
|
20229eeb43
|
Merge branch '2.0' into 2.1
|
2012-02-18 11:22:18 -05:00 |
|
mark_story
|
fce70df6ff
|
Fix failing tests.
rawurlencode() and urlencode() handle utf8 differently.
|
2012-02-18 11:18:03 -05:00 |
|
mark_story
|
2f51ef00ed
|
Add failing tests for patches from 'teddyzeenny'.
|
2012-02-18 10:53:47 -05:00 |
|
mark_story
|
15c7493e39
|
Merge branch '2.0' into 2.1
|
2012-01-06 23:02:16 -05:00 |
|
mark_story
|
95ec741b6c
|
Changing SCRIPT_NAME to PHP_SELF
Several shared hosts have issues with SCRIPT_NAME having an incorrect value.
Revert back to using PHP_SELF like in 1.3.
Fixes #2437
Fixes #2334
Fixes #2268
|
2012-01-04 21:10:29 -05:00 |
|
mark_story
|
83987bee17
|
Merge branch '2.0' into 2.1
Conflicts:
lib/Cake/Network/CakeRequest.php
|
2012-01-01 21:15:27 -05:00 |
|
mark_story
|
ac408b38e3
|
Add Windows Phone OS to mobile browser list.
Fixes #2428
|
2012-01-01 12:57:35 -05:00 |
|
mark_story
|
2e8498e166
|
Merge branch '2.0' into 2.1
Conflicts:
lib/Cake/Model/Datasource/Database/Postgres.php
lib/Cake/Test/Case/Console/TaskCollectionTest.php
lib/Cake/Test/Case/Model/ModelIntegrationTest.php
lib/Cake/Test/Case/Utility/ClassRegistryTest.php
lib/Cake/Utility/ClassRegistry.php
|
2011-12-11 22:51:40 -05:00 |
|
mark_story
|
b7f6645cec
|
Fix issue with url parsing and /?
PHP's parse_url fails to parse url's containing
`/?`. It returns false instead of something useful.
Fixes #2354
|
2011-12-08 21:48:40 -05:00 |
|
mark_story
|
6d269ce25d
|
Merge branch '2.0' into 2.1
Conflicts:
lib/Cake/Config/config.php
lib/Cake/Console/Command/Task/ModelTask.php
lib/Cake/Console/Command/TestsuiteShell.php
lib/Cake/Model/CakeSchema.php
lib/Cake/Model/Datasource/Database/Sqlite.php
lib/Cake/Test/Case/Model/ModelTestBase.php
lib/Cake/Test/Case/Routing/DispatcherTest.php
lib/Cake/Test/Case/Utility/FileTest.php
lib/Cake/VERSION.txt
|
2011-12-03 13:45:28 -05:00 |
|
mark_story
|
22352a0227
|
Fix missing directory in dispatcher with rewrite off.
When re-writing is disabled, and the deployment directory
contains either 'app' or 'webroot' the computed path was
incorrect.
Fixes #2330
|
2011-12-02 23:39:33 -05:00 |
|
mark_story
|
390db7beba
|
Fix issue with dots in request URLs.
Dots in request url's often resulted in an additional get parameter
being added.
Fixes #2303
|
2011-11-26 21:24:53 -05:00 |
|
mark_story
|
fa0ec44dfd
|
Merge branch '2.0' into 2.1
Conflicts:
lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
lib/Cake/Test/Case/Error/ExceptionRendererTest.php
lib/Cake/Test/Case/Utility/DebuggerTest.php
lib/Cake/Test/Case/View/Helper/TextHelperTest.php
|
2011-11-16 21:31:16 -05:00 |
|
Kyle Robinson Young
|
98f03dc6df
|
Replacing test case compatibility functions
|
2011-11-16 21:07:08 -05:00 |
|
mark_story
|
9c5ad71abc
|
Add CakeRequest::__isset()
Fixes #2266
|
2011-11-16 20:21:07 -05:00 |
|
mark_story
|
0304bb8796
|
Merge branch '2.0' into 2.1
Conflicts:
lib/Cake/Config/config.php
lib/Cake/VERSION.txt
|
2011-11-03 22:04:00 -04:00 |
|
Gun.io Whitespace Robot
|
4742168253
|
Remove whitespace [Gun.io WhitespaceBot]
|
2011-10-28 18:25:08 -04:00 |
|
mark_story
|
eb17653965
|
Implement $request->is('requested');
Add tests and new detector type for request parameters
Fixes #1995
|
2011-10-20 21:11:42 -04:00 |
|
mark_story
|
50a0a51f53
|
Renaming method to better match what it does.
|
2011-09-24 21:56:37 -04:00 |
|
mark_story
|
d74f442608
|
Making test case class names match file names.
Refs #1985
|
2011-09-12 23:01:04 -04: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 |
|
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 |
|
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
|
9bc3e567c1
|
Removed the @access and @static.
|
2011-07-30 20:56:48 -04:00 |
|
Jose Lorenzo Rodriguez
|
cfd2d9e00b
|
Updating all @package annotations in doc blocks
|
2011-07-26 01:46:14 -04:30 |
|
Juan Basso
|
192812ee7f
|
Updating the copyright to 2011.
|
2011-05-30 22:32:43 -04:00 |
|
Renan Gonçalves
|
438050dcaa
|
Adding 'public' visibility to all public methods.
|
2011-05-30 22:02:32 +02:00 |
|
Juan Basso
|
39320ef352
|
Renamed the Mssql driver to Sqlserver.
|
2011-05-22 23:19:13 -04:00 |
|
Jose Lorenzo Rodriguez
|
900dfef2f7
|
Starting unification of casing in remaining folders
|
2011-05-13 01:53:49 -04:30 |
|