summaryrefslogtreecommitdiffstats
path: root/modules-available/remoteaccess
Commit message (Collapse)AuthorAgeFilesLines
* Remove 32bit supportSimon Rettberg2023-11-151-3/+0Star
| | | | | | | int is always the native word size, and we don't really test anything on 32bit OSes anymore. 32bit support already required ugly workarounds in the past for large file sizes and ip2long, so we can finally get rid of those and just put an initial check in install.php.
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-144-7/+10
|
* [remoteaccess] Make sure we get the right client when updating pwSimon Rettberg2023-07-031-1/+4
| | | | | | | | | | | When a client sends its current VNC password, we look up the client's uuid via the remote IP address. This would return any random client that last had this IP address when it booted. This is mostly not a problem with clients that have a static assignment, but can easily go wrong with clients in dynamic pools, as it's likely we have a few entries with the same address in the DB. We now get the client that was seen active most recently, which–unless we have address collisions–should always be the proper one.
* [remoteaccess] Add list of active locations to overview pageSimon Rettberg2022-12-084-9/+82
| | | | References #3767
* [remoteaccess] Force SLX_AUTOLOGIN = OFF in remote access modeSimon Rettberg2022-10-021-0/+2
|
* [remoteaccess] Don't uncheck currently disabled locations in group editSimon Rettberg2022-07-252-3/+12
|
* Update translationsSimon Rettberg2022-07-112-2/+8
|
* [remoteaccess] Track unwakable machines, ignore restricted locationsSimon Rettberg2022-06-094-23/+59
| | | | | | | | - 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.
* [remoteaccess] Put restriction icon in separate columnSimon Rettberg2022-05-221-4/+4
|
* [remoteaccess] Mark locations that have access restrictions in placeSimon Rettberg2022-05-212-5/+22
|
* [locations/remoteaccess] Add option to veto remoteaccess modeSimon Rettberg2022-04-291-0/+9
| | | | | | | 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.
* Formatting/minor refactoringSimon Rettberg2022-04-191-24/+24
|
* 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] Add VNC port to client configSimon Rettberg2021-05-051-1/+2
|
* [remoteaccess] Make plugin version display prettierSimon Rettberg2021-04-151-2/+9
|
* [remoteaccess] Show plugin versionSimon Rettberg2021-03-226-0/+23
|
* [remoteaccess] Don't disable screen saver entirely but disable auto-lockSimon Rettberg2021-03-101-1/+5
| | | | | | This way after 30+ minutes we would still pop up the screen saver that would count down to the next logout/reboot/shutdown, so the user gets an idea that the session won't last forever.
* [remoteaccess] Allow changing client-side VNC portSimon Rettberg2021-03-057-14/+46
| | | | References #3823
* [remoteaccess/exams] Disable screen-saver timeout for these modesSimon Rettberg2020-09-231-0/+2
|
* [exams/runmode/remoteaccess] Tweak baseconfig hook (runmode/format)Simon Rettberg2020-09-171-15/+23
|
* [remoteaccess] Add english translationsSteffen Ritter2020-09-084-0/+36
|
* [remoteaccess] Fix: "active" flag was not honored in getconfig hookSimon Rettberg2020-07-221-1/+3
|
* [remoteaccess] Report this as dedicated runmodeSimon Rettberg2020-07-101-0/+1
|
* [remoteaccess] Fix/Improve WOL behaviorSimon Rettberg2020-06-292-8/+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-192-10/+3Star
|
* [remoteaccess] Add permissions, add "delete group" functionalitySimon Rettberg2020-05-187-30/+132
|
* [remoteaccess] Fix DB query to add rooms to groupsSteffen Ritter2020-05-181-1/+2
|
* [remoteaccess] New moduleSimon Rettberg2020-05-1513-0/+496