vAMSYS 5.0.19
Discord-Related Fixes:
Discord Daily Statistics Summaries heading date was off by a day: Corrected an issue where the heading date in daily statistics summaries was showing the wrong day.
Possible to link several users to the same Discord account: Resolved a bug allowing multiple user accounts to be linked to the same Discord account.
User Merge would not merge linked Discord account: Ensured that merging user accounts now correctly includes linked Discord accounts.
Route and Dispatch Management:
Route Importer would insert current time if departure or arrival time was empty: Fixed default behavior when route times were left empty during import.
Tag filter in VDS Routes contains tags from deleted routes: Updated the tag filter logic to exclude tags associated with deleted routes.
On SB Dispatch alternates number not sent to SB: Corrected the dispatch logic to include the number of alternates in the data sent.
Pilot Management:
Ignore deleted users when validating online network ID uniqueness: Ensured that deleted users are ignored when checking for unique online network IDs.
When banning a user, apply ban to deleted pilot accounts too in case of restore in the future: Enhanced the banning process to apply bans to deleted pilot accounts as well.
Pilot Restore would sometimes not reset activity grace: Fixed a bug that prevented resetting the activity grace period when restoring a pilot account.
Halt Pilot deletion for not meeting activity requirements if they have/had active flight in the last 30 minutes: Safeguard added to stop pilot deletions if the pilot has recently been in-flight.
Halt Pilot deletion for not meeting activity requirements if they have a PIREP in processing or pending review: Prevents deletion of pilots with pending or processing PIREPs.
It is possible to create multiple pilot invites for the same user when invite is already pending: Restricted duplicate invites for a user who already has a pending invite.
Permissions and Security:
It is possible to ban VA Owner and VA Staff: Corrected an issue allowing bans on VA Owners and Staff when it should be restricted.
Ban/Unban not properly tied to Staff permissions: Ensured that the ability to ban/unban is now tied to proper staff permissions.
Rank, Badge, and Tour Management:
When editing a Rank PIREP requirements cannot be edited: Resolved an issue preventing changes to PIREP requirements for ranks during editing.
Badge expected 'greater than' in PIREP count evaluation and not greater than or equal to: Fixed badge logic to include "equal to" in PIREP count evaluations.
Tour would not register as complete in some cases where leg was flown more than once: Ensured tours are marked complete even when legs are flown multiple times.
It is possible to create a tour with no legs: Added validation to prevent creating tours without any legs.
Billing and Plans:
Billing page text descriptions not recognizing plans between per year and per month: Addressed confusion in recognizing annual versus monthly plans.
System Performance and Stability:
Orwell Pilot list column sort error: Fixed issues with sorting columns in the pilot list.
Memory Issues in VDS Routes and Orwell PIREP list tables: Optimized tables to reduce memory consumption and improve stability.
PIREP Points sum would not update after adding Social Points for Group Flight or Shared Cockpit: Ensured that PIREP points are recalculated correctly after adding social points.