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

246 Commits

Author SHA1 Message Date
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
Ayymoss
0a8bbf2997 Add instance uptime to API info response
This update includes the instance uptime in the API info response.
2024-09-06 19:19:40 -05:00
Amos
5dca8717b9
Using IRemoteCommandService to handle redirect for Command Execution via API (#333) 2024-07-23 00:38:55 +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
0f135337a9 Revert primary constructor change 2024-02-17 15:38:48 -06:00
RaidMax
d325993670 Add missing permission check to interaction controller 2024-02-17 15:27:38 -06:00
RaidMax
7ecbf8544a require login for wildcard ip search 2023-09-13 22:50:37 -05:00
RaidMax
a2e5e94b02 fix some issues with chat search feature 2023-08-27 12:28:35 -05:00
RaidMax
a169653e91 add chat to advanced search 2023-08-26 22:56:37 -05:00
RaidMax
3dd3f6ab2d optimize player history retrieval 2023-05-30 18:12:57 -05:00
RaidMax
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
RaidMax
7a3062f261 fix issue with help page not showing v2 commands 2023-05-14 22:46:03 -04:00
RaidMax
db8510f8e6 update top level client count stats to support filtering per game 2023-04-19 19:55:33 -05:00
RaidMax
11f97d951c Add grouping for servers on top stats, live radar, and scoreboard 2023-04-07 16:23:24 -05:00
RaidMax
f32949083f track private slots for webfront overview 2023-04-05 23:10:40 -05:00
RaidMax
ebe69a94ad implement new eventing system 2023-04-05 09:54:57 -05:00
RaidMax
53a6ef2ec3 update references from IP to ListenAddress 2023-04-04 22:21:18 -05:00
RaidMax
cd98ddcb55 update controllers to use DI stat manager 2023-04-04 22:10:37 -05:00
RaidMax
d3544b4519 implement PluginV2 for script plugins 2023-04-04 18:24:13 -05:00
RaidMax
4c51d86fae add "advanced" search functionality 2023-01-23 16:38:16 -06:00
RaidMax
9bd467c6c7 add game name to dropdown list on web console 2022-12-22 19:37:56 -06:00
RaidMax
5112d88ce2 improve webfront command error feedback 2022-10-25 14:52:12 -05:00
Amos
7180bfe1fc
Mute Banner for Profile & Prevent Self-Target & Correctly Expire Early Unmutes (#272)
* Fix self-targeting
Remove creation of penalty on mute expiration

* Display mute penalties on profile
Expire mute penalties on unmute

* Resolves issues in code review
Added comment in ClientController.cs
Fixed order of operations in MuteManager.cs
Fixed condition in MuteManager.cs

* Fix self-targeting
Remove creation of penalty on mute expiration

* Display mute penalties on profile
Expire mute penalties on unmute

* Resolves issues in code review
Added comment in ClientController.cs
Fixed order of operations in MuteManager.cs
Fixed condition in MuteManager.cs

* Changed localisation value to be more generic
Fix null reference warning (it should never be null) (34da216)
2022-10-24 18:58:12 -05:00
RaidMax
455759787a fix issue with random concurrency issue on interaction reaction 2022-10-24 18:57:35 -05:00
RaidMax
450c8a45da add support for plugin generated pages (interactions). add disallow vpn command 2022-10-17 09:17:43 -05:00
RaidMax
a71a5d7f3b update default permissions for guest webfront users 2022-10-16 16:25:09 -05:00
RaidMax
f4fbbffd8a fix issue with new remote command execution 2022-10-13 13:29:39 -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
febb44923b don't display client banned on webfront if a linked ban has been revoked but they haven't reconnected yet 2022-07-25 11:54:55 -05:00
RaidMax
2255234229 small tweaks for notes/tags 2022-07-20 11:39:46 -05:00
RaidMax
c6b0f96a69 add client note command and feature 2022-07-20 10:32:26 -05:00
RaidMax
ee5fc9383d add set client tag to webfront profile as button 2022-07-19 20:37:48 -05:00
RaidMax
1fc418c792 more localization tweaks 2022-07-08 20:40:27 -05:00
RaidMax
65175f7968 fix grouping of commands on help page 2022-07-05 15:57:39 -05:00
RaidMax
34d800a8b4 clean up some more translations 2022-07-05 12:42:17 -05:00
RaidMax
c8eb6168d9 update webfront translation strings 2022-07-05 12:02:43 -05:00
RaidMax
6f5db426c1 misc ui tweaks 2022-06-16 14:02:44 -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
5966541039 add alert/notification functionality (for server connection events and messages) 2022-06-11 11:34:00 -05:00
RaidMax
0694bd1301 fix bug with loading top stats for individual servers 2022-06-09 13:50:58 -05:00
RaidMax
345c415c7d add total ranked client number for stats pages 2022-06-09 09:56:41 -05:00
RaidMax
c0879267c8 add game to player profile and admins page 2022-06-07 21:58:32 -05:00
RaidMax
ae05bc4009 add ban management page 2022-06-05 16:27:56 -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
dc07e72fb3 improve loading of recent clients 2022-04-28 11:42:23 -05:00