# Changelog ## 7.0.0-beta.1 ### Added - Nextcloud 25 support - Give better hints on a protocol mismatch with the discovery endpoint @juliushaertl [#2371] - Emmit open event for each user on document open @juliushaertl [#2350] - Upload custom fonts from admin interface @eneiluj [#2032] - Token TTL app config value which sets expiration the WOPI token @Raudius [#2171] - Optimised avatar request @juliushaertl [#2269] ## 6.2.0 ### Added - Allow download prevention on user shares @eneiluj [#2280](https://github.com/nextcloud/richdocuments/pull/2280) ### Fixed - Limit capabilities to users that are enabled @juliushaertl [#2328](https://github.com/nextcloud/richdocuments/pull/2328) - Fix saving issue when a file is available multiple times in a users home folder @juliushaertl [#2330](https://github.com/nextcloud/richdocuments/pull/2330) - Cleanup Content Security Policy handling @juliushaertl [#2234](https://github.com/nextcloud/richdocuments/pull/2234) - Fix double-header on public links @marcelklehr [#2312](https://github.com/nextcloud/richdocuments/pull/2312) - Fix HTML entities showing in file names @Raudius [#2318](https://github.com/nextcloud/richdocuments/pull/2318) - Restored "Open with Nextcloud Office" option from context menu @Raudius [#2318](https://github.com/nextcloud/richdocuments/pull/2318) ## 6.1.1 ### Fixed - Fix filename encoding issues @juliushaertl [#2261](https://github.com/nextcloud/richdocuments/pull/2261) ### Other - add "is_guest" to extra info user data [#2244](https://github.com/nextcloud/richdocuments/pull/2244) ## 6.1.0 ### Added - Added support for file locking @juliushaertl [#2104](https://github.com/nextcloud/richdocuments/pull/2104) ### Fixed - Optimised audit triggering @juliushaertl [#1957](https://github.com/nextcloud/richdocuments/pull/1957) - Fixed viewer styling @juliushaertl [#2221](https://github.com/nextcloud/richdocuments/pull/2221) [#2212](https://github.com/nextcloud/richdocuments/pull/2212) - Disabled remote image insertion on public links @juliushaertl [#2175](https://github.com/nextcloud/richdocuments/pull/2175) - Fixed file revision behaviour on group folders @Raudius [#2172](https://github.com/nextcloud/richdocuments/pull/2197) ## 6.0.0 ### Added - Expose guest avatar images through wopi @juliushaertl [#1883](https://github.com/nextcloud/richdocuments/pull/1883) - add "is_admin" to extra info user data @hcvcastro [#1810](https://github.com/nextcloud/richdocuments/pull/1810) - Change wording from "New graphic" to "New diagram" @juliushaertl [#2031](https://github.com/nextcloud/richdocuments/pull/2031) - Created a minimal otg file @Ezinnem [#2130](https://github.com/nextcloud/richdocuments/pull/2130) - Adjust template preview ratio [#2154](https://github.com/nextcloud/richdocuments/pull/2154) - Compatibility with Nextcloud 24 ### Fixed - Properly check proxy status @juliushaertl [#1900](https://github.com/nextcloud/richdocuments/pull/1900) - Add addScript viewer dependency @juliushaertl [#1937](https://github.com/nextcloud/richdocuments/pull/1937) - Do not load template directories twice @juliushaertl [#1794](https://github.com/nextcloud/richdocuments/pull/1794) - Move filetype styles to separate css file and load it with viewer @juliushaertl [#1938](https://github.com/nextcloud/richdocuments/pull/1938) - Ensure that the guest name picker is shown on editable links @juliushaertl [#1945](https://github.com/nextcloud/richdocuments/pull/1945) - Don't wait DOMContentLoaded to register the viewer handler @eneiluj [#1959](https://github.com/nextcloud/richdocuments/pull/1959) - Switch from iconv to mb_convert_encoding @Keessaus [#1967](https://github.com/nextcloud/richdocuments/pull/1967) - Use FileCreatedFromTemplateEvent to inject the already existing empty templates @juliushaertl [#1377](https://github.com/nextcloud/richdocuments/pull/1377) - Avoid too specific psalm annotation @juliushaertl [#2015](https://github.com/nextcloud/richdocuments/pull/2015) - Fix frame absolute position in public file share @eneiluj [#2014](https://github.com/nextcloud/richdocuments/pull/2014) - Always add gs.trustedHosts to the CSP @juliushaertl [#1977](https://github.com/nextcloud/richdocuments/pull/1977) - Map es-419 to es-MX @juliushaertl [#2054](https://github.com/nextcloud/richdocuments/pull/2054) - 🐛 Fix CSP violation when Nextcloud server has so-called 'service root' @ldidry [#2051](https://github.com/nextcloud/richdocuments/pull/2051) - Do not hide speadsheet statusbar by default @juliushaertl [#2053](https://github.com/nextcloud/richdocuments/pull/2053) - Adapt branding css variables @juliushaertl [#2069](https://github.com/nextcloud/richdocuments/pull/2069) - Fix: missing settings messages @vinicius73 [#2095](https://github.com/nextcloud/richdocuments/pull/2095) - Allow MS Office template file extensions for TemplateSource usage @juliushaertl [#2110](https://github.com/nextcloud/richdocuments/pull/2110) - Fixes CSP on Nextcloud installations not on root directory @Raudius [#2126](https://github.com/nextcloud/richdocuments/pull/2126) - Add app config to enable trusted domain list usage [#2163](https://github.com/nextcloud/richdocuments/pull/2163) - Add gs.trustedHosts to form-action csp [#2160](https://github.com/nextcloud/richdocuments/pull/2160) - Let integration tests pass again @juliushaertl [#2141](https://github.com/nextcloud/richdocuments/pull/2141) - Keep mime-type indices consecutive. [#2174](https://github.com/nextcloud/richdocuments/pull/2174) - Replace deprecated OC functions by @nextcloud/* npm pkgs ones @eneiluj [#2036](https://github.com/nextcloud/richdocuments/pull/2036) - fix: template.odg file must be real odg file @merttumer [#2127](https://github.com/nextcloud/richdocuments/pull/2127) - Update dependencies ## 4.2.3 ### Fixed - #1760 Unify error messages accross controllers - #1728 Prevent not-needed early loading of the richdocuments app ### Other - Dependency updates ## 4.2.2 ### Added - #1711 Allow guests to request a direct token for share links @juliushaertl ### Fixed - #1707 Show avatar list if hide download is enabled @juliushaertl - #1710 Another attempt to fix height setting for Safari issues on iOS @juliushaertl - #1709 Give the avatar popover a proper z-index for public pages @juliushaertl ### Dependencies - #1685 Bump @babel/core from 7.14.6 to 7.14.8 @dependabot[bot] - #1700 Bump vue-loader from 15.9.7 to 15.9.8 @dependabot[bot] - #1693 Bump sass from 1.36.0 to 1.37.0 @dependabot[bot] - #1676 Bump @babel/preset-env from 7.14.7 to 7.14.8 @dependabot[bot] - #1690 Bump eslint-plugin-vue from 7.14.0 to 7.15.0 @dependabot[bot] - #1697 Bump @babel/preset-env from 7.14.8 to 7.14.9 @dependabot[bot] - #1694 Bump eslint from 7.31.0 to 7.32.0 @dependabot[bot] - #1695 Bump webpack from 5.46.0 to 5.47.1 @dependabot[bot] - #1706 Bump @babel/plugin-transform-runtime from 7.14.5 to 7.15.0 @dependabot[bot] - #1691 Bump @nextcloud/webpack-vue-config from 4.0.3 to 4.1.0 @dependabot[bot] - #1702 Bump sass from 1.37.0 to 1.37.5 @dependabot[bot] - #1705 Bump @babel/core from 7.14.8 to 7.15.0 @dependabot[bot] - #1701 Bump eslint-plugin-vue from 7.15.0 to 7.15.1 @dependabot[bot] - #1715 Bump psalm/phar from 4.8.1 to 4.9.2 @dependabot[bot] - #1708 Bump webpack from 5.47.1 to 5.50.0 @dependabot[bot] - #1703 Bump @babel/plugin-transform-modules-commonjs from 7.14.5 to 7.15.0 @dependabot[bot] - #1712 Bump @babel/eslint-parser from 7.14.7 to 7.15.0 @dependabot[bot] - #1714 Bump @babel/preset-env from 7.14.9 to 7.15.0 @dependabot[bot] - #1713 Bump eslint-plugin-vue from 7.15.1 to 7.16.0 @dependabot[bot] - #1716 Bump eslint-plugin-import from 2.23.4 to 2.24.0 @dependabot[bot] - #1725 Bump psalm/phar from 4.9.2 to 4.9.3 @dependabot[bot] - #1723 Bump sass from 1.37.5 to 1.38.0 @dependabot[bot] - #1727 Bump webpack-cli from 4.7.2 to 4.8.0 @dependabot[bot] - #1726 Bump eslint-plugin-import from 2.24.0 to 2.24.1 @dependabot[bot] - #1724 Bump webpack from 5.50.0 to 5.51.1 @dependabot[bot] ## 4.2.1 * [#1655](https://github.com/nextcloud/richdocuments/pull/1655) Keep DownloadAsPostMessage when "saving as" documents @mikekaganski * [#1663](https://github.com/nextcloud/richdocuments/pull/1663) Throttle on invalid share tokens @LukasReschke * [#1664](https://github.com/nextcloud/richdocuments/pull/1664) Check for share token permissions @juliushaertl * [#1674](https://github.com/nextcloud/richdocuments/pull/1674) L10n: Change to uppercase @Valdnet ## 4.2.0 * [#1638](https://github.com/nextcloud/richdocuments/pull/1638) Fix opening files when groupfolder ACL has revoked share permissions @juliushaertl * [#1640](https://github.com/nextcloud/richdocuments/pull/1640) Allow to limit wopi requests to specific source hosts @juliushaertl * [#1642](https://github.com/nextcloud/richdocuments/pull/1642) L10n: Correct a typo @Valdnet ## 4.1.2 * Nextcloud 22 compatibility ## 4.1.1 * [#1546](https://github.com/nextcloud/richdocuments/pull/1546) Fix wrong parameters set when creating a file from a template id @juliushaertl * [#1559](https://github.com/nextcloud/richdocuments/pull/1559) Fix PutRelativeFile as non-owner @juliushaertl * [#1544](https://github.com/nextcloud/richdocuments/pull/1544) Retry to check if Collabora is configured @eszkadev ## 4.1.0 * [#1512](https://github.com/nextcloud/richdocuments/pull/1512) Enhanced federated editing * [#1446](https://github.com/nextcloud/richdocuments/pull/1446) Setup FeaturePolicy to allow fullscreen @eszkadev * [#1459](https://github.com/nextcloud/richdocuments/pull/1459) Reload file name for share feature after Save As @eszkadev * [#1465](https://github.com/nextcloud/richdocuments/pull/1465) Fix OOXML template extension @tiredofit * [#1471](https://github.com/nextcloud/richdocuments/pull/1471) Fix duplicate document templates * [#1485](https://github.com/nextcloud/richdocuments/pull/1485) L10n: Unify spelling @Valdnet * [#1488](https://github.com/nextcloud/richdocuments/pull/1488) Improve parsing of guest name cookie * [#1501](https://github.com/nextcloud/richdocuments/pull/1501) Add federation/direct editing tests * [#1502](https://github.com/nextcloud/richdocuments/pull/1502) Do not use libxml_disable_entity_loader on PHP 8 or later * [#1513](https://github.com/nextcloud/richdocuments/pull/1513) Don't cache empty capabilities @eszkadev * [#1514](https://github.com/nextcloud/richdocuments/pull/1514) Work around safari having a inproper 100vh value * [#1517](https://github.com/nextcloud/richdocuments/pull/1517) Use proper initiator url * [#1528](https://github.com/nextcloud/richdocuments/pull/1528) Emit WOPI postmessages through the nextcloud event bus ## 4.0.4 * [#1443](https://github.com/nextcloud/richdocuments/pull/1443) Use correct config for GS info ## 4.0.3 * [#1416](https://github.com/nextcloud/richdocuments/pull/1416) Pass through UI_Share message if used in the version viewer * [#1418](https://github.com/nextcloud/richdocuments/pull/1418) Allow revision viewer to enter full screen * [#1422](https://github.com/nextcloud/richdocuments/pull/1422) Properly handle ooxml with the new template mechanism ## 4.0.2 * [#1374](https://github.com/nextcloud/richdocuments/pull/1374) Make sure that the same host remote is always considered as trusted * [#1394](https://github.com/nextcloud/richdocuments/pull/1394) Improve dark theme experience @mwalbeck * [#1396](https://github.com/nextcloud/richdocuments/pull/1396) Avoid determination of document editor in per-user-encryption setups @marioklump * [#1397](https://github.com/nextcloud/richdocuments/pull/1397) Emit events on frontend states * [#1401](https://github.com/nextcloud/richdocuments/pull/1401) Assets: Use octet-stream and attachment instead of allowing to inline display * [#1412](https://github.com/nextcloud/richdocuments/pull/1412) Trim duplicate trailing slashes in wopi url * [#1414](https://github.com/nextcloud/richdocuments/pull/1414) Add docs and sharingToken to the events ## 4.0.1 * [#1385](https://github.com/nextcloud/richdocuments/pull/1385) Fix opening files after creating them from a template * [#1378](https://github.com/nextcloud/richdocuments/pull/1378) Use https for fetching the demo servers * [#1382](https://github.com/nextcloud/richdocuments/pull/1382) Add proper return values to occ commands ## 4.0.0 * [#1317](https://github.com/nextcloud/richdocuments/pull/1317) Nextcloud 21 compatibility @juliushaertl * [#1353](https://github.com/nextcloud/richdocuments/pull/1353) Apply new file name after rename @eszkadev ## 3.7.14 * [#1331](https://github.com/nextcloud/richdocuments/pull/1331) Log the exception so we know what is actually failing @rullzer * [#1332](https://github.com/nextcloud/richdocuments/pull/1332) Use https by default for the federation service @rullzer * [#1337](https://github.com/nextcloud/richdocuments/pull/1337) Properly handle cached failed requests in the Federation service @rullzer * Update dependencies ## 3.7.13 * [#1326](https://github.com/nextcloud/richdocuments/pull/1326) Do not update CSP on calls to files_sharing @rullzer * [#1327](https://github.com/nextcloud/richdocuments/pull/1327) Handle errors when fetching remote file info more gracefully @juliushaertl * [#1329](https://github.com/nextcloud/richdocuments/pull/1329) Move federation cache to a distributed one @juliushaertl ## 3.7.12 * [#1178](https://github.com/nextcloud/richdocuments/pull/1178) Show error if trying to open a file on session credential based external storage @juliushaertl * [#1279](https://github.com/nextcloud/richdocuments/pull/1279) Actually mark wopi entity fields as updated @juliushaertl * [#1284](https://github.com/nextcloud/richdocuments/pull/1284) Rename document on save as success @eszkadev * [#1303](https://github.com/nextcloud/richdocuments/pull/1303) Cut of guest names so they fit into the database @nickvergessen * [#1305](https://github.com/nextcloud/richdocuments/pull/1305) Properly trim trailing slashes from the remote url @juliushaertl * [#941](https://github.com/nextcloud/richdocuments/pull/941) Be fair about compatiblity of this module @mmaridev * Update dependencies ## 3.7.11 * [#1256](https://github.com/nextcloud/richdocuments/pull/1256) Adapt built-in CODE url on host address change @mrkara * [#1269](https://github.com/nextcloud/richdocuments/pull/1269) Increase timeout if proxy is starting @eszkadev * [#1277](https://github.com/nextcloud/richdocuments/pull/1277) Check proxy status on timeout @eszkadev * [#1278](https://github.com/nextcloud/richdocuments/pull/1278) Fix possible issues with remote editing * [#989](https://github.com/nextcloud/richdocuments/pull/989) Show hint about missing capabilities endpoint connection ## 3.7.10 * [#1257](https://github.com/nextcloud/richdocuments/pull/1257) Try to obtain the appdata folder in 1 go @rullzer * [#1258](https://github.com/nextcloud/richdocuments/pull/1258) Fix compatibility issue with Nextcloud 15 @juliushaertl * [#1259](https://github.com/nextcloud/richdocuments/pull/1259) Don't use a stream response on an empty file @rullzer * [#1266](https://github.com/nextcloud/richdocuments/pull/1266) Fix issues with federated editing in global scale setups @juliushaertl * [#1268](https://github.com/nextcloud/richdocuments/pull/1268) Fix typo when refetching discovery @eszkadev ## 3.7.9 ## Fixed * [#1238](https://github.com/nextcloud/richdocuments/pull/1238) Move to @nextcloud/capabilities and only register default mime types for viewer * [#1239](https://github.com/nextcloud/richdocuments/pull/1239) Fix compatibility to oracle as a database * [#1240](https://github.com/nextcloud/richdocuments/pull/1240) Add two more useful placeholders for watermark text @timar * [#1242](https://github.com/nextcloud/richdocuments/pull/1242) Add French (Switzerland) and Italian (Switzerland) as special case @timar * [#1243](https://github.com/nextcloud/richdocuments/pull/1243) Add migration to bigint columns * [#1244](https://github.com/nextcloud/richdocuments/pull/1244) Do not fail if capabilities have not been fetched for the built-in server ## 3.7.8 ### Added * [#1237](https://github.com/nextcloud/richdocuments/pull/1237) Make frame loading timeout configurable through occ ## 3.7.7 ### Added * [#1220](https://github.com/nextcloud/richdocuments/pull/1220) Support opening visio files @timar * [#1221](https://github.com/nextcloud/richdocuments/pull/1221) Add close method for mobile app integration @juliushaertl ### Fixed * [#1222](https://github.com/nextcloud/richdocuments/pull/1222) Adjust ui_defaults do be the same across different document types @juliushaertl * [#1226](https://github.com/nextcloud/richdocuments/pull/1226) Move Collabora endpoint caching to distributed cache @juliushaertl ## 3.7.6 ### Added * [#1211](https://github.com/nextcloud/richdocuments/pull/1211) Passing some UI Defaults to loleaflet frame @merttumer ### Fixed * [#1198](https://github.com/nextcloud/richdocuments/pull/1198) Use correct call to notify mobile @eszkadev * [#1210](https://github.com/nextcloud/richdocuments/pull/1210) Fix escaping for edit with message @gary-kim ## 3.7.5 ### Added * [#1137](https://github.com/nextcloud/richdocuments/pull/1137) Add occ richdocuments:activate-config to autoprovision Collabora configurations @ebardie * [#974](https://github.com/nextcloud/richdocuments/pull/974) Add frontend hooks and expose config/open methods @juliushaertl ### Bugfixes * [#1055](https://github.com/nextcloud/richdocuments/pull/1055) Fix bug #1054 @SamKer * [#1095](https://github.com/nextcloud/richdocuments/pull/1095) Make 'Remove user' label localizable @timar * [#1111](https://github.com/nextcloud/richdocuments/pull/1111) Updated presentation template. @kendy * [#1133](https://github.com/nextcloud/richdocuments/pull/1133) Use proper base template to be compatible with Nextcloud 20 @juliushaertl * [#1150](https://github.com/nextcloud/richdocuments/pull/1150) Arm64: Allow auto-enabling Built-in CODE Server on ARM64 @mrkara * [#1152](https://github.com/nextcloud/richdocuments/pull/1152) Properly check value types when updating watermark settings @juliushaertl * [#1153](https://github.com/nextcloud/richdocuments/pull/1153) Very minimal document templates for Collabora Online @timar * [#1154](https://github.com/nextcloud/richdocuments/pull/1154) Use PHP_OS instead of PHP_OS_FAMILY when PHP version < 7.2 @mrkara * [#1162](https://github.com/nextcloud/richdocuments/pull/1162) Arm64 adaptations @mrkara * [#1163](https://github.com/nextcloud/richdocuments/pull/1163) Fix platform mismatch error message @mrkara * [#1164](https://github.com/nextcloud/richdocuments/pull/1164) Do not use isset for checking the class constant @juliushaertl * [#1169](https://github.com/nextcloud/richdocuments/pull/1169) Template sourced documents support DownloadAsPostMessage @Ashod * [#1170](https://github.com/nextcloud/richdocuments/pull/1170) No need to get the avatar image since we have one for each user @juliushaertl * [#1174](https://github.com/nextcloud/richdocuments/pull/1174) Update location of screenshots @timar * [#1180](https://github.com/nextcloud/richdocuments/pull/1180) Ensures