1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00
Commit Graph

609 Commits

Author SHA1 Message Date
a1a69242f7 Fix conditional logic for parsing ignored events
The conditional statement in the event parsing logic was incorrect, causing all events to be parsed regardless of the ignore flag. This change corrects the logic to ensure that only non-ignored events are parsed.
2024-09-06 19:18:40 -05:00
e956ab4d1a support hot reload of plugin code in debug configuration 2024-08-27 10:10:58 -05:00
f4876bf910 Check before installing Excubo.WebCompiler (#341)
Checks if it's installed and its version before trying to install/update it. Current behaviour reinstalls the tool on each rebuild. Reduces build time from 53s to 17s in testing.
2024-08-19 00:43:45 +01:00
88d05f5a8a H2M-Mod Support (#337)
* feat: add h2m support

* fix: remove unneeded comma
2024-08-12 20:05:25 -05:00
83f80b4fd2 fix persistent id parsing for low bits with leading 0s 2024-08-02 13:54:27 -05:00
27a9a2eebf Using Humaniser instead of fixed string... (#335)
Update tooltip text generation in MetaRegistration

The tooltip text generation in MetaRegistration.cs is updated to use Humanizer's 'HumanizeForCurrentCulture' method with 'TimeUnit.Hour' as maxUnit. This change leverages the Humanizer library to provide more precise and localized time formatting.
2024-07-24 18:52:02 +01:00
b1810b0517 Add a tooltip for client profile total playtime for hours (#334) 2024-07-23 00:38:43 +01:00
bc3bd5b0f2 Using TellAsync instead of Tell to prevent Event flooding. (#332) 2024-07-22 20:43:54 +01:00
95523885b8 support for loading minimum permission level from config for script commands 2024-07-14 11:21:47 -05:00
a34ac7d224 prevent auto parsing of base gamescript and anticheat events to mitigate unneeded processing time 2024-07-12 22:19:42 -05:00
135fc98e1c use correct EFClient return time for ScriptPluginExtensions and provide IPAddress on game interface data 2024-07-12 22:08:23 -05:00
f4946a9e76 tweak team regex for kill/damage 2024-07-04 11:02:04 -05:00
3857c48bd2 update for BOIII parsing 2024-07-04 11:02:04 -05:00
eac9b8f150 remove some build warnings 2024-07-04 11:02:04 -05:00
19e5e06d5d remove unneeded xml documentation file in build 2024-07-04 11:02:04 -05:00
54abc45d28 trigger workflow 2024-06-30 21:19:39 -05:00
40f912542b only run local build script in debug 2024-06-29 17:01:59 -05:00
451b25ffb2 simplify build script for local builds 2024-06-29 16:54:06 -05:00
63e1f31c21 fix remote plugin loading 2024-06-29 11:14:09 -05:00
9cdb2ca63e update nuget pipeline
update script
2024-06-28 16:18:42 -05:00
c54ff5d095 disable command throttling for privileged users 2024-06-28 16:18:39 -05:00
e6272f610a Move/add client getters to ScriptPluginExtensions 2024-06-25 20:51:03 -05:00
b003ba2b75 temporary fix for pomelo ef/.net 8 query query translation 2024-06-23 16:27:00 -05:00
f8f6ca2c0d Reduce possibility of race condition reading updated config 2024-06-23 16:13:30 -05:00
1596af1548 implement functionality to dynamically populate property values from events that inherit from GameScriptEvent 2024-06-22 17:02:04 -05:00
dffcae8344 Add GameLogEvent as catch all for unhandled log lines 2024-06-22 12:18:33 -05:00
4b6f3e8851 Update nuget packages 2024-06-22 11:52:42 -05:00
b31ef6a333 Remove some extra dispose calls on base config handler 2024-06-22 11:50:45 -05:00
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
aa83d88c77 Add command execution backoff/timeout 2024-02-24 18:07:34 -06:00
b286548906 Add server status received event including raw response 2024-02-17 15:33:15 -06:00
63ccd02eac Add startup notice for .NET 8 upgrade 2024-02-04 20:36:06 -06:00
f2c957fe71 Update csprojs to support SLC nuget building 2024-02-04 11:29:47 -06:00
539050d95f add clear all reports command 2023-09-14 21:40:35 -05:00
7ecbf8544a require login for wildcard ip search 2023-09-13 22:50:37 -05:00
a66a502480 add initial support for LFD2 2023-09-02 15:35:40 -05:00
2ea43fdd63 update default master url 2023-09-02 13:22:33 -05:00
e195668452 add missing shangri-la to T5 maps 2023-09-02 13:11:28 -05:00
4025cbcd8f add additional check for bot ping 2023-08-26 22:56:59 -05:00
8e1dd9d506 fix configuration write append issue 2023-08-23 16:34:07 -05:00
039e37be1f fix issue with CS:GO connector 2023-06-11 17:30:06 -05:00
6a3f4d0b57 update Jint package 2023-06-08 15:16:42 -05:00
fd7c8fcb4a implement bus mode for game interface to allow files for bus data transfer 2023-06-06 17:56:12 -05:00
cc67438b9a implement dynamic command registration through game interface 2023-06-03 22:46:15 -05:00
dfcf6e958c implement initial url request functionality for game interface 2023-06-03 16:48:03 -05:00
debad66884 fix plugin import debug log 2023-05-31 11:28:51 -05:00
34a56d52a1 tweak script plugin web request concurrency 2023-05-30 15:01:01 -05:00
55e5f4699e remove some old web components, add command line args for no-confirm (skip unreachable server prompt) and kestrel request settings 2023-05-30 14:58:17 -05:00
f0542fa69f T5ZM Gametype and Maps 2023-05-28 20:11:10 -05:00
9bf0be8341 Resolves issue where muted player would be unmuted when flag penalty was removed (#303)
* resolves issue where muted player would be unmuted when flag penalty was removed

* Revert accidental code format
2023-05-28 11:37:27 -05:00