Repository navigation
[stable28] Support excalidraw file type - #46712
Merged
Merged
Conversation
juliusknorr
reviewed
Jul 25, 2024
Comment on lines
+421
to
+427
| if (version_compare($mimeTypeVersion, '29.0.0.6', '<') && $this->introduceAacAudioType()) { | ||
| $out->info('Fixed aac mime type'); | ||
| } | ||
|
|
||
| if (version_compare($mimeTypeVersion, '29.0.0.10', '<') && $this->introduceReStructuredTextFormatType()) { | ||
| $out->info('Fixed ReStructured Text mime type'); | ||
| } |
Member
There was a problem hiding this comment.
We can skip those in the backport.
juliusknorr
reviewed
Jul 25, 2024
Comment on lines
+344
to
+350
| $serverVersion = $this->config->getSystemValueString('version', '0.0.0'); | ||
| // 29.0.0.10 is the last version with a mimetype migration before it was moved to a separate version number | ||
| if (version_compare($serverVersion, '29.0.0.10', '>')) { | ||
| return $this->config->getAppValue('files', 'mimetype_version', '29.0.0.10'); | ||
| } | ||
| return $this->config->getSystemValueString('version', '0.0.0'); | ||
|
|
||
| return $serverVersion; |
Backport of PR #45353 to stable28. Adds support for excalidraw file type, including mime type recognition and icon.