Igor Scheller
96f703bf22
Migrate NeededAngelType model
2023-01-22 18:43:09 +01:00
Igor Scheller
89dc85c3d5
Add ShiftEntry model
2023-01-18 13:02:11 +01:00
Igor Scheller
3115870ec4
Added Shift model
2023-01-03 22:19:03 +01:00
Igor Scheller
7f78f59840
Added UserAngelType model
2022-12-13 22:46:16 +01:00
Igor Scheller
6686d58c06
Implemented AngelTypes model
2022-12-08 18:35:22 +01:00
Igor Scheller
992e708276
Replaced ShiftTypes with shift_types / ShiftType model
2022-11-27 14:17:02 +01:00
Michael Weimann
f7d499b362
Include phpcs for /includes
2022-10-18 19:15:22 +02:00
Igor Scheller
7cd4befdfa
Refactored shift entry deletion: Use event for notification and worklog creation
2022-10-14 16:27:51 +02:00
Igor Scheller
5e81b8d2af
Cleanup: Simplification and removed dead code and duplicated/outdated declarations
2022-06-17 21:08:53 +02:00
Bot
3ebea2ae15
Replaced DB with Db
2022-06-17 20:57:52 +02:00
Igor Scheller
bb49b308fb
Generate UUID as shifts transaction id and fixed translation
2022-06-12 17:02:19 +02:00
Igor Scheller
7c448e6064
Use locking for shift transacton id generation
2022-06-12 17:02:19 +02:00
Igor Scheller
96277dcfc4
Added transaction id to shifts for bulk deletion
2022-06-12 17:02:17 +02:00
Igor Scheller
643c4c8da7
Upgraded composer packages, fixed class naming and return types
2021-12-29 11:00:02 +01:00
Igor Scheller
38dda01330
Use RFC3339 strings to represent start and end times for shifts json start/stop, fixed ical timezone output
2021-12-09 20:14:07 +01:00
xuwhite
a1f5454bf5
Optional description for shifts
2021-11-27 11:34:20 +01:00
Tim Neumann
5667fc2326
Allow specifying the deadline for signup in terms of shift length
...
Allow finer control over the specification of the
time after shift start where signup is still allowed.
The new config field is multiplied by the shift duration,
and the result added to the start time to determine the
time when signup is closed.
The existing signup_post_minutes is just added to the time
calculated by this new feature.
The feature is useful when the signup should be allowed
not just a few minutes after shift start but for a larger part
of the shift (like for half of the shift).
With the previous option it would not make sense to allow a late signup
longer than the shortest shift of the event.
This is a follow-up to a50dd9cae0
2021-10-08 17:38:28 +02:00
Igor Scheller
2745b04dc2
Added filter to dashboard
2020-12-20 17:15:24 +01:00
Igor Scheller
acf84f222d
Added Room model
2020-09-24 09:34:00 +02:00
Tim Neumann
a50dd9cae0
Add option for minutes after shift start where signup is allowed
2020-09-02 13:12:16 +02:00
Igor Scheller
390db395a6
File formatting fixes
2020-06-28 19:39:29 +02:00
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)
2019-12-12 18:48:22 +01:00
msquare
a3a938a121
Merge pull request #685 from MyIgel/schedule-import
...
Rebuild Schedule import
2019-12-08 11:48:58 +01:00
Igor Scheller
b540ac9385
Add timezone to shifts JSON
...
Resolves #689 (Provide time zone offset via the shifts-json-export API)
2019-12-08 11:38:20 +01:00
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)
2019-12-08 02:20:48 +01:00
Igor Scheller
85e4403392
Rooms: Save times as Worklog and notify on room deletion
2019-09-18 04:27:59 +02:00
Igor Scheller
d71b27b78b
Shifts: Save time as worklog if past shift gets deleted
2019-09-18 04:27:56 +02:00
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.
2019-06-04 21:24:59 +02:00
Igor Scheller
0150aca6ad
Order rooms in shift overview by name
...
closes #551 (Order of Rooms in overview)
2018-12-28 15:36:45 +01:00
Igor Scheller
c33940f64a
Moved permission checks to Authenticator class
2018-12-02 12:53:31 +01:00
Igor Scheller
88f3bafa5e
Replaced `Auth()` with `auth()`
2018-10-31 13:43:23 +01:00
Igor Scheller
a2aaba9cab
User: Bugfixes & code cleanup
2018-10-31 13:43:23 +01:00
Igor Scheller
d7aea575ff
Replaced more sql queries and old data
2018-10-31 13:43:23 +01:00
Igor Scheller
7c6afc2bfe
Removed `User($id)` function 🎉
2018-10-31 13:43:23 +01:00
Igor Scheller
89e62c95a7
Changed more functions 🎉
2018-10-31 13:43:23 +01:00
Igor Scheller
2dcb7cc2de
Replaced some global `$user` variables
2018-10-31 13:43:23 +01:00
Igor Scheller
d0abc27c07
Merge remote-tracking branch 'MyIgel/translations'
2018-09-15 14:58:31 +02:00
Igor Scheller
5456fea503
$bugfixes
2018-08-29 23:46:32 +02:00
Igor Scheller
175c335810
Db::selectOne() should return null if result is empty
2018-08-29 18:11:35 +02:00
Igor Scheller
0d154365a2
models: return null on empty result
2018-01-14 23:07:34 +01:00
Igor Scheller
fe58e4f422
database: updated checks for selectOne
2018-01-14 17:47:26 +01:00
Bot
952c7892f3
Formatting & Docstrings
2017-12-25 23:51:15 +01:00
klemens
a6cf4c9ce9
spelling fixes
2017-12-25 21:29:00 +01:00
msquare
fbbea4eb5f
add show on dashboard flag for angeltypes
2017-12-23 11:59:13 +01:00
msquare
2c04e35bed
introduce new shift signup state for not arrived angels
2017-12-20 23:05:46 +01:00
msquare
fd85034e7f
redo shift signoff and icons for delete/confirm/acknowledgment questions
2017-12-19 20:58:01 +01:00
msquare
20f4d44cbf
fix union queries for dashboard stats
2017-12-14 19:39:52 +01:00
msquare
35be25a786
fix dashboard using needed angeltypes from room config too for frab shifts
2017-12-14 19:19:04 +01:00
msquare
ff94df53d6
finish basic public dashboard
2017-12-12 21:57:57 +01:00
msquare
afb77d22ba
move room db queries to model
2017-12-10 18:56:40 +01:00