Commit Graph

46 Commits

Author SHA1 Message Date
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
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 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
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 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +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 5c6fa9242f BIG BOI FORMATTING 2025-02-07 19:36:17 +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 decb6bbab7 added new stuff! :D 2025-01-22 20:28:51 +00:00
CWX cc1b022396 fix tests, 1 fails in mathUtilTest, changing from float to double 2025-01-18 21:02:00 +00:00
CWX 09ac1e8b72 Changed to primary ctor and fixed warnings 2025-01-18 12:43:53 +00:00
Alex dbd3c18443 Enum converter for dictionary keys 2025-01-16 15:45:26 +00:00
Alex 0c08bac439 Fixed enum serialization 2025-01-16 15:35:26 +00:00
Alex 8b3305efca T type logging 2025-01-15 15:06:54 +00:00
CWX 0fba37a18e Formatting and Tests need to be remade, RandomUtil now takes a logger 2025-01-14 21:27:24 +00:00
Alex d7325ea562 Fixed Json converter and added unit test 2025-01-13 18:31:44 +00:00
Cj 36a278a4ca Implement generate and test 2025-01-08 04:51:30 -05:00
Cj e4b346d628 Math Util and tests 2025-01-08 04:10:40 -05:00
Cj ee65da4860 More work on randomUtil 2025-01-08 02:50:11 -05:00
Cj da764079f3 More RandomUtil work 2025-01-08 00:00:37 -05:00
Cj a85bc22568 MongoId validation test 2025-01-07 21:07:06 -05:00
Cj 6c100171c1 Add more tests, fix bug test found :) 2025-01-07 20:49:04 -05:00
Cj 5d04191e68 Add basic test framework 2025-01-07 20:03:15 -05:00