Session Timed Out Patches

Solved:

  1. warning and manual save if server is unavailable
  2. AJAX heartbeat if server is available
  3. warning and manual save user when the user has logged out [403]
  4. \n versus <br> issue for message set
  5. add heartbeat support also for comments

TODO:

  1. local save via HTML5 with version conflict prevention
  2. add Heartbeat Control
    • enable / disable heartbeat
    • locations (edit and comment handler)
    • frequency (default: 1440, 24 minutes)
  3. if server is unavailable icon for error message won't load if not already cached
  4. user POST if server is unavailable -> check server status to prevent data loss
  5. alert(div.innerHTML) versus prepend(div)
  6. 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]
  7. Replace inline JavaScript
    • e.g. var itemID = document.body.getAttribute("data-foo”);
  8. build in JS debug session time counter
  9. Unsability improvements, search for good examples
  10. 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


Show Files (3 files)