- Jan 07, 2015
-
-
Georg Ehrke authored
add logSettingsController add download logfile button move getEntries to LogSettingsController move set log level to logsettingscontroller.php add warning if logfile is bigger than 100MB add unit test for set log level fix typecasting, add new line at EoF show log and logfile download only if log_type is set to owncloud add unit test for getFilenameForDownload
-
- Dec 23, 2014
-
-
Bernhard Posselt authored
* resolves dependencies by type hint or variable name * simpler route.php * implementation of https://github.com/owncloud/core/issues/12829 Generates and injects parameters automatically. You can now build full classes like $c->query('MyClassName') without having to register it as a service. The resolved object's instance will be saved by using registerService. If a constructor parameter is not type hinted, the parameter name will be taken. Therefore the following two implementations are identical: class Class1 { function __construct(MyClassName $class) class Class1 { function __construct($MyClassName) This makes it possible to also inject primitive values such as strings, arrays etc. In addition if the query could not be resolved, a `QueryException` is now thrown Routes can now be returned as an array from `routes.php` and an `appinfo/application.php` is optional Old commit messages: make it possible to return the routes instead of having to intialize the application try to get the controller by convention add first implementation of automatic resolve add another test just to be sure store the resolved object more tests add phpdoc to public app.php method use the same variable for the public app.php method deprecate old methods and add services for public interfaces deprecated getServer method disallow private api injection for apps other than core or settings (settings should be an app goddamnit :D) register userid because its such an often used variable fix indention and leading slash use test namespace add deprecation reasons, remove private api usage checks and remove deprecation from getServer() add additional public interfaces add public interface for rootfolder fix syntax error remove deprecation from methods where no alternative is there yet remove deprecated from method which has no alternative add timezone public service for #12881 add another deprecation hint move deprecation into separate branch remove dead comment first try to get the namespace from the info.xml, if it does not exist, just uppercase the first letter also trim the namespace name add an interface for timefactory move timefactory to public and add icontrollermethodreflector keep core interface fix copyright date in headers
-
- Dec 20, 2014
-
-
Bernhard Posselt authored
fix indention
-
- Dec 17, 2014
-
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
- Dec 16, 2014
-
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
- Dec 14, 2014
-
-
Olivier Paroz authored
-
- Dec 04, 2014
-
-
Lukas Reschke authored
Otherwise the headers from `JSONResponse` are gone and the Content-Type of the response would be `text/html` instead of `application/json; charset=utf-8`. This leads to broken scripts since we set the `nosniff` tag, furthermore this is very bad from a security PoV.
-
- Nov 27, 2014
-
-
Lukas Reschke authored
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)`.
-
- Nov 12, 2014
-
-
Lukas Reschke authored
Those old classes have now non-static pendants and can be deprecated IMHO.
-
- Nov 05, 2014
-
-
Bernhard Posselt authored
-
- Oct 29, 2014
-
-
Bernhard Posselt authored
fix docstrings adjust copyright date another copyright date update another header update implement third headers argument, fix indention, fix docstrings fix docstrings
-
- Aug 17, 2014
-
-
Thomas Müller authored
-
- Jul 29, 2014
-
-
Morris Jobke authored
-
- Jun 10, 2014
-
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
- Jun 05, 2014
-
-
Bernhard Posselt authored
-
- Jun 01, 2014
-
-
Lukas Reschke authored
- Remove not anymore existing parameters - Fix typo
-
- May 13, 2014
-
-
Bernhard Posselt authored
use fetch method instead of fetchRow because fetchRow is only an owncloud internal alias that exists purely for compability
-
- May 11, 2014
-
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
- May 09, 2014
-
-
Bernhard Posselt authored
remove methodannotationreader namespace fix namespace for server container fix tests fail if with cors credentials header is set to true, implement a reusable preflighted cors method in the controller baseclass, make corsmiddleware private and register it for every request remove uneeded local in cors middleware registratio dont uppercase cors to easily use it from routes fix indention comment fixes explicitely set allow credentials header to false dont depend on better controllers PR, fix that stuff later split cors methods to be in a seperate controller for exposing apis remove protected definitions from apicontroller since controller has it
-
- Apr 23, 2014
-
-
Bernhard Posselt authored
-
- Apr 20, 2014
-
-
Bernhard Posselt authored
-
- Apr 19, 2014
-
-
Lukas Reschke authored
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
Bernhard Posselt authored
-
- Apr 13, 2014
-
-
Lukas Reschke authored
-
- Apr 09, 2014
-
-
Bernhard Posselt authored
register middleware as string to not force request to be instantiated too early and thus not having url parameters
-
- Apr 02, 2014
-
-
Bernhard Posselt authored
-
- Mar 10, 2014
-
-
Robin Appelman authored
-
Thomas Tanghus authored
-
- Mar 09, 2014
-
-
Thomas Tanghus authored
-
- Feb 19, 2014
-
-
Scrutinizer Auto-Fixer authored
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
-
- Feb 06, 2014
-
-
Jörn Friedrich Dreyer authored
-