Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.10.0 Add Chat Logging Backend, Change Index Page Totals, and other Minor Changes #24

Merged
merged 18 commits into from
Feb 25, 2025

Conversation

Frozen-H2O
Copy link
Collaborator

@Frozen-H2O Frozen-H2O commented Feb 7, 2025

  • Remove references to Discord punishments, as there are no plans to support these
  • Rework index page to display totals related to punishments. Server total, player total, and active punishment total were replace with item ban total, admin chat block total, and call admin block total.
  • Change icon for admin chat blocks to be in line with other slashed out icons (a bell with a slash through it)
  • Attempt to prevent browser caching of files across GFLBans versions
  • Update Jinja library due to vulnerabilities
  • Add backend for chat logging (front end not implemented yet)
  • Rework HTTP error codes so that Valve/Steam (and by extension, cs2fixes) user agent can get error codes properly
  • Rename 'Panel Admin' permission to 'Edit All Comments' so as to better reflect what it does
  • Hopefully fix an issue where creating new servers did not save the enabled variable in MongoDB
  • Add a better past infraction search that recursively links together different accounts by matching IPs
  • Display total block count on infraction pages
  • Creating IP infractions (no steam ID attached) should properly log through Discord webhooks now (editing, removing, and reinstating already worked)
  • Add additional parameters + return values to infractions/stats API
  • Add current map to call admin Discord embeds

- While these could be stored, there was no integration in a discord bot for them, so was unused
- Use a bell with a slash for admin chat blocks, to make it align with other slash icons for blocks
- Make index page display totals for infraction counts, rather than stuff like total servers enabled (since it is a ban management site, not gametracker)
- Use summation icon for total infractions instead of a gavel to make it more intuitive what it is tracking
- Sigma (summation) just looks ugly when other counts use icons
- Remove gavel from header, since it is being displayed twice there
- Return error codes for Valve/Steam user-agent instead of a web page
- Make error.html print the specific error detail insteaad of from preset strings based upon the error code number
@Frozen-H2O Frozen-H2O marked this pull request as draft February 8, 2025 09:29
- Recursively search by ID+IP to display alt accounts. Allow for max 10 depth recursion, default to 3
- Display number of total blocks for a player on infraction pages
- Remove links for normal id/ip searches on infraction pages
@Frozen-H2O Frozen-H2O marked this pull request as ready for review February 17, 2025 17:46
@Vauff Vauff merged commit b12775e into main Feb 25, 2025
@Vauff Vauff deleted the dev branch February 25, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants