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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user