Commit Graph

10201 Commits

Author SHA1 Message Date
Robert Adam
3f4b00a425 FEAT: Make channel listeners persistent on server
For registered users, the server will now remember their channel
listeners (and their volume adjustments) and will restore them once the
user rejoins this server.
2022-09-12 12:42:01 +02:00
Robert Adam
ac2e5bccb5
Merge PR #5874: CI(github-actions): Automatically publish to WinGet 2022-09-11 10:23:01 +02:00
Vedant
4551e98c85 CI(github-actions): Automatically publish to WinGet
This commit introduces an automatic approach that will publish the
Windows installers to the WinGet repository every time a release is
created on GitHub.

Fixes #5870
2022-09-11 09:19:32 +02:00
Robert Adam
98fb1cd8b4
Merge PR #5838: MAINT/BUILD: Clean up scripts directory 2022-09-10 19:00:09 +02:00
Robert Adam
b81b06001d MAINT: Rename Murmur.ice to MumbleServer.ice 2022-09-10 17:28:34 +02:00
Robert Adam
1852692490 BUILD(cmake): Also install Murmur.ice file 2022-09-10 17:28:34 +02:00
Robert Adam
33c39a6eb8 BUILD(cmake): Also install DBus config file 2022-09-10 17:28:34 +02:00
Robert Adam
384c55db62 MAINT: Also check install-path in mumble-overlay 2022-09-10 17:28:34 +02:00
Robert Adam
09a17879f8 BUILD(cmake): Use EXCLUDE_FROM_ALL for 3rdparty subdirs
This prevents adding all targets in said subdirectories to the ALL
target by default. Instead, only those targets that are explicitly
referenced (e.g. via target_link_libraries) are built.

This also has the side-effect that any install-directives in these
subdirectories are also ignored for the default install targets which
prevents these libraries of unconditionally installing themselves when
issuing a make install. Instead, we now have to make any 3rdparty
component that we do indeed want to install, do so explicitly (e.g. via
install_library()).
2022-09-10 17:28:34 +02:00
Robert Adam
b61091dbd7 BUILD(cmake): Configure overlay files only if client is built 2022-09-10 17:28:34 +02:00
Robert Adam
5fe1ae8d6b BUILD(cmake): Don't always recompile mumble_translations.qrc 2022-09-10 17:28:34 +02:00
Robert Adam
d47b4ea3ba CI(github-actions): Display install paths 2022-09-10 17:28:34 +02:00
Robert Adam
d2c7289592 BUILD(cmake): Install user-wrapper script and service file 2022-09-10 17:28:34 +02:00
Robert Adam
cd068fe3ee MAINT: Improve mumble-server.service
This essentially copied the file from
ba167269f8/trunk/murmur.service
and only adapted it in as far as that it uses the actual install paths.
2022-09-10 17:28:34 +02:00
Robert Adam
ef3ee9546a MAINT: Add systemd-sysusers config file 2022-09-10 17:28:34 +02:00
Robert Adam
671524715c BUILD(cmake): Added get_pkgconf_variable function 2022-09-10 17:28:34 +02:00
Robert Adam
7b6bb49271 MAINT: Delete mumble-server.logrotate.in
The logrotate script is not intended to be used on systems with systemd
support. However, we don't want to take on the burden of having to keep
around and maintain config files for non-systemd systems.
2022-09-10 17:28:34 +02:00
Robert Adam
b59a2b6774 BUILD: Use correct paths in mumble-server.service.in 2022-09-10 17:28:34 +02:00
Robert Adam
133119ec40 BUILD(cmake): Define MUMBLE_INSTALL_SYSCONFDIR 2022-09-10 17:28:34 +02:00
Robert Adam
703af920d8 BUILD(cmake): Always keep absolute install paths around
Previously we would define our install paths as relative paths when
using the packaging option and turning them into absolute paths
otherwise.

While relative paths are required for CPack to work properly, we use
the paths e.g. for passing them in via macros and there we absolutely
require the full, absolute paths to be passed.

Thus, this commit removed the discrepancy of the results when built with
packagin=ON vs packagin=OFF and now always defines the install paths as
relative paths. However, we now keep an additional set of paths around
that are now always absolute.
2022-09-10 17:28:34 +02:00
Robert Adam
077c58453b BUILD: Ensure aux files always use correct names
The auxiliary files will now make use of configure_file in order to
ensure that e.g. the binary names used in them always match the names of
the actually built binaries.
2022-09-10 17:28:34 +02:00
Robert Adam
8b54b6fd0c BUILD: Add delayed_configure_files.cmake 2022-09-10 17:28:34 +02:00
Robert Adam
bf2ee8578c FIX(server): Look for mumble-server* files
Previously the server was only looking for files named e.g. murmur.ini
or murmur.sqlite. With this commit, the server will now look first for
files called mumble_server.ini and mumble_server.sqlite before falling
back to the old names (for backwards compatibility).

