Commit Graph

64 Commits

Author SHA1 Message Date
Chomp 762d42c009 Corrected+expanded test logic
Resolved issues with moving/adding items to inventory containers
2025-07-04 17:59:15 +01:00
Chomp a0d50f8ffc Added container extension method tests 2025-07-04 15:25:08 +01:00
Jesse ebe8f9ded5 Mongoid changes (#440)
* Remove old IsValidMongoId and Regex

* Convert more configs to MongoId, as well as BaseClasses

* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +01:00
Chomp c1aaa4b6b2 Added MongoIDTests to unit tests 2025-07-02 12:57:19 +01:00
chompDev 46989aa19e .NET Format Style Fixes 2025-07-01 09:18:15 +00:00
Lacyway 8e3894e9ad MongoID improvements (#437)
* MongoID improvements
- Added extension to check whether a MongoID is valid, 33% faster than old method
- Cut down generation speed by 2/3

* Fix method used

* Add test
2025-07-01 10:17:39 +01:00
Jesse d0af6acbe6 Move MathUtil methods to extensions (#432)
* Begin moving MathUtil methods to Extensions

* Add missing extension
2025-06-28 16:15:11 +01:00
Chomp 81f5f24f86 More tests 2025-06-20 11:37:39 +01:00
chompDev 430501a688 .NET Format Style Fixes 2025-06-20 10:32:46 +00:00
Chomp 593c574e5a Added _mathUtil.Interp1 tests 2025-06-20 11:32:07 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Jesse 2c52012740 Further async changes (#387)
* Further async changes
- SaveServer & Backup Server are now async
- Anything that ties in with SaveServer saving (Such as callbacks) are now async
- Various async util methods added
- Removed two wrapper methods and switched code over to use the actual method

* Update test
2025-06-09 20:09:12 +01:00
Chomp bcd366c2b5 Updated fastcloner nuget package 2025-06-07 18:32:05 +01:00
Jesse 3d288f3489 Fix up converters to target all assemblies in the AppDomain (#364)
* Fix up converters to target all assemblies in the AppDomain

* Make test more robust

* Make test more robust v2 electric boogaloo
2025-06-06 07:23:26 +01:00
hulkhan22 210bdb2d60 Fix for tests randomly failing when run altogether 2025-06-01 02:33:19 +02:00
hulkhan22 18bd0957fd Fix the damn tests 2025-05-31 01:40:47 +02:00
Cj f30dda24e3 Json util refactor 2025-05-30 09:10:52 -04:00
Chomp bd1326b708 Merge pull request #308 from cp89gamedev/fix-broken-test
fix for broken math test
2025-05-29 21:19:55 +01:00
hulkhan22 5f5476cdc1 Delete unnecessary test 2025-05-29 21:51:21 +02:00
Chris Adamson ff43f72b53 yuck math 2025-05-29 14:47:42 -05:00
Chomp 983fb644be Updated various Microsoft deps 2025-05-21 17:43:38 +01:00
Chomp b097fb35e6 Updated fastcloner to 3.3.4 2025-05-21 17:40:33 +01:00
hulkhan22 6af7e18181 Ensure unique MongoIDs 2025-05-07 04:09:56 +02:00
Alex 222ca2e274 Replaced Serilog for custom logger 2025-04-24 16:29:36 +01:00
CWX 80747a16f6 Formatting 2025-04-22 16:00:23 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
Archangel 63737e656c Centralize globally used build properties 2025-03-07 17:47:47 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00
clodan 7a2db04cfe Added fast cloner and benchmarks 2025-02-20 15:21:13 +00:00
Chomp d000eaeef5 Fixed tests 2025-02-14 13:56:07 +00:00
Chomp b8ad46c60f Fixed broken tests 2025-02-14 13:09:12 +00:00
CWX ea4cb13ed4 Removed unused references 2025-02-12 17:33:47 +00:00
Alex a3bc7eea23 Merge branch 'main' into develop
# Conflicts:
#	Server/Logger/WebApplicationLogger.cs
2025-02-09 18:04:46 +00:00
Alex c67c807dd3 WriteToLogFile now implemented 2025-02-09 17:46:18 +00:00
CWX 5c6fa9242f BIG BOI FORMATTING 2025-02-07 19:36:17 +00:00
CWX a4f8036d09 formatting, fix build error 2025-02-05 07:36:13 +00:00
CWX f648f42721 This is just Jetbrains formatting and code syntax styling 2025-02-05 06:56:51 +00:00
Chomp 06b3b7d7fc Added GetArrayValueTest 2025-01-29 13:46:06 +00:00
Chomp 91ccc7a771 Added GenerateValidMd5Test 2025-01-29 13:36:18 +00:00
clodan 8ba151322f Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-01-29 13:30:59 +00:00
clodan dbf3071664 Improved precision for smaller decimals 2025-01-29 13:30:52 +00:00
Chomp 06bfa78a62 Improved IsValidMongoIdTest 2025-01-29 13:30:31 +00:00
clodan 7c060fdf86 RandomUtil fixes 2025-01-29 11:47:42 +00:00
Alex b7b5b7da34 added if checks to some debug logs 2025-01-27 21:10:44 +00:00
Alex decb6bbab7 added new stuff! :D 2025-01-22 20:28:51 +00:00
Alex b5240a615e Refactor project into smaller chunks 2025-01-19 17:45:48 +00:00
CWX cc1b022396 fix tests, 1 fails in mathUtilTest, changing from float to double 2025-01-18 21:02:00 +00:00
CWX 5c5a42b535 change to prim Ctors 2025-01-18 19:17:35 +00:00
CWX 26ad41bf4a use prim ctor and fixed warnings: ClientLogController 2025-01-18 15:37:04 +00:00
CWX 09ac1e8b72 Changed to primary ctor and fixed warnings 2025-01-18 12:43:53 +00:00