1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-07 13:48:00 -05:00

55 Commits

Author SHA1 Message Date
RaidMax
3857c48bd2 update for BOIII parsing 2024-07-04 11:02:04 -05:00
RaidMax
f8f6ca2c0d Reduce possibility of race condition reading updated config 2024-06-23 16:13:30 -05:00
RaidMax
b31ef6a333 Remove some extra dispose calls on base config handler 2024-06-22 11:50:45 -05:00
RaidMax
34af7a332c
Update projects to .net 8 (#326)
* Update codebase to target .NET 8.0 and improve JSON serialization

This commit switches our target framework from .NET 6.0 to .NET 8.0 and replaces Newtonsoft.Json with System.Text.Json for serialization. The JsonConverter classes have been updated to support the new JSON model and some enhancements were applied to the codebase such as fixing a command property and updating various package references.

* Align with Develop

* Update SharedLibraryCore package version

The version of the SharedLibraryCore package reference has been updated across multiple projects from '2024.2.4.85' to '2024.2.5.9'. Meanwhile, version within SharedLibraryCore.csproj has been changed from '2024.02.04.085' to '2024.01.01.1'. Changes also include removal of .NET 8 requirement notice and reenabling of status upload to master communicator.

* Update properties in IRConParser and IRConParserConfiguration to be settable

The properties in the `IRConParser` and `IRConParserConfiguration` interfaces were updated to include setters. Previously, the properties in these interfaces were read-only. This change allows for the modifications and extensions of properties defined, thereby bolstering flexibility for the handling of games and parsers.

* Replace RestEase with Refit in API usage

Refit has been implemented as a replacement for RestEase in all API calls. As such, all related code, parameters and imports have been adjusted to function with Refit. Logic has also been added to handle certain Refit-specific behaviours. Occurrences of the RestEase package have been removed from the project.

* Enable auto-redirect in HttpClient

The HttpClient instance used in Application/Main.cs has been modified to automatically follow redirect responses. This was accomplished by adding "AllowAutoRedirect = true" to the HttpClientHandler used when creating the HttpClient.

---------

Co-authored-by: Amos <amos2580@hotmail.co.uk>
2024-06-22 10:19:06 -05:00
RaidMax
8e1dd9d506 fix configuration write append issue 2023-08-23 16:34:07 -05:00
RaidMax
d3ac9d53a4 add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
RaidMax
130c05e56b add configuration watcher implementation 2023-04-04 21:44:08 -05:00
RaidMax
3d3a8e7027 improve threading synchronization for BaseConfigurationHandlers 2023-04-04 21:42:17 -05:00
RaidMax
957c88970d implement IConfigurationHandlerV2 2023-02-11 21:09:02 -06:00
RaidMax
bc76afd25c implement team tracking via game interface (EFClient.Team and EFClient.TeamName) 2022-03-12 13:38:33 -06:00
RaidMax
c6866fd3d5 make sure iw4madmin exits when selecting "no" to continue with failed server connections 2022-02-28 15:16:30 -06:00
RaidMax
6eaae7ea22 improve network log support 2022-02-13 16:50:09 -06:00
RaidMax
afa68ee8b9 add network game log reader ex: net.tcp://ip:port 2022-02-11 15:33:05 -06:00
RaidMax
f5c2f92652 update unit tests 2020-11-12 19:46:17 -06:00
RaidMax
04fe6836c6 refactor logging in pretty big overhaul 2020-11-11 17:35:55 -06:00
RaidMax
84ffb9aa29 [tweaks and fixes]
reenable tekno support
address vagrant thread issue
refactor game log reader creation to follow better practices
fix bot issues/address how guids are generated for bots/none provided
2020-05-04 16:50:02 -05:00
RaidMax
d45d99454b fix for runaway regular expression on linux
explicitly set string dvars in quotes to allow setting empty dvars
allow piping in input from command line (#114)
update the distribution for top stats elo
prevent game log file rotation from stopping event parsing
2020-04-01 14:11:56 -05:00
RaidMax
040ade364e Fix small issue with query optimization missing a FK set
Fix accidentally rename of controller method
2019-11-18 08:08:09 -06:00
RaidMax
edb00523a1 fix alias command sending message to origin instead of target
(hopefully) fix an issue with banned players causing exception if they create events before they are kicked out
fix issues with sometimes wrong error message for timeout
show most recent IP address at top of alias list
optimization to some sql queries
2019-11-15 14:50:20 -06:00
RaidMax
ca62c0aba2 refactor some event handling
add concept of blocking events
2019-10-18 13:39:21 -05:00
RaidMax
4623cc6e12 fix small exit exceptions
fix the live radar tab switching for .net core 3.0
change events to use "sequential" but still parallel
update the publish scripts
2019-10-09 15:51:02 -05:00
RaidMax
87c1880268 prevent penalties from being lost in edge case alias linkage
small optimization with tasks
2019-09-26 16:08:49 -05:00
RaidMax
a94397680a small updates to stat handling
various little tweaks
2019-09-09 17:37:57 -05:00
RaidMax
093b9919b7 another fix because I'm retarded
bump version up
2019-08-24 14:06:23 -05:00
RaidMax
abec466f3f Update to some stat stuff to fix some latent issues 2019-08-23 18:34:31 -05:00
RaidMax
831e64eadb fix issue with log reader
fix issue with searching names on webfront that could be parsed to hex
2019-08-01 19:42:44 -05:00
RaidMax
508d0f7aa3 modify how reading from file works to prevent accidental overreads 2019-07-31 20:15:29 -05:00
RaidMax
7afa9448d5 finish tweaks to log reader
add some more shared guids
2019-07-26 10:22:02 -05:00
RaidMax
d6a5c27c60 optimize index for rating history
update log server to prevent delays or missed information
2019-07-24 19:15:07 -05:00
RaidMax
b4c57d3a53 allow reports to be filed against anyone
fix rare issue with alias (maybe)
update some tests
2019-06-24 11:01:34 -05:00
RaidMax
3016e68a6d fix duplicate meta data when restarting
fix issue with parsing anticheat info in non en-US culture
fix rare issue with client spots "swapping"
don't copy referenced shared library assemeblies from plugins
2019-06-09 09:50:58 -05:00
RaidMax
39d31dbe3c combined Penalty and EFPenalty
moved some classes around
2019-05-29 16:55:35 -05:00
RaidMax
f54d59de9d fix issue with restarting via web
replace some hard coded string in javascript with localization
break things to fix things
2019-05-17 09:02:09 -05:00
RaidMax
7384f3d1a2 clean up the profanity determent plugin by using the Get/Set Additional properties
cleaned up the base event parser to not need the server object to generate the event
Hopefully prevent anticheat from freaking out when database connection is lost
2019-05-13 10:36:11 -05:00
RaidMax
b14a5ced52 fix aggregate issue with KDR on global top stats
refactor some of the main application code to have a cleaner code flow
add enviroment flag to opt out of .net core telemetry in start script
fixed "a moment" missing the "ago"
fixed case sensitive client searches on postgresql
clean up command code flow
Add missing map "mp_cairo" to default settings
2019-05-08 20:34:17 -05:00
RaidMax
11dc020d7c use "world client" when recieving fall damage/damage
fix rare bug with GetClientByName
refactor some alias/ef stuff. still more to do
2019-04-02 20:20:37 -05:00
RaidMax
86bc3a42ac game log reader reads async now.
should have done that a long time ago
update profile page to have a bit better space usage
2019-03-09 10:28:04 -06:00
RaidMax
a2ce19117b fix reading PT6 having signed decimal GUID in log
fix  alternative encoding character converting
allow more paths for game log server
add localization for unknown ips in welcome plugin
add gamelog server uri to support game log server on games that must supply manual log path
misc fixes
2019-02-09 15:35:13 -06:00
RaidMax
0860ce6f62 Add commenting for parsers
rename IW4*Parser to Base*Parser
2019-02-02 19:40:37 -06:00
RaidMax
08d497153a update stats
change server id
fIx change log server complaining when empty read
2018-11-27 18:31:48 -06:00
RaidMax
df5fbba22c fixes for new polling setup
update database model for alias (nullable ip)
heartbeats now send ip to master server
2018-11-25 20:00:36 -06:00
RaidMax
1cfe7047a2 More work modifying client stuff 2018-11-07 20:30:11 -06:00
RaidMax
fd087c5506 more work on skill based team balance.
added on player disconnect to custom callbacks
2018-10-25 08:14:39 -05:00
RaidMax
b902069b23 write individual server log files and main log file seperately
log writing is thread safe now
2018-10-06 11:47:14 -05:00
RaidMax
8a721bb53a add game log server 2018-09-06 13:25:58 -05:00
RaidMax
50b4426cab fixed broken broadcast events
events don't get out of order when a invalid event line throws exception
handle the stats history update with no change throwing DBConcurrencyException
2018-08-31 22:35:51 -05:00
RaidMax
18aa6e85fc moved event API stuff around
finally fixed threading issue (which actually had to do with IW4x log outputs being out of sync (not an issue with my code). What a lot of headache over something that wasn't my fault.
2018-08-30 20:53:00 -05:00
RaidMax
b6f37035a1 think I finished reworking the event system
added http log reading support for debugging remotely
started working on unit test framework
2018-08-28 16:32:59 -05:00
RaidMax
9d79a8e090 add localized level names
intellisense suggestion junk
2018-08-03 21:11:58 -05:00
RaidMax
d4cc01e3ba fix parsing of certain chat messages
print out the correct exception message when a server is not responding.
prevent log reader from reading before the servers have initialized
2018-07-04 21:09:42 -05:00