diff options
author | MichiK <michik+github@michik.net> | 2017-12-03 04:05:02 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-06-04 21:24:59 +0200 |
commit | 142871f852c717319608de43d954180f17e5ed66 (patch) | |
tree | 8aee37e9dc1f3291af5e2b2bdb9f5506310711cc /src/Controllers/ApiController.php | |
parent | ead56a89fef63745d0e9d3a0b44ef198792c2784 (diff) |
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.
Diffstat (limited to 'src/Controllers/ApiController.php')
0 files changed, 0 insertions, 0 deletions