summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up and modernize codeSimon Rettberg2022-10-301-120/+108Star
| | | | | | | - 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
* Modernize cmake file and project structure a bitSimon Rettberg2022-10-301-12/+11Star
|
* [server] Fix confirmation dialog when loading room layoutSimon Rettberg2019-07-221-4/+5
|
* [server] Fix adding/removing students to active projectionSimon Rettberg2018-11-151-9/+25
| | | | | | VNC server/client was not always properly started or stopped when adding/removing students to currently running projection with tutor as source.
* [server] Fix snap to grid for call with ignored frame paramSimon Rettberg2018-08-031-17/+2Star
|
* [server] Get rid of broken help window ui, generate programaticallySimon Rettberg2018-08-031-2/+1Star
|
* [server] Show drop position when moving frame aroundSimon Rettberg2018-08-021-7/+27
|
* [server] Fix client frame placement bugSimon Rettberg2018-08-021-1/+1
| | | | | Bug was introduced in commit:9ba63d1460 through missing parenthesis in macro.
* [server] Fix current VNC projection source check, fix button enableSimon Rettberg2018-08-021-6/+5Star
| | | | | | | | | * 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-33/+33
|
* [server] Don't restart VNC viewer if target stays the sameSimon Rettberg2018-08-021-8/+10
|
* [server] Improved disabling of toolbar buttons depending on contextSimon Rettberg2018-08-011-71/+54Star
| | | | | | | | | * Disable tutor to student / student to tutor if no tutor online * Disable above buttons if selected frame is tutor * Disable lock single client button if selected client is tutor ... And many more Closes #3399
* [server] Fix message box when deleting clientSimon Rettberg2018-08-011-3/+3
|
* [server] Allow setting offline client as tutorSimon Rettberg2018-08-011-4/+1Star
| | | | Closes #3397
* [server] Fix exit button confirmation MessageBoxSimon Rettberg2018-08-011-3/+5
| | | | | Just showing a single button called "Ok" is rather pointless... Closes #3398
* [server] Deduplicate code for student -> tutor streamingSimon Rettberg2018-08-011-53/+40Star
|
* [SERVER] Fix locking when locked unicast is current modeSimon Rettberg2018-07-311-5/+9
| | | | Streaming source wasn't locked properly before
* [*] Convert old C-Style castsSimon Rettberg2018-07-261-5/+5
| | | | | 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-67/+70
| | | | | | - 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-3/+0Star
| | | | | | | | | | 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: Checking for Ok on a Yes/No question ...Simon Rettberg2018-07-201-1/+1
|
* [server] Offer deleting temp. clients on session name changeSimon Rettberg2018-07-191-46/+34Star
| | | | | | | If the user changes the session name, we now ask whether to disconnect and delete all clients that just connected via session name and don't belong to the currently loaded room layout.
* [server] Don't do unnecessary lock resets on mode changeSimon Rettberg2018-07-181-20/+13Star
|
* [server] Minor cleanups (naming, checks)Simon Rettberg2018-07-131-26/+24Star
|
* [server] Unconditionally disable vnc server if no clients leftSimon Rettberg2018-07-121-2/+2
|
* [server] Add button to lock/unlock single clientSimon Rettberg2018-07-121-4/+33
|
* [server] Handle client disconnectsSteffen Ritter2018-06-121-10/+5Star
|
* port to qt5Jonathan Bauer2017-11-151-1/+1
| | | | | | | * got rid of the Win32/X11 differentiation * due to QT5, additional packages are needed to compile ** libqt5x11extras5-dev ** libqt5svg5-dev
* [server] Only block screen saver from running when first client connectsSimon Rettberg2017-03-201-1/+5
| | | | | | | The screen saver lock is recursive, so if we call it for every client that connects, but only unlock once when the last client disconnects, the screen saver will be blocked forever. Fixes #3083
* [server] Prevent screen standby while clients are connectedSimon Rettberg2017-03-061-13/+22
|
* Increase compiler warnings, fix a lot of those instancesSimon Rettberg2016-11-151-7/+7
| | | | | | - Add explicit casts - Comment out unused params - Remove ignored const return types
* [server] Rewrite positioning logic of connection framesSimon Rettberg2016-11-021-73/+89
| | | | | | | | | | This fixes sevceral bugs: * Frames moved into virtually expanded area (for keeping aspect ratio) could be out of bounds after a window resize before * Finding a free slot to place a frame was slightly sped up * Finding a free slot is not used when loading a room layout, as it was (still is) pretty sluggish for the user * Snap to grid worked incorrectly, did not pick closest grid position
* [server] Run "manager only" logic before creating main windowSimon Rettberg2016-11-021-147/+47Star
| | | | | | This prevents the window popping up for a split second when --manager-only is given and the machine it's running on is not configured as a manager.
* [client] Create config dir before trying to create vnc password file insideSimon Rettberg2016-10-241-1/+0Star
|
* Merge branch 'master' of openslx.org:pvs2Simon Rettberg2016-10-201-19/+0Star
|\
| * [server] Remove pointless code relying on defunct tutor ip listSimon Rettberg2016-10-181-19/+0Star
| |
* | Implement "Attention" feature (virtual hand-raising)Simon Rettberg2016-10-191-3/+7
|/
* [server] Don't ignore entire config if a single room doesn't have a mgrIP ↵Simon Rettberg2016-10-101-2/+1Star
| | | | assigned
* [server] Remove loadPosition() as it's pointless with per-room layoutsSimon Rettberg2016-10-101-44/+2Star
|
* refactoring.Christian Klinger2016-09-301-45/+27Star
|
* astyle.Christian Klinger2016-09-291-412/+374Star
|
* reduced noise in the output (old debug messages...)Christian Klinger2016-09-271-1/+0Star
|
* Implemented 'majority vote' to determine the toolbar options.Christian Klinger2016-09-271-20/+64
| | | | clients in exam-mode are also displayed differently.
* added the --config=FILE parameter and got rid of the SETTINGS macro.Christian Klinger2016-09-261-26/+26
|
* removed USER_SETTINGS etc.Christian Klinger2016-09-121-26/+6Star
| | | | | | (this also changes filename of the crt ans rsa files, but this shouldn't be a problem. (formerly the name of those files depended on the name and location of the ini-files)
* Added support for a label field inside each room section + UTF8Christian Klinger2016-09-121-4/+10
|
* small UI improvement.Christian Klinger2016-06-011-3/+0Star
|
* Added examMode to server (this also changes the style of the toolbar)Christian Klinger2016-05-301-0/+22
|
* may fix the unwanted window growth.Christian Klinger2016-05-231-12/+24
|
* move back connectionframes that went out of the window due to resizing.Christian Klinger2016-05-231-0/+10
|