5.5.0
Features
- Moderation and content deletion features #1253
- Moderation
- archive an entire account and its owned documents from its public key
- restore this entire account if necessary
- Placeholder
- unavailable documents now provide improved messages communicating the reason they are unavailable:
- Deleted by an owner
- Deleted by an admin + reason from admin team (user account or document)
- Deleted for inactivity (documents not stored in a user drive and inactive)
- Protected with a new password (user account or document)
- it is no longer possible to re-use an previous password for a password-protected document
- unavailable documents now provide improved messages communicating the reason they are unavailable:
- Moderation
- Only Office upgrade to 7.3.3.60
- New version of x2t for document conversions
Improvements
-
Accessibility
-
Mobile usage
-
Instance admin
-
Replace the "sign up" button on the log-in page with a link #1164
-
Add support for Webp images [#1008] thanks @lukasdotcom
-
improvements and bug fixes for the archival of inactive documents
Fixes
- Revert a button spacing regression introduced with 5.4.0 #1229
- Login bug on the new Safari following macOS/iPadOS 14 #1257
- Mermaid diagrams were sometimes displayed over each other in Code documents #1244
- Own responses to a form could not be deleted #1239
- Timezone differences caused errors in Forms "date/time" polls
- The large attachment button did not look consistent in Forms #1237
- The recent tab in the drive was missing column titles #1233
- An export file type dropdown was hidden inside a popup #1241
- Guest emoji avatars were not displayed constistently #1188
- "Early Access" apps were not shown on the instance home page even when active
- OnlyOffice document conversions
Dependencies
Deployment
We now support Nginx with two configurations (find more information in our administrator guide):
- New recommended "basic" nginx config for small instances:
example.nginx.conf
- Update to the old "advanced" config:
example-advanced.nginx.conf
- Add 2 lines in the "blob|block" section
# Requests for blobs and blocks are now proxied to the API server
# This simplifies NGINX path configuration in the event they are being hosted in a non-standard location
# or with odd unexpected permissions. Serving blobs in this manner also means that it will be possible to
# enforce access control for them, though this is not yet implemented.
# Access control (via TOTP 2FA) has been added to blocks, so they can be handled with the same directives.
location ~ ^/(blob|block)/.*$ {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' "${allowed_origins}";
add_header 'Access-Control-Allow-Credentials' true;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'application/octet-stream; charset=utf-8';
add_header 'Content-Length' 0;
return 204;
}
# Since we are proxying to the API server these headers can get duplicated
# so we hide them
proxy_hide_header 'X-Content-Type-Options';
proxy_hide_header 'Access-Control-Allow-Origin';
proxy_hide_header 'Permissions-Policy';
proxy_hide_header 'X-XSS-Protection';
+ proxy_hide_header 'Cross-Origin-Resource-Policy';
+ proxy_hide_header 'Cross-Origin-Embedder-Policy';
proxy_pass http://localhost:3000;
}
- Fix DrawIO hash not matching the latest version
# draw.io uses inline script tags in it's index.html. The hashes are added here.
if ($uri ~ ^\/components\/drawio\/src\/main\/webapp\/index.html.*$) {
- set $scriptSrc "'self' 'sha256-6zAB96lsBZREqf0sT44BhH1T69sm7HrN34rpMOcWbNo=' 'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=' resource: https://${main_domain}";
+ set $scriptSrc "'self' 'sha256-dLMFD7ijAw6AVaqecS7kbPcFFzkxQ+yeZSsKpOdLxps=' 'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=' resource: https://${main_domain}";
}
Upgrade notes
If you are upgrading from a version older than 5.4.1
please read the upgrade notes of all versions between yours and 5.4.1
to avoid configuration issues.
To upgrade:
- Stop your server
- Get the latest code with git
git fetch origin --tags
git checkout 5.5.0
- Update dependencies
npm ci
npm run install:components
-
Restart your server
-
Review your instance's checkup page to ensure that you are passing all tests