102 Commits (142871f852c717319608de43d954180f17e5ed66)

Author SHA1 Message Date
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.
6 years ago
Igor Scheller 0150aca6ad Order rooms in shift overview by name
closes #551 (Order of Rooms in overview)
6 years ago
Igor Scheller c33940f64a Moved permission checks to Authenticator class 6 years ago
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()` 6 years ago
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup 6 years ago
Igor Scheller d7aea575ff Replaced more sql queries and old data 6 years ago
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉 6 years ago
Igor Scheller 89e62c95a7 Changed more functions 🎉 6 years ago
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables 6 years ago
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations' 6 years ago
Igor Scheller 5456fea503 $bugfixes 6 years ago
Igor Scheller 175c335810 Db::selectOne() should return null if result is empty 6 years ago
Igor Scheller 0d154365a2 models: return null on empty result 7 years ago
Igor Scheller fe58e4f422 database: updated checks for selectOne 7 years ago
Bot 952c7892f3 Formatting & Docstrings 7 years ago
klemens a6cf4c9ce9 spelling fixes 7 years ago
msquare fbbea4eb5f add show on dashboard flag for angeltypes 7 years ago
msquare 2c04e35bed introduce new shift signup state for not arrived angels 7 years ago
msquare fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions 7 years ago
msquare 20f4d44cbf fix union queries for dashboard stats 7 years ago
msquare 35be25a786 fix dashboard using needed angeltypes from room config too for frab shifts 7 years ago
msquare ff94df53d6 finish basic public dashboard 7 years ago
msquare afb77d22ba move room db queries to model 7 years ago
msquare 928e707015 add shift calendar to angeltype view 7 years ago
Igor Scheller 4817658862 Merge branch 'noc0lour:fix_setup_bugs', closes #335 7 years ago
Igor Scheller 0a20883aa8 Reimplementation of 2840bb619 (signup requires arrival), closes #330 7 years ago
Bot a473a56f1d Formatting 7 years ago
Andrej Rode eeae07e625 add edited_at_timestamp to shift creation to fix mysql error 7 years ago
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected 8 years ago
msquare a0af8d4624 further switching to db exceptions instead of return false 8 years ago
msquare 5794c4cab8 clear delete queries from false resuls 8 years ago
msquare a157004f4a handle failed db queries in Db class 8 years ago
msquare 8ae0123635 unarrived angels can enter a shift (has been disabled for 33c3) 8 years ago
Igor Scheller cd30017b97 Some fixes 8 years ago
Igor Scheller 781f830678 Fixes and improvements 8 years ago
Bot 3de0cc840f Removed spaces 8 years ago
Bot 915ce28fee Replaced " with ' 8 years ago
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries 8 years ago
Igor Scheller 1c27bf1375 Removed $angeltype from function Shift_signup_allowed_* 8 years ago
Bot 55141154c0 Replaced " with ' 8 years ago
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup 8 years ago
Bot d71e7bbfad Formatting 8 years ago
Bot 7313e15ce8 PSR-2 formatting 8 years ago
msquare b8ebd23f6d bring back filtering by occupancy 8 years ago
msquare 51eb22a1c6 fix shift signup state calculation 8 years ago
msquare fe5dec73ba bring back filtering by occupancy 8 years ago
msquare 68aeb14edb bring back filtering by angeltype 8 years ago
msquare cbeb45ef16 redo 8 years ago
msquare 45200b503d improve needed angel types query 8 years ago
msquare 0603d0dd4e remove unused code 8 years ago