Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only read php://input when parameters are requested | Lukas Reschke | 2015-02-27 | 1 | -10/+29 |
| | | | | | | Less invasive version of https://github.com/owncloud/core/pull/14574 for stable8 as requested at https://github.com/owncloud/core/issues/14283#issuecomment-76402295 Alarm: Major hack detected :see_no_evil: | ||||
* | always set url parameters when they are available in the app dispatch | Bernhard Posselt | 2015-01-15 | 1 | -7/+15 |
| | | | | | | prefer url parameters passed into the main method. If they are not present, use the containers urlParameters add space | ||||
* | Add functions to modify cookies to response class | Lukas Reschke | 2014-11-27 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code. This PR adds some basic functionalities to add and invalidate cookies. Usage: ```php $response = new TemplateResponse(...); $response->addCookie('foo', 'bar'); $response->invalidateCookie('foo'); $response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00')); ``` Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`. | ||||
* | add dataresponse | Bernhard Posselt | 2014-10-29 | 1 | -2/+3 |
| | | | | | | | | | | | | | | fix docstrings adjust copyright date another copyright date update another header update implement third headers argument, fix indention, fix docstrings fix docstrings | ||||
* | Remove dead code | Lukas Reschke | 2014-09-29 | 1 | -1/+0 |
| | |||||
* | don't typecast null values inside dispatcher.php | Georg Ehrke | 2014-06-29 | 1 | -1/+1 |
| | |||||
* | fix indention | Bernhard Posselt | 2014-06-11 | 1 | -6/+6 |
| | |||||
* | handle http accept headers more gracefully | Bernhard Posselt | 2014-06-11 | 1 | -18/+11 |
| | |||||
* | make it possible to omit parameters and use the default parameters from the ↵ | Bernhard Posselt | 2014-05-13 | 1 | -2/+2 |
| | | | | controller method | ||||
* | Fix method signature | Bernhard Posselt | 2014-05-11 | 1 | -0/+2 |
| | |||||
* | adjust license headers to new mail address | Bernhard Posselt | 2014-05-11 | 2 | -1/+3 |
| | |||||
* | rename formatter to responder, formatResponse to buildResponse | Bernhard Posselt | 2014-05-11 | 1 | -1/+1 |
| | |||||
* | fix broken if | Bernhard Posselt | 2014-05-11 | 1 | -1/+1 |
| | |||||
* | add test for not failing when adding more comments after type parameters, do ↵ | Bernhard Posselt | 2014-05-11 | 1 | -5/+2 |
| | | | | not limit x-www-form-urlencoded to POST | ||||
* | implement most of the basic stuff that was suggested in #8290 | Bernhard Posselt | 2014-05-11 | 1 | -3/+85 |
| | |||||
* | make download and redirectresponse public | Bernhard Posselt | 2014-04-20 | 2 | -107/+0 |
| | |||||
* | default to GET request when no method is set to fix unittests, also set ↵ | Bernhard Posselt | 2014-04-12 | 1 | -0/+7 |
| | | | | parsed json parameters on the post attribute | ||||
* | Correctly process request parameters other than GET or POST, dont use ↵ | Bernhard Posselt | 2014-04-12 | 1 | -49/+31 |
| | | | | globals in the class but inject it | ||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2014-02-19 | 1 | -2/+2 |
| | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend | ||||
* | polish documentation based on scrutinizer patches | Jörn Friedrich Dreyer | 2014-02-06 | 2 | -2/+2 |
| | |||||
* | Fix namespace for OCP\Appframework\Http | Thomas Tanghus | 2013-10-23 | 3 | -149/+3 |
| | | | | | To avoid having to use OCP\Appframework\Http\Http in the public - and stable - API OCP\Appframework\Http is now both a class and a namespace. | ||||
* | OCP\AppFramework\Controller\Controller => OCP\AppFramework\Controller | Thomas Tanghus | 2013-10-11 | 1 | -1/+1 |
| | |||||
* | fixing SecurityMiddleware to use OC6 API | Thomas Müller | 2013-10-07 | 1 | -1/+1 |
| | |||||
* | passesCSRFCheck added to OCP\IRequest | Bart Visscher | 2013-10-04 | 1 | -3/+35 |
| | |||||
* | Fix fix of POST :P | Thomas Tanghus | 2013-10-03 | 1 | -10/+11 |
| | |||||
* | Fix POST decoding | Thomas Tanghus | 2013-10-03 | 1 | -2/+2 |
| | |||||
* | Modified PUT behaviour | Thomas Tanghus | 2013-10-02 | 1 | -26/+30 |
| | | | | Now only non-parable PUT requests return a stream resource. | ||||
* | Remove JSON request parsing from Server | Thomas Tanghus | 2013-10-01 | 1 | -4/+1 |
| | |||||
* | Implement PUT an PATCH support | Thomas Tanghus | 2013-10-01 | 1 | -28/+73 |
| | |||||
* | Check if accessor matched request method. | Thomas Tanghus | 2013-10-01 | 1 | -0/+3 |
| | | | | It's easier to find errors in the code if an exception is thrown. | ||||
* | move the private namespace OC into lib/private - OCP will stay in lib/public | Thomas Müller | 2013-09-30 | 5 | -0/+661 |
Conflicts: lib/private/vcategories.php |