nextcloud/lib/private/legacy
Roeland Jago Douma 50b880edeb
Don't lie about the preview mimetype
For legacy reasons we stored all the previews with a png extention.
However we did not put png data in them all the time.

This caused the preview endpoints to always report that a preview is a
png file. Which was a lie.

Since we abstract away from the storage etc in the previewmanager. There
is no need anymore to store them as .png files and instead we can use
the actual file extention.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-01-08 20:39:39 +01:00
..
db Adjust query/event logging code in favour of more complex owncloud/diagnostics (#27643) 2017-04-26 13:19:43 +02:00
group Cleanup not used legacy classes 2017-03-03 00:31:33 -06:00
l10n Fix more tests 2016-10-28 22:16:28 +02:00
ocs Cleanup not used legacy classes 2017-03-03 00:31:33 -06:00
template Fix preview URLs 2016-11-08 16:39:13 +01:00
user Fix others 2016-07-21 18:13:57 +02:00
api.php Refactor auth methods 2017-04-26 01:08:53 -03:00
app.php Register the autoloading earlier so we can load the background jobs 2017-05-26 12:53:33 +02:00
db.php Kill update simulation 2016-09-27 18:43:53 +02:00
defaults.php Fix email buttons for white theme 2017-12-18 17:03:01 +01:00
eventsource.php Update with robin 2016-07-21 18:13:58 +02:00
filechunking.php Update with robin 2016-07-21 18:13:58 +02:00
files.php HTTP 1.1 used when giving 403 and 404 errors while attempting to download non-existent file 2017-03-19 23:14:26 -06:00
helper.php don't pass User object when uid string is expected 2017-09-27 17:51:22 +02:00
hook.php Update with robin 2016-07-21 18:13:58 +02:00
image.php Don't lie about the preview mimetype 2018-01-08 20:39:39 +01:00
json.php Remove deprecated OC_User::isLoggedIn 2017-03-02 22:59:39 +01:00
response.php Fix casing of same origin frame option 2017-04-12 12:37:32 +02:00
template.php ensure theming app is loaded when showing an error page 2017-05-06 17:50:48 +02:00
user.php Inject \OCP\IURLGenerator to make tests work 2017-08-30 14:42:50 +02:00
util.php Allow to skip data dir permission checks by config 2017-12-01 11:55:29 +01:00