Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✨TLDR✨
Make door boop be online
Problem
Currently, anyone wanting to see who has been into the space has to go via one of two people to SSH into the space, and request the logs. This is not practicable for just seeing how busy the space is. Doorbot and Hackscreen are no more. Extra systems need maintaining and become unreliable when not maintained.
Solution
The membership system has a place for activity to be logged (https://members.hacman.org.uk/activity) - this would be useful for general enquiries, to gauge how busy the space is, and see who is in.
Instead of adding another system that may or may not remain up, we can keep things together by adding very basic access reporting from FRED to the membership system.
The "device" for this change has been set up already:
https://members.hacman.org.uk/devices
There's also an addition of a heartbeat on the update script which will show at a glance in the membership system if there's an issue with the refresh.
If merged:
Notes
In the interests of simplicity and not introducing bugs, there's no queuing if the internet is down or requests fail. Thefore some entry logs may be missed, however as the online activity logs are provided as a useful service and are not intended to be the canonical source of truth this doesn't matter.
For abuse of the space and board matters etc, the comprehensive logs can continue to be retrieved as they are presently.