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

16 Commits

Author SHA1 Message Date
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
RaidMax
f32949083f track private slots for webfront overview 2023-04-05 23:10:40 -05:00
RaidMax
9843f7404f add game badge to server overview 2022-06-04 09:58:30 -05:00
RaidMax
178cf6e92a ui tweaks/improvements including recent players and ip info lookup 2022-04-21 12:39:09 -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
6f6dd035ee Initial .net 6 upgrades 2022-01-26 15:26:25 -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
57f1dd3f3c add lobby rating to home
add gametype (WIP) to home
misc UI tweaks
2021-06-30 09:57:07 -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
2e0b1b3569 hide chat for password protected servers for issue #162 2020-08-20 10:38:11 -05:00
RaidMax
0e91205931 few more small fixes
complete join button on webfront
update for 2.2.6.0
2019-04-08 12:29:48 -05:00
RaidMax
46e1fdad6d start add of join button (still need to grab the external IP address)
finish up fixes for alias stuff
2019-04-07 20:14:59 -05: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
e695eb54ad adding Cod4 support (for steam GUID is truncated to 16 characters)
exit properly whoops
add all linked accounts to drop down
consolidate linked admin accounts to the most recently seen one
limited some waits to 5s to hopefully prevent a rare thread lock
2018-05-14 12:55:10 -05:00
RaidMax
e8b6525fea migrating to .NET Core 2.0 2018-04-08 01:44:42 -05:00