| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [locations] Fix falsy checks | Simon Rettberg | 2025-12-03 | 1 | -6/+6 |
| | | | | | Thanks Junie AI | ||||
| * | [locations] Fix inverted logic bug | Simon Rettberg | 2025-07-24 | 1 | -1/+1 |
| | | |||||
| * | [locations] Location::getLocations(): Add "checked" string for convenience | Simon Rettberg | 2025-07-08 | 1 | -0/+2 |
| | | |||||
| * | [locations] Cleanup Location class | Simon Rettberg | 2025-07-07 | 5 | -203/+208 |
| | | | | | | | | | | | There was a mess of functions which mostly, but not quite, did the same things. Get rid of a couple of them and fix call sites to use alternative ones that also fit the job. While at it, add phpdoc and comments to the remaining functions, trying to clarify what they were designed for. Lastly, the return type of functions that retrieve a location id has been changed from false|int to ?int (nullable types are just nicer). | ||||
| * | [locations] Copy permissions to children when deleting location | Simon Rettberg | 2025-07-04 | 1 | -6/+21 |
| | | | | | | | When deleting a location without recusively deleting its children too, copy all the permissions assigned to the location in question to all its child locations. | ||||
| * | Add audit logging of POST actions | Simon Rettberg | 2025-05-22 | 3 | -15/+7![]() |
| | | |||||
| * | [locations] Better warning text when deleting a room | Simon Rettberg | 2025-04-23 | 4 | -11/+29 |
| | | | | | | | | Add extra warning text when deleting a room where the user doesn't have permission to add new rooms to the parent location. Also show the number of child locations next to the checkbox for deleting all child locations. | ||||
| * | [locations/statistics] More type safety, array key checks | Simon Rettberg | 2024-01-18 | 1 | -1/+1 |
| | | |||||
| * | [locations] Fix wrong variable type error | Simon Rettberg | 2023-12-04 | 1 | -4/+4 |
| | | |||||
| * | Fix more type errors, stricter typing | Simon Rettberg | 2023-11-15 | 1 | -8/+3![]() |
| | | |||||
| * | Add function param/return types, fix a lot more phpstorm complaints | Simon Rettberg | 2023-11-14 | 9 | -66/+66 |
| | | |||||
| * | Roundup of issues reported by PHPStorm | Simon Rettberg | 2023-11-02 | 3 | -10/+8![]() |
| | | | | | Mostly redundant checks, logic errors, dead code, etc. | ||||
| * | [locations] cleanup: Hide/disable move button if action not available | Simon Rettberg | 2023-05-12 | 3 | -7/+25 |
| | | | | | | | Hide the button entirely if there are no movable machines in the displayed list. Disable the button as long as the user selected at least one unmovable machine. | ||||
| * | [statistics] Per-location usage stats; include active lecture count | Simon Rettberg | 2022-12-02 | 1 | -1/+1 |
| | | |||||
| * | Update translations | Simon Rettberg | 2022-05-13 | 2 | -12/+14 |
| | | |||||
| * | [locations/news] Add per-location news/help/loginscreentext | Simon Rettberg | 2022-05-03 | 2 | -0/+7 |
| | | |||||
| * | [inc/Util] Add types, move error printing functions to their own class | Simon Rettberg | 2022-05-02 | 1 | -2/+2 |
| | | |||||
| * | [locations/remoteaccess] Add option to veto remoteaccess mode | Simon Rettberg | 2022-04-29 | 4 | -11/+74 |
| | | | | | | | | 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. | ||||
| * | [locations] Openingtimes: Disable inheritance when adding row | Simon Rettberg | 2022-04-28 | 1 | -0/+5 |
| | | |||||
| * | Formatting/minor refactoring | Simon Rettberg | 2022-04-19 | 1 | -1/+7 |
| | | |||||
| * | [locations/passthrough] Make location assignment recusive | Simon Rettberg | 2022-03-09 | 2 | -12/+16 |
| | | | | | | Properly show inherited passthough groups in location list, disable inherited passthrough groups in selection dialog. | ||||
| * | [locations] Modularize additional column handling | Simon Rettberg | 2022-03-09 | 4 | -218/+95![]() |
| | | | | | | Additional columns are now added through a hook, moving specialized code where it belongs. | ||||
| * | [locations/minilinux] Minor cleanups and fixes | Simon Rettberg | 2021-06-24 | 1 | -0/+1 |
| | | |||||
| * | Moderize Database handling | Simon Rettberg | 2021-05-11 | 7 | -12/+12 |
| | | | | | | | | * 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/shutdown | Simon Rettberg | 2021-03-19 | 6 | -40/+69 |
| | | | | | | | | | | | 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] Add permission for openingtimes | Simon Rettberg | 2021-03-17 | 3 | -1/+3 |
| | | |||||
| * | [locations/rebootcontrol] Change ENUM constants; display next event | Simon Rettberg | 2021-03-17 | 5 | -11/+29 |
| | | |||||
| * | [locations/rebootcontrol] Formatting | Simon Rettberg | 2021-03-17 | 1 | -9/+21 |
| | | |||||
| * | [rebootcontrol] Handle scheduler overlaps | Christian Hofmaier | 2021-03-16 | 2 | -25/+17![]() |
| | | | | | | - Overlaps < 5 min are ignored, < 15 triggers reboot - Database: Make 1 line out of 2 | ||||
| * | Update translations | Steffen Ritter | 2021-03-10 | 1 | -1/+1 |
| | | |||||
| * | [locations] Update translations | Simon Rettberg | 2021-03-10 | 3 | -1/+9 |
| | | |||||
| * | [locations] Fix duplicate class attribute | Simon Rettberg | 2020-12-16 | 1 | -1/+1 |
| | | |||||
| * | [locations] Fix adding expert rows; tweak WOL/SD style some more | Simon Rettberg | 2020-12-16 | 2 | -14/+22 |
| | | |||||
| * | [locations] openingtimes: fix switch to expert mode | Simon Rettberg | 2020-12-16 | 1 | -2/+2 |
| | | |||||
| * | [locations] Avoid potentially duplicate ids in ajax fragments | Simon Rettberg | 2020-12-16 | 5 | -92/+97 |
| | | |||||
| * | [rebootcontrol] rename scheduler table and associated queries | Christian Hofmaier | 2020-12-08 | 1 | -2/+2 |
| | | |||||
| * | [locations] Add scheduler to openingtimes modal | Christian Hofmaier | 2020-12-03 | 5 | -4/+95 |
| | | | | | | - only load/safe without further functionality - add backend to rebootcontrol | ||||
| * | [locations] install: Fix migration of openingtimes | Simon Rettberg | 2020-11-03 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin | Christian Hofmaier | 2020-10-13 | 1 | -1/+1 |
| |\ | | | | | | | merge branch 'master' | ||||
| | * | [locations] table-hover für Steffen | Simon Rettberg | 2020-09-23 | 1 | -1/+1 |
| | | | | | | | | | Closes #3676 | ||||
| * | | [locationinfo] add forward link to location module | Christian Hofmaier | 2020-10-13 | 1 | -1/+9 |
| |/ | | | | + delete some unused code | ||||
| * | [locations] install: Make openingtime migration a bit more robust | Simon Rettberg | 2020-09-11 | 1 | -13/+15 |
| | | | | | | | | This decouples column creation in location table from checking existence of the old column in locationinfo_locationconfig. In case import fails the first time, this will simply "resume" the update in case it is triggered a second time. | ||||
| * | [locations] Set proper update status when moving openingtime column | Simon Rettberg | 2020-09-11 | 1 | -0/+1 |
| | | |||||
| * | [locations] Migrate openingtimes from infoscreen to locations module | Christian Hofmaier | 2020-09-08 | 9 | -5/+605 |
| | | | | | | - move openingtimes from infoscreen db to locations db - read-only openingtimes in infoscreen | ||||
| * | [locations] Show colored bars for used/idle/offline in overview | Simon Rettberg | 2020-05-19 | 3 | -13/+22 |
| | | |||||
| * | [locations] Add missing array key | Simon Rettberg | 2020-04-21 | 1 | -1/+2 |
| | | |||||
| * | Update translations | Simon Rettberg | 2020-02-27 | 3 | -3/+2![]() |
| | | |||||
| * | [locations] Don't consider *false* a valid fixed location id | Simon Rettberg | 2020-01-17 | 1 | -0/+2 |
| | | |||||
| * | [locations] Fix $selected array breakage | Simon Rettberg | 2020-01-10 | 1 | -2/+8 |
| | | | | | | Fixes places like "edit exam" which wouldn't show already selected locations. | ||||
| * | Fix some typos (found by codespell) | Stefan Weil | 2019-12-14 | 1 | -1/+1 |
| | | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||

