Commit Graph

41 Commits

Author SHA1 Message Date
Robert
af7dac72f4 FORMAT: Run clang-format 10 on all C/CXX source-files 2020-09-11 18:29:33 +02:00
Robert Adam
0fcafd86e7 REFAC(deprecated): Use QFlag default constructor
Qt 5.15 has introduced a default constructor for a QFlag that will be
equivalent of setting it equal to a zero literal (setting it to no
flag).
2020-06-11 08:14:44 +02:00
Alex Scorer
da3f5f54e2 ACL:Add new permission for Reset Comment/Avatar in server & client
This commit introduces a new permission, ResetUserContent, to grant the ability to reset another user's comment or avatar.
It also includes a check in the ACL editor window. If the server version is less than 1.4.0 then don't show the new permission in the ACL checkbox list as the server won't respond to it.
On older servers the Move permission in the root channel was also used for allowing or denying comment and avatar changes.
2020-06-02 23:25:23 +01: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
Robert Adam
a961b0fcf8 src/ACL: Added explicit String-conversion that contains a summary of the ACL's essentials 2020-03-29 19:30:08 +02:00
Robert Adam
7f7cc6c553 ACL: Added isPassword() function and made use of it in ACLEditor 2020-02-28 18:41:00 +01: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
395c084b7a src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Benjamin Jemlich
2b9e094ab2 Allow using ChanACL::hasPermission without a cache 2012-01-08 12:59:47 +01:00
Benjamin Jemlich
07737a314c Fix include guards and PCH includes 2011-11-09 00:12:10 +01:00
DNW
a8975fe6bc Add Server::effectivePermissions() to ICE (https://sourceforge.net/tracker/?func=detail&aid=3389065&group_id=147372&atid=768008) 2011-10-01 18:37:48 +02:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Thorvald Natvig
7d8100275d Split ServerUser from Server.cpp 2010-01-28 12:34:38 +01:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
f62ae27f5a Make hardcoded ACL default be without selfregister, and make it a part of initial ACLs added to new servers 2009-08-15 02:54:43 +02:00
Thorvald Natvig
7a84624e3b Serverside SelfRegister 2009-08-06 21:19:11 +02:00
Thorvald Natvig
b11d633bab Clientside tempchannels 2009-07-15 18:00:00 +02:00
Thorvald Natvig
efbba85c60 Temprary channels protocol changes 2009-07-15 16:43:43 +02:00
Thorvald Natvig
866a66d339 ifdef out module-specific parts of shared code 2009-07-13 16:37:39 +02:00
Thorvald Natvig
b9b5cd537d s/AltSpeak/Whisper/ 2009-05-28 18:20:16 +02:00
Thorvald Natvig
51120fe838 s/Player/User/ 2009-05-02 17:52:14 +02:00
Thorvald Natvig
4f2bb59c2c Indent, changelog and submodule update 2009-04-29 18:47:09 +02:00
Thorvald Natvig
7925e61145 Support flag sets for permission 2009-04-29 16:38:34 +02:00
Thorvald Natvig
d6b878a82f Expand ACL permissions serverside 2009-04-29 15:15:07 +02:00
Thorvald Natvig
1718cde75e Make Mumble compile with protobuf. 2009-03-26 21:51:50 +01:00
Thorvald Natvig
e9b3fe8194 Clean up a few leftover code lines
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1487 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-30 01:08:33 +00:00
Thorvald Natvig
1f33cb821b Write/Admin -> Write ACL
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1381 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05 15:14:37 +00:00
Thorvald Natvig
ad2b8e2149 Update copyright for 2009
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1380 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05 15:12:48 +00:00
Thorvald Natvig
6a4e383333 Rename "Write" to "Write/Admin" in the UI so people stop thinking it's for message writing.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1376 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05 13:30:33 +00:00
Thorvald Natvig
dc7e438976 Update copyright for 2008
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@908 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-01-05 16:25:48 +00:00
Thorvald Natvig
57ad881dd9 Serverside text-to-channel support
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@766 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-09-26 13:28:07 +00:00
Thorvald Natvig
0ef9c34494 Per-server logging
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@672 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-01 21:21:01 +00:00
Thorvald Natvig
d13bb4642b server_id in ServerDB
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@666 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-31 20:53:02 +00:00
Thorvald Natvig
1b265ffa8c reindenting all the code
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@622 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-17 23:12:38 +00:00
Thorvald Natvig
9dafd3743f Update copyrights to 2007
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@474 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-06-12 15:58:16 +00:00
Thorvald Natvig
e81c522903 Refactoring
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@444 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-05-24 09:36:57 +00:00