On 05/02/2014 01:24 PM, Arne Berglund wrote:
On May 2, 2014, at 9:44 AM, Cor Bosman cor@xs4all.nl wrote:
On 02 May 2014, at 17:55, Arne Berglund aberglund@lesd.k12.or.us wrote:
I coded the patch manually into 1.0.0 and it has been fine.
- Arne
On May 2, 2014, at 7:20 AM, Zach La Celle lacelle@roboticresearch.com wrote:
On 05/02/2014 03:52 AM, Cor Bosman wrote: On 01 May 2014, at 15:52, Zach La Celle lacelle@roboticresearch.com wrote:
On Roundcube 1.0.0, if the user starts composing an email then leaves it for a few (5?) minutes, the software saves the composition to draft then exits back to the inbox.
This did not used to happen on 7.1.0. Is there any way to prevent autosave of draft from kicking the user out of Compose?
This is a bug that is fixed in a recent commit, but there hasn't been a new version out yet. I think a 1.0.1 would be useful as this bug seems pretty annoying.
Cor
Yes, this would be much appreciated. I tried to apply just the commit which fixed this bug, but it didn't seem to stick, and I'm not sure if there's some earlier commit post 1.0.0 which is preventing this.
If you manually patch 1.0.0 you should remove app.min.js, else it wont work. Then dont forget to put it back once a new version is released.
Even better would be to create your own minimized version of app.js after you patch it but i'll leave that up to the reader to sort out :)
Cor
Exactly. I don't have java on my server to use the provided minimizing script, but there are plenty of places on the web where you can shrink js.
Arne
So just to sum up exactly what I did (Linux), which seemed to work:
Git changeset which fixed the issue: 467374ca12002fbcbe118b78f15b22e5fa85e721
git diff --no-prefix a2049621c7283f81fe50b78ab701ddf6a6bd5870 467374ca12002fbcbe118b78f15b22e5fa85e721 > patchfile
Copy patch to roundcubemail document root.
patch -p0 < patchfile
Copy the app.min.js to app.min.js.orig
Re-generate the app.min.js file: java -jar java -jar yuicompressor-2.4.8.jar app.js -o app.min.js
YuiCompressor was gotten from here: http://yui.github.io/yuicompressor/
-Zach
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users