Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Text lost, when session times out. #725

Closed
nanu-c opened this issue Dec 11, 2016 · 9 comments
Closed

Text lost, when session times out. #725

nanu-c opened this issue Dec 11, 2016 · 9 comments

Comments

@nanu-c
Copy link

nanu-c commented Dec 11, 2016

Sometimes I am investigating about a topic and i need lot of time. I also suspend my laptop from time to time.
The session timout check hits than when I do the next action and this is always when I hit the save button.
It would be really nice to use a local storage to save a draft and resume it from there after a successful login.

@Liongold
Copy link
Contributor

Thanks for using Paperwork. Paperwork should have an auto-saving feature that saves a copy in local storage and then shows a popup the next time you visit the note editor. Are you saying that this does not work for you? If yes, you can try changing the session expiry as a workaround for now. You can do this in frontend/app/config/session.php by changing the lifetime value. Please comment if it does not work. Thanks.

@ardichoke
Copy link

The auto-save feature has also failed me, though I just started using paperwork so it only did it once... I took notes while in a meeting and forgot to click save... there was no copy ever saved in local storage. I just have an empty note in paperwork at this point.

@Liongold
Copy link
Contributor

@ardichoke Did you have Auto-saved or something similar written at the bottom of the editor box?

@nanu-c
Copy link
Author

nanu-c commented Jan 1, 2017

After more work with paperwork, this mainly happens, when I didn't save a new notice a the beginning.
Once I just got a "TRUE" as text. But normally the function works just fine.

@Liongold
Copy link
Contributor

Liongold commented Jan 3, 2017

In pull request #737, there's an update to CKEditor and the autosave plugin. This should improve the autosave feature. Can you test it or wait until the request is merged please?

@ardichoke
Copy link

I haven't tested session timeout, but the autosave functionality worked in my first test which is a big step up. Typed some text in, closed the tab, loaded the page in a new tab, opened the note and was prompted to load the autosaved version of the note. Definite improvement here.

@Liongold
Copy link
Contributor

Liongold commented Jan 4, 2017

Good to know. Are you interested in testing the session timeout?

@nanu-c
Copy link
Author

nanu-c commented Jan 27, 2017

this works for me now with the pr #737

@Liongold
Copy link
Contributor

This issue will now be closed since CKEditor has been updated completely. If you encounter any issues, please open a new issue. Thanks for your feedback and interest in Paperwork.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants