Commit graph

333 commits

Author SHA1 Message Date
Derrick
1f1afaa42f Update LICENSE for 2020. 2020-04-14 23:35:37 -07:00
Davide Beatrici
cf3885170e
Merge PR #65: Tell servers to Stop when shutting down. 2020-04-13 01:17:05 +02:00
Derrick
68453fa6d6 Tell servers to Stop when shutting down.
Run Stop() on all the server when a SIGINT or SIGTERM is received. This
should ensure any open sockets and files are closed.
2020-04-12 15:49:12 -07:00
Davide Beatrici
12775db8ce
Merge PR #64: Update the mumble proto. 2020-04-12 23:55:13 +02:00
Derrick
c8919d4338 Update the mumble proto. 2020-04-12 13:15:57 -07:00
Davide Beatrici
30e28d06aa
Merge PR #63: Fix infinite loop in log writer. 2020-04-12 21:07:36 +02:00
Davide Beatrici
0182b16e4c
Merge PR #62: Add go report to the readme. 2020-04-12 21:07:10 +02:00
Davide Beatrici
869d57a2c8
Merge PR #61: Setup go mod. 2020-04-12 21:06:38 +02:00
Derrick
0d39f28f6e Fix infinite loop in log writer.
The log writter would end up calling itself non-stop. This instead tells
the logtarget.Write function to call the MultiWriter's Write instead of
itself.
2020-04-11 21:09:35 -07:00
Derrick
eed64e7510 Update mod and sum file. 2020-04-11 20:18:32 -07:00
Derrick
9114380423 Merge branch 'master' into go_mod 2020-04-11 19:14:51 -07:00
Derrick
df98375463
Merge pull request #55 from olabiniV2/server_password
Add support for server passwords
2020-04-11 19:08:29 -07:00
Derrick
a31e58979d
Merge pull request #54 from olabiniV2/stderr_logging
Refactor logtarget
2020-04-11 19:08:06 -07:00
Derrick
f4d41de536
Merge pull request #52 from olabiniV2/configuration_setting
Make it possible to change configuration parameters on a server
2020-04-11 19:05:25 -07:00
Derrick
00b8984bd4
Merge pull request #51 from olabiniV2/optional_webport
Add a configuration parameter making it possible to avoid the web port
2020-04-11 18:59:52 -07:00
Derrick
5038fe0c57 Setup go mod.
Setup the go mod and sum file for the project.
2020-04-11 16:24:44 -07:00
Derrick
2b95dad19a Add go report to the readme. 2020-04-11 16:23:50 -07:00
Davide Beatrici
362167ea3f
Merge PR #60: Update README. 2020-04-12 01:01:36 +02:00
Derrick
0c9d9886a1
Merge pull request #59 from actown/dockerfile_go14
Updated Dockerfile.
2020-04-11 14:28:53 -07:00
Derrick
a11c186b3a Update README.
Update the readme to link to travis-ci.com instead of .org. Also move
the code into proper code blocks.
2020-04-11 14:01:29 -07:00
Derrick
7bb6dbcfb4
Merge pull request #58 from actown/gitignore_jb
Update gitignore to ignore jetbrains ide.
2020-04-11 13:52:32 -07:00
Derrick
7abdd84378
Merge pull request #57 from actown/travis_go14
Have Travis CI test on go 1.14.x.
2020-04-11 13:52:19 -07:00
Derrick
84c57c38c3 Updated Dockerfile.
Dockerfile now uses go 1.14, pulls in the required build packages to
build the required modules, and exposes the server ports for use.
2020-04-11 13:00:36 -07:00
Derrick
181a4f3219 Fix go1.14 build error in Panic function. 2020-04-11 12:56:31 -07:00
Derrick
de7209df85 Have Travis CI test on go 1.14.x. 2020-04-11 11:59:30 -07:00
Derrick
7d36d46618 Update gitignore to ignore jetbrains ide. 2020-04-11 11:55:36 -07:00
Ola Bini
495d699ec8
Try to authenticate using server password if user authentication hasn't happened 2020-03-26 16:11:47 +00:00
Ola Bini
b076a99492
Add new methods for setting and checking a potential server password 2020-03-26 15:03:05 +00:00
Ola Bini
dd9b5531a3
Extract more generic versions of setting and checking configuration passwords 2020-03-26 15:00:08 +00:00
Ola Bini
8b2c7901ee
Use MultiWriter to simplify the writing implementation. Also make it possible to initialize the log target to variable amounts of writers, and doesn't hardcode the use of StdErr as output 2020-03-26 14:20:13 +00:00
Ola Bini
d6c4d9f766
Remove unused field 2020-03-26 14:10:33 +00:00
Ola Bini
9c082d3516
Make OpenFile a factory function instead of a method on LogTarget. Use this to initialize the default logging target 2020-03-26 14:09:03 +00:00
Ola Bini
dd6f383d3e
Rename the default logtarget to not stutter. Also hide the default file log target implementation 2020-03-26 14:04:14 +00:00
Ola Bini
8d351aedb0
Extract a LogTarget interface to make it easier to manage logging 2020-03-26 14:00:01 +00:00
Davide Beatrici
a6dc45193a
Merge PR #53: Only send configuration updates if the channel exists 2020-03-26 04:57:20 +01:00
Ola Bini
6cddec04b5
Only send configuration updates if the channel exists 2020-03-25 19:54:32 +00:00
Ola Bini
58f77685e7
Make it possible to change configuration parameters on a server 2020-03-25 19:49:19 +00:00
Ola Bini
4fe03fb233
Add a configuration parameter making it possible to avoid listening to the web port 2020-03-25 19:38:32 +00:00
Davide Beatrici
bbb589fb37
Merge PR #46: Set freezelog to nil after closing it 2019-12-20 23:54:39 +01:00
Davide Beatrici
cac44edebb
Merge PR #47: Run go fmt and goimports on all files, to make them follow Golang standards 2019-12-20 23:54:11 +01:00
Ola Bini
76138f47fd
Run go fmt and goimports on all files, to make them follow Golang standards 2019-12-20 22:51:21 +00:00
Ola Bini
f8246ffbbc
Set freezelog to nil after closing it 2019-12-20 22:36:19 +00:00
Davide Beatrici
4eff63d3a1
Merge PR #45: Don't close the TCP listener, only the TLS listener 2019-12-20 23:29:40 +01:00
Ola Bini
783bb5bf7b
Don't close the TCP listener, only the TLS listener 2019-12-20 22:25:55 +00:00
Davide Beatrici
4a90b31d8d
Merge PR #39: Fix travis-ci build status image in README.md 2019-06-22 22:12:33 +02:00
mat
fead310820
Fix travis-ci build status image in README.md
Changed https://travis-ci.org/mumble-voip/grumble.svg?branch=master to https://travis-ci.com/mumble-voip/grumble.svg?branch=master.
2019-06-22 14:26:14 -04:00
Davide Beatrici
64f9b7ff30
Merge PR #38: Fixed Windows GOPATH line 2019-06-04 23:26:55 +02:00
rasmus-z
cc1933758e
Fixed Windows GOPATH line
Added missing % to Windows GOPATH instructions.
2019-06-04 22:56:43 +02:00
Davide Beatrici
db74c1ab8e
Merge PR #36: Fix function comments based on best practices from Effective Go 2019-03-12 21:54:44 +01:00
CodeLingo Bot
eb02aadf56 Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-11 00:56:12 +00:00