Moodle plugin which checks for unsent user input in the browser and keeps the user session alive as long as needed to prevent that user input which is sent to the server after the user session has expired will be lost
In Moodle 3.8 / MDL-34498, Moodle Core changed the Ajax Endpoint for keeping sessions alive, which this plugin used up to then, to a real webservice (see moodle/moodle@4e1ee0b).
To keep things working, the removed script is shipped within this plugin since then (see af992c1).
However, it would be good to re-build the mechanism to keep the session alive to use real Moodle webservices as well
It would be a wonderful addition to add capabilities or exclude roles from keepalive sessions. For example, it may be good for an admin to keep a session a live, but for students I think it would be better to limit it to certain time.
If this plugin would be modified to include this, it would be wonderful.
Currently, the plugin keeps a Moodle session alive forever. It would be worthwhile to add support for a final end, for example after 7 days, so that the browser does not ping the server forever.