Commit Graph

71 Commits

Author SHA1 Message Date
Robert Adam
863055bed1
FEAT(server, ice): Ability to broadcast welcome text
This allows server admins to explicitly trigger the broadcast of the
currently set welcome text to a given set of users.

By first setting a new welcome text and then broadcasting it to all
currently connected users, the old behavior of setting the welcome
message (changed in da26386827) can be
restored.

Fixes #4805
2021-03-02 19:53:51 +01:00
Robert Adam
59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00
Robert
af7dac72f4 FORMAT: Run clang-format 10 on all C/CXX source-files 2020-09-11 18:29:33 +02:00
Robert Adam
8aadee917d Feature: Channel Listeners
This implements #3319 by allowing users to "listen" to a channel they
have not joined. Doing so will place a "listener proxy" (in other
software this is sometimes known as a "phantom") in that channel which
will look like a normal user except that it'll have the same name as the
user listening to that channel and an ear-icon instead of the normal
avatar-icon. It will also always show a muted-icon next to it.

If a listener proxy is in a channel, the server will route all audio
packets from that channel to the user the proxy belongs to (as if that
user was in the channel). Note though that the opposite of this is not
true: The users in the channel will not hear audio from the listening
user unless that user decides to join the channel.

Furthermore it is possible to set a local volume adjustment for each
individual proxy that will be applied to all audio that is received
through it.
2020-04-16 09:29:49 +02:00
Davide Beatrici
4e67a2fafb Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
Davide Beatrici
15831dbca8 Add missing includes for "no-pch" build
This commit adds all the missing includes when the PCH header is not used.

Also, some includes are reordered and/or made consistent (e.g. "#include <QtEndian>" -> "#include <QtCore/QtEndian>").
2019-09-12 22:08:39 +02:00
Davide Beatrici
5a07244a44 Don't include PCH headers directly
According to Qt's documentation the PCH header doesn't need to be included.

From https://doc.qt.io/qt-5/qmake-precompiledheaders.html:

"To make your project use precompiled headers, you only need to define the PRECOMPILED_HEADER variable in your project file."

"qmake will handle the rest, to ensure the creation and use of the precompiled header file. You do not need to include the precompiled header file in HEADERS, as qmake will do this if the configuration supports precompiled headers."
2019-09-12 00:13:35 +02:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
cf6a5b7088 Hold write lock on qrwlVoiceThread when writing to bDeaf, bMute and bSuppress. 2016-06-24 00:03:12 +02:00
Mikkel Krautz
b1285fc5e3 Ensure all ACL write operations hold qrwlVoiceThread. 2016-06-24 00:03:12 +02:00
Mikkel Krautz
f260bd1913 Implement correct write locking for addChannel/removeChannel/link/unlink. 2016-06-24 00:03:11 +02:00
Mikkel Krautz
54c28d3ee1 src/murmur: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Mikkel Krautz
cd6b532cfd grpc: fix implicit QString conversions in setChannelStateGRPC. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
9128351b5c grpc: rename GRPC-specific Server::setChannelState method, and add docs. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
a02ef1b102 grpc: fix Server::sendTextMessageGRPC and Server::setChannelState to build in non-C++11 mode.
Before C++11, <:: is expanded as a trigraph in this context.
2016-05-08 16:45:52 +02:00
Mikkel Krautz
ee1988eb4b grpc: rename GRPC-specific Server::sendTextMessage to Server::sendTextMessageGRPC(), and add docs. 2016-05-08 16:45:52 +02:00
Tim Cooper
e35f427a4a grpc: move ChannelService_Update logic to RPC.cpp 2016-05-08 16:45:52 +02:00
Tim Cooper
7df16ed90a grpc: move TextMessageService_Send logic to RPC.cpp 2016-05-08 16:45:52 +02:00
Kissaki
9450d66941 Unify comment style.
* Adjust comments to unified JavaDoc-style comments
2013-07-13 18:45:09 +02:00
Kissaki
84be1eb162 Move method comments. Remove obsolete.
* Move method comments to the actual methods.
* Remove obsolete comment
that came in in aad4de178b
The signal/slot `activated` is no longer used since a long time ago.
2013-07-13 18:25:06 +02:00
Stefan Hacker
145d9f96f5 Introduce channel nesting limit (default=10).
Add NestingLimitException to Ice Interface and introduce a new NestingLimit PermissionDenied type.
Addresses #3566322 "ServerDB::deleteServer crashes master"
2012-09-18 17:50:07 +02:00
Benjamin Jemlich
0159d50baa Murmur: Allow temporary user name changes via Ice 2012-05-31 13:00:15 +02:00
Benjamin Jemlich
bb2ef526aa Windows build fixes 2011-11-11 18:56:14 +01:00
Benjamin Jemlich
07737a314c Fix include guards and PCH includes 2011-11-09 00:12:10 +01:00
Benjamin Jemlich
ab713e5304 Unbreak Ice authenticators 2011-11-05 19:25:30 +01:00
Benjamin Jemlich
089b23d977 Fix ghost disconnect removing permissions (#3423985)
Returning a list of groups using an authenticator added
temporary group membership for the user id only. Those are
removed when we're disconnecting an old user using the same
user id. Adding the session id to the group should fix the
problem.

This won't work if someone uses verifyPassword to set the
permissions (which is an undocumented implementation detail
anyway).
2011-10-23 09:30:02 +02:00
Otto Allmendinger
1d832d56ff Text Message Callback with Ice 2011-04-08 02:38:31 +02:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Stefan Hacker
65e4071055 Switch VAD default from SnR to Amplitude and adjust UI accordingly. Run audio wizard without asking first. Add update counter to config for future updates. Add abstraction for Version query/parsing. 2010-10-18 23:38:21 +02:00
Stefan Hacker
54f1a035cf Fix server compilation on Debian Lenny (Qt 4.4, Ice 3.2) 2010-06-18 02:08:57 +02:00
Stefan Hacker
02811bc285 Make sure temporary group memberships of a user are purged once he disconnects 2010-04-29 15:53:43 +02:00
Benjamin Jemlich
359d01c39d priority speaker - server side 2010-03-30 11:28:26 +02:00
Thorvald Natvig
ed8f3e2a3c Fix unlink over Ice 2010-02-26 13:15:26 +01:00
Thorvald Natvig
7d8100275d Split ServerUser from Server.cpp 2010-01-28 12:34:38 +01:00
Thorvald Natvig
d89423bf46 On-demand stuff for Ice 2010-01-17 04:59:14 +01:00
Thorvald Natvig
3a50ef5197 Clean up suppress state messages 2010-01-16 00:43:52 +01:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Benjamin Jemlich
1d07f8aa79 Store the comment in the user object if it's changed via RPC 2009-11-25 22:08:26 +01:00
Thorvald Natvig
da6e842050 Use service.name instead of :x.y in DBus calls 2009-09-30 18:28:28 +02:00
Thorvald Natvig
03516cc9ba Send full cert details to external authenticator 2009-09-18 19:12:21 +02:00
Thorvald Natvig
a73d60c554 Update includes in RPC so it works under feature-less compiles 2009-09-01 15:37:29 +02:00
Thorvald Natvig
ce3df76c85 Use enum for InfoMap 2009-08-15 21:17:17 +02:00
Stefan Hacker
d3c9806c49 Channel sorting. 2009-07-23 07:42:16 +02:00
Thorvald Natvig
fe479036ba Show suppress state in client 2009-07-21 15:19:57 +02:00
Thorvald Natvig
85c9c78006 Fix Ice callbacks and examples 2009-07-12 15:51:47 +02:00
Thorvald Natvig
51120fe838 s/Player/User/ 2009-05-02 17:52:14 +02:00
Thorvald Natvig
35ebe8f1c7 Indent, changelog and submodule update 2009-04-24 16:12:15 +02:00
Thorvald Natvig
031bf2bce5 Export channel description over Ice 2009-04-24 14:11:07 +02:00