summaryrefslogtreecommitdiffstats
path: root/src/main/java/de/bwlehrpool/bwlp_guac/AvailableClient.java
Commit message (Collapse)AuthorAgeFilesLines
* Honor VNC port in jsonv1.3.1v1.2.1Simon Rettberg2021-03-221-4/+11
|
* Update client locationid in AvailableClientSimon Rettberg2020-07-231-5/+5
|
* Sanity checks, thread safety, remove unused grouplist in AvailableClientSimon Rettberg2020-07-201-2/+0Star
|
* Remove pointless codeSimon Rettberg2020-07-201-4/+0Star
| | | | | No need to mark removed clients as OFFLINE. Timeout handling will work just fine either way.
* Refine timeout handling of dead/removed clientsSimon Rettberg2020-07-201-13/+36
| | | | | | | | | | | A client that was just claimed gets a one minute grace period before the "no active tunnel detection" can kick in. This prevents a race where the client gets claimed and then a json update is performed before the tunnel connection is established. Also the removal of clients that are missing from the remote meta data is hopefully more robust now, not removing a client as long as there is an active user and an open tunnel connection.
* Fix getUsername/getIdentifier in TunnelListener, make it thread safeSimon Rettberg2020-07-201-3/+5
|
* Fallback to getIdentifier() if credential's username is nullSimon Rettberg2020-06-261-2/+12
|
* LoginRPC: Fix endianness of version number; buffer messageSimon Rettberg2020-06-181-3/+2Star
|
* Apply socket timeouts for LoginRPCSimon Rettberg2020-06-181-1/+4
|
* Base64 encode LoginRPC dataSimon Rettberg2020-06-181-4/+4
|
* Change RPC portSimon Rettberg2020-06-181-1/+1
|
* Send resolution from the users browser to the server and try to autologin ↵Udo Walter2020-06-181-1/+27
| | | | the user on the client.
* Better debug spam for connection checksSimon Rettberg2020-05-191-5/+6
|
* Check if remote host actually repies with RFB handshakeSimon Rettberg2020-05-151-3/+8
|
* Fix bug where user could reconnect to an old connection.Udo Walter2020-05-141-0/+1
|
* Fix two ways a client could be listed as free but be not connectable.Udo Walter2020-05-141-3/+23
| | | | | | 1. User gets assigned a client but never connects to the vnc. Client is "in use" but ist actually idleing in the login screen. The client gets updated and the state set to IDLE but the inUseBy is not reset because the vnc password stays the same for some time. Clients in IDLE state with no user connected to the vnc tunnel now get reset to not in use. 2. If a client is missing from the JSON list and had IDLE as the last status it was still listed as IDLE until the timeout (5 minutes) where it is removed entirely. Missing clients waiting to timeout are now set to OFFLINE state.
* Add some debug logs. Rename the 'virtual' locations to groups.Udo Walter2020-05-131-7/+4Star
|
* Fix connecting to a new client after exiting a client. Add logo, favicon and ↵Udo Walter2020-05-091-2/+2
| | | | logout button.
* Add location selectionUdo Walter2020-05-071-0/+14
|
* Prevent user from sticking to connection if it was reset.Simon Rettberg2020-05-051-1/+14
| | | | | | Make a copy of the AvailableConnection for the ConnectionWrapper, so we don't update the password for the already active connection, if it changes, which defeats the purpose of this mechanism altogether.
* LoggingSimon Rettberg2020-04-301-1/+2
|
* First CommitSimon Rettberg2020-04-151-0/+157