31 Commits

Author SHA1 Message Date
Archangel 211e6a62b9 Remove unused service 2025-09-20 17:01:56 +02:00
Archangel d9e660f5b5 Remove unecessary double log 2025-09-20 16:58:20 +02:00
Archangel 72559be340 Dont handle RequestDelegate in SptHttpListener anymore 2025-09-20 16:57:04 +02:00
Jesse ef6e3b8c3a Http server refactor (#593)
* Refactor various parts of the HttpListener to support Blazor loading

* Add logging for WebSocket requests

* Add better handling for WebSockets not belonging to SPT

* Remove unecessary check

* Remove check as it's already handled earlier now

* Cleanup

* Set delegate
2025-09-20 14:05:23 +00:00
Jesse 80f759a0da Http server router refactor (#553)
* Add edge case for Reverse Proxies

* Cleanup HttpListener, remove unecessary MemoryStreams

* Handle with IPAddress instead of string

* Handle nullabiity of RouteAction, tighten typing on requests

* Cleanup HttpRouter

* Use tighter typing on Routers
2025-08-18 17:59:07 +00:00
Chomp 4a081a7ac3 Updated class param formatting 2025-08-11 21:08:55 +01:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
Chomp e20c56e4f1 Improved transition from string to mongoId inside httpListener 2025-07-18 17:12:11 +01:00
clodanSPT 1af50bfd34 Application cleanup (#485)
* Changed application to use background services and removed hacky http server startup

* Small improvements and method removals

* Removed Core dependency on Web application SDK

* Fixed wrong imported type

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-18 16:21:24 +01:00
Chomp 42d2e3f7ea Updated properties to not be nullable + various fixes 2025-07-16 14:57:24 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Jesse aafe24eafb Move Router, Callbacks and GetResponse over to ValueTask (#325)
* Move Router, Callbacks and GetResponse over to ValueTask

* Assign empty deserializedObject for now, keep todo

* Cleanup GetResponse

* Re-add logger for request
2025-05-31 20:30:41 +01:00
Archangel 7d0c8dfc38 Rename parameters with underscore 2025-05-29 23:50:06 +02:00
Archangel cc4f1f2964 Remove assignments as requested 2025-05-29 23:50:06 +02:00
Archangel 8e69bd4aec Await disposal 2025-05-29 23:50:06 +02:00
Archangel fa1368fb47 Move more initialization, mod loading and http requests over to async 2025-05-29 23:50:06 +02:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
hulkhan22 247c0b77b1 fix: Infinite loading screen (#216)
* Fix various issues that cause infinite loading

* Revert nullable
2025-05-01 08:18:10 +01:00
CWX 811bdadac0 Revert "remove output to screen, limit file logging"
This reverts commit 26a238c285590a8f24a789698391725321bc6da2.
2025-04-23 15:35:51 +01:00
CWX 690f9f3e83 Revert "Remove logging Requests"
This reverts commit d0aad46694ba2047b518ea1937a4b04a92b9a253.
2025-04-23 15:35:39 +01:00
CWX e5ce7c990a Revert "remove unused types"
This reverts commit d5efe329d41cbef89207a85783a16042430cc73b.
2025-04-23 15:35:32 +01:00
CWX bd2afcb1a0 remove unused types 2025-04-23 15:16:24 +01:00
CWX 1572a54f40 Remove logging Requests 2025-04-23 15:13:02 +01:00
CWX b0ff7bb595 remove output to screen, limit file logging 2025-04-23 10:20:30 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 7de2393dd1 removed limit on logging as losing valuable info, to look into better solution for larger data 2025-04-22 14:24:03 +01:00
CWX 026c4f0271 limit the amount that can be logged to console and file 2025-04-11 18:06:37 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00