Commit Graph

511 Commits

Author SHA1 Message Date
Davide Beatrici
2a37f18fd4 Remove AppVeyor configuration
We now have Azure Pipelines for Windows builds.
2019-01-16 03:12:58 +01:00
Davide Beatrici
0383deea4c Add Azure Pipelines for continuous integration (Windows)
Azure Pipelines offers many advantages over AppVeyor, with the biggest one being a maximum of 10 parallel builds for open-source projects, drastically reducing the builds completion time.

A pipeline takes about the same time to build on the two CI infrastructures, however the caching feature is currently only available on AppVeyor, meaning that on Azure Pipelines the compressed environment is downloaded for each build consuming about 10 minutes.

This means that we'll save at least 10 minutes per pipeline compared to AppVeyor once the feature is added to Azure Pipelines: https://github.com/Microsoft/azure-pipelines-tasks/issues/9190
2019-01-16 00:58:06 +01:00
MadMaurice
73a0b2f888 Make Rate limiter configurable.
This adds messagelimit and messageburst to the configuration file murmur.ini as
well as the ability to set these live.

Though adjusting these live is entirely possible, they only take effect for new connections.
2018-09-08 01:58:23 +02:00
Jan Klass
5c3c96e9f2 Add descriptive comment to release.pl 2018-07-03 22:51:31 +02:00
Jan Klass
38e8893e3d Fix incorrect status text in release.pl 2018-07-03 18:20:02 +02:00
Davide Beatrici
e399de758a
Merge PR #3194: Third-party license update 2018-07-02 20:51:31 +02:00
Davide Beatrici
7dce59a9c0 Travis CI: install "libjack-jackd2-dev" for Linux builds 2018-07-02 02:42:48 +02:00
Davide Beatrici
a092a444c5
Merge PR #3405: travis-ci: unlink Python 2 files on MacOS 2018-06-16 17:51:29 +02:00
Davide Beatrici
066383353d travis-ci: Fix MacOS build for new images
We install the protobuf package via brew, which depends on "python@2".
The build image upgraded the installed "python", and now "python@2" conflicts with it when trying to create symlinks.
We don’t use the symlinked "python" installed by default in the image, so we unlink it to allow the "python@2" package to be installed without conflict.
2018-06-15 19:35:18 +02:00
Stefan Hacker
9e0526c485 Introduce channelcountlimit to limit max channels per server
Having to many channels on a server can impact performance to the point
of making the instance unusably slow. This can be a problem for hosters
that allow their users unlimited channel creation.

This patch introduces a new per-server configuration parameter
channelcountlimit which can be used to configure a maximum number of
channels that may be created on each of the virtual servers. Once the
limit is reached channel creation will be rejected with permission
denied.

To allow a translated error message we have to bump the client version
to 1.3.1 to be able to use a fallback message for older clients.

