Commit Graph

268 Commits (aabd98241cb1fe60cfb7b0483914dae5f0fd6bbb)

Author SHA1 Message Date
Igor Scheller 3d5ce35f5e Show available vouchers in user view
Igor Scheller f4f3487c93 Renamed variables for more consistent worklog naming
Igor Scheller f732a4af6f Added Worklog model
Igor Scheller acf84f222d Added Room model
Tim Neumann a50dd9cae0 Add option for minutes after shift start where signup is allowed
Igor Scheller 390db395a6 File formatting fixes
Michael Weimann a78659b2d4 Migrate message view
Igor Scheller 537179df66 Shifts overview: Added filter_max_duration to limit max runtime
Igor Scheller 8f2da56892 Voucher: Added hours_per_voucher setting
Igor Scheller 7fb10ec569 Voucher: Add worklog entries to calculation
Igor Scheller 25cdf1cac8 Voucher: Added calculation start time
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)
msquare a3a938a121
Merge pull request from MyIgel/schedule-import
Rebuild Schedule import
Igor Scheller b540ac9385 Add timezone to shifts JSON
Resolves  (Provide time zone offset via the shifts-json-export API)
Igor Scheller 42721e9572 Added Schedule parsing and replaced old Fahrplan importer
Resolves  (Change Frab Import from xCal to XML)
Resolves  (Feature Request: Multi Frab Import)
Igor Scheller 9b08b951a2
Merge pull request from MyIgel/shift-deletion-worklog
Save time of past shifts as worklog if they get deleted
Igor Scheller 4154e97f3f Deleted shift: Multiply with night shifts multiplier for worklog entry
Igor Scheller dd03662968 Rebuild password reset
Igor Scheller 85e4403392 Rooms: Save times as Worklog and notify on room deletion
Igor Scheller d71b27b78b Shifts: Save time as worklog if past shift gets deleted
Igor Scheller 27895f2639 Shift signup/signout: Be more verbose
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.
Igor Scheller 4e709d0d23 Log messages without inline HTML
msquare 4f1cef546e better nick validation, fixes
msquare 60ad343b22 fixes : Show not only next but also last shift in free angels view
Igor Scheller 012d5a4722 Don't strip characters from direct messages
Igor Scheller 0150aca6ad Order rooms in shift overview by name
closes  (Order of Rooms in overview)
msquare 794df6f99e fixes : users with only worklog and no shifts had 0 minutes on admin-active. query fixed
msquare db26412e6c fixes : fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive
Igor Scheller 689735ad51 Sort users on team page
Igor Scheller c676e73cf6 php7.3: Fix username validation regex
closes  (Login does not work ->Invalid range in character class)
Igor Scheller c33940f64a Moved permission checks to Authenticator class
Igor Scheller f845a5ab8b Added caching for templating and routing
See  (Implement caching)
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()`
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup
Igor Scheller d7aea575ff Replaced more sql queries and old data
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉
Igor Scheller 89e62c95a7 Changed more functions 🎉
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config
Igor Scheller 2a134e6c0b Config: Removed nightshifts query
Igor Scheller 0734807eef Merge remote-tracking branch 'MyIgel/logentry-model'
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations'
Igor Scheller ac48332166 Models: Added LogEntry model
Igor Scheller 5456fea503 $bugfixes
Igor Scheller 175c335810 Db::selectOne() should return null if result is empty
Igor Scheller d93ace2eae Prevent object serialization in session
Igor Scheller 864a086900 Prevent object serialization in session