Repository navigation
4.0.1
[4.0.1] - 2026-10-11
Added
UpdateManagerMixin: AddedUpdateManagerMixinto streamline model-level update management forCharacterOwnerandCorporationOwnerwith standardizedownerstatus models.- User-Grouped Character Updates:
update_subset_charactersand newupdate_user_characterstask now group active characters by user, updating mains and alts together in the same run to ensure cross-character data consistency. - Alt Character Cascading: Adding or forcing an update on a character cascades to other active characters belonging to the same user (
update_alts=True). - Character Administration Last Sync & Manual Update: Added last synchronization display (formatted date and relative time) on the account overview and individual registered character cards. Added a manual update trigger button in the character administration header with a configurable cooldown (
LEDGER_MANUAL_UPDATE_COOLDOWN, default: 300 seconds) and a live countdown timer. - Pulsating Administration Button & Error Highlighting: Added animated glowing pulse and status ping indicators to the "Administration" button across Character, Corporation, and Alliance ledgers when ESI or update errors are detected (
has_errors/issues). In the administration view, registered character and corporation cards with errors or token errors now feature animated glowing borders (lg-entry-error,lg-entry-warning) and status badges with pulsing pinging indicators.
Changed
- Modular Update Manager: Encapsulated section discovery (
get_sections_to_update) and execution (execute_section) insideUpdateManagerwith standardizedownerqueries, removing boilerplate orchestration and dynamic reflection methods (_get_owner_field_name,_owner_filter). - Update Manager & Direct Execution: Replaced Celery subtask chaining and retry context managers with direct, sequential section updates in
update_characterandupdate_corporation. - Cache Stale Thresholds: Updated
LEDGER_STALE_TYPESto align with CCP ESI cache policies (Wallet Journal: 60 minutes, Mining: 10 minutes, Planets: 10 minutes). - Update Freshness Tracking: Freshness checks in
need_update()now evaluatelast_run_finished_atrather thanlast_update_finished_at, preventing redundant polling when ESI returns HTTP 304 (Not Modified). - Token Error Classification: Token error status (
has_token_error=True) is now strictly reserved for genuine authentication and permission issues (HTTP 401, 403, 404, orTokenError), preventing server errors (5xx) or HTTP 304 from setting a token error. - Reduced Log Verbosity for Transient ESI Errors: ESI server errors (e.g. HTTP 504 Gateway Timeout, 502, 503) and network request timeouts (
RequestError) during downtime or Tranquility cluster hiccups are now logged atDEBUGlevel instead ofWARNINGorERROR.
Fixed
- Admin & Charlink Parameter Handling: Fixed bug in
admin.pyandcharlink_hook.pywhere database primary keys were passed to update tasks instead of EVE IDs. - Unintended token error: Fixed an issue where Client errors (e.g. 404 Not Found) were incorrectly flagged as token errors.
What's Changed
- [CHANGE] Optimize Update Manager by @Geuthur in #356
- [CHANGE] Optimize Update Manager by @Geuthur in #357
- [ADD] animated glowing pulse and status ping indicators to the "Admin… by @Geuthur in #358
- [RELEASE] v4.0.1 by @Geuthur in #359
Full Changelog: v4.0.0...v4.0.1