Skip to content

Commit

Permalink
Merge pull request 'feat: register mime-types for docm and xlsm' from…
Browse files Browse the repository at this point in the history
… feature/docm-xlsm-mime-types into develop

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/onlyoffice-owncloud/pulls/15
  • Loading branch information
LinneyS committed Jan 24, 2025
2 parents bcedbf8 + e8af24c commit 3a95ac7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Change Log

## Added
- setting for setup unknown author display name
- setting for sending notifications by email
- opening docm, xlsm, pptm files

## Changed
- URL for requests to Conversion API
Expand Down
3 changes: 3 additions & 0 deletions appinfo/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ function () {
$detector->registerType("ott", "application/vnd.oasis.opendocument.text-template");
$detector->registerType("ots", "application/vnd.oasis.opendocument.spreadsheet-template");
$detector->registerType("otp", "application/vnd.oasis.opendocument.presentation-template");
$detector->registerType("docm", "application/vnd.ms-word.document.macroenabled.12");
$detector->registerType("xlsm", "application/vnd.ms-excel.sheet.macroenabled.12");
$detector->registerType("pptm", "application/vnd.ms-powerpoint.presentation.macroenabled.12");

$previewManager = $container->query(IPreview::class);
if ($this->appConfig->getPreview()) {
Expand Down

0 comments on commit 3a95ac7

Please sign in to comment.