Commit Graph

30 Commits

Author SHA1 Message Date
Lennard Fonteijn 0c4d946c9e
Added workflow to automatically build and test the server 2023-11-21 23:43:32 +01:00
Lennard Fonteijn a34bf6710c
Updated to .NET 8 2023-11-21 22:48:17 +01:00
Lennard Fonteijn b006dc22d2 Added naming conventions to .editorconfig 2023-11-05 23:46:20 +01:00
Lennard Fonteijn a3165539a5 Added mocked SteamAuthMiddleware to allow impersonating a specific user when using an API client
Added more performant database logic for UpdateUserInfo
Added support for optional appsettings.user.json file for user-specific configuration
2023-10-27 03:01:10 +02:00
Lennard Fonteijn 107edbea8a Moved database-related logic to own project
Moved tests into their own respective project-folder
Moved most composition logic to their own respective project
Moved Cobra.Hook to its own solution
Added almost all database models based on existing ERD
Added tests for SteamAuthMiddleware
Added UserService to retrieve the user associated with the current request
Added HitmanUserService to perform user-specific actions on the database
Added start of actual multi-user HitmanServer implemention
Cleaned up SteamAuthMiddleware based on tests
2023-10-27 01:23:42 +02:00
Lennard Fonteijn dedb008c81 Added some additional code style rules 2023-10-25 01:01:38 +02:00
Lennard Fonteijn 43e52a707f Restructured project for better maintainability 2023-10-24 00:23:08 +02:00
Lennard Fonteijn c6f63fa973 Added custom analyzer to enforce some additional style rules 2023-10-23 21:48:31 +02:00
Reece Dunham dc8e920988
Link issue for ReSharper bug 2023-10-23 10:56:25 -04:00
Lennard Fonteijn f172e2eeeb Added forgotten files 2023-10-23 01:11:15 +02:00
Lennard Fonteijn 37dcbe24a5 Rebranded code to Cobra
Added EFCore with local Sqlite database
2023-10-23 01:09:29 +02:00
Lennard Fonteijn 98c47cd7cf Added support for multiple types of IHook implementations
Added support for Steam Authentication on server to dinput8.dll proxy
Added support for disabling Steam username resolving to dinput8.dll proxy
2023-07-21 18:39:33 +02:00
Lennard Fonteijn d5cb674dd3 Added support for Steam Authentication using either GameServer and WebAPI 2023-07-20 22:03:00 +02:00
Lennard Fonteijn 40eddaf866 Make sure custom contracts can always be installed/managed, even when UseCustomContracts is set to false. 2023-07-20 14:24:57 +02:00
Lennard Fonteijn da926cec48 Fixed a bug where importing a shared a contract causes the score to be 0 2023-07-19 02:02:06 +02:00
Lennard Fonteijn 266cbe81c6 Added support paging and filtering contract Web UI
Added Creator Steam ID to the contract Web UI
Added styling to the contract Web UI
Added support for singleplayer scores
Changed server port from 80 to 40147 to prevent issues for most users
Fixed issue where Web UI wouldn't show any contracts
Fixed exploit where self-made contracts could be replayed and earn you too much money
2023-07-18 22:18:28 +02:00
Lennard Fonteijn 8c6a678012 Added support for a local userprofile 2023-07-18 17:14:52 +02:00
Lennard Fonteijn d50798cf3d Enabled the /MT flag for the dinput8.dll hook 2023-07-18 00:12:32 +02:00
Lennard Fonteijn 7fae150487 Moved almost all actions out of HitmanController to a separate service 2023-07-18 00:02:24 +02:00
Lennard Fonteijn b17ebfae11 Added support for custom contracts
Added UI to manage and share custom contracts
2023-07-17 22:04:07 +02:00
Lennard Fonteijn 860b9342b4 Fixed a few more instances where contractId should be contractid 2023-07-16 20:32:15 +02:00
Lennard Fonteijn bd5789960e Fixed issue where contractid was not included when reporting a contract 2023-07-16 13:27:29 +02:00
Lennard Fonteijn 4a8db04800 Added publish profiles for multiple systems 2023-07-16 13:16:38 +02:00
Lennard Fonteijn c1f9f9e9b4 Added support for setting the WalletAmount through appsettings.json
Removed the need for a HTTPS certificate
2023-07-16 12:58:58 +02:00
Lennard Fonteijn a42ab8194d Added support for setting the SteamId of the mocked contract through appsettings.json 2023-07-15 14:30:38 +02:00
Lennard Fonteijn 262f48e6e2 Added working examples for the GetMessages endpoint 2023-04-30 01:56:09 +02:00
Lennard Fonteijn ea53dd0fb0 Validated UpdateDLCInfo endpoint 2023-04-29 00:50:51 +02:00
Lennard Fonteijn 193ed907b3 Added precompiled hook
Added license information
Updated instructions in the readme
2023-04-28 23:55:22 +02:00
Lennard Fonteijn e79af76761 Added attribute-based EdmFunctionImport definitions so the models can also serve as Request-models 2023-04-28 23:20:46 +02:00
Lennard Fonteijn 673b59c087 Initial commit 2023-04-28 23:14:23 +02:00