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

617 Commits

Author SHA1 Message Date
RaidMax
12870dbfc9 Fix improper reference to app config for default BaseEventParser 2025-05-31 11:31:19 -05:00
RaidMax
3e186ca07a
Add ResolvedExternalIPAddress to API and Master Communication (#365)
* Feature: Add ResolvedExternalIPAddress to API and Master Communication

This commit introduces the `ResolvedExternalIPAddress` property to enhance IP address reporting.

1.  **Server API (`WebfrontCore/Controllers/API/Server.cs`):**
    The `ResolvedExternalIPAddress` property has been added to the JSON
    responses for the `/api/server` endpoints. This property is nullable
    and contains the IPv4 string value of the manager's external IP address
    if the server's resolved IP endpoint is an internal address. Otherwise,
    it is null.

2.  **Master Server Communication (`MasterCommunication.cs` and `ApiServer.cs`):**
    - The `ApiServer` DTO (in `Application/API/Master/ApiServer.cs`) now
      includes the `ResolvedExternalIPAddress` property (serialized as
      `resolved_external_ip_address`).
    - The `UploadStatus` method in `Application/Misc/MasterCommunication.cs`
      now populates this property for each server being reported to the
      master server, using the same logic (external IP if server's own
      resolved IP is internal).

This provides more comprehensive IP address information both through the
web API and to the master server.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-05-24 15:36:24 -05:00
HGM
604aba628d Added maps for H2M Nightshade DLC
Updated to add new H2M MW3 Nightshade DLC Maps
2025-05-11 19:15:59 -05:00
m
081c522b96
add iw7-mod RCON support (#361)
* create iw7-mod parser

* iw7 default settings & enum stuff

* add zm maps to defaultsettings
2025-04-14 21:34:22 -05:00
Ayymoss
6875d864d6 Prevents Stats from loading twice 2024-11-27 14:06:24 -06:00
RaidMax
807ea9bc3e
Update Pluto T6 parser 2024-11-26 23:05:23 -06:00
dependabot[bot]
ef0534c2d3 Bump Refit from 7.1.0 to 8.0.0 in /Application
Bumps [Refit](https://github.com/reactiveui/refit) from 7.1.0 to 8.0.0.
- [Release notes](https://github.com/reactiveui/refit/releases)
- [Commits](https://github.com/reactiveui/refit/compare/7.1.0...8.0.0)

---
updated-dependencies:
- dependency-name: Refit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 19:35:18 -06:00
HGM
c1544b712a Added Missing Gamemodes & Maps for S1-Mod & IW6-Mod
Added missing zombie gamemodes to S1-Mod & IW6-Mod & Added missing maps for S1-Mod Zombies.
2024-09-29 10:37:33 -05:00
Ayymoss
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
RaidMax
e956ab4d1a
support hot reload of plugin code in debug configuration 2024-08-27 10:10:58 -05:00
Amos
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
Liam
88d05f5a8a
H2M-Mod Support (#337)
* feat: add h2m support

* fix: remove unneeded comma
2024-08-12 20:05:25 -05:00
RaidMax
83f80b4fd2
fix persistent id parsing for low bits with leading 0s 2024-08-02 13:54:27 -05:00
Amos
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
Amos
b1810b0517
Add a tooltip for client profile total playtime for hours (#334) 2024-07-23 00:38:43 +01:00
Amos
bc3bd5b0f2
Using TellAsync instead of Tell to prevent Event flooding. (#332) 2024-07-22 20:43:54 +01:00
RaidMax
95523885b8
support for loading minimum permission level from config for script commands 2024-07-14 11:21:47 -05:00
RaidMax
a34ac7d224 prevent auto parsing of base gamescript and anticheat events to mitigate unneeded processing time 2024-07-12 22:19:42 -05:00
RaidMax
135fc98e1c use correct EFClient return time for ScriptPluginExtensions and provide IPAddress on game interface data 2024-07-12 22:08:23 -05:00
RaidMax
f4946a9e76 tweak team regex for kill/damage 2024-07-04 11:02:04 -05:00
RaidMax
3857c48bd2 update for BOIII parsing 2024-07-04 11:02:04 -05:00
RaidMax
eac9b8f150 remove some build warnings 2024-07-04 11:02:04 -05:00
RaidMax
19e5e06d5d remove unneeded xml documentation file in build 2024-07-04 11:02:04 -05:00
RaidMax
54abc45d28 trigger workflow 2024-06-30 21:19:39 -05:00
RaidMax
40f912542b only run local build script in debug 2024-06-29 17:01:59 -05:00
RaidMax
451b25ffb2 simplify build script for local builds 2024-06-29 16:54:06 -05:00
RaidMax
63e1f31c21 fix remote plugin loading 2024-06-29 11:14:09 -05:00
RaidMax
9cdb2ca63e update nuget pipeline
update script
2024-06-28 16:18:42 -05:00
RaidMax
c54ff5d095 disable command throttling for privileged users 2024-06-28 16:18:39 -05:00
RaidMax
e6272f610a Move/add client getters to ScriptPluginExtensions 2024-06-25 20:51:03 -05:00
RaidMax
b003ba2b75 temporary fix for pomelo ef/.net 8 query query translation 2024-06-23 16:27:00 -05:00
RaidMax
f8f6ca2c0d Reduce possibility of race condition reading updated config 2024-06-23 16:13:30 -05:00
RaidMax
1596af1548 implement functionality to dynamically populate property values from events that inherit from GameScriptEvent 2024-06-22 17:02:04 -05:00
RaidMax
dffcae8344 Add GameLogEvent as catch all for unhandled log lines 2024-06-22 12:18:33 -05:00
RaidMax
4b6f3e8851 Update nuget packages 2024-06-22 11:52:42 -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
aa83d88c77 Add command execution backoff/timeout 2024-02-24 18:07:34 -06:00
RaidMax
b286548906 Add server status received event including raw response 2024-02-17 15:33:15 -06:00
RaidMax
63ccd02eac Add startup notice for .NET 8 upgrade 2024-02-04 20:36:06 -06:00
RaidMax
f2c957fe71 Update csprojs to support SLC nuget building 2024-02-04 11:29:47 -06:00
RaidMax
539050d95f add clear all reports command 2023-09-14 21:40:35 -05:00
RaidMax
7ecbf8544a require login for wildcard ip search 2023-09-13 22:50:37 -05:00
RaidMax
a66a502480 add initial support for LFD2 2023-09-02 15:35:40 -05:00
RaidMax
2ea43fdd63 update default master url 2023-09-02 13:22:33 -05:00
RaidMax
e195668452 add missing shangri-la to T5 maps 2023-09-02 13:11:28 -05:00
RaidMax
4025cbcd8f add additional check for bot ping 2023-08-26 22:56:59 -05:00
RaidMax
8e1dd9d506 fix configuration write append issue 2023-08-23 16:34:07 -05:00
RaidMax
039e37be1f fix issue with CS:GO connector 2023-06-11 17:30:06 -05:00
RaidMax
6a3f4d0b57 update Jint package 2023-06-08 15:16:42 -05:00