Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-16FORMAT: Run clang-format 10 on all source filesRobert Adam
2021-04-09MAINT: Update copyright notice to 2021 (Part II)Robert
Apparently the first commit (59ae429972c16c377135bcccfee646b7df446933) did not include all files. Furthermore the used script tended to produce funny results in certain cases. This has been fixed and as a result thereof a few more changes were made in this second run.
2021-03-06REFAC(client): Remove global "g" macroRobert Adam
Defining a macro (global namespace) named "g" as a shortcut for accessing the Global struct never was a good idea. In order to avoid the problems this created (you must never name a variable "g" or include Global.h before a header that may have such a variable), the macro was removed and was instead replaced with a static function Global::get() that returns a reference to the Global struct. Just as with the old g macro, the existence of the respective pointer is not explicitly checked before dereferencing. It is assumed that everywhere where it is used, the Global struct has already been created.
2021-03-02MAINT: Update copyright notice to 2021Robert Adam
This was done by running scripts/updateLicenseHeaders.py and then manually editing the LICENSE file.
2020-09-11FORMAT: Run clang-format 10 on all C/CXX source-filesRobert
2020-06-27REFAC(client): replace NULL and Q_NULLPTR with nullptrPopkornium18
This changes all occurances of NULL and Q_NULLPTR in the mumble source dir to nullptr. Additionally comparisons with NULL were changed to `if (pointer)` if it would not be confusing. (e.g. booleans as parameters ` setEnabled(pointer != nullptr)`)
2020-06-03Merge pull request #4196: Add permission for Reset Comment/AvatarRobert Adam
Currently if a user has a "move" permission, they can also reset the comment or avatar of another user as describe in issue #1016. I stumbled into this by accident when I gave a user the move permission to help get new users into the right channels with their friends. After reviewing the content found in PR #1223 which introduced the reset avatar feature, I found the code that allowed a user to do these resets and changed the required permission from Move to RegisterUser as suggested by @bontibon in the issue thread. As they state, this permission makes more sense than the move permission. After compiling I found no issues and the changes worked as expected. The one caveat is that if the server has these changes implemented and not the client, (seems daft but this is preferable for me so I don't have to ask my users to change anything) it makes the permissions required to do the reset be move AND registeruser. The client will expect the user to have Move permission and the server will expect the RegisterUser permission, hence then requiring both. Fixes #1016
2020-06-03ACL:Add new permission for Reset Comment/Avatar in server & clientAlex Scorer
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-05-28Accessibility: Added accessibility text to dialogsEthin Probst
Qt5 provides different ways of improving the accessibility of the application. One of these are accessibility names. This basically assigns a given UI element a name that can be used by e.g. a screen reader. This commit adds lots of these names to almost all dialogs.
2020-04-16Feature: Channel ListenersRobert Adam
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-02-28ACL: Added isPassword() function and made use of it in ACLEditorRobert Adam
2020-01-07Auto-update LICENSE.header in source filesDavide Beatrici
2019-09-12Add missing includes for "no-pch" buildDavide Beatrici
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-12Don't include PCH headers directlyDavide Beatrici
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-07-31ACLEditor.cpp: replace deprecated QList::swap() overload with ↵Davide Beatrici
QList::swapItemsAt() https://github.com/qt/qtbase/commit/7f4d0405b409b1d3aa9d91e31972669576ec698c
2019-07-31Replace deprecated <QtAlgorithms> functionsDavide Beatrici
https://github.com/qt/qtbase/commit/5957f245c6c77c98d7e90d614c9fe2cdbfe7e8e6
2019-03-05Include "Global.h" after "Mumble.pb.h", to avoid a redefinition issue with ↵Davide Beatrici
protobuf 3.7 In protobuf 3.7 'g' is used as argument name, which conflicts with our global struct: google/protobuf/stubs/strutil.h:720:47: error: 'g_global_struct' declared as a pointer to a reference of type 'const google::protobuf::strings::AlphaNum &' const AlphaNum& g); ^ ./Global.h:131:12: note: expanded from macro 'g' ^ The solution consists in including "Global.h" after any headers that include "Mumble.pb.h" (which in turn includes protobuf's headers). "Mumble.pb.h" is generated by protobuf.
2019-01-25Auto-update LICENSE.header in source filesDavide Beatrici
2018-06-18Fix #3411: Threaded access to DatabaseJan Klass
Qt5 documents that QSqlDatabase must not be called from varying threads. An instance must be limited to its thread. In Mumble the Database class handles database access. Up to now it contained static methods and always used the global default database instance. We instantiate the default database connection into the Global context. It is mostly used from the main event loop, but also from a thread in ServerHandler. This is broken as per specification, and Qt 5.11 seems to finally enforce that. To resolve this issue, we promote Database to an instantiable class, use the created Global context class instance from the event loop, and a distinct Database instance (and connection) from the ServerHandler instance (and thread).
2018-01-02Auto-update LICENSE.header in source files.Mikkel Krautz
2017-01-08Update tree copyrights to 2017.Mikkel Krautz
2016-05-10src/mumble: update to use LICENSE.header.Mikkel Krautz
2015-11-22Allow creating channel with a set maximum number of usersTim Cooper
Fixes mumble-voip/mumble#1913
2015-11-22Add per-channel user limitTim Cooper
2015-10-28Fix various shadow warnings in mumble by renamingStefan Hacker
2013-10-15Show channelid to ACLEditorNatenom
2011-11-22Split AudioOutput.h/cppBenjamin Jemlich
2011-11-09Fix include guards and PCH includesBenjamin Jemlich
2011-06-09Prevent user from accepting the channel add/edit dialog when channel names ↵Stefan Hacker
are empty. Implements patch #3289052 in a leaner way
2011-03-18Update copyright year ranges of dev team.Thorvald Natvig
2011-01-23Indent, changelog, submodule and language update1.2.3-rc2Thorvald Natvig
2011-01-22Style fixes in ACLEditor.cppBenjamin Jemlich
Removed some useless casts to int and changed some variable names to their unabbreviated form.
2011-01-22Iterator oddness in ACL EditorThorvald Natvig
2010-10-02Indent, changelog, submodule and language updateThorvald Natvig
2010-10-02Prevent GUI password editor from leaking token ACLs into inherited channels.Stefan Hacker
Backwards compatibility note: Older clients will not detect ACLs set by newer clients as passwords.
2010-03-13Indent, changelog, submodule and language updateThorvald Natvig
2010-03-12Handle mixed case groups in group editorThorvald Natvig
2010-03-09Fix inherit/inheritable for groups in editorThorvald Natvig
2010-02-03Precache texture/comment when sending to serverThorvald Natvig
2010-01-30Special case for Speak right in the ACLEditors indicate scope for WriteACL ↵Stefan Hacker
functionality
2010-01-30Do not hide group/acl tabs from non-experts and visualize that WriteACL ↵Stefan Hacker
grants all rights by graying out the others if it is set.
2010-01-11Move assembly of some protobuf messages to ServerHandlerBenjamin Jemlich
2010-01-05Update license to 2010Thorvald Natvig
2009-10-09Merge expert config and advanced acl optionsThorvald Natvig
2009-09-27Fix CustomElements.h/cpp license headers and update some others.Stefan Hacker
2009-09-24Rich Text EditorThorvald Natvig
2009-09-16Fix display of default permissions when not inheriting ACLsThorvald Natvig
2009-09-02Indent, changelog and submodule updateThorvald Natvig
2009-08-31Add Channel position QSpinBox to advanced ACL editor.Stefan Hacker
2009-08-31Add group "Add" button to ACL dialog.Stefan Hacker