summaryrefslogtreecommitdiff
path: root/includes/model/Shifts_model.php
AgeCommit message (Collapse)Author
2019-12-12ShiftEntry query now returns the related user.name as well.cbluoss
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-08Merge pull request #685 from MyIgel/schedule-importmsquare
Rebuild Schedule import
2019-12-08Add timezone to shifts JSONIgor Scheller
Resolves #689 (Provide time zone offset via the shifts-json-export API)
2019-12-08Added Schedule parsing and replaced old Fahrplan importerIgor Scheller
Resolves #553 (Change Frab Import from xCal to XML) Resolves #538 (Feature Request: Multi Frab Import)
2019-09-18Rooms: Save times as Worklog and notify on room deletionIgor Scheller
2019-09-18Shifts: Save time as worklog if past shift gets deletedIgor Scheller
2019-06-04Add a config option for maximum signup in advanceMichiK
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.
2018-12-28Order rooms in shift overview by nameIgor Scheller
closes #551 (Order of Rooms in overview)
2018-12-02Moved permission checks to Authenticator classIgor Scheller
2018-10-31Replaced `Auth()` with `auth()`Igor Scheller
2018-10-31User: Bugfixes & code cleanupIgor Scheller
2018-10-31Replaced more sql queries and old dataIgor Scheller
2018-10-31Removed `User($id)` function :tada:Igor Scheller
2018-10-31Changed more functions :tada:Igor Scheller
2018-10-31Replaced some global `$user` variablesIgor Scheller
2018-09-15Merge remote-tracking branch 'MyIgel/translations'Igor Scheller
2018-08-29$bugfixesIgor Scheller
2018-08-29Db::selectOne() should return null if result is emptyIgor Scheller
2018-01-14models: return null on empty resultIgor Scheller
2018-01-14database: updated checks for selectOneIgor Scheller
2017-12-25Formatting & DocstringsBot
2017-12-25spelling fixesklemens
2017-12-23add show on dashboard flag for angeltypesmsquare
2017-12-20introduce new shift signup state for not arrived angelsmsquare
2017-12-19redo shift signoff and icons for delete/confirm/acknowledgment questionsmsquare
2017-12-14fix union queries for dashboard statsmsquare
2017-12-14fix dashboard using needed angeltypes from room config too for frab shiftsmsquare
2017-12-12finish basic public dashboardmsquare
2017-12-10move room db queries to modelmsquare
2017-11-24add shift calendar to angeltype viewmsquare
2017-09-25Merge branch 'noc0lour:fix_setup_bugs', closes #335Igor Scheller
2017-08-31Reimplementation of 2840bb619 (signup requires arrival), closes #330Igor Scheller
2017-08-30FormattingBot
2017-08-16add edited_at_timestamp to shift creation to fix mysql errorAndrej Rode
2017-07-28dried code by introducing selectOne for select queries with only one result ↵msquare
line expected
2017-07-28further switching to db exceptions instead of return falsemsquare
2017-07-28clear delete queries from false resulsmsquare
2017-07-23handle failed db queries in Db classmsquare
2017-07-19unarrived angels can enter a shift (has been disabled for 33c3)msquare
2017-03-03Some fixesIgor Scheller
2017-01-22Fixes and improvementsIgor Scheller
2017-01-22Removed spacesBot
2017-01-21Replaced " with 'Bot
2017-01-21Changed from mysqli to PDO, some refactorings, faster sql queriesIgor Scheller
2017-01-03Removed $angeltype from function Shift_signup_allowed_*Igor Scheller
2017-01-03Replaced " with 'Bot
2017-01-03PPHDoc, formatting, fixes, cleanupBot
2017-01-02FormattingBot
2017-01-02PSR-2 formattingBot
2016-12-29bring back filtering by occupancymsquare