feat: OnlyOffice Force-Save bei Ctrl+S + private IP erlauben

- forcesavetype in Editor-Config: Ctrl+S speichert sofort zurueck
  zum Server (statt erst beim Schliessen des Dokuments)
- ALLOW_PRIVATE_IP_ADDRESS + ALLOW_META_IP_ADDRESS fuer OnlyOffice
  damit Callbacks an interne Docker-IPs funktionieren

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Stefan Hacker
2026-04-11 22:54:31 +02:00
parent 5f79ebe9b0
commit 33156f9431
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -380,6 +380,7 @@ def onlyoffice_config(file_id):
'editorConfig': {
'callbackUrl': f'{internal_url}/api/files/onlyoffice-callback?key={callback_key}',
'mode': 'edit' if can_write else 'view',
'forcesavetype': 0,
'lang': 'de',
'user': {
'id': str(user.id),