As usual dbus, ice and grpc can ignore this limit. It is only enforced
against clients.
2018-06-14 00:50:50 +02:00
Mikkel Krautz
e25cc49750 scripts/mklic.pl, 3rdPartyLicenses: add libffi license. 2018-02-11 11:54:20 +01:00
Mikkel Krautz
8eb9dfdce9 scripts/mklic.pl, 3rdPartyLicenses: add libdaemon license. 2018-02-11 11:54:17 +01:00
Mikkel Krautz
185a0aa9f3 scripts/mklic.pl, 3rdPartyLicenses: add libcap2 license. 2018-02-11 11:54:15 +01:00
Mikkel Krautz
33a1a05b3e scripts/mklic.pl, 3rdPartyLicenses: add glib license. 2018-02-11 11:54:13 +01:00
Mikkel Krautz
c93692ca44 scripts/mklic.pl, 3rdPartyLicenses: add libfuse license. 2018-02-11 11:53:56 +01:00
Mikkel Krautz
4a83bb8aea scripts/mklic.pl, 3rdPartyLicenses: add squashfuse license. 2018-02-11 11:53:15 +01:00
Mikkel Krautz
c310c42de3 scripts/mklic.pl, 3rdPartyLicenses: add AppImage runtime license. 2018-02-11 11:50:46 +01:00
Mikkel Krautz
8407b49ea9 scripts/mklic.pl, 3rdPartyLicenses: add D-Bus license. 2018-02-11 11:50:44 +01:00
Mikkel Krautz
eae5e74bcc scripts/mklic.pl, 3rdPartyLicenses: add Avahi license. 2018-02-11 11:50:42 +01:00
Mikkel Krautz
2a2a0e04ae scripts/mklic.pl, 3rdPartyLicenses: add XAR license. 2018-02-11 11:50:40 +01:00
Mikkel Krautz
ec789c6c28 scripts/mklic.pl, 3rdPartyLicenses: add SQLite3 license. 2018-02-11 11:50:37 +01:00
Mikkel Krautz
0eb596a347 scripts/mklic.pl, 3rdPartyLicenses: add Qt license. 2018-02-11 11:50:35 +01:00
Mikkel Krautz
ced5a500a9 scripts/mklic.pl, 3rdPartyLicenses: add PCRE license. 2018-02-11 11:50:33 +01:00
Mikkel Krautz
9b1f221549 scripts/mklic.pl, 3rdPartyLicenses: add mDNSResponder license. 2018-02-11 11:50:31 +01:00
Mikkel Krautz
1d0e70091d scripts/mklic.pl, 3rdPartyLicenses: add mcpp license. 2018-02-11 11:50:29 +01:00
Mikkel Krautz
4f846c3b7e scripts/mklic.pl, 3rdPartyLicenses: add ZeroC Ice license. 2018-02-11 11:50:27 +01:00
Mikkel Krautz
ab20c90aa2 scripts/mklic.pl, 3rdPartyLicenses: add libjpeg-turbo license. 2018-02-11 11:50:25 +01:00
Mikkel Krautz
ae213d7619 scripts/mklic.pl, 3rdPartyLicenses: add libpng license. 2018-02-11 11:50:23 +01:00
Mikkel Krautz
51907d0f6e scripts/mklic.pl, 3rdPartyLicenses: add harfbuzz-ng license. 2018-02-11 11:50:16 +01:00
Mikkel Krautz
bbc0cb5cc9 scripts/mklic.pl, 3rdPartyLicenses: add freetype license. 2018-02-11 11:49:41 +01:00
Mikkel Krautz
f47335c135 scripts/mklic.pl, 3rdPartyLicenses: add BerkeleyDB license. 2018-02-11 11:49:00 +01:00
Mikkel Krautz
b07551de1e scripts/mklic.pl, 3rdPartyLicenses: add bzip2 license. 2018-02-11 11:22:52 +01:00
Mikkel Krautz
96cd9b9d04 scripts/mklic.pl, 3rdPartyLicenses: add Boost license. 2018-02-11 10:57:03 +01:00
Mikkel Krautz
a19b3887cb scripts/mklic.pl, 3rdPartyLicenses: add expat license. 2018-02-11 10:50:22 +01:00
Mikkel Krautz
44b1248b8e scripts/mklic.pl, 3rdPartyLicenses: add protobuf license. 2018-02-11 10:50:22 +01:00
Mikkel Krautz
717cefc7ba scripts/mklic.pl, 3rdPartyLicenses: add zlib license. 2018-02-11 10:50:22 +01:00
Mikkel Krautz
84e0f7d993 scripts/mklic.pl: add MariaDB Connector/C license.
This is shipped with all our official binary copies of Murmur
(except on macOS at the moment, but that's a historic accident...)
2018-02-11 10:50:22 +01:00
Mikkel Krautz
6fc31cb456 scripts/mklic.pl: Use MinHook license from 3rdparty/minhook-src.
Drop our own copy of the license, and use the one from the submodule.
That way, it's always up-to-date.
2018-02-11 10:50:22 +01:00
ronnystandtke
dfef2eb6d1
Update mumble.desktop
- removed redundant translations of the Name field
- added German translations for the GenericName and Comment fields
2018-02-10 17:07:00 +01:00
Mikkel Krautz
71ab5b0086
Merge PR #3313: scripts/travis-ci: bump apt timeout in before_install.bash. 2018-01-20 20:54:22 +01:00
Mikkel Krautz
6a1663a502 scripts/travis-ci: fix MUMBLE_NO_PCH checks in script.bash.
Change our checks for MUMBLE_NO_PCH to use string comparisons
instead of numerical comparisons.

When MUMBLE_NO_PCH is not set, the numerical equivalent check
fails because nothing is on the left-hand side of the -eq operator.

Fixes mumble-voip/mumble#3314
2018-01-20 15:35:30 +01:00
Mikkel Krautz
edd1de098a scripts/travis-ci: bump apt timeout in before_install.bash.
After switching to using a mirror of MXE on dl.mumble.info we've begun
running into timeouts from apt on Travis CI. For example:

	E: Failed to fetch https://dl.mumble.info/mirror/pkg.mxe.cc/repos/apt/debian/pool/main/m/mxe-x86-64-unknown-linux-gnu-cmake/mxe-x86-64-unknown-linux-gnu-cmake_3.5.2-20170208_amd64.deb  Operation too slow. Less than 10 bytes/sec transferred the last 10 seconds

The error is from cURL, and it means that the options CURLOPT_LOW_SPEED_LIMIT
and CURLOPT_LOW_SPEED_TIME are set quite low.
(See bb0ffcc36f/lib/speedcheck.c)

To fix this, we set the Acquire::http::Timeout option to 120 seconds.
This causes apt's https transport to set CURLOPT_LOW_SPEED_TIME to 120.
(See https://github.com/Debian/apt/blob/debian/wheezy/methods/https.cc#L224-L230)

Fixes mumble-voip/mumble#3312
2018-01-20 15:24:42 +01:00
Mikkel Krautz
8b1ef2ee95 scripts/travis-ci: use our own (Fastly-fronted) mirror of pkg.mxe.info. 2018-01-14 20:50:13 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Jan Klass
ed06886632 Fix travis OSX build
Using brew to install now fails because of an incompatible ruby version.

Update brew before installing a package to work around this.

https://github.com/travis-ci/travis-ci/issues/8552
2017-10-15 20:05:45 +02:00
Mikkel Krautz
1178f64509 scripts/murmur.ini: update default murmur.ini to reflect new FFDHE feature. 2017-08-06 22:11:01 +02:00
Mikkel Krautz
828d9301f5 Remove DIST directive from all .pro files.
We used to use DIST for referencing extra files that should be included
in our tarballs created by 'make dist'.

However, we've since migrated away relying on 'make dist' in release.pl.
Instead, we include everything, and have a list of items to exclude, such
as IETF RFC drafts distributed in 3rdparty/speex-src that do not adhere to
the Debian Free Software Guidelines.
2017-08-06 20:38:14 +02:00
Mikkel Krautz
36cb96062f Merge PR #3183: FFDHE: add new class for accessing RFC 7919 Diffie-Hellman parameters. 2017-07-29 00:30:08 +02:00
Mikkel Krautz
a590ad907d scripts: add generate-ffdhe.py for generating FFDHETable.h.
This commit adds a new script for generating PEM forms
of the Diffie-Hellman groups in RFC 7919.

RFC 7919 specifies a set of Diffie-Hellman groups that
can be negotiated by TLS 1.1 and 1.2 servers and clients
using the same mechanism that is used for named elliptic
curves in TLS.

Our TLS implementation doesn't support RFC 7919 at present,
but we can still use the groups defined in the RFC as good
reference Diffie-Hellman parameters for Murmur, since they
are audited and may be more resistant to attacks than ones
randomly generated.
2017-07-28 00:16:24 +02:00
Mikkel Krautz
f47562b6c2 scripts/murmur.ini: fix minor typo in gRPC comment.
grPC -> gRPC
2017-07-24 10:51:29 +02:00