Commit Graph

34 Commits

Author SHA1 Message Date
Archangel 14758c4825 Allow any reverse proxy to pass forwarded headers 2025-09-07 18:03:57 +02:00
Cj ed05faa96f Implement PatchManager (#585)
* First pass at Fika's PatchManager implementation

* add comments

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-09-05 09:08:33 +00:00
Cj fafbfeb291 Remove load order/sorting from ModLoader (#584)
* - Remove modloader sorting
- remove order.json
- remove LoadBefore and
LoadAfter
- Remove unused var
- Remove unused locals
- Rename vars
- localize new warnings

* revert test change
2025-09-05 09:03:02 +00:00
clodanSPT 22ab053cda Reordered services startup (#558)
* Reordered services startup

* Removed unnecessary comment

* Made startup service required

* Marked other services as required

* Removed unnecessary ! for null

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-08-19 09:32:54 +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
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00
clodanSPT 2d752457b2 Move port usage (#504)
* Moved port usage code check to before startup

* removed unused import

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-07-23 08:44:34 +01:00
chompDev 95ea6d99fe .NET Format Style Fixes 2025-07-19 17:49:16 +00:00
clodanSPT 7b6f1eb9ad Added OnWebAppBuild load step (#489)
* Fingers crossed this will fix the mod loading issue for configs

* Renamed classes and documentation for clarity

* Remove some extra traces of the old PreSptLoader

* Renamed interface for clarity and updated docs

* Re-introduced PreSptModLoad for now

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-07-19 18:48:48 +01:00
chompDev 0ba517436e .NET Format Style Fixes 2025-07-18 15:21:55 +00: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 362ded1c3e Fixed non-English text display in server console 2025-06-18 20:31:05 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Cj 056de770a8 check both sptLogger.json and sptLogger.Development.json when checking for the correct directory 2025-06-16 00:55:02 -04:00
Chomp e596974d07 Cleaned up usings 2025-06-14 16:43:24 +01:00
Cj e808c181c9 Add error handling for improper shortcut creation... 2025-06-12 19:26:13 -04:00
GrooveypenguinX f4428deccf fixed missing import for customitemservice, added bundle loading sequence in the program.cs (#333)
* Added missing import for reflection /bonk

* Implemented bundles.json loading directly into program.cs

`IsBundleMod` is now read from all loaded mods metadata, and if set to true the bundles.json is read from the mod directory.

* re-assign the sorted valid mods to the loadedMods list

since ValidateMods returns the sortedLoadedMods, this is the list of mods we should be passing to our other spots

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-06-01 15:34:14 +01:00
Archangel 4e3c755e90 Remove AppContext, store profile related data in ProfileActivityService 2025-05-30 19:36:23 +02:00
clodanSPT ee51e1fcab Refactored pre spt mod loader to user IOnLoad, moved Watermark to IOnLoad as well (#313)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-30 11:03:08 +01:00
Archangel fa1368fb47 Move more initialization, mod loading and http requests over to async 2025-05-29 23:50:06 +02:00
Archangel c930197942 Cleanup AppContext 2025-05-29 23:50:06 +02:00
Cj f5ce6cd2fa Fix console formatting (#295)
* Fix console virtual processing

* remove sneaky using

* Only set on windows
2025-05-28 22:24:40 +01:00
Alex f679dea8d2 sorted code around mod disabling 2025-05-27 13:37:31 +01:00
Cj 0fda28526f Implement module patch abstraction and patch loader (#250)
* Implement patch abstractions and patch loader using an interface

* remove patch loader

* rename patch class
2025-05-11 20:52:14 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
Alex 222ca2e274 Replaced Serilog for custom logger 2025-04-24 16:29:36 +01:00
CWX bbeddcb814 Fix logging in SingleFile setup 2025-04-22 16:00:08 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX eed3c5e105 added and fixed spelling on comments 2025-04-17 13:20:14 +01:00
CWX e55aba79ac Use ProgramStatics in places to disable Modding with Flag 2025-04-16 11:51:44 +01:00
CWX b520c34930 cleaned up logging a little 2025-04-15 18:37:18 +01:00
clodan 3c83018513 Added ServiceProvider to ApplicationContext and added static callable reference to the ApplicationContext instance 2025-03-09 16:50:09 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00