Closed TheRealBro closed 5 months ago
@tbsbdr not sure if this is okay from an UX side, what if you opened a shared document and played around with it and it gets autosaved, so you may end up having changes you didnt want to make
You can enable autosaving in intervals. Saving before being logged out doesn't make sense. You're logged out because token renewal failed/didnt happen/whatever. We cannot "save" without a token
Ok, so where do we enable it from the server side? Or is this a userspace setting?
Ok, so where do we enable it from the server side? Or is this a userspace setting?
In the config.json
you can specify an options
key with values as documented in https://owncloud.dev/clients/web/getting-started/#options
Grep the docs for options.editor.autosaveEnabled
and options.editor.autosaveInterval
.
Closing here since this issue can be overcome by using the autosave config, as described above.
Steps to reproduce
Expected behaviour
Document should auto-save text and contain the text I added before automatic logout happened
Actual behaviour
Document is empty, no auto-save, all contents are lost
Environment general
Operating system: n/a happens in Firefox, but I guess browser does not matter
Backend (ownCloud Core or Infinite Scale): ownCloud Core
Are you using an external user-backend, if yes which one: LDAP + SSO with Keycloak
Environment ownCloud Core
Web server:
from http://ppa.launchpad.net/ondrej/apache2/ubuntu
Database:
PHP version:
from http://ppa.launchpad.net/ondrej/php/ubuntu
Version:
Updated from an older ownCloud
Where did you install ownCloud from: tarball
Signing status (ownCloud 9.0 and above):
ownCloud Web runs from docker container
from https://hub.docker.com/r/owncloud/web
The content of config/config.php: n/a or ask
List of activated apps:
Are you using external storage, if yes which one: local, xfs
Are you using encryption: no
Client configuration
Browser: Firefox 110.0.1 (64-Bit)
Operating system: Ubuntu Linux
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log