Wykres commitów

66 Commity (master)

Autor SHA1 Wiadomość Data
Robert Adam da48cf431b
Merge PR #37: Update workflows 2024-01-07 19:35:56 +01:00
Robert Adam 670a8eefed Add ARM builds
Now that https://github.com/mumble-voip/mumble/pull/5960 has been
merged, building on ARM should no longer suffer from failing test cases
and thus the corresponding images can now be enabled here.

See also #3
2024-01-07 19:03:49 +01:00
Robert Adam 5d3a1ae8af Update reference GitHub actions 2024-01-07 19:00:59 +01:00
fgma f113629123
fix workaround for CentOS 7 (#30)
* fix workaround for CentOS 7

* fix qt libraries in all library folders
2023-01-05 14:16:11 +01:00
Robert Adam ae9ed3c956
Merge PR #29: feature: Allow loading config values from secrets 2022-12-31 18:34:14 +01:00
Maximilian Weiler ec398a3c50
docs: Add example for running with podman secrets
- Update README.md
2022-12-29 22:21:18 +01:00
Maximilian Weiler c0ac92af44
fix: Address code review comments
- Split comment in config file into two lines
- De-duplicate incovation for setting superuser password
2022-12-29 22:17:15 +01:00
Maximilian Weiler c8b2fb353c
feature: Allow loading config values from secrets
- Check /run/secrets/MUMBLE_CONFIG_* and handle their content
2022-12-04 21:40:37 +01:00
Robert Adam b354cddda9
Remove redundant config default 2022-09-16 10:04:30 +02:00
Robert Adam b0f19ab2c2
Merge PR #23: Don't set welcometext if welcometextfile is set
Fixes: #22
2022-09-16 10:00:39 +02:00
restitux 2fd60e3407 Don't set welcometext if welcometextfile is set 2022-09-15 15:06:35 -06:00
Robert Adam cd31ee523b
Merge PR #21: CI: Also build v1.4.287 2022-09-15 09:48:37 +02:00
Robert Adam cbc77bb4ce CI: Also build v1.4.287 2022-09-15 09:22:09 +02:00
Robert Adam f5117e74d1
Merge PR #20: Add compatbility support for old murmur.sqlite db
Problem:
Since mumble_server_config.ini is recreated every time, users of the old database filename murmur.sqlite will have their existing database ignored by the new default configuration setting.

Solution:
If the old murmur.sqlite database file exists in ${DATA_DIR}, use that as the database file.
This should cleanly support users of the old database.
2022-09-15 09:18:53 +02:00
restitux 711c0bbe9f Add compatbility support for old mumble.sqlite db 2022-09-14 14:13:59 -06:00
Robert Adam 141af419a6
Merge PR #19: Make Dockerfile compatible to latest upstream layout
With mumble-voip/mumble#5838 the file structure
of the upstream repo has changed slightly and most importantly the
location of the default server ini file has changed as well. Thus, we
now have to check multiple locations inside our Dockerfile in order to
make it work with the old and the new layout.
2022-09-12 15:05:29 +02:00
Robert Adam 10841a3686 Make Dockerfile compatible to latest upstream layout
With https://github.com/mumble-voip/mumble/pull/5838 the file structure
of the upstream repo has changed slightly and most importantly the
location of the default server ini file has changed as well. Thus, we
now have to check multiple locations inside our Dockerfile in order to
make it work with the old and the new layout.
2022-09-12 14:54:29 +02:00
Robert Adam 61aba4b1cd Name default DB mumble-server.sqlite 2022-09-11 10:04:07 +02:00
Robert Adam e8f58ba939
Merge PR #18: Include Mumble v1.4.274 in CI runs 2022-08-22 13:22:55 +02:00
Robert Adam 40adffd3ae Include Mumble v1.4.274 in CI runs 2022-08-22 13:11:04 +02:00
Robert Adam e2edd6c538
Merge PR #17: Don't log value of sensitive configs 2022-08-22 13:06:49 +02:00
Robert Adam 41e642eab3 Don't log value of sensitive configs
Fixes #15
2022-08-22 12:57:43 +02:00
Robert Adam 4d73da6902
Merge PR #14: Add toggle to allow "unknown" settings 2022-07-01 14:28:29 +02:00
Michel Pawlak a5dec0c874 update README.md 2022-07-01 10:11:48 +02:00
Michel Pawlak 305203fe85 update README.md 2022-07-01 10:10:30 +02:00
Michel Pawlak 6f40137ca8
Update README.md
Co-authored-by: Robert Adam <dev@robert-adam.de>
2022-07-01 10:08:17 +02:00
Michel Pawlak 84d73a7271
Replace Murmur with Mumble
Co-authored-by: Robert Adam <dev@robert-adam.de>
2022-07-01 10:02:07 +02:00
Michel Pawlak a13397cebb document MUMBLE_ACCEPT_UNKNOWN_SETTINGS environment variable 2022-06-30 21:14:46 +02:00
Michel Pawlak 3ee0ef3d63 fix indentation 2022-06-30 18:01:29 +02:00
Michel Pawlak 0d9bc1e0ea add option to accept unknown settings 2022-06-30 17:56:15 +02:00
azlux 6535e9dfc0
Merge pull request #11 from mumble-voip/Entrypoint-fix
Fixing readonly variable
2022-05-17 00:48:36 +02:00
Azlux e2c4855d2c Fixing readonly variable 2022-05-17 00:37:28 +02:00
Robert Adam 6a9d8f5cdb
Merge PR #6: Simplify entrypoint script a little bit 2022-05-16 15:00:30 +02:00
d3adb5 cf6a9fb4bf
refactor: use name normalizing function + sed for env vars
Add a function to "normalize" the name of config options that will be
used, while using sed instead of grep to both retrieve and manipulate
the names of environment variables that start with MUMBLE_CONFIG_.
2022-05-15 14:15:51 -03:00
d3adb5 3f908fd921
fix: remove underscores from cfg options in assoc array
Remove any possible underscores from the config options when creating
keys for the associative array used to look them up after capturing
environment variables.

This is a possible regression from fc0363a.
2022-05-15 10:43:12 -03:00
Robert Adam a0866ef90d
Merge PR #9: Update build-number reading 2022-05-11 08:09:45 +02:00
d3adb5 fc0363a448
refactor: use associative array for existing options
Use Bash's associative array for the existing configuration options and
for the translation of something like "DBUSER" to "dbUser", replacing
the for loop that existed before.
2022-05-10 21:48:48 -03:00
d3adb5 0f4fd08fe4
docs: restore a few comments removed in ec402cb
Restore a few of the comments removed in ec402cb.
2022-05-10 21:31:06 -03:00
d3adb5 8f23ab8913
refactor: populate existing_config_options with readarray
Populate the array that contains existing configuration options obtained
from the bare-bones configuration file using Bash's readarray builtin.
2022-05-10 20:29:49 -03:00
Thomas A 7585a42352 Update build-number reading
make build-number configurable with a build-argument
allow the build-number query to timeout
2022-05-10 19:35:15 +02:00
d3adb5 7f3c2c1996
refactor: eliminate shellcheck warnings & errors
Redirect multiple commands to the configuration file instead of making
multiple redirects, potentially limiting the number of times the file
needs to be opened for appending. (SC2129)

Use "${arr[*]}" not to mix array and string. (SC2145)
2022-05-08 22:40:44 -03:00
d3adb5 35cb859dc4
refactor: declare most relevant variables at the start
Declare the most relevant variables at the start of the script, so the
reader can be made aware of them more quickly.
2022-05-08 22:40:43 -03:00
d3adb5 ec402cb89b
refactor: remove comment clutter
Remove most comments and shorten some others. Focus should be on making
code clean and immediately readable instead of documented directly in
the script file.
2022-05-08 22:40:43 -03:00
d3adb5 9166af6125
refactor: shorten functions in entrypoint script
Shorten `array_contains` and `set_config` in a way that, in my opinion,
is still readable.
2022-05-08 22:10:42 -03:00
d3adb5 18649e6f87
refactor: inline a couple of if statements
Inline a couple of if statements for a shorter, even if not by much,
script.
2022-05-08 21:22:01 -03:00
d3adb5 c49e2c17fc
refactor: remove trailing whitespace
Remove trailing whitespace while there isn't much. This is discouraged,
since it can mess with git-blame information, but it irks me there is
trailing whitespace.

This commit might be dropped if requested during review. :(
2022-05-08 21:13:03 -03:00
d3adb5 4b57f8c040
refactor: use bash's extended test ([[]])
Replace the standard POSIX test command ([]) with Bash's builtin ([[]])
for consistency.

There was a single use of the double bracket syntax, but since the
script references Bash in its shebang, we might as well use it instead
of the POSIX one.
2022-05-08 21:07:09 -03:00
d3adb5 6b48b365d1
refactor: eliminate if by grep'ing for MUMBLE_CONFIG_
Use grep to fetch only environment variables that start with
`MUMBLE_CONFIG_`, rather than manually compare in an if statement,
getting rid of one level of indentation.
2022-05-08 20:53:47 -03:00
Robert Adam 54602c6fe9
Merge PR #5: CI: Add trigger for upstream releases 2022-05-07 21:04:13 +02:00
Robert Adam 674d8e887b CI: Add trigger for upstream releases 2022-05-07 20:52:20 +02:00