summaryrefslogtreecommitdiffstats
path: root/src/server/net/client.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [*] Better error handling and messagingHEADmasterSimon Rettberg2023-03-131-17/+29
| | | | | Server now properly sends a connection termination reason to the client, which will log it to the console, for better debugging.
* Add a few hacks to make it compile on Qt 5.12 againSimon Rettberg2022-10-311-1/+1
|
* Clean up and modernize codeSimon Rettberg2022-10-301-24/+28
| | | | | | | - static "new-style" signal->slot connections - Fix a lot of things Clang-Tidy complained about - Move includes to .cpp files and use forward decls in .h - Don't use <QtWidgets> and <QtCore>, but specific includes instead
* [server] Fix current VNC projection source check, fix button enableSimon Rettberg2018-08-021-1/+1
| | | | | | | | | * streaming from/to tutor was enabled even if selected client was offline * VNC client start command was swallowed even if no projection was running (just matched the last projection source) * Screen wasn't unlocked again when switching from LockedUnicast to Unicast
* Remove ugly comment separator lines above functionsSimon Rettberg2018-08-021-15/+1Star
|
* [server] Don't restart VNC viewer if target stays the sameSimon Rettberg2018-08-021-0/+2
|
* [SERVER] Fix locking when locked unicast is current modeSimon Rettberg2018-07-311-1/+2
| | | | Streaming source wasn't locked properly before
* [*] Convert old C-Style castsSimon Rettberg2018-07-261-1/+1
| | | | | Primitive types now use type(x) instead of (type)x, pointers should use appropriate long versions
* Update code style, fix compiler warningsSimon Rettberg2018-07-241-1/+1
| | | | | | - Use nullptr instead of NULL for better warnings in case of mistakes - Get rid of VLAs which are not in C++11 actually - Fix implicit signed <-> unsigned mismatches by adding checks and casts
* [server] Resize thumbs server side on mismatchSimon Rettberg2018-07-201-9/+8Star
| | | | | | | | | | The server requests the appropriate size thumbnail from the client so no bandwidth will be wasted. However, due to privacy concerns, the client might actually send a thumb that's smaller than requested, resulting in a tiny thumbnail on the server with huge gray borders. The server will now scale up the image in those cases. We'd actually also scale the image down now if it were too large, but this doesn't happen under normal circumstances.
* [server] Fix (=implement) tracking of client's projection sourceSimon Rettberg2018-07-121-1/+2
| | | | | | We never stored the current projection source id in the according field of class Client, breaking intended functionality when cancelling projection.
* [server] Add button to lock/unlock single clientSimon Rettberg2018-07-121-1/+4
|
* Fix SSL on Qt5Simon Rettberg2017-11-161-1/+1
|
* Increase compiler warnings, fix a lot of those instancesSimon Rettberg2016-11-151-3/+4
| | | | | | - Add explicit casts - Comment out unused params - Remove ignored const return types
* [server] Initialize _wantsAttention to false in client.cppSimon Rettberg2016-10-281-0/+1
|
* Implement "Attention" feature (virtual hand-raising)Simon Rettberg2016-10-191-5/+16
|
* refactoring.Christian Klinger2016-09-301-4/+4
|
* astyle.Christian Klinger2016-09-291-75/+41Star
|
* Implemented 'majority vote' to determine the toolbar options.Christian Klinger2016-09-271-8/+12
| | | | clients in exam-mode are also displayed differently.
* Fix infinite loop when receiving incomplete headersSimon Rettberg2016-09-091-2/+4
|
* Closes bug #2807. (And also cleans the code (a bit))Christian Klinger2016-05-191-1/+1
|
* refactor to use Room structChristian Klinger2016-04-271-1/+1
| | | | to save additional properties like gridSize and clientSize.
* [*] Use thumbnail on vnc viewer window until connection is upSimon Rettberg2016-02-081-3/+9
|
* [server] reset timeouts to normal intervalsJonathan Bauer2015-05-111-2/+2
|
* Reset debug timeouts, fix autoconnect, remove magic numbersManuel Schneider2014-11-281-1/+2
|
* Fix oneclick-source-change-lock-bugManuel Schneider2014-07-221-0/+1
|
* Correct indenting by tabsManuel Schneider2014-07-211-6/+6
|
* Rename modes. Move code in slots to avoid unnecessary branching. Give the ↵Manuel Schneider2014-07-211-4/+6
| | | | client more information about past progjectionSource
* Moved method isManagerMachine() from MainWindow to Client.Björn Hagemeister2014-06-171-1/+16
| | | | isManagerMachine() is now called just once directly in lockScreen().
* Increase timeout for debuggingManuel Schneider2014-05-281-2/+2
|
* Remove TODO. User get visual feedback via cam icon.Manuel Schneider2014-05-271-1/+0Star
|
* Add icon for locked screen. Add monochrome and stylized connectionframe icons.Manuel Schneider2014-05-271-1/+4
|
* Drop _isBroadcastSource. The client must not know anything about the management.Manuel Schneider2014-05-271-1/+0Star
|
* Change _currentProjectionSource before emit. Fixes Appearance bug.Manuel Schneider2014-05-271-2/+2
|
* Dont emit _currentProjectionSource in signal vncClientStateChange . (not used)Manuel Schneider2014-05-271-2/+2
|
* Drop unused _state. Introduce member _locked to avoid unnecessary messages.Manuel Schneider2014-05-271-1/+2
|
* Drop _activeVncClient. _currentProjectionSource holds this information.Manuel Schneider2014-05-271-4/+1Star
|
* Drop _desiredProjectionSource. Dont send a stopVncClient if it has not been ↵Manuel Schneider2014-05-271-14/+11Star
| | | | started before.
* Make tutor check implicit in lock screenManuel Schneider2014-05-261-0/+2
|
* Refactor ambigious projectionsSoure to BroadcastSourceManuel Schneider2014-05-221-1/+1
|
* Fix segfault. Drop nullpointer polls since SslSocket is now const. [id == ↵Manuel Schneider2014-05-221-24/+15Star
| | | | _VNCCLIENT] Logical reduction. Cleanup header.
* [Client] Make setTutor inline and drop the communication stuff since the ↵Manuel Schneider2014-05-211-10/+0Star
| | | | client does not handle it. Add a state stub t.b.c.
* Several changes:Manuel Schneider2014-05-211-34/+22Star
| | | | | | | | * [Client] Remove unneccessary members _ip, * [Client] Remove unneccessary class forward of QSslSocket * [Client] Make member initializer list of non-const members part of ctor * [Client] Make _socket pointer const member * [Client] Drop socket-delete indirektion
* Fix ip bugManuel Schneider2014-05-201-1/+1
|
* Make vnc credentials completely private to client. Make VNCConnect work ↵Manuel Schneider2014-05-201-10/+7Star
| | | | client-internally only. Drop Client::computerID() (equivalent to Client::ip() XD )
* Remvoe unneccesary membervariable _toClient and method buildErrorMessage ↵Manuel Schneider2014-05-201-45/+46
| | | | (implicit cast does it as well)
* Remove any knowledge of Networkmesage in MainwindowManuel Schneider2014-05-201-1/+24
|
* Configured not locking the screen, if manager and client working on same ↵Björn Hagemeister2014-05-121-1/+12
| | | | | | machine. Plus changing symbol for tutor2all button.
* Increased the timeout for debugging purposes; Instruct vncserver to trasmit justManuel Schneider2014-04-291-1/+1
| | | | the primary desktop; Thumbnails just display the primary dektop
* Thrown out redundant slots.Manuel Schneider2014-04-251-23/+9Star
|