Advertisement
uwekeim

Nextcloud 19

Jul 19th, 2020
154
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 133.03 KB | None
  1. {"reqId":"CcLjBJXS9Xbvms8jyHqO","level":4,"time":"2020-07-18T01:04:35+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-17%2020-24-39%207163.mov","message":{"Exception":"Sabre\\DAV\\Exception\\RequestedRangeNotSatisfiable","Message":"The start offset (250281984) exceeded the size of the entity (0)","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:GET",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","Line":188,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  2. {"reqId":"iBw9ONe08xQzzUAJYEHO","level":3,"time":"2020-07-18T03:06:32+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-17%2020-24-39%207163.mov","message":"fopen(https://s3.eu-central-1.amazonaws.com/cloud.uwe.co/urn%3Aoid%3A1204159): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable\r\n at /snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/S3ObjectTrait.php#75","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  3. {"reqId":"iBw9ONe08xQzzUAJYEHO","level":4,"time":"2020-07-18T03:06:32+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-17%2020-24-39%207163.mov","message":{"Exception":"Sabre\\DAV\\Exception\\RequestedRangeNotSatisfiable","Message":"The start offset (250281984) exceeded the size of the entity (0)","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:GET",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","Line":188,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  4. {"reqId":"XG6zOj8iNCbgTuXnWeKn","level":3,"time":"2020-07-18T09:13:12+00:00","remoteAddr":"37.209.50.19","user":"--","app":"PHP","method":"PUT","url":"/remote.php/webdav/ScanPro/Knappschaft%20Minijob%20ScanPro%2018.07.2020%2011.12.pdf","message":"session_start(): A session had already been started - ignoring at /snap/nextcloud/21796/htdocs/lib/private/Session/Internal.php#209","userAgent":"ScanPro/472 CFNetwork/1126 Darwin/19.5.0","version":"19.0.0.12"}
  5. {"reqId":"ie5ktU8NUExDT9CKbkS2","level":3,"time":"2020-07-18T17:53:11+00:00","remoteAddr":"208.100.26.229","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"TypeError","Message":"Argument 1 passed to OC\\Files\\Cache\\CacheQueryBuilder::whereFileId() must be of the type int, null given, called in /snap/nextcloud/21796/htdocs/lib/private/Files/Cache/Cache.php on line 661","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Cache/Cache.php","line":661,"function":"whereFileId","class":"OC\\Files\\Cache\\CacheQueryBuilder","type":"->","args":[null]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Cache/Cache.php","line":585,"function":"moveFromCache","class":"OC\\Files\\Cache\\Cache","type":"->","args":[{"__class__":"OC\\Files\\Cache\\Cache"},"appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js.part","appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":478,"function":"move","class":"OC\\Files\\Cache\\Cache","type":"->","args":["appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js.part","appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":402,"function":"writeStream","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js",null,11396]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":315,"function":"writeBack","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["/var/snap/nextcloud/common/nextcloud/tmp/oc_tmp_1SlBtX-.js","appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js"]},{"function":"OC\\Files\\ObjectStore\\{closure}","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/icewind/streams/src/CallbackWrapper.php","line":121,"function":"call_user_func","args":[{"__class__":"Closure"}]},{"function":"stream_close","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":423,"function":"fclose","args":[null]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":257,"function":"file_put_contents","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js","/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Storage/Wrapper/Availability.php","line":275,"function":"file_put_contents","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js","/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":257,"function":"file_put_contents","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js","/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/View.php","line":1159,"function":"file_put_contents","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js","/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/View.php","line":696,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["file_put_contents","/appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js",["create","write"],"/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Node/Folder.php","line":187,"function":"file_put_contents","class":"OC\\Files\\View","type":"->","args":["/appdata_oc3tgp8w99h1/js/core/merged-template-prepend.js","/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/SimpleFS/NewSimpleFile.php","line":133,"function":"newFile","class":"OC\\Files\\Node\\Folder","type":"->","args":["merged-template-prepend.js","/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Template/JSCombiner.php","line":197,"function":"putContent","class":"OC\\Files\\SimpleFS\\NewSimpleFile","type":"->","args":["/**\n * @author Roeland Jago Douma <roeland@famdouma.nl>\n *\n * @copyright Copyright (c) 2015, ownCloud, Inc.\n * @license AGPL-3.0\n *\n * This code is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License, version 3,\n * as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License, version 3,\n * along with this program.  If not, see <http://www.gnu.org/licenses/>\n *\n */\n\n/**\n * Namespace to hold functions related to convert mimetype to icons\n *\n * @namespace\n */\nOC.MimeType = {\n\n\t/**\n\t * Cache that maps mimeTypes to icon urls\n\t */\n\t_mimeTypeIcons: {},\n\n\t/**\n\t * Return the file icon we want to use for the given mimeType.\n\t * The file needs to be present in the supplied file list\n\t *\n\t * @param {string} mimeType The mimeType we want an icon for\n\t * @param {array} files The available icons in this theme\n\t * @return {string} The icon to use or null if there is no match\n\t */\n\t_getFile: function(mimeType, files) {\n\t\tvar icon = mimeType.replace(new RegExp('/', 'g'), '-');\n\n\t\t// Generate path\n\t\tif (mimeType === 'dir' && $.inArray('folder', files) !== -1) {\n\t\t\treturn 'folder';\n\t\t} else if (mimeType === 'dir-encrypted' && $.inArray('folder-encrypted', files) !== -1) {\n\t\t\treturn 'folder-encrypted';\n\t\t} else if (mimeType === 'dir-shared' && $.inArray('folder-shared', files) !== -1) {\n\t\t\treturn 'folder-shared';\n\t\t} else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) {\n\t\t\treturn 'folder-public';\n\t\t} else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) {\n\t\t\treturn 'folder-external';\n\t\t} else if ($.inArray(icon, files) !== -1) {\n\t\t\treturn icon;\n\t\t} else if ($.inArray(icon.split('-')[0], files) !== -1) {\n\t\t\treturn icon.split('-')[0];\n\t\t} else if ($.inArray('file', files) !== -1) {\n\t\t\treturn 'file';\n\t\t}\n\n\t\treturn null;\n\t},\n\n\t/**\n\t * Return the url to icon of the given mimeType\n\t *\n\t * @param {string} mimeType The mimeType to get the icon for\n\t * @return {string} Url to the icon for mimeType\n\t */\n\tgetIconUrl: function(mimeType) {\n\t\tif (_.isUndefined(mimeType)) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\twhile (mimeType in OC.MimeTypeList.aliases) {\n\t\t\tmimeType = OC.MimeTypeList.aliases[mimeType];\n\t\t}\n\t\tif (mimeType in OC.MimeType._mimeTypeIcons) {\n\t\t\treturn OC.MimeType._mimeTypeIcons[mimeType];\n\t\t}\n\n\t\t// First try to get the correct icon from the current theme\n\t\tvar gotIcon = null;\n\t\tvar path = '';\n\t\tif (OC.theme.folder !== '' && $.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = OC.getRootPath() + '/themes/' + OC.theme.folder + '/core/img/filetypes/';\n\t\t\tvar icon = OC.MimeType._getFile(mimeType, OC.MimeTypeList.themes[OC.theme.folder]);\n\n\t\t\tif (icon !== null) {\n\t\t\t\tgotIcon = true;\n\t\t\t\tpath += icon;\n\t\t\t}\n\t\t}\n\t\tif(OCA.Theming && gotIcon === null) {\n\t\t\tpath = OC.generateUrl('/apps/theming/img/core/filetypes/');\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t\tgotIcon = true;\n\t\t}\n\n\t\t// If we do not yet have an icon fall back to the default\n\t\tif (gotIcon === null) {\n\t\t\tpath = OC.getRootPath() + '/core/img/filetypes/';\n\t\t\tpath += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);\n\t\t}\n\n\t\tpath += '.svg';\n\n\t\tif(OCA.Theming) {\n\t\t\tpath += \"?v=\" + OCA.Theming.cacheBuster;\n\t\t}\n\n\t\t// Cache the result\n\t\tOC.MimeType._mimeTypeIcons[mimeType] = path;\n\t\treturn path;\n\t}\n\n};\n\n\n/**\n* This file is automatically generated\n* DO NOT EDIT MANUALLY!\n*\n* You can update the list of MimeType Aliases in config/mimetypealiases.json\n* The list of files is fetched from core/img/filetypes\n* To regenerate this file run ./occ maintenance:mimetype:update-js\n*/\nOC.MimeTypeList={\n\taliases: {\n    \"application/coreldraw\": \"image\",\n    \"application/epub+zip\": \"text\",\n    \"application/font-sfnt\": \"image\",\n    \"application/font-woff\": \"image\",\n    \"application/gpx+xml\": \"location\",\n    \"application/illustrator\": \"image\",\n    \"application/javascript\": \"text/code\",\n    \"application/json\": \"text/code\",\n    \"application/msaccess\": \"file\",\n    \"application/msexcel\": \"x-office/spreadsheet\",\n    \"application/msonenote\": \"x-office/document\",\n    \"application/mspowerpoint\": \"x-office/presentation\",\n    \"application/msword\": \"x-office/document\",\n    \"application/octet-stream\": \"file\",\n    \"application/postscript\": \"image\",\n    \"application/rss+xml\": \"application/xml\",\n    \"application/vnd.android.package-archive\": \"package/x-generic\",\n    \"application/vnd.lotus-wordpro\": \"x-office/document\",\n    \"application/vnd.garmin.tcx+xml\": \"location\",\n    \"application/vnd.google-earth.kml+xml\": \"location\",\n    \"application/vnd.google-earth.kmz\": \"location\",\n    \"application/vnd.ms-excel\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.addin.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.binary.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.sheet.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-excel.template.macroEnabled.12\": \"x-office/spreadsheet\",\n    \"application/vnd.ms-fontobject\": \"image\",\n    \"application/vnd.ms-powerpoint\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.addin.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.presentation.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.slideshow.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-powerpoint.template.macroEnabled.12\": \"x-office/presentation\",\n    \"application/vnd.ms-visio.drawing.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.drawing\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.stencil\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template.macroEnabled.12\": \"application/vnd.visio\",\n    \"application/vnd.ms-visio.template\": \"application/vnd.visio\",\n    \"application/vnd.ms-word.document.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.ms-word.template.macroEnabled.12\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.presentation\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.presentation-template\": \"x-office/presentation\",\n    \"application/vnd.oasis.opendocument.spreadsheet\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.spreadsheet-template\": \"x-office/spreadsheet\",\n    \"application/vnd.oasis.opendocument.text\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-master\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-template\": \"x-office/document\",\n    \"application/vnd.oasis.opendocument.text-web\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.presentation\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.slideshow\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.presentationml.template\": \"x-office/presentation\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.spreadsheetml.template\": \"x-office/spreadsheet\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\": \"x-office/document\",\n    \"application/vnd.openxmlformats-officedocument.wordprocessingml.template\": \"x-office/document\",\n    \"application/vnd.visio\": \"x-office/document\",\n    \"application/vnd.wordperfect\": \"x-office/document\",\n    \"application/x-7z-compressed\": \"package/x-generic\",\n    \"application/x-bzip2\": \"package/x-generic\",\n    \"application/x-cbr\": \"text\",\n    \"application/x-compressed\": \"package/x-generic\",\n    \"application/x-dcraw\": \"image\",\n    \"application/x-deb\": \"package/x-generic\",\n    \"application/x-fictionbook+xml\": \"text\",\n    \"application/x-font\": \"image\",\n    \"application/x-gimp\": \"image\",\n    \"application/x-gzip\": \"package/x-generic\",\n    \"application/x-iwork-keynote-sffkey\": \"x-office/presentation\",\n    \"application/x-iwork-numbers-sffnumbers\": \"x-office/spreadsheet\",\n    \"application/x-iwork-pages-sffpages\": \"x-office/document\",\n    \"application/x-mobipocket-ebook\": \"text\",\n    \"application/x-perl\": \"text/code\",\n    \"application/x-photoshop\": \"image\",\n    \"application/x-php\": \"text/code\",\n    \"application/x-rar-compressed\": \"package/x-generic\",\n    \"application/x-tar\": \"package/x-generic\",\n    \"application/x-tex\": \"text\",\n    \"application/xml\": \"text/html\",\n    \"application/yaml\": \"text/code\",\n    \"application/zip\": \"package/x-generic\",\n    \"database\": \"file\",\n    \"httpd/unix-directory\": \"dir\",\n    \"text/css\": \"text/code\",\n    \"text/csv\": \"x-office/spreadsheet\",\n    \"text/html\": \"text/code\",\n    \"text/x-c\": \"text/code\",\n    \"text/x-c++src\": \"text/code\",\n    \"text/x-h\": \"text/code\",\n    \"text/x-java-source\": \"text/code\",\n    \"text/x-ldif\": \"text/code\",\n    \"text/x-python\": \"text/code\",\n    \"text/x-shellscript\": \"text/code\",\n    \"web\": \"text/code\",\n    \"application/internet-shortcut\": \"link\",\n    \"application/km\": \"mindmap\",\n    \"application/x-freemind\": \"mindmap\",\n    \"application/vnd.xmind.workbook\": \"mindmap\"\n},\n\tfiles: [\n    \"application\",\n    \"application-pdf\",\n    \"audio\",\n    \"file\",\n    \"folder\",\n    \"folder-drag-accept\",\n    \"folder-encrypted\",\n    \"folder-external\",\n    \"folder-public\",\n    \"folder-shared\",\n    \"folder-starred\",\n    \"image\",\n    \"link\",\n    \"location\",\n    \"mindmap\",\n    \"package-x-generic\",\n    \"text\",\n    \"text-calendar\",\n    \"text-code\",\n    \"text-vcard\",\n    \"video\",\n    \"x-office-document\",\n    \"x-office-presentation\",\n    \"x-office-spreadsheet\"\n],\n\tthemes: []\n};\n\n\n/*\n * Copyright (c) 2015\n *\n * This file is licensed under the Affero General Public License version 3\n * or later.\n *\n * See the COPYING-README file.\n *\n */\n\n/* global Select2 */\n\n/**\n * Select2 extension for toggling values in a multi-select dropdown\n */\n(function(Select2) {\n\n\tvar Select2FindHighlightableChoices = Select2.class.multi.prototype.findHighlightableChoices;\n\tSelect2.class.multi.prototype.findHighlightableChoices = function () {\n\t\tif (this.opts.toggleSelect) {\n\t\t\treturn this.results.find('.select2-result-selectable:not(.select2-disabled)');\n\t\t}\n\t\treturn Select2FindHighlightableChoices.apply(this, arguments);\n\t};\n\n\tvar Select2TriggerSelect = Select2.class.multi.prototype.triggerSelect;\n\tSelect2.class.multi.prototype.triggerSelect = function (data) {\n\t\tif (this.opts.toggleSelect && this.val().indexOf(this.id(data)) !== -1) {\n\t\t\tvar self = this;\n\t\t\tvar val = this.id(data);\n\n\t\t\tvar selectionEls = this.container.find('.select2-search-choice').filter(function() {\n\t\t\t\treturn (self.id($(this).data('select2-data')) === val);\n\t\t\t});\n\n\t\t\tif (this.unselect(selectionEls)) {\n\t\t\t\t// also unselect in dropdown\n\t\t\t\tthis.results.find('.select2-result.select2-selected').each(function () {\n\t\t\t\t\tvar $this = $(this);\n\t\t\t\t\tif (self.id($this.data('select2-data')) === val) {\n\t\t\t\t\t\t$this.removeClass('select2-selected');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.clearSearch();\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn Select2TriggerSelect.apply(this, arguments);\n\t\t}\n\t};\n\n})(Select2);\n\n\n\n"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Template/JSCombiner.php","line":106,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->","args":["/snap/nextcloud/21796/htdocs/core/js","merged-template-prepend.js",{"__class__":"OC\\Files\\SimpleFS\\SimpleFolder"}]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Template/JSResourceLocator.php","line":116,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/snap/nextcloud/21796/htdocs","core/js/merged-template-prepend.json","core"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Template/JSResourceLocator.php","line":72,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/snap/nextcloud/21796/htdocs","core/js/merged-template-prepend.json"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Template/ResourceLocator.php","line":79,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/TemplateLayout.php","line":344,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/TemplateLayout.php","line":173,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/legacy/OC_Template.php","line":185,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/base.php","line":795,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/snap/nextcloud/21796/htdocs/index.php","line":35,"args":["/snap/nextcloud/21796/htdocs/lib/base.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/lib/private/Files/Cache/CacheQueryBuilder.php","Line":66,"CustomMessage":"--"},"userAgent":"--","version":"19.0.0.12"}
  6. {"reqId":"UVS1nK9gGHvQhE0c9V7G","level":3,"time":"2020-07-18T18:48:48+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":889,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/DB/Connection.php","line":194,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/DB/QueryBuilder/QueryBuilder.php","line":216,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/AppConfig.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/AppConfig.php","line":287,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/legacy/OC_App.php","line":883,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Server.php","line":662,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Server.php","line":1699,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Server.php","line":853,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\App\\AppManager"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php","line":163,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/pimple/pimple/src/Pimple/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\App\\IAppManager"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Server.php","line":1889,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\App\\IAppManager"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/legacy/OC_App.php","line":347,"function":"getAppManager","class":"OC\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/legacy/OC_App.php","line":114,"function":"getEnabledApps","class":"OC_App","type":"::","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/base.php","line":647,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"/snap/nextcloud/21796/htdocs/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/snap/nextcloud/21796/htdocs/cron.php","line":42,"args":["/snap/nextcloud/21796/htdocs/lib/base.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/lib/private/DB/Connection.php","Line":67,"CustomMessage":"--"},"userAgent":"--","version":"19.0.0.12"}
  7. {"reqId":"QEV9PaeKT2JnZfZeIdic","level":4,"time":"2020-07-19T05:05:44+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"webdav","method":"PUT","url":"/remote.php/webdav/Photos/2020/07/20-07-18%2011-11-38%207179.jpg","message":{"Exception":"TypeError","Message":"Argument 1 passed to OC\\Files\\Cache\\CacheQueryBuilder::whereFileId() must be of the type int, null given, called in /snap/nextcloud/21796/htdocs/lib/private/Files/Cache/Cache.php on line 661","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Cache/Cache.php","line":661,"function":"whereFileId","class":"OC\\Files\\Cache\\CacheQueryBuilder","type":"->","args":["*** sensitive parameter replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Cache/Cache.php","line":585,"function":"moveFromCache","class":"OC\\Files\\Cache\\Cache","type":"->","args":[{"__class__":"OC\\Files\\Cache\\Cache"},"files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142.part","files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":478,"function":"move","class":"OC\\Files\\Cache\\Cache","type":"->","args":["files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142.part","files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":402,"function":"writeStream","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142",null,4801624]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":315,"function":"writeBack","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["/var/snap/nextcloud/common/nextcloud/tmp/oc_tmp_O4GLxC-.v1595135142","files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"function":"OC\\Files\\ObjectStore\\{closure}","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/icewind/streams/src/CallbackWrapper.php","line":121,"function":"call_user_func","args":[{"__class__":"Closure"}]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":289,"function":"stream_close","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Storage/Wrapper/Availability.php","line":305,"function":"copy","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/Photos/2020/07/20-07-18 11-11-38 7179.jpg","files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":289,"function":"copy","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["files/Photos/2020/07/20-07-18 11-11-38 7179.jpg","files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/Files/View.php","line":925,"function":"copy","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/Photos/2020/07/20-07-18 11-11-38 7179.jpg","files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"file":"/snap/nextcloud/21796/htdocs/apps/files_versions/lib/Versions/LegacyVersionsBackend.php","line":94,"function":"copy","class":"OC\\Files\\View","type":"->","args":["/files/Photos/2020/07/20-07-18 11-11-38 7179.jpg","/files_versions/Photos/2020/07/20-07-18 11-11-38 7179.jpg.v1595135142"]},{"file":"/snap/nextcloud/21796/htdocs/apps/files_versions/lib/Versions/VersionManager.php","line":93,"function":"createVersion","class":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend","type":"->","args":[{"__class__":"OC\\User\\User"},{"__class__":"OC\\Files\\FileInfo"}]},{"file":"/snap/nextcloud/21796/htdocs/apps/files_versions/lib/Storage.php","line":207,"function":"createVersion","class":"OCA\\Files_Versions\\Versions\\VersionManager","type":"->","args":[{"__class__":"OC\\User\\User"},{"__class__":"OC\\Files\\FileInfo"}]},{"file":"/snap/nextcloud/21796/htdocs/apps/files_versions/lib/Hooks.php","line":61,"function":"store","class":"OCA\\Files_Versions\\Storage","type":"::","args":["/Photos/2020/07/20-07-18 11-11-38 7179.jpg"]},{"file":"/snap/nextcloud/21796/htdocs/lib/private/legacy/OC_Hook.php","line":110,"function":"write_hook","class":"OCA\\Files_Versions\\Hooks","type":"::","args":[{"path":"/Photos/2020/07/20-07-18 11-11-38 7179.jpg","run":true}]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Connector/Sabre/File.php","line":381,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","write",{"path":"/Photos/2020/07/20-07-18 11-11-38 7179.jpg","run":true}]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Connector/Sabre/File.php","line":162,"function":"emitPreHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[true]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":1143,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameter replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":515,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/lib/private/Files/Cache/CacheQueryBuilder.php","Line":66,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.1","version":"19.0.0.12"}
  8. {"reqId":"R7Fpd31CC5jPEhRAu4J3","level":3,"time":"2020-07-19T05:28:01+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(https://s3.eu-central-1.amazonaws.com/cloud.uwe.co/urn%3Aoid%3A1204259): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable\r\n at /snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/S3ObjectTrait.php#75","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  9. {"reqId":"R7Fpd31CC5jPEhRAu4J3","level":3,"time":"2020-07-19T05:28:01+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(httpseek://): failed to open stream: &quot;OC\\Files\\Stream\\SeekableHttpStream::stream_open&quot; call failed at /snap/nextcloud/21796/htdocs/lib/private/Files/Stream/SeekableHttpStream.php#67","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  10. {"reqId":"R7Fpd31CC5jPEhRAu4J3","level":4,"time":"2020-07-19T05:28:01+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":90,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:GET",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":428,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  11. {"reqId":"urVXe6fiUhvKzQeM7jtC","level":3,"time":"2020-07-19T05:28:05+00:00","remoteAddr":"212.87.131.182","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(https://s3.eu-central-1.amazonaws.com/cloud.uwe.co/urn%3Aoid%3A1204259): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable\r\n at /snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/S3ObjectTrait.php#75","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.0.12"}
  12. {"reqId":"urVXe6fiUhvKzQeM7jtC","level":3,"time":"2020-07-19T05:28:05+00:00","remoteAddr":"212.87.131.182","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(httpseek://): failed to open stream: &quot;OC\\Files\\Stream\\SeekableHttpStream::stream_open&quot; call failed at /snap/nextcloud/21796/htdocs/lib/private/Files/Stream/SeekableHttpStream.php#67","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.0.12"}
  13. {"reqId":"urVXe6fiUhvKzQeM7jtC","level":4,"time":"2020-07-19T05:28:05+00:00","remoteAddr":"212.87.131.182","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":90,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:GET",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":428,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.0.12"}
  14. {"reqId":"Waz7ivz8mUiAAZn2aVYS","level":3,"time":"2020-07-19T05:28:17+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(https://s3.eu-central-1.amazonaws.com/cloud.uwe.co/urn%3Aoid%3A1204259): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable\r\n at /snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/S3ObjectTrait.php#75","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  15. {"reqId":"Waz7ivz8mUiAAZn2aVYS","level":3,"time":"2020-07-19T05:28:17+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(httpseek://): failed to open stream: &quot;OC\\Files\\Stream\\SeekableHttpStream::stream_open&quot; call failed at /snap/nextcloud/21796/htdocs/lib/private/Files/Stream/SeekableHttpStream.php#67","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  16. {"reqId":"Waz7ivz8mUiAAZn2aVYS","level":4,"time":"2020-07-19T05:28:17+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":90,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:GET",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":428,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
  17. {"reqId":"MnrhunAjZ2lHODcJwaQW","level":3,"time":"2020-07-19T05:28:20+00:00","remoteAddr":"212.87.131.182","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(https://s3.eu-central-1.amazonaws.com/cloud.uwe.co/urn%3Aoid%3A1204259): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable\r\n at /snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/S3ObjectTrait.php#75","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.0.12"}
  18. {"reqId":"MnrhunAjZ2lHODcJwaQW","level":3,"time":"2020-07-19T05:28:20+00:00","remoteAddr":"212.87.131.182","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(httpseek://): failed to open stream: &quot;OC\\Files\\Stream\\SeekableHttpStream::stream_open&quot; call failed at /snap/nextcloud/21796/htdocs/lib/private/Files/Stream/SeekableHttpStream.php#67","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.0.12"}
  19. {"reqId":"MnrhunAjZ2lHODcJwaQW","level":4,"time":"2020-07-19T05:28:20+00:00","remoteAddr":"212.87.131.182","user":"admin","app":"webdav","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":90,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:GET",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/snap/nextcloud/21796/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/snap/nextcloud/21796/htdocs/remote.php","line":167,"args":["/snap/nextcloud/21796/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/21796/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":428,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.0.12"}
  20. {"reqId":"9nTMNDEqmDItLQ3ZSsw7","level":3,"time":"2020-07-19T05:29:02+00:00","remoteAddr":"37.209.50.19","user":"admin","app":"PHP","method":"GET","url":"/remote.php/dav/files/admin/Photos/2020/07/20-07-18%2011-11-38%207180.jpg","message":"fopen(https://s3.eu-central-1.amazonaws.com/cloud.uwe.co/urn%3Aoid%3A1204259): failed to open stream: HTTP request failed! HTTP/1.1 416 Requested Range Not Satisfiable\r\n at /snap/nextcloud/21796/htdocs/lib/private/Files/ObjectStore/S3ObjectTrait.php#75","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.4stable (build 20200303) (Nextcloud)","version":"19.0.0.12"}
Advertisement
RAW Paste Data Copied
Advertisement