V2 Improvements - #45
Merged
Merged
Conversation
Introduces full name, display mode, and cached display name to personalize and standardize user identity while removing client-supplied contribution display names to prevent spoofing and eliminate duplication. Centralizes display name computation in auth with selectable modes and automatic backfill from external profile data. Reworks contributions and leaderboards to derive names directly from the user record for consistency. Adds high-performance nearest-airport lookup with bounding box prefilter, cached bucketed queries, and precise distance refinement for scalable geospatial queries. Extends division management with rename and delete actions and surfaces member display names. Captures first/last name from external API and enriches account responses; updates user listings accordingly. Removes obsolete display name endpoints and legacy update logic for a cleaner, more authoritative model.
…tribution retrieval logic
…ents for improved readability
… contact message schema
…er' and 'SimConnect.NET' options, and update related documentation and validation logic.
AussieScorcher
self-requested a review
August 19, 2025 10:07
AussieScorcher
approved these changes
Aug 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces database schema enhancements, WebSocket connection improvements, and documentation consistency updates. The main additions include new database tables for FAQs, installer releases, and contact messages, along with improved WebSocket state handling and standardized formatting across all project documentation.
Changes Made
faqs,installer_releases,contact_messages) with appropriate indexes to support new product featuresuserstable with new columns (full_name,display_mode,display_name) for richer user profilessrc/network/connection.tsto supportGET_STATEpackets and improved error handlingAdditional Information
The WebSocket improvements allow clients to request current state snapshots and include better logic for determining active state and controller presence. All documentation changes focus on consistency and clarity without altering functionality.
Author Information
Discord Username:
VATSIM CID: 1713821
Checklist: