Commit Graph

11 Commits (f201b2f1c826cca0666a1e9b295755d65f699d32)

Author SHA1 Message Date
Igor Scheller 0458ce9509 Added more error messages
MichiK 142871f852 Add a config option for maximum signup in advance
We now have `signup_advance_hours` in the configuration that
only allows signup for shifts so many hours in the future.
A notice is displayed in the shift view for shifts in the
far future, together with an info notice on when signup for
that shift will be possible.

In addition, we now have a new shift state `NOT_YET` for this
purpose so we do not have to abuse `SHIFT_ENDED` anymore for
`signup_requires_arrival` as well.
Bot 952c7892f3 Formatting & Docstrings
msquare 2c04e35bed introduce new shift signup state for not arrived angels
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup
Bot d71e7bbfad Formatting
Bot 7313e15ce8 PSR-2 formatting
msquare 51eb22a1c6 fix shift signup state calculation
msquare b8c26b0fd0 fix that free shifts become green
msquare 9e804ba91a fix that free shifts become green
msquare 1a3b4e2a33 redone shift coloring and shift signup state