summaryrefslogtreecommitdiffstats
path: root/modules-available/locations
Commit message (Collapse)AuthorAgeFilesLines
* [locations/statistics] More type safety, array key checksSimon Rettberg2024-01-181-1/+1
|
* [locations] Fix wrong variable type errorSimon Rettberg2023-12-041-4/+4
|
* Fix more type errors, stricter typingSimon Rettberg2023-11-151-8/+3Star
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-149-66/+66
|
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-023-10/+8Star
| | | | Mostly redundant checks, logic errors, dead code, etc.
* [locations] cleanup: Hide/disable move button if action not availableSimon Rettberg2023-05-123-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 countSimon Rettberg2022-12-021-1/+1
|
* Update translationsSimon Rettberg2022-05-132-12/+14
|
* [locations/news] Add per-location news/help/loginscreentextSimon Rettberg2022-05-032-0/+7
|
* [inc/Util] Add types, move error printing functions to their own classSimon Rettberg2022-05-021-2/+2
|
* [locations/remoteaccess] Add option to veto remoteaccess modeSimon Rettberg2022-04-294-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 rowSimon Rettberg2022-04-281-0/+5
|
* Formatting/minor refactoringSimon Rettberg2022-04-191-1/+7
|
* [locations/passthrough] Make location assignment recusiveSimon Rettberg2022-03-092-12/+16
| | | | | Properly show inherited passthough groups in location list, disable inherited passthrough groups in selection dialog.
* [locations] Modularize additional column handlingSimon Rettberg2022-03-094-218/+95Star
| | | | | Additional columns are now added through a hook, moving specialized code where it belongs.
* [locations/minilinux] Minor cleanups and fixesSimon Rettberg2021-06-241-0/+1
|
* Moderize Database handlingSimon Rettberg2021-05-117-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/shutdownSimon Rettberg2021-03-196-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 openingtimesSimon Rettberg2021-03-173-1/+3
|
* [locations/rebootcontrol] Change ENUM constants; display next eventSimon Rettberg2021-03-175-11/+29
|
* [locations/rebootcontrol] FormattingSimon Rettberg2021-03-171-9/+21
|
* [rebootcontrol] Handle scheduler overlapsChristian Hofmaier2021-03-162-25/+17Star
| | | | | - Overlaps < 5 min are ignored, < 15 triggers reboot - Database: Make 1 line out of 2
* Update translationsSteffen Ritter2021-03-101-1/+1
|
* [locations] Update translationsSimon Rettberg2021-03-103-1/+9
|
* [locations] Fix duplicate class attributeSimon Rettberg2020-12-161-1/+1
|
* [locations] Fix adding expert rows; tweak WOL/SD style some moreSimon Rettberg2020-12-162-14/+22
|
* [locations] openingtimes: fix switch to expert modeSimon Rettberg2020-12-161-2/+2
|
* [locations] Avoid potentially duplicate ids in ajax fragmentsSimon Rettberg2020-12-165-92/+97
|
* [rebootcontrol] rename scheduler table and associated queriesChristian Hofmaier2020-12-081-2/+2
|
* [locations] Add scheduler to openingtimes modalChristian Hofmaier2020-12-035-4/+95
| | | | | - only load/safe without further functionality - add backend to rebootcontrol
* [locations] install: Fix migration of openingtimesSimon Rettberg2020-11-031-1/+1
|
* Merge branch 'master' of git.openslx.org:openslx-ng/slx-adminChristian Hofmaier2020-10-131-1/+1
|\ | | | | | | merge branch 'master'
| * [locations] table-hover für SteffenSimon Rettberg2020-09-231-1/+1
| | | | | | | | Closes #3676
* | [locationinfo] add forward link to location moduleChristian Hofmaier2020-10-131-1/+9
|/ | | | + delete some unused code
* [locations] install: Make openingtime migration a bit more robustSimon Rettberg2020-09-111-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 columnSimon Rettberg2020-09-111-0/+1
|
* [locations] Migrate openingtimes from infoscreen to locations moduleChristian Hofmaier2020-09-089-5/+605
| | | | | - move openingtimes from infoscreen db to locations db - read-only openingtimes in infoscreen
* [locations] Show colored bars for used/idle/offline in overviewSimon Rettberg2020-05-193-13/+22
|
* [locations] Add missing array keySimon Rettberg2020-04-211-1/+2
|
* Update translationsSimon Rettberg2020-02-273-3/+2Star
|
* [locations] Don't consider *false* a valid fixed location idSimon Rettberg2020-01-171-0/+2
|
* [locations] Fix $selected array breakageSimon Rettberg2020-01-101-2/+8
| | | | | Fixes places like "edit exam" which wouldn't show already selected locations.
* Fix some typos (found by codespell)Stefan Weil2019-12-141-1/+1
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* [js_ip/locations] Mode cidr/ip handling to own moduleSimon Rettberg2019-11-273-74/+5Star
|
* [locations] Show number of machines with configvar overridesSimon Rettberg2019-11-064-5/+35
|
* [baseconfig] Overhaul hook systemSimon Rettberg2019-11-053-21/+34
| | | | | | This enables us to finally properly show the inheritance flow of all the config variables when editing the baseconfig for a certain location or machine.
* [statistics/baseconfig] Allow per-machine configvar overridesSimon Rettberg2019-10-313-20/+33
|
* [locations] Update translationsSimon Rettberg2019-10-312-2/+2
|
* [locations] trim() subnet address fields, both empty == deleteSimon Rettberg2019-09-092-21/+39
| | | | Closes #3550
* [locations] Remove list filtering depending on permissionsSimon Rettberg2019-08-011-24/+6Star
| | | | | | | | | Locations where the user isn't allowed to do anything were supposed to be hidden while at the same time making sure that any parent locations would still be shown. That code was buggy and could display nonsensical ordering of locations, and even sometimes hide locations where the user was actually allowed to e.g. edit the assigned config module. Since the location names aren't secret anyways, just get rid of this broken code.