Session Timed Out Patches
Solved:
- warning and manual save if server is unavailable
- AJAX heartbeat if server is available
- warning and manual save user when the user has logged out [403]
-
\n
versus<br>
issue for message set - add heartbeat support also for comments
TODO:
- local save via HTML5 with version conflict prevention
- add Heartbeat Control
- enable / disable heartbeat
- locations (edit and comment handler)
- frequency (default:
1440
, 24 minutes)
- if server is unavailable icon for error message won't load if not already cached
- user POST if server is unavailable -> check server status to prevent data loss
-
alert(div.innerHTML)
versusprepend(div)
- localize: "This page is asking you to confirm that you want to leave - data you have entered may not be saved." defunct
- Browsers removed custom messages in onbeforeunload dialogs to prevent scamming [chrome]
- Replace inline JavaScript
- e.g.
var itemID = document.body.getAttribute("data-foo”);
- e.g.
- build in JS debug session time counter
- Unsability improvements, search for good examples
- add Heartbeat feature to documentation
remarks:
- currently it is sufficient to load the JS lang file only with WikiEdit
commit:a5fbdf565b7b11de630b3fafd1c8adbdabec20fd
commit:c9a74a4f5c7bf13046bcaaad7f5236f4010f30e1
commit:e83dc015a7feed8e65546f12f4d7e88043a8251c