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

63 Commits

Author SHA1 Message Date
Amos
4d1e7c2692
Refactor PromptClientInput to accept string array for prompt (#336)
* Refactor PromptClientInput to accept string array for prompt

Updated the `PromptClientInput` method to accept a string array instead of a single string. This change ensures that multiple prompts can be handled, improving input flexibility and client communication. Additionally, modified related method calls to maintain consistency with the new input type.

* Refactor PromptClientInput to support parsed result and errors

Updated PromptClientInput to handle parsed input results and return error messages instead of raw strings. Introduced ParsedInputResult<TResult> class to encapsulate parsing results and errors, enhancing client validation and feedback mechanism.
2024-08-05 16:09:50 +01: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
450c8a45da add support for plugin generated pages (interactions). add disallow vpn command 2022-10-17 09:17:43 -05:00
RaidMax
8502ae47aa update interactions to allow building custom forms 2022-10-12 21:06:18 -05:00
RaidMax
8d8a8d869a implement profile interaction registration through plugins (mute and vpn detection implementation) 2022-09-08 15:03:38 -05:00
RaidMax
45011d9ff9 fix token auth issue 2022-06-16 10:07:03 -05:00
RaidMax
16d295024e update schema to support unique guid + game combinations 2022-06-15 19:37:34 -05:00
RaidMax
d5b4c60e5a huge commit for webfront facelift 2022-04-19 18:43:58 -05:00
RaidMax
d0670760fb improve server clientcount/activity graph on server overview 2022-03-29 16:42:53 -05:00
RaidMax
1b59941ab2 only unload plugins once at shutdown
clean up some doc warnings
2022-03-24 11:34:32 -05:00
RaidMax
6f6dd035ee Initial .net 6 upgrades 2022-01-26 15:26:25 -06:00
RaidMax
4ae3ee1683 abstract engine color codes to use (Color::<Color>) format to make codes more.
see pt6 parser and configs for example usages
2022-01-26 15:20:10 -06:00
RaidMax
dcf690325c persist client count history data across reboots and allow for configurable timespan 2021-08-29 13:10:10 -05:00
RaidMax
7e01dc3fc2 add initial CS:GO support 2021-06-03 10:51:03 -05:00
RaidMax
434392a7e4 huge commit for advanced stats feature.
broke data out into its own library.
may be breaking changes with existing plugins
2021-03-22 11:09:25 -05:00
RaidMax
6e27dd9dce QOL updates for profile meta
implement filterable meta for issue #158
update translations and use humanizer lib with datetime/timespan for issue #80
2020-08-18 16:35:21 -05:00
RaidMax
a749185468 grab gametype from status for T7 2020-08-05 09:43:31 -05:00
RaidMax
6f9051120d [issue 135] enhanced search
implement enhanced search for chat messages
2020-05-22 20:29:41 -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
af380d3744 refactor a good bit of stuff for better dependency injection
fix regular expression for T6 log parsing
2020-02-11 16:44:06 -06:00
RaidMax
786eda7937 Finish implementation of configuable command permissions 2020-01-31 20:15:07 -06:00
RaidMax
3ee11a4356 small change to detemine valid anticheat log lines
fix new configuration generation bug as result of last pr
2020-01-20 11:49:56 -06:00
RaidMax
f09a45503a make the version name match the actual name for FTP deployment
fix rare issue with summing session scores
copy font to expected wwwroot dir in debug mode so we get pretty icons when developing
upgrade some packages

pretty much reworked the entire server web config to support better validation and stuff.. not really a small fix

finish web configuration changes (I think)

finish up configuration changes and update shared library nuget
2020-01-20 10:23:23 -06:00
RaidMax
e5e0835f8a updates to support new master versioning
make sure game files are copied correctly in build output
2020-01-11 20:32:27 -06:00
RaidMax
89b690938a update mapname from status query 2019-11-18 14:02:35 -06:00
RaidMax
878f2e6cc6 prevent "laggy" angles from being tracked 2019-09-10 17:50:23 -05:00
RaidMax
41c79de319 add snap metric to anticheat
update various small code bits
2019-09-09 17:40:04 -05:00
RaidMax
99a163fa2b Clean up some old files 2019-07-17 12:29:51 -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
7c309ee460 fix gravatars not showing
fix web config not saving Uri
fix issue with token login
2019-04-14 10:55:05 -05:00
RaidMax
832bc941ec finish initial implementing application configuration editing through webfront
todo: server configuration
2019-04-12 22:25:18 -05:00
RaidMax
91552df798 add configuration option to force local translations
fix silly bug with no being able to claim ownership
continue work on configuration via webfront
2019-04-11 20:43:05 -05:00
RaidMax
15a0be3035 remove create proxy as it's not even used anymore
more fixes for alias stuff
hopefully fix rare bug where client activity cshtml loop goes oob
add URLProtocol format to event parsers to allow connecting through webfront
2019-04-06 21:48:49 -05:00
RaidMax
52b15e5061 fix for issue #70
update start script for windows
2019-03-18 10:36:31 -05:00
RaidMax
e3ba1b4a63 fix top players row not fill full width
make stats web use view imports
add more games/maps to default settings (thanks to FryTechTiddys
#7622)
replace ConfigurationBuilder Config Handler implementation with Newtonsoft.Json as it wasn't deserializing "complex" classes properly
2019-03-17 17:37:50 -05:00
RaidMax
5755775b85 Fix bug introduced with auto messages 2019-02-19 19:39:09 -06:00
RaidMax
cd49a9843e implement RSS feed in auto messages for issue #53
modified automessages to use async mesthods instead of synchronous
2019-02-18 19:30:38 -06:00
RaidMax
feb38656e8 fix damage event not including log line
complete initiall implementation for "2FA"
issue #52
issue #66
2019-02-16 15:04:40 -06:00
RaidMax
0a85d88d36 fix IW4x regression error with alternative encodings
add parser selection to server config setup
2019-02-04 19:38:24 -06:00
RaidMax
6b051f2252 move IW3 parser to javascript 2019-02-02 20:19:24 -06:00
RaidMax
0860ce6f62 Add commenting for parsers
rename IW4*Parser to Base*Parser
2019-02-02 19:40:37 -06:00
RaidMax
67aa9953c0 Finish preliminary parser for TeknoMW3 2019-02-02 18:54:30 -06:00
RaidMax
213ddf0a15 Finish dynamic dvar parsing for IW4x 2019-02-01 19:49:25 -06:00
RaidMax
a16df61ffd Fixes for PR 2.3.4.0 2019-01-27 19:45:35 -06:00
RaidMax
ce7cf9f462 Implement more dynamic parser stuff 2019-01-27 16:40:08 -06:00
RaidMax
f933db2895 fix duplicate bot welcomes
fix prompt bool incorrect default value
rename GameEvent.Remote to GameEvent.IsRemote
include NetworkId in webfront claims
fix non descript error message appearing when something fails and localization is not initialized
2019-01-03 14:39:22 -06:00
RaidMax
6b9f4f3bb7 fixed the vpn detection plugin method signature call
added some fixes for stats/ac
2018-10-06 15:31:05 -05:00
RaidMax
ac8542911d clean up publish folder output to have a less cluttered structure.
add migration class to perform the migration on update
2018-10-05 22:10:39 -05:00
RaidMax
134f16861e fix for issue #50 2018-09-16 17:51:11 -05:00