Igor Scheller
2745b04dc2
Added filter to dashboard
4 years ago
Igor Scheller
acf84f222d
Added Room model
4 years ago
Tim Neumann
a50dd9cae0
Add option for minutes after shift start where signup is allowed
4 years ago
Igor Scheller
390db395a6
File formatting fixes
4 years ago
cbluoss
74b464aab5
ShiftEntry query now returns the related user.name as well.
...
This was done for API requests to save additional queries,
but should allow us to remove some queries pretty much everywhere shifts
get listed (will be done in a new PR eventually)
5 years ago
msquare
a3a938a121
Merge pull request #685 from MyIgel/schedule-import
...
Rebuild Schedule import
5 years ago
Igor Scheller
b540ac9385
Add timezone to shifts JSON
...
Resolves #689 (Provide time zone offset via the shifts-json-export API)
5 years ago
Igor Scheller
42721e9572
Added Schedule parsing and replaced old Fahrplan importer
...
Resolves #553 (Change Frab Import from xCal to XML)
Resolves #538 (Feature Request: Multi Frab Import)
5 years ago
Igor Scheller
85e4403392
Rooms: Save times as Worklog and notify on room deletion
5 years ago
Igor Scheller
d71b27b78b
Shifts: Save time as worklog if past shift gets deleted
5 years ago
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.
5 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
7 years ago
msquare
a0af8d4624
further switching to db exceptions instead of return false
7 years ago
msquare
5794c4cab8
clear delete queries from false resuls
7 years ago
msquare
a157004f4a
handle failed db queries in Db class
7 years ago
msquare
8ae0123635
unarrived angels can enter a shift (has been disabled for 33c3)
7 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