summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/inc/scheduler.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-3/+1Star
|
* FixSimon Rettberg2022-05-211-1/+1
|
* [remoteaccess] Mark locations that have access restrictions in placeSimon Rettberg2022-05-211-4/+6
|
* [locations/remoteaccess] Add option to veto remoteaccess modeSimon Rettberg2022-04-291-48/+83
| | | | | | | Remoteaccess mode can now be forced to be disabled for individual locations in locations module, either unconditionally, or whenever the openingtimes schedule says the room is open. A reboot will be triggered whenever the room opens/closes to force clients into the proper runmode.
* Moderize Database handlingSimon Rettberg2021-05-111-2/+2
| | | | | | | * Auto-convert to utf8mb4_unicode_520_ci * Use foreach instead of while to loop over results * Drop useless statement caching * Keep emulated prepares, as we sometimes loop over nested queries
* [locations/rebootcontrol] Inherit openingtimes for WOL/shutdownSimon Rettberg2021-03-191-30/+202
| | | | | | | | | | The opening times schedule is now inherited to child locations, so it's easy to toggle WOL or shutdown for individual rooms in a building, where you only have to set the opening times once for the entire building. As of now, WOL and shutdown settings are *not* inherited to child locations, as I'm not sure if you always want to inherit those by default. Closes #3710
* [locations/rebootcontrol] Change ENUM constants; display next eventSimon Rettberg2021-03-171-6/+10
|
* [rebootcontrol] Simplify some logic, improve schedulerSimon Rettberg2021-03-171-80/+68Star
|
* [locations/rebootcontrol] FormattingSimon Rettberg2021-03-171-30/+42
|
* [rebootcontrol] Handle scheduler overlapsChristian Hofmaier2021-03-161-39/+73
| | | | | - Overlaps < 5 min are ignored, < 15 triggers reboot - Database: Make 1 line out of 2
* [rebootcontrol] calculate next execution time functionChristian Hofmaier2020-12-221-4/+31
|
* [rebootcontrol] rename scheduler table and associated queriesChristian Hofmaier2020-12-081-12/+12
|
* [locations] Add scheduler to openingtimes modalChristian Hofmaier2020-12-031-0/+58
- only load/safe without further functionality - add backend to rebootcontrol