]>
source.dussan.org Git - nextcloud-server.git/log
Sascha Wiswedel [Fri, 6 Dec 2019 13:51:33 +0000 (14:51 +0100)]
transfer ownership dialog word choice
Use Reject instead of Decline
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Sascha Wiswedel [Fri, 6 Dec 2019 13:48:00 +0000 (14:48 +0100)]
notification polishing
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Sascha Wiswedel [Fri, 6 Dec 2019 13:30:05 +0000 (14:30 +0100)]
Transfer ownership function polishing
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Roeland Jago Douma [Tue, 17 Dec 2019 09:30:11 +0000 (10:30 +0100)]
Merge pull request #18438 from nextcloud/remove/old_npm_chunks
Remove no longer generated chunks
Roeland Jago Douma [Tue, 17 Dec 2019 08:03:24 +0000 (09:03 +0100)]
Remove no longer generated chunks
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Tue, 17 Dec 2019 02:26:28 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 16 Dec 2019 19:29:53 +0000 (20:29 +0100)]
Merge pull request #18430 from nextcloud/fix/noid/double-flow
Fix/noid/double flow
Roeland Jago Douma [Mon, 16 Dec 2019 19:29:39 +0000 (20:29 +0100)]
Merge pull request #18431 from nextcloud/prov-api-query-application
query FederatedFileSharing Application instead of creating it
Robin Appelman [Mon, 16 Dec 2019 14:33:41 +0000 (15:33 +0100)]
query FederatedFileSharing Application instead of creating it
Signed-off-by: Robin Appelman <robin@icewind.nl>
Arthur Schiwon [Mon, 16 Dec 2019 14:30:50 +0000 (15:30 +0100)]
lower to debug, since we fire two events, so it is legitimate
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Arthur Schiwon [Mon, 16 Dec 2019 14:30:18 +0000 (15:30 +0100)]
do not add (user) flows twice
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
John Molakvoæ [Mon, 16 Dec 2019 13:07:38 +0000 (14:07 +0100)]
Cleanup old log and fix share icon sidebar opening in breadcru… (#18425)
Cleanup old log and fix share icon sidebar opening in breadcrumbs
Roeland Jago Douma [Mon, 16 Dec 2019 12:55:59 +0000 (13:55 +0100)]
Merge pull request #18418 from nextcloud/dependachristoph/npm_and_yarn/serialize-javascript-v2.1.2
Bump serialize-javascript to v2.1.2
Roeland Jago Douma [Mon, 16 Dec 2019 12:38:38 +0000 (13:38 +0100)]
Merge pull request #18061 from nextcloud/bugfix/noid/dav-plugin-old
Load apps dav plugins on the old webdav route
Joas Schilling [Mon, 16 Dec 2019 11:34:27 +0000 (12:34 +0100)]
Merge pull request #17018 from nextcloud/feature/noid/allow-to-force-enable-via-cli
Allow to force enable apps via CLI
Christoph Wurst [Mon, 16 Dec 2019 08:16:29 +0000 (09:16 +0100)]
Bump serialize-javascript to v2.1.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
John Molakvoæ (skjnldsv) [Mon, 16 Dec 2019 11:08:26 +0000 (12:08 +0100)]
Cleanup old log and fix share icon sidebar opening in breadcrumbs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Roeland Jago Douma [Mon, 16 Dec 2019 10:36:45 +0000 (11:36 +0100)]
Merge pull request #18417 from nextcloud/fix/transfer-ownership-ui-email
Make it possible to find transfer to user by email
Roeland Jago Douma [Mon, 16 Dec 2019 08:50:45 +0000 (09:50 +0100)]
Merge pull request #18384 from nextcloud/fix/18255/global_config_to_always_accept
config.php setting to always accept internal shares
Roeland Jago Douma [Mon, 16 Dec 2019 08:46:41 +0000 (09:46 +0100)]
Merge pull request #18407 from nextcloud/dependabot/npm_and_yarn/css-loader-3.3.2
Bump css-loader from 3.2.1 to 3.3.2
Christoph Wurst [Mon, 16 Dec 2019 08:10:01 +0000 (09:10 +0100)]
Make it possible to find transfer user by email
The Vue Multiselect uses one prop for the local search. Although the API
already returned matching users for a given email, the users were
filtered out as their displayname doesn't contain the search string –
the email address.
Disabling the local seach and only using the most recently fetched
matches fixes this problem.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Roeland Jago Douma [Thu, 12 Dec 2019 20:38:52 +0000 (21:38 +0100)]
config.php setting to always accept internal shares
Part of #18255
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
dependabot-preview[bot] [Mon, 16 Dec 2019 07:14:10 +0000 (07:14 +0000)]
Bump css-loader from 3.2.1 to 3.3.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.2.1...v3.3.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Roeland Jago Douma [Mon, 16 Dec 2019 07:06:50 +0000 (08:06 +0100)]
Merge pull request #18401 from nextcloud/rakekniven-patch-1
l10n. Change grammar.
Roeland Jago Douma [Mon, 16 Dec 2019 07:05:40 +0000 (08:05 +0100)]
Merge pull request #18408 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.19.1
Bump eslint-plugin-import from 2.18.2 to 2.19.1
Nextcloud bot [Mon, 16 Dec 2019 02:26:23 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
dependabot-preview[bot] [Sun, 15 Dec 2019 13:43:31 +0000 (13:43 +0000)]
Merge pull request #18410 from nextcloud/dependabot/npm_and_yarn/url-search-params-polyfill-7.0.1
dependabot-preview[bot] [Sun, 15 Dec 2019 02:16:34 +0000 (02:16 +0000)]
Bump url-search-params-polyfill from 7.0.0 to 7.0.1
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases)
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v7.0.0...v7.0.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Nextcloud bot [Sun, 15 Dec 2019 02:26:54 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
dependabot-preview[bot] [Sun, 15 Dec 2019 02:14:42 +0000 (02:14 +0000)]
Bump eslint-plugin-import from 2.18.2 to 2.19.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.2 to 2.19.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.2...v2.19.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Nextcloud bot [Sat, 14 Dec 2019 02:26:27 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
rakekniven [Fri, 13 Dec 2019 16:55:20 +0000 (17:55 +0100)]
l10n. Change grammar.
First I thought to change "send" > "sent".
Later my mind changed to change the complete sentence.
Any native english speaker around? Please check and judge :-)
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
blizzz [Fri, 13 Dec 2019 14:43:36 +0000 (15:43 +0100)]
Merge pull request #17494 from nextcloud/fix/16340/ignore-invalid-json
Return a default user record if json is broken
blizzz [Fri, 13 Dec 2019 14:37:18 +0000 (15:37 +0100)]
Merge pull request #18302 from mwegrzynek/patch-1
Fix comments search result to work with multibyte strings
blizzz [Fri, 13 Dec 2019 14:28:25 +0000 (15:28 +0100)]
Merge pull request #18359 from nextcloud/fix/18271/dismiss_transfer_ownership_notification
Dismiss transferownership notification cancels transfer
Joas Schilling [Thu, 5 Sep 2019 10:55:24 +0000 (12:55 +0200)]
Allow to force enable apps via CLI
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
blizzz [Fri, 13 Dec 2019 11:47:01 +0000 (12:47 +0100)]
Merge pull request #18351 from nextcloud/enhancement/typed-filesystem-events
Add typed events for the filesystem/scanner
Christoph Wurst [Fri, 13 Dec 2019 11:39:29 +0000 (12:39 +0100)]
Log critical fallback to user default if we can't parse the JSON
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Daniel Kesselberg [Wed, 9 Oct 2019 15:43:54 +0000 (17:43 +0200)]
Return a default user record if json is broken
It's possible that json_decode returns null. Mostly the json is broken.
AddMissingDefaultValues expects an array. Pass null will fail.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Christoph Wurst [Wed, 11 Dec 2019 10:27:05 +0000 (11:27 +0100)]
Add typed events for the filesystem/scanner
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Nextcloud bot [Fri, 13 Dec 2019 02:26:18 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 12 Dec 2019 20:59:42 +0000 (21:59 +0100)]
Merge pull request #17784 from nextcloud/enh/disable-clear-site-data-via-config
Disable Clear-Site-Data for Chrom* (and Opera, Brave, etc)
Roeland Jago Douma [Thu, 12 Dec 2019 19:23:16 +0000 (20:23 +0100)]
Merge pull request #18378 from nextcloud/wiswedel/stringPolishing/shareSettings
removed unclear wording "non-link shares"
Roeland Jago Douma [Thu, 12 Dec 2019 19:23:05 +0000 (20:23 +0100)]
Merge pull request #18372 from nextcloud/wiswedel/stringPolishing/shareDefaultPermissions
clarified default permission setting string
Greta [Thu, 12 Dec 2019 15:10:17 +0000 (16:10 +0100)]
Merge pull request #17239 from nextcloud/feature/17208/Move_usersmanagement_to_multiline
Move users management to multi line
Sascha Wiswedel [Thu, 12 Dec 2019 14:53:50 +0000 (15:53 +0100)]
removed unclear wording "non-link shares"
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Roeland Jago Douma [Thu, 12 Dec 2019 14:38:44 +0000 (15:38 +0100)]
Merge pull request #18365 from nextcloud/bump/crl
Bump the CRL
Sascha Wiswedel [Thu, 12 Dec 2019 13:41:28 +0000 (14:41 +0100)]
clarified default permission setting string
The permission is actually about re-sharing, not about sharing after all
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Roeland Jago Douma [Thu, 12 Dec 2019 11:25:57 +0000 (12:25 +0100)]
Merge pull request #18343 from nextcloud/version/18/beta2
18 Beta 2
Roeland Jago Douma [Thu, 12 Dec 2019 09:44:43 +0000 (10:44 +0100)]
Bump the CRL
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Greta Doci [Mon, 23 Sep 2019 11:00:04 +0000 (13:00 +0200)]
Move users management to multi line
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Roeland Jago Douma [Thu, 12 Dec 2019 10:19:55 +0000 (11:19 +0100)]
Merge pull request #18236 from nextcloud/bugfix/noid/always-detect-mimetype-by-content-in-workflows
Allow to detect mimetype by content
Roeland Jago Douma [Thu, 12 Dec 2019 10:05:13 +0000 (11:05 +0100)]
Merge pull request #18364 from nextcloud/bugfix/noid/webcal_support_more_ipv6_addresses
Support more IPv6 addresses in the RefreshWebcalJob
John Molakvoæ [Thu, 12 Dec 2019 09:47:25 +0000 (10:47 +0100)]
Add accessibility label to show password checkbox (#16642)
Add accessibility label to show password checkbox
Georg Ehrke [Thu, 12 Dec 2019 09:05:36 +0000 (10:05 +0100)]
Support more IPv6 addresses in the RefreshWebcalJob
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Roeland Jago Douma [Thu, 12 Dec 2019 08:58:22 +0000 (09:58 +0100)]
Fix detection of non extention types
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Thu, 12 Dec 2019 07:24:46 +0000 (08:24 +0100)]
REVERT ME: comment out failing gz detection test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Thu, 12 Dec 2019 07:13:30 +0000 (08:13 +0100)]
Merge pull request #18233 from nextcloud/enhancement/recommended-apps-page
Add a dedicated page for the recommended apps installation
Christoph Wurst [Wed, 4 Dec 2019 19:18:58 +0000 (20:18 +0100)]
Add a dedicated page for the recommended apps installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Nextcloud bot [Thu, 12 Dec 2019 02:26:32 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Wed, 11 Dec 2019 11:58:44 +0000 (12:58 +0100)]
Dismiss transferownership notification cancels transfer
Fixes #18271
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Wed, 11 Dec 2019 11:37:54 +0000 (12:37 +0100)]
Merge pull request #17935 from nextcloud/feature/noid/public-auth-for-circles
adding share type circles
Roeland Jago Douma [Wed, 11 Dec 2019 11:28:03 +0000 (12:28 +0100)]
Merge pull request #18350 from nextcloud/enhancement/typed-group-events-II
Add typed events for all group hooks and legacy events
Christoph Wurst [Wed, 11 Dec 2019 11:02:32 +0000 (12:02 +0100)]
Merge pull request #18348 from nextcloud/enhancement/typed-user-events-II
Add typed events for all user hooks and legacy events
Christoph Wurst [Wed, 11 Dec 2019 10:26:23 +0000 (11:26 +0100)]
Merge pull request #18341 from kbucheli/handle_ipv6_address_with_explicit_interface
handle IPv6 addresses with an explict incoming interface at the end
Christoph Wurst [Wed, 11 Dec 2019 10:25:24 +0000 (11:25 +0100)]
Merge pull request #18349 from nextcloud/techdebt/deprecate-hooks-emitter-symfony-dispatcher
Deprecate hooks, emitter and Symfony dispatcher mechanisms
Roeland Jago Douma [Wed, 11 Dec 2019 10:17:26 +0000 (11:17 +0100)]
Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-path
Use file path for direct editing
Roeland Jago Douma [Wed, 11 Dec 2019 10:16:34 +0000 (11:16 +0100)]
Merge pull request #18342 from nextcloud/enh/filesearch/offset
Add offset for home limited searches
Christoph Wurst [Wed, 11 Dec 2019 09:20:36 +0000 (10:20 +0100)]
Add typed events for all group hooks and legacy events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Christoph Wurst [Wed, 11 Dec 2019 09:04:36 +0000 (10:04 +0100)]
Deprecate hooks, emitter and Symfony dispatcher mechanisms
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Christoph Wurst [Wed, 11 Dec 2019 08:38:23 +0000 (09:38 +0100)]
Add typed events for all user hooks and legacy events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Roeland Jago Douma [Wed, 11 Dec 2019 06:52:59 +0000 (07:52 +0100)]
18 Beta 2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Wed, 11 Dec 2019 06:52:05 +0000 (07:52 +0100)]
Merge pull request #18334 from nextcloud/enh/always_enable_viewer
Viewer should be always enabled
Nextcloud bot [Wed, 11 Dec 2019 02:16:49 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
John Molakvoæ (skjnldsv) [Tue, 10 Dec 2019 22:29:43 +0000 (23:29 +0100)]
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Roeland Jago Douma [Tue, 10 Dec 2019 22:30:15 +0000 (23:30 +0100)]
Add offset for home limited searches
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Konrad Bucheli [Tue, 10 Dec 2019 21:16:03 +0000 (22:16 +0100)]
handle IPv6 addresses with an explict incoming interface at the end (e.g fe80::ae2d:d1e7:fe1e:9a8d%enp2s0)
Signed-off-by: Konrad Bucheli <konrad.bucheli@gmx.ch>
Signed-off-by: Konrad Bucheli <kb@open.ch>
Roeland Jago Douma [Tue, 10 Dec 2019 14:08:19 +0000 (15:08 +0100)]
Viewer should be always enabled
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Christoph Wurst [Tue, 10 Dec 2019 18:44:53 +0000 (19:44 +0100)]
Merge pull request #18338 from nextcloud/fix/nextcloud-vue-collections-transpilation
Transpile the nextcloud-vue-collection package
Brent Nesbit [Fri, 2 Aug 2019 18:27:38 +0000 (18:27 +0000)]
Issue 15965 - Show password checkbox doesn't provide label or accessible name
Signed-off-by: Brent Nesbit <github@nesbit.me>
Christoph Wurst [Tue, 10 Dec 2019 17:10:35 +0000 (18:10 +0100)]
Transpile the nextcloud-vue-collection package
It should support the same browsers as this component, but there seems
to be a regression [1] that breaks the transpilation. Hence including
the package here for the Babel transformation.
[1] https://github.com/juliushaertl/nextcloud-vue-collections/issues/302
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Roeland Jago Douma [Tue, 10 Dec 2019 14:28:57 +0000 (15:28 +0100)]
Merge pull request #18293 from nextcloud/feature/transfer-ownership-autocompletion
Add autocompletion to the ownership transfer UI
Roeland Jago Douma [Tue, 10 Dec 2019 13:43:15 +0000 (14:43 +0100)]
Merge pull request #18312 from nextcloud/fix/18249/do_not_disable_auth_apps
Do not disable authentication apps
Roeland Jago Douma [Tue, 10 Dec 2019 12:28:33 +0000 (13:28 +0100)]
Merge pull request #18253 from nextcloud/bugfix/noid/broken-oracle-install
Pick a shorter name for the transfer ownership table
Christoph Wurst [Mon, 9 Dec 2019 10:55:42 +0000 (11:55 +0100)]
Add autocompletion to the ownership transfer UI
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Roeland Jago Douma [Tue, 10 Dec 2019 08:01:35 +0000 (09:01 +0100)]
Do not disable authentication apps
For #18249
If an app encounters an error during loading of app.php the app is
normally disabled. However. We should make sure that this doesn't happen
for authentication apps (looking at your user_saml).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Tue, 10 Dec 2019 10:30:19 +0000 (11:30 +0100)]
Merge pull request #18297 from nextcloud/enh/notification_dismiss
Add interface for notification handler for dimissed events
Roeland Jago Douma [Tue, 10 Dec 2019 10:28:40 +0000 (11:28 +0100)]
Merge pull request #18314 from nextcloud/fixFileIdSearch
Fix ambigious fileID on search
Joas Schilling [Thu, 5 Dec 2019 13:38:28 +0000 (14:38 +0100)]
Pick a shorter name for the transfer ownership table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Joas Schilling [Tue, 10 Dec 2019 09:56:47 +0000 (10:56 +0100)]
Try more methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
John Molakvoæ [Tue, 10 Dec 2019 09:56:03 +0000 (10:56 +0100)]
Fix external sharing loading script (#18251)
Fix external sharing loading script
Roeland Jago Douma [Tue, 10 Dec 2019 09:25:21 +0000 (10:25 +0100)]
Merge pull request #18301 from nextcloud/bugfix/noid/fix_array_access_on_non_array
Verify that is an array before accessing it
Roeland Jago Douma [Mon, 9 Dec 2019 12:19:45 +0000 (13:19 +0100)]
Add interface for notification handler for dimissed events
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tobiasKaminsky [Tue, 10 Dec 2019 08:47:30 +0000 (09:47 +0100)]
fix https://github.com/nextcloud/server/issues/18313
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Joas Schilling [Wed, 4 Dec 2019 21:32:54 +0000 (22:32 +0100)]
Update the unit test to dataProviders
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 29 Nov 2019 11:04:34 +0000 (12:04 +0100)]
Allow to specify apps that somethign is a dir
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 29 Nov 2019 10:06:04 +0000 (11:06 +0100)]
Improve mimetype detection in workflow components
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 29 Nov 2019 10:04:20 +0000 (11:04 +0100)]
Some more fixes in detecting the mimetype from the content
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Thu, 28 Nov 2019 14:47:13 +0000 (15:47 +0100)]
Cleanup the code
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Thu, 28 Nov 2019 14:24:57 +0000 (15:24 +0100)]
Allow to check for the mimetype by content only
Signed-off-by: Joas Schilling <coding@schilljs.com>