summaryrefslogtreecommitdiffstats
path: root/ocs-provider/index.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-06-03 14:52:00 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-07-06 16:32:10 +0200
commitc8145cdbd6160788569d00fbc267abd08ae019c9 (patch)
tree9757cbbf9ef2fd42074522c7b85124427f447224 /ocs-provider/index.php
parent14eef434fff78bf39a926b1f27220b9ad1ebb833 (diff)
downloadnextcloud-server-c8145cdbd6160788569d00fbc267abd08ae019c9.tar.gz
nextcloud-server-c8145cdbd6160788569d00fbc267abd08ae019c9.zip
Javascript mimetype icon resolver
This makes it possible to retrieve the icon for mimetypes in javascript. It makes no additional queries to the server to retrieve the mimetype. * config/mimetypealiases.json added * mimetype.js: this is where the logic resides to convert from mimetype to icon url * mimetypelist.js: generated file with a list of mimetype mapping (aliases) and the list of icon files * ./occ maintenance:mimetypesjs : new command for occ to gernerate mimetypes.js * unit tests updated and still work * javascript tests added * theming support * folder of the theme is now present in javascript (OC.theme.folder)
Diffstat (limited to 'ocs-provider/index.php')
0 files changed, 0 insertions, 0 deletions