This is meant as a means to drive forward the server renaming from
murmur(d) to mumble-server.
2022-09-10 17:28:34 +02:00
Robert Adam
406ce93b47 MAINT: Use separate directory for auxiliary files 2022-09-10 17:28:34 +02:00
Robert Adam
4b6aabe5ac BUILD(cmake): Consistently make use of ICE_FILE var 2022-09-10 17:28:34 +02:00
Robert Adam
af7b4d7d18 MAINT: Moved g15helper/ to helpers/ dir 2022-09-10 17:28:34 +02:00
Robert Adam
1670056362 MAINT: Delete example RPC scripts
Scripts like these should be maintained in
https://github.com/mumble-voip/mumble-scripts and not in the main repo.
Since these scripts have not been touched in ages, it is assumed that
they are mostly outdated anyway.
2022-09-10 17:28:34 +02:00
Robert Adam
f2399b05b9 MAINT: Delete murmur.init
This appears to be the attempt at a hand-crafted system to start, stop
and monitor a Mumble server. However, on modern systems this is taken
care of by systems like systemd, so we probably don't need this script
anymore.
2022-09-10 17:28:34 +02:00
Robert Adam
5d41669834 MAINT: Delete mumble.protocol
After researching on this, I can't find what this file is actually good
for. The apparent use of registering Mumble as a protocol handler for
mumble:// URLs seems to be superseded by our .desktop file, which seems
to be the more modern approach to this.
2022-09-10 17:28:34 +02:00
Robert Adam
6783a766ce TRANSLATION: Update translation files 2022-09-10 17:28:33 +02:00
Robert Adam
5873ba4fdd BUILD: Auto-generate licenses.h 2022-09-10 17:28:33 +02:00
Robert Adam
66c7ff6b4d MAINT: Replace mklic.pl with Python script 2022-09-10 17:28:32 +02:00
Robert Adam
fad11bc963 MAINT: Make sign_macOS.py executable 2022-09-10 17:10:14 +02:00
Robert Adam
17502ba03c MAINT: Delete rcc-depend.py 2022-09-10 17:10:14 +02:00
Robert Adam
a9b52a6ff4 MAINT: Delete release.pl 2022-09-10 17:10:14 +02:00
Robert Adam
48c8a7a375 MAINT: Delete transtate.py 2022-09-10 17:10:14 +02:00
Robert Adam
4d175635d4 MAINT: Delete mkini scripts 2022-09-10 17:10:14 +02:00
Robert Adam
0f5a5a6cb9 BUILD: Auto-generate flag QRC file 2022-09-10 17:10:14 +02:00
Robert Adam
4a18246158 MAINT: Update mkflags.py 2022-09-10 17:10:14 +02:00
Robert Adam
51b0a26799 MAINT: Deleted git2cl.pl 2022-09-10 17:10:14 +02:00
Robert Adam
6b65b11178 MAINT: Delete generate-qrc.py
This script seems to not be used in recent time.
2022-09-10 17:10:14 +02:00
Robert Adam
42e6377c25 MAINT: Update generate-mumble_qt-qrc.py
Adapted script to work with Python3 and to use proper argument parsing
2022-09-10 17:10:14 +02:00
Robert Adam
9eb33c6f58 BUILD: Auto-generate MurmurIceWrapper.cpp 2022-09-10 17:10:14 +02:00
Robert Adam
32d4ead80a BUILD: Produce more meaningful build output 2022-09-10 17:10:14 +02:00
Robert Adam
067f7e866e BUILD: Auto-generate FFDHETable.h 2022-09-10 17:10:14 +02:00
Robert Adam
c2ff587173 MAINT: Update generate-ffdhe.py
Updates the script to use proper argument parsing and to using Python3
2022-09-10 17:10:14 +02:00
Robert Adam
6716bdf526 BUILD(client): Auto-generate ApplicationPalette.h
Instead of having this file be part of the regular source tree, we now
generate it on-the-fly instead.
2022-09-10 17:10:14 +02:00
Robert Adam
90a21f4fba MAINT: Use arg parsing in ApplicationPalette generation script 2022-09-10 17:10:14 +02:00
Robert Adam
9f184fe6d6 FORMAT: Don't clang-format ApplicationPaletteTemplate.h
Applying clang-format to this source file actually invalidates the
file's syntax rendering it un-parseable by the
generate-ApplicationPalette-class.py script.
2022-09-10 17:10:14 +02:00
Robert Adam
04e3d4c635 MAINT: Update extract-emojione-flags.py
The script now uses proper Python3
2022-09-10 17:10:14 +02:00