- Dec 08, 2014
-
-
Morris Jobke authored
* this needs to be properly fixed by a proper organisation of the base.php * introduced fixDIInit() in AllConfig that moves the injection of DatabaseConnection to a later point in time * problems mostly because of the autoconfig setup
-
Morris Jobke authored
-
Morris Jobke authored
* keep old static methods - mapped to new ones and deprecated * removed deleteApp, getUsers, getApps because they are unused * make AllConfig unit tests more robust against not cleaned up environments
-
Morris Jobke authored
-
Morris Jobke authored
-
Morris Jobke authored
-
Morris Jobke authored
-
Morris Jobke authored
-
Morris Jobke authored
-
Morris Jobke authored
* introduce SystemConfig to avoid DI circle (used by database connection which is itself needed by AllConfig that itself contains the methods to access the config.php which then would need the database connection - did you get it? ;)) * use DI container and use that method in legacy code paths (for easier refactoring later) * create and use getSystemConfig instead of query() in DI container
-
Lukas Reschke authored
First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
-
Jenkins for ownCloud authored
-
Olivier Paroz authored
-
Olivier Paroz authored
This is a first draft. It has only been tested with the ownlcloud logger. Some internal fields are JSON encoded several times which makes it harder to read. Most of the normalizer is borrowed from Monolog https://github.com/Seldaek/monolog/blob/master/src/Monolog/Formatter/NormalizerFormatter.php
-
- Dec 07, 2014
-
-
Jenkins for ownCloud authored
-
- Dec 06, 2014
-
-
Lukas Reschke authored
The codepath that is executed when executing ownCloud via CLI is different than via browser. Specifically, the config is created by the user session already in `OC_Util::getInstanceId()` by a call to `setValue`. That said, this seems to be quite a bad side-effect, but for the sake of "not breaking whatever might break if we touch this" let's keep it that way for now. When executing the autoconfig via `php -f index.php` the said session was not setup and thus no `config/config.php` file was created resulting in an installation error. To reproduce this try to setup ownCloud via `php -f index.php` with and without that patch. (ensure to delete all existing configs before and don't access ownCloud with a browser in the meantime) Fixes itself.
-
Jenkins for ownCloud authored
-
- Dec 05, 2014
-
-
Lukas Reschke authored
Both are removed from 5.4.0 Safe Mode: http://php.net/manual/en/features.safe-mode.php > This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. Magic Quotes: http://php.net/manual/en/security.magicquotes.php > This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
-
Jenkins for ownCloud 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.
-
Robin Appelman authored
-
Björn Schießle authored
-
Thomas Müller authored
-
Thomas Müller authored
-
Thomas Müller authored
-
Thomas Müller authored
-
Thomas Müller authored
-
Thomas Müller authored
some more unit tests on xml info parser
-
Thomas Müller authored
-
Thomas Müller authored
-
Lukas Reschke authored
Function is natively available with 5.4
-
Lukas Reschke authored
-
- Dec 03, 2014
-
-
Lukas Reschke authored
To be removed with oCAdd workaround for older instances To be removed with oC99
-
Lukas Reschke authored
Depending on the used environment the port might be appended to the host header resulting in an inaccessible instance when initially setting up on a system with a different HTTP or HTTPS port. (for example test:500) To test this setup ownCloud under a different port with and without this patch. (heads-up: localhost is always white-listed, so use a different domain)
-
Joas Schilling authored
-
- Dec 02, 2014
-
-
Olivier Paroz authored
* Vector files such as Illustrator files currently show the "image" icon. I propose to add a new type to mimetypeIcon() called "image/vector" and which would be used by SVG as well * We can use the current image-svg+xml icon, but would simply rename it to image-vector * The black and white "image" icon looks too much like a settings icon. A simple picture representation pasted over the file icon should work
-
Robin Appelman authored
-
Morris Jobke authored
-
Robin Appelman authored
-
- Dec 01, 2014
-
-
Christian Kampka authored
-