24 Commits
Author SHA1 Message Date
miniduikboot 7b23d80978 Merge pull request #563 from Impostor/feature/net8
Upgrade to net8.0
2024-01-25 12:31:07 +01:00
js6pak 2cbfe159be Upgrade to net8.0 2024-01-25 00:51:06 +01:00
miniduikboot 3b514f82f2 Change default ListenIp of Http server to 0.0.0.0
We see that a lot of support tickets are caused by this default setting,
as it is one of the things that blocks connections to the server with no
obvious indication that this is happening. To make it easier for first
time users to set up Impostor, it is important that this setting is
changed.

Previously we also recommended against direct exposing due to security
reasons, but I believe this fear to be unfounded: Microsoft claims that
the Kestrel server is hardened against web server vulnerabilities and
supports its use both with and without a reverse proxy.[1]

We still recommend using reverse proxies if HTTPS support is needed, so
that section of documentation still remains. Setting the ListenIp to
127.0.0.1 is still recommended when using a reverse proxy to remove the
ability for people to connect directly, so we add it there as a recommendation.

[1]: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy?view=aspnetcore-8.0
2024-01-10 19:17:38 +01:00
js6pak 5325a81cb6 Merge Impostor.Http into core (#533) 2023-12-17 20:19:27 +01:00
js6pak 9b58f2b36d Source generate map data and enums (#548) 2023-12-16 23:36:02 +01:00
miniduikboot 7b341bea14 Update docker container to I.Http 0.5
Also update the documentation to deal with the new default port and
clarify some stuff
2023-07-15 13:46:58 +02:00
miniduikboot c9c044365a Dockerfile: install Http plugin in separate folder
Some people mount a folder on the plugin directory. This is fine, but
our sneaky Impostor.Http install method won't work here. So put it in a
different folder and prepend our folder to the plugin search path.

The number 76 has been randomly picked using dice
2023-01-29 22:58:30 +01:00
miniduikboot 5ab4bf70da Dockerfile: [[ -> [
[[ is a bash extension and is not supported by posix sh, throwing an
error. [ is supported and does enough
2023-01-29 22:57:05 +01:00
miniduikboot 5e080b290b Add Impostor.Http to the Docker image (#509)
Adding plugins to the docker image is pretty hard as you need to install
ASP.Net Core and add the plugin. As Impostor.Http has become pretty much
mandatory, install the plugin by default.
2023-01-20 15:25:22 +01:00
js6pak ed89e00f3a Switch hazel from submodule to nuget 2022-12-18 20:34:45 +01:00
js6pak d5165a79f1 Upgrade to net7.0 2022-12-18 20:34:45 +01:00
miniduikboot 380ba46f11 Upgrade to .NET 6 (#479)
* Upgrade to .NET 6

.NET 5 has gone EOL, so move to a supported version.

* Upgrade Docker container as well
* Update docs for .NET 6
* Re-add hack for System.IO.Pipelines
* Bump dependency versions
* Update the deps of the other projects too
* Only declare TargetFramework once
* Dockerfile: also copy over Directory.Build.props
* Cake: pick up target framework automatically
* Upgrade Cake as well
2022-05-25 19:52:22 +02:00
miniduikboot 7fd68e31e6 Fix Docker container build 2021-04-03 00:37:12 +02:00
js6pak fe7a641bad Set VERSIONSUFFIX to docker by default 2021-03-16 22:12:56 +01:00
js6pak e0041e89d8 Update docker CI 2021-03-16 21:40:54 +01:00
AeonLucid 4c3d822fb7 Remove trimming and self contained to fix plugins, fixes #83 2020-10-25 22:01:28 +01:00
Gerard Smit d6eb6bc54a Implemented EventListener priorities (#62)
* Improved EventManager

Now it actually will order the event listeners on their priority. Also I've cleaned up the registering of temporary event listeners.

* Ignore new Impostor.Api library while loading plugins

* Fixed Dockerfile
2020-10-21 14:55:03 +02:00
AeonLucid 67f74f7d1a Update Dockerfile 2020-10-11 01:17:39 +02:00
AeonLucid 89da149697 Switch to .NET 5.0 2020-10-01 00:48:59 +02:00
AeonLucid 5caf72898d Not sure if necessary but lets do it anyways 2020-09-30 23:37:20 +02:00
AeonLucid d7da885a8f Multiarch dockerfile 2020-09-30 23:34:12 +02:00
Gerard Smit 7926368fb9 Added PublishTrimmed to Impostor.Server (#3)
* Added PublishTrimmed to Impostor.Server
* Disabled trimming in CI
* Fixed Dockerfile for trimming
2020-09-21 23:43:02 +02:00
AeonLucid 8392381306 Reduce docker image by half 2020-09-21 01:52:29 +02:00
AeonLucid 4a5af45dba Add Dockerfile for the server 2020-09-21 01:48:12 +02:00