Closes #7
- compute `approved` from group membership (was hardcoded True — any logged-in user could hold any door)
- allow `duration=0` to cancel/close (InputRequired, min=0)
- pass HoldDoorForm to template so CSRF token renders
- add hold form section to doorboy.html
- index doorlog (door, approved, timestamp) for the proxy query
Files: doorboy.py, main.py, templates/doorboy.html.
- compute approved from group membership (was hardcoded True)
- allow duration=0 to cancel/close (InputRequired, min=0)
- pass HoldDoorForm to template so CSRF token renders
- add hold form section to doorboy.html
- index doorlog (door, approved, timestamp) for the proxy query
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #7
approvedfrom group membership (was hardcoded True — any logged-in user could hold any door)duration=0to cancel/close (InputRequired, min=0)Files: doorboy.py, main.py, templates/doorboy.html.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.