summaryrefslogtreecommitdiffstats
path: root/modules-available/remoteaccess/inc/remoteaccess.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-1/+1
|
* [remoteaccess] Don't uncheck currently disabled locations in group editSimon Rettberg2022-07-251-1/+9
|
* [remoteaccess] Track unwakable machines, ignore restricted locationsSimon Rettberg2022-06-091-20/+41
| | | | | | | | - Locations that are set to "never" or "only outside business hours" will not be considered during WOL, and not delivered to the guacamole proxy. - If we cannot wake as much machines per remote group as configured, we'll display a little number next to the WOL count setting.
* Revert "[remoteaccess] Avoid waking too many machines"Simon Rettberg2022-06-011-39/+11Star
| | | | | | | This doesn't make any sense; we already account for this by looking at the woltime column. This reverts commit 0c561cd07c82d09ec5f6f1aa0a92ead403d0952b.
* [remoteaccess] Avoid waking too many machinesSimon Rettberg2022-05-311-11/+39
| | | | | | | | If a location is assigned to multiple groups, we potentially wake too many machines, as the number of clients that received a WOL in that location when processing group A is not accounted for when peocessing arrives at location B. Keep track of the number of WOLed machines per location to be able to avoid this situation.
* [remoteaccess] Include locationid in WOL task metadataSimon Rettberg2022-05-311-1/+1
| | | | | .... so the proper location information can be displayed on the WOL task status page.
* 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
* [remoteaccess] Show plugin versionSimon Rettberg2021-03-221-0/+2
|
* [remoteaccess] Allow changing client-side VNC portSimon Rettberg2021-03-051-0/+2
| | | | References #3823
* [remoteaccess] Fix/Improve WOL behaviorSimon Rettberg2020-06-291-5/+12
| | | | | | | | Enable rebootcontrol module in ensureMachinesRunning(), so it works from the call in api.inc.php. Consider machines that we sent a WOL packet to during the last 90 seconds as online when counting number of idle machines, so slow booting machines won't cause us to wake too many machines.
* [remoteaccess] Remove TODO and debug spamSimon Rettberg2020-05-191-4/+3Star
|
* [remoteaccess] New moduleSimon Rettberg2020-05-151-0/+78