| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add tests using PHPUnit | Simon Rettberg | 2025-12-12 | 2 | -4/+11 |
| | | | | | | | | Tests generated by Junie AI. Might not have the best possible quality but at least we got something, and if it turns out to be complete rubbish, we can just throw it out again without any issues, as this is independent of the actual code base. | ||||
| * | Implicitly nullable types are deprecated in PHP 8.3, make explicit | Simon Rettberg | 2025-08-01 | 2 | -8/+8 |
| | | |||||
| * | [minilinux/rebootcontrol/statistics] Refactor to better suit audit logging | Simon Rettberg | 2025-07-24 | 1 | -1/+1 |
| | | |||||
| * | [rebootcontrol] Improve predefined exec template | Simon Rettberg | 2025-04-02 | 1 | -2/+2 |
| | | |||||
| * | [rebootcontrol] Add exec job to list dnbd3-proxy cache | Simon Rettberg | 2024-11-27 | 1 | -2/+23 |
| | | |||||
| * | [rebootcontrol/statistics] Add templates for useful remote exec commands | Simon Rettberg | 2024-09-20 | 2 | -2/+112 |
| | | |||||
| * | [rebootcontrol] Fix the "bogus" array to string warning | Simon Rettberg | 2024-03-04 | 1 | -4/+6 |
| | | | | | | | | After all it wasn't bogus, but caused by array_unique internally casting everything to string by default, which causes a warning for arrays. Thankfully we have an elephant for figuring out things like this. | ||||
| * | Add function param/return types, fix a lot more phpstorm complaints | Simon Rettberg | 2023-11-14 | 4 | -35/+35 |
| | | |||||
| * | [rebootcontrol] WOL from Server > WOL from other subnet's client | Simon Rettberg | 2022-12-05 | 1 | -2/+4 |
| | | |||||
| * | [rebootcontrol] Work around bogus warnings in older PHP versions | Simon Rettberg | 2022-09-12 | 1 | -1/+4 |
| | | |||||
| * | [rebootcontrol/main] Add subkey column to property_list table | Simon Rettberg | 2022-07-04 | 1 | -3/+3 |
| | | | | | | This makes it easier to reference to list entries that have non-trivial data values, e.g. long json data. | ||||
| * | [rebootcontrol] Fix permission check | Simon Rettberg | 2022-07-01 | 1 | -3/+3 |
| | | |||||
| * | [rebootcontrol] Pick better variable names | Simon Rettberg | 2022-05-30 | 1 | -22/+30 |
| | | |||||
| * | [rebootcontrol] Change WakeOnLan task call struct to new format | Simon Rettberg | 2022-05-24 | 1 | -6/+10 |
| | | |||||
| * | [rebootcontrol] Force type of ByRef param to array | Simon Rettberg | 2022-05-23 | 1 | -1/+1 |
| | | |||||
| * | Fix | Simon Rettberg | 2022-05-21 | 1 | -1/+1 |
| | | |||||
| * | [remoteaccess] Mark locations that have access restrictions in place | Simon Rettberg | 2022-05-21 | 1 | -4/+6 |
| | | |||||
| * | [rebootcontrol] Optional parameter should default to null | Simon Rettberg | 2022-05-13 | 1 | -2/+2 |
| | | | | | Otherwise, passing an undefined variable results in an error | ||||
| * | [rebootcontrol] Add types | Simon Rettberg | 2022-05-12 | 1 | -10/+10 |
| | | |||||
| * | [rebootcontrol] Show time of execution for WOL/reboot/shutdown | Simon Rettberg | 2022-05-02 | 1 | -0/+1 |
| | | |||||
| * | [locations/remoteaccess] Add option to veto remoteaccess mode | Simon Rettberg | 2022-04-29 | 2 | -49/+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. | ||||
| * | [rebootcontrol] Add option to override destination broadcast address | Simon Rettberg | 2022-03-23 | 1 | -3/+16 |
| | | |||||
| * | [rebootcontrol] Adapt do new WakeOnLan task | Simon Rettberg | 2022-03-09 | 1 | -198/+185![]() |
| | | |||||
| * | [eventlog] Add event filtering and notification system | Simon Rettberg | 2021-06-25 | 1 | -0/+37 |
| | | |||||
| * | Moderize Database handling | Simon Rettberg | 2021-05-11 | 3 | -7/+7 |
| | | | | | | | | * 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 | ||||
| * | [main+Session] Move session from /tmp/ to session table | Simon Rettberg | 2021-05-11 | 1 | -1/+0![]() |
| | | |||||
| * | [locations/rebootcontrol] Inherit openingtimes for WOL/shutdown | Simon Rettberg | 2021-03-19 | 1 | -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 event | Simon Rettberg | 2021-03-17 | 1 | -6/+10 |
| | | |||||
| * | [rebootcontrol] Simplify some logic, improve scheduler | Simon Rettberg | 2021-03-17 | 1 | -80/+68![]() |
| | | |||||
| * | [locations/rebootcontrol] Formatting | Simon Rettberg | 2021-03-17 | 1 | -30/+42 |
| | | |||||
| * | [rebootcontrol] Handle scheduler overlaps | Christian Hofmaier | 2021-03-16 | 1 | -39/+73 |
| | | | | | | - Overlaps < 5 min are ignored, < 15 triggers reboot - Database: Make 1 line out of 2 | ||||
| * | [rebootcontrol] calculate next execution time function | Christian Hofmaier | 2020-12-22 | 1 | -4/+31 |
| | | |||||
| * | [rebootcontrol] rename scheduler table and associated queries | Christian Hofmaier | 2020-12-08 | 1 | -12/+12 |
| | | |||||
| * | [locations] Add scheduler to openingtimes modal | Christian Hofmaier | 2020-12-03 | 1 | -0/+58 |
| | | | | | | - only load/safe without further functionality - add backend to rebootcontrol | ||||
| * | [rebootcontrol] WOL: Make UDP-Port and c2c discovery configurable | Simon Rettberg | 2020-09-03 | 1 | -0/+9 |
| | | | | | | | | | | The port setting only applies to WOL-packets sent from the satellite server. Testing the reachability of client subnets between each other is usually pointless, since a subnet that is reachable from another subnet can also be reached form the satelitte server, unless some fancy firewall rules are in place. | ||||
| * | [rebootcontrol] Cleanup, TODO | Simon Rettberg | 2020-05-15 | 1 | -37/+8![]() |
| | | |||||
| * | [rebootcontrol] wakeMachines(): Return machines that can't be reached | Simon Rettberg | 2020-04-16 | 1 | -1/+2 |
| | | | | | | | | | | | | A clumsy way to return a list of machines we can't wake, since their subnet is not reachable. This is required for the upcoming remoteaccess module, since it needs to know how many machines it could actually wake up. This needs some proper refactoring anyways, but we either need separate functions for building a wakeup plan and actually executing it, or change this method so it takes a binch of machines, but you can specify after how many machines it can actually reach, it should just stop and return. | ||||
| * | [rebootcontrol] Fix indirect subnet to subnet WOL | Simon Rettberg | 2020-03-27 | 1 | -3/+3 |
| | | | | | | | | | The query for getting clients that can reach a client in another subnet was broken in that it didn't check for actual reachability from src to dst. Then the wrong array key was accessed when trying to wake clients via this method. | ||||
| * | [rebootcontrol] Fix WOL within same subnet | Simon Rettberg | 2020-02-27 | 1 | -0/+2 |
| | | |||||
| * | [rebootcontrol] Fix WOL via jumphost (missing array index) | Simon Rettberg | 2020-01-24 | 1 | -1/+1 |
| | | | | | | Lookup of jumphost depends on the hostid of the jumphost in its according array. | ||||
| * | [rebootcontrol] Try harder to silence notice about ref passing | Simon Rettberg | 2020-01-24 | 1 | -2/+3 |
| | | | | | | Only variables should be passed by reference in .../rebootcontrol/inc/rebootcontrol.inc.php on line 295 | ||||
| * | [rebootcontrol] Don't pass string "false" to WOL task | Simon Rettberg | 2020-01-10 | 1 | -2/+2 |
| | | |||||
| * | [rebootcontrol] Only use Session to pass machine list to exec form | Simon Rettberg | 2019-12-11 | 1 | -1/+0![]() |
| | | |||||
| * | [statistics/rebootcontrol] Add remote exec UI | Simon Rettberg | 2019-12-10 | 3 | -30/+90 |
| | | |||||
| * | [statistics/rebootcontrol] Add WOL button to statistics module | Simon Rettberg | 2019-12-07 | 2 | -71/+393 |
| | | | | | | * Overhauled task display in rebootcontrol module * Can only add subnets by CIDR now instead of start and end | ||||
| * | [statistics/rebootcontrol] Implement editing subnet | Simon Rettberg | 2019-11-27 | 1 | -1/+5 |
| | | |||||
| * | [rebootcontrol] Start adding WOL functionality | Simon Rettberg | 2019-11-22 | 1 | -0/+64 |
| | | |||||
| * | [rebootcontrol] Fix NO_SUCH_INSTANCE handling | Simon Rettberg | 2018-04-25 | 1 | -1/+1 |
| | | |||||
| * | [rebootcontrol] Nicer status list; list of all running jobs | Simon Rettberg | 2018-04-25 | 2 | -7/+62 |
| | | |||||
| * | [rebootcontrol] Try clients first that are known to be online | Simon Rettberg | 2018-04-24 | 1 | -2/+2 |
| | | | | | | This prevents long delays if a large amount of clients is selected where the majority is offline. | ||||

