Skip to content

4.1.0

Choose a tag to compare

@Geuthur Geuthur released this 25 Oct 15:46
· 61 commits to master since this release
9566aa6

[4.1.0] - 2026-10-25

Added

  • Standardized AdministrationPage (/administration/) with KPI metrics, sync issue indicators, collapsible task administration panel, and owner audit inspection.
  • Alt management modal (AdministrationAltsModal) with bulk refresh action and corporation tickers.
  • Card-based OverviewPage with entity search, type filtering, and direct navigation links.
  • Unified SettingsPage components (BaseUserSettingsCard, BaseOwnerSettingsSection) for managing registered characters, corporations, and alts.
  • Backend API endpoints for settings owners (settings/owners/), administration owners (administration/owners/), and single-owner updates.
  • Pulsing notification badge (aa-menu-badge-pulse) on navigation links indicating active sync or token errors.
  • Unit test suite for BaseTable verifying rendering, sorting, filtering, and pagination.
  • Type filter (All / Character / Corporation / Alliance) and name search for owners on the SettingsPage (OwnerFilterBar).
  • "Unregistered" modal on SettingsPage corporation and alliance cards listing characters or corporations not registered in Ledger (settings/owners/{owner_type}/{owner_id}/unregistered/); alliance cards are now shown in settings owners.
  • Alliance support in AdministrationPage (AdministrationOwnersTable & AdministrationInspectionView) with direct inspection into AllianceLedger, alliance filtering, and unregistered member corporations modal.
  • Unregistered member trigger button ({count} Unregistered) on corporation and alliance owners in AdministrationOwnersTable.
  • CharacterOwner.objects.enable_characters_with_owner() re-enables disabled characters that have an owner again and a valid token with all required scopes; it runs in update_all_characters and update_subset_characters right after disable_characters_with_no_owner().
  • Added optional rowSelection, onRowSelectionChange, enableRowSelection, getRowId and onRowClick props to BaseTable so all plugins can share one table implementation.

Fixed

  • [FIX] Unified the capitalization of UI strings: "Show All", "No owners found." and "Last sync".
  • Fixed missing return statement and import grouping in BaseTableToolbar.
  • [FIX] The issue badge on the Settings navigation item now also counts failed update sections (e.g. token errors) of corporations the user has added, not only of the user's own characters; the counting lives in get_user_issue_count.
  • [FIX] Update sections with has_token_error set are now counted as failed even if is_success is still true, so the Settings badge matches the "Token Error" status shown in Settings.
  • Fixed character update endpoint to respect force_refresh=False.
  • Fixed the import-headings ESLint rule duplicating comments above the first import on every --fix pass, which could grow a file exponentially; added a unit test (eslint-rules/import-headings.test.mjs).

Changed

  • [CHANGE] Use the typographic ellipsis (…) instead of three dots in loading texts and placeholders; the translation keys changed accordingly.
  • [CHANGE] Removed the pulsing dot fallback from the Settings navigation item; only the issue count badge pulses (aa-menu-badge-pulse).
  • [CHANGE] The Settings issue badge is red (bg-danger) instead of yellow, consistent with the other plugins.
  • Centralized all application permissions and permission evaluation logic into General (General.Permission(models.TextChoices) and helper methods has_perm, has_any_perm, has_management_access, has_admin_management_access, get_perm).
  • Modularized ledger/api/administration.py by extracting business logic and owner/inspection builders into ledger/api/helpers/administration.py, reducing controller size from >600 lines to under 190 lines and eliminating N+1 queries.
  • Filtered AdministrationPage alliance owners (administration/owners/) to strictly include only alliances that have at least one corporation registered in audit.
  • Isolated SettingsPage (settings/owners/) and its bulk update trigger to strictly include only the current user's own characters and personally added corporations, rather than permissions-based manage_to owners.
  • Extended settings/owners/{owner_type}/{owner_id}/unregistered/ to allow inspection by superusers and managers across all manageable corporations and alliances.
  • Unified BaseTable into a single aa-table architecture with integrated BaseTableHeader, Lucide sort icons, and streamlined footer controls.
  • Overhauled table column filters (BaseTableFilter) with compact dark-themed inputs and Lucide icons.
  • Migrated frontend components and modals to native Bootstrap 5.3 utilities scoped to .aa-react.
  • Moved the owner error message in AdministrationOwnersTable out of the status column: the status badge is now clickable (keyboard accessible) when an error or token_error exists and opens the new AdministrationErrorModal with the full message.
  • Consolidated navigation structure to Overview, My Characters, Settings, and Administration (ShieldAlert).
  • Enabled management access in Administration API and navigation menu using manage_to for granular character and corporation access control.
  • Renamed the "Superuser" area to "Administration": menu entry, page (/administration/, old /superuser/ route redirects), API endpoints (administration/owners/...), schemas (AdministrationOwnerSchema, AdministrationOwnerUpdateRequest), components, query keys and translations. UserData.is_admin is now is_superuser.
  • Replaced the remaining is_superuser checks in General.has_delete_access and the character/corporation audit managers with the permission system (General.has_perm); superusers keep full access.
  • Restricted cache bypass (force_refresh) for single-owner updates in the Administration view to superusers. Other managers receive 403 Forbidden; the force refresh option is hidden for them in the UI. Global updates stay superuser-only.
  • Consolidated the frontend formatting helpers in Utils/format.ts (formatNumber, formatCompactNumber, formatIsk, formatDate, formatRelativeTime, formatEta) with a single en locale fallback; renderTooltip now lives only in Utils/bootsTrap.tsx and renderHtml in Utils/general.tsx.
  • Replaced pook with pookx in the test dependencies and removed the custom httpx2 pook interceptor, which pookx now provides.

Removed

  • Removed legacy AdministrationView and redundant table-based overview routes.
  • Deprecated custom CSS panel, card, and layout utility classes in favor of Bootstrap 5.3.