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

62 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
Ayymoss
2d7819c731 Remove unnecessary imports 2024-09-06 19:20:30 -05:00
Ayymoss
3f8b2fac9e Add GameName to ClientInfoResult and ClientController
Updated `ClientInfoResult` to include a new `GameName` property. Also modified `ClientController` to handle and display this new property properly.
2024-09-06 19:20:30 -05:00
Ayymoss
5c9cfbd2c2 Add /api/client/{clientId} Endpoint
This endpoint returns general information about the client ID provided.
2024-09-06 19:20:30 -05:00
RaidMax
3dd3f6ab2d optimize player history retrieval 2023-05-30 18:12:57 -05:00
RaidMax
db8510f8e6 update top level client count stats to support filtering per game 2023-04-19 19:55:33 -05:00
RaidMax
f32949083f track private slots for webfront overview 2023-04-05 23:10:40 -05:00
RaidMax
4c51d86fae add "advanced" search functionality 2023-01-23 16:38:16 -06:00
RaidMax
4cf62b73f1 add level color coding to target on penalty list for issue #265 2022-10-13 10:41:51 -05:00
RaidMax
8d8a8d869a implement profile interaction registration through plugins (mute and vpn detection implementation) 2022-09-08 15:03:38 -05:00
RaidMax
c6b0f96a69 add client note command and feature 2022-07-20 10:32:26 -05:00
RaidMax
c0879267c8 add game to player profile and admins page 2022-06-07 21:58:32 -05:00
RaidMax
9843f7404f add game badge to server overview 2022-06-04 09:58:30 -05:00
RaidMax
aa7e63022c add baninfo api 2022-06-02 16:48:47 -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
3d18c07868 collect data when server offline 2022-03-29 17:18:41 -05:00
RaidMax
d0670760fb improve server clientcount/activity graph on server overview 2022-03-29 16:42:53 -05:00
RaidMax
bae415c81b implement metaservice v2 2022-03-23 08:43:57 -05:00
RaidMax
385464f1dc add permission level changed meta 2022-02-23 12:47:00 -06:00
RaidMax
6f6dd035ee Initial .net 6 upgrades 2022-01-26 15:26:25 -06:00
RaidMax
778bb34609 add tooltip timestamp to max concurrent players 2021-09-14 18:12:20 -05:00
RaidMax
d46c090301 implement client server connection tracking persistence 2021-08-31 18:21:40 -05:00
RaidMax
dcf690325c persist client count history data across reboots and allow for configurable timespan 2021-08-29 13:10:10 -05:00
RaidMax
fe140707ee Add max concurrent players over 24 hours badge to home 2021-08-26 17:35:05 -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
92e7a8bd2b implement custom tag (descriptor) feature
allow override of level names through configuration
few small fixes/improvements
2021-01-24 11:47:19 -06:00
RaidMax
1c7e66da44 persist say command messages with webfront denotation to chat log
per issue #159
2020-11-18 09:08:24 -06:00
RaidMax
514af749e7 update GenerateGuidFromString to resolve to a stable hash code.
fix bots not showing up on live radar
2020-09-21 15:30:42 -05:00
RaidMax
2e0b1b3569 hide chat for password protected servers for issue #162 2020-08-20 10:38:11 -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
39e0874bec [issue #139] client lookup and stats api 2020-05-25 13:04:44 -05:00
RaidMax
cc8756107f implement audit log view in webfront 2020-04-28 16:48:06 -05:00
RaidMax
296411a5be add server categorization feature (issue #77) 2020-04-13 20:26:13 -05:00
RaidMax
06e12248f9
move all the deployment setup into 2.4 pr (#85)
* don't run build commands in release

* fix test file

* Set up CI with Azure Pipelines

[skip ci]

* Include fonts and fix automessage hidden command

* more project changes

* migration from bower to libman

* more lib man changes

* project update for sneaky commands

* add missing canvas.js dep
update projects not to have stupid extra dlls

include in previous

* update pipeline file

* update post publish script and pipeline definition

* fix broken yaml

* move encoding conversion to seperate script

* remove extra uneeded rank icons
remove garbage language files being created
remove frontend lib when done

* fix publish script path

* grab localizations through powershell

* fix broken batch 🤷

* actually fixed

* only include runtime compilation in debug mode for webfront

* don't deploy un minified css
use full jquery version

* add step to download the scss for open iconic
change the font path

* update mkdir for iconic path

* don't include old iconic css

* correct font path for real now

* copy script plugins

* lots of changes for deployment

* build the projects

* use projectdir instead of solution dir

* nerf script commands plugin
fix live radar left over command

* actually kill script command post build

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* fix the font file copy (I think)

* maybe fix delete folder issue

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines
2019-12-02 15:52:36 -06:00
RaidMax
ba86810d4f fix issue with duplicate js function names for loader
hide flagged status of users on webfront unless logged in (will still show the level if they report someone because cba to update the view component w/out auth status)
add terminal to the radar maps
2019-07-24 10:36:37 -05:00
RaidMax
39d31dbe3c combined Penalty and EFPenalty
moved some classes around
2019-05-29 16:55:35 -05:00
RaidMax
3488bc5d15 deleted localization files as they're now generated during release
reintroduce throttling for servers that are unreachable (defaults to 60 seconds between polls)
small revert to the RektT5M parser contell -> tell
add migration to introduce gamename to server
impllement quickmessage mapping
2019-04-23 17:27:20 -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
e3aa62334a clean up log reader/make it output more useful message if things go wrong
add unflag as a penalty
show bans/tempbans even after they've expired on penalty list
continue making alias links great again
2019-04-05 13:34:03 -05:00
RaidMax
8a7c4e4cf0 refine webfront pages
finish refactor of penalty information/profile
optimize pull penalty query
start impl of quick message mapping
2019-03-31 19:56:31 -05:00
RaidMax
807d9fa069 finish initial rework of profile page with meta pagination 2019-03-29 21:56:56 -05:00
RaidMax
25472b06c3 continue rework of profile
start moving profile info out of javascript into componentview
rework meta data to include count and offset
2019-03-27 19:40:26 -05:00
RaidMax
fea974ee0f fix bug with privileged users not always showing the most recent profile
temporary bans are now applied to all linked accounts instead of a per-guid basis
rework set level flow
add guid and ip address (if logged in) to public async endpoint
2019-03-24 21:34:20 -05:00
RaidMax
5755775b85 Fix bug introduced with auto messages 2019-02-19 19:39:09 -06:00
RaidMax
ea40f17f7b enhancement for issue #63 2019-02-17 18:48:40 -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
a320389736 started work on getting the restart functionality in the gamelogserver
fix bug with unbanned players still showing as banned via lock icon
move player based stuff into client class
finally renamed Player to EFClient via partial class
don't try to run this build because it's in between stages
2018-11-05 21:01:29 -06:00