diff --git a/CHANGELOG.md b/CHANGELOG.md index e38cf259..da5cde31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,771 +1,770 @@ -# Change Log - - - -## [v1.35.0](https://github.com/wanderer-industries/wanderer/compare/v1.34.0...v1.35.0) (2025-01-07) - - - - -### Features: - -* Map: add "temporary system names" toggle (#86) - -## [v1.34.0](https://github.com/wanderer-industries/wanderer/compare/v1.33.1...v1.34.0) (2025-01-07) - - - - -### Features: - -* Map: api to allow systematic access to visible systems and tracked characters (#89) - +# Change Log + + + + +## [v1.35.0](https://github.com/wanderer-industries/wanderer/compare/v1.34.0...v1.35.0) (2025-01-07) + + +### Features: + +* Map: add "temporary system names" toggle (#86) + +## [v1.34.0](https://github.com/wanderer-industries/wanderer/compare/v1.33.1...v1.34.0) (2025-01-07) + + + + +### Features: + +* Map: api to allow systematic access to visible systems and tracked characters (#89) + * add limited api for system and tracked characters - -## [v1.33.1](https://github.com/wanderer-industries/wanderer/compare/v1.33.0...v1.33.1) (2025-01-07) - - - - -## [v1.33.0](https://github.com/wanderer-industries/wanderer/compare/v1.32.7...v1.33.0) (2025-01-07) - - - - -### Features: - -* Map: api to allow systematic access to visible systems and tracked characters (#89) - + +## [v1.33.1](https://github.com/wanderer-industries/wanderer/compare/v1.33.0...v1.33.1) (2025-01-07) + + + + +## [v1.33.0](https://github.com/wanderer-industries/wanderer/compare/v1.32.7...v1.33.0) (2025-01-07) + + + + +### Features: + +* Map: api to allow systematic access to visible systems and tracked characters (#89) + * add limited api for system and tracked characters - -## [v1.32.7](https://github.com/wanderer-industries/wanderer/compare/v1.32.6...v1.32.7) (2025-01-06) - - - - -## [v1.32.6](https://github.com/wanderer-industries/wanderer/compare/v1.32.5...v1.32.6) (2025-01-06) - - - - -## [v1.32.5](https://github.com/wanderer-industries/wanderer/compare/v1.32.4...v1.32.5) (2025-01-04) - - - - -### Bug Fixes: - -* map: prevent deselect on click to map (#96) - -## [v1.32.4](https://github.com/wanderer-industries/wanderer/compare/v1.32.3...v1.32.4) (2025-01-02) - - - - -### Bug Fixes: - -* Map: Fix 'Character Activity' modal - -## [v1.32.3](https://github.com/wanderer-industries/wanderer/compare/v1.32.2...v1.32.3) (2025-01-02) - - - - -### Bug Fixes: - -* Map: Fix 'Allow only tracked characters' saving - -## [v1.32.2](https://github.com/wanderer-industries/wanderer/compare/v1.32.1...v1.32.2) (2025-01-02) - - - - -## [v1.32.1](https://github.com/wanderer-industries/wanderer/compare/v1.32.0...v1.32.1) (2024-12-25) - - - - -## [v1.32.0](https://github.com/wanderer-industries/wanderer/compare/v1.31.0...v1.32.0) (2024-12-24) - - - - -### Features: - -* Map: Add search & update manual adding systems API - -* Map: Add search & update manual adding systems API - -### Bug Fixes: - -* Map: Added ability to add new system to routes via routes widget - -* Map: Reworked add system to map - -## [v1.31.0](https://github.com/wanderer-industries/wanderer/compare/v1.30.2...v1.31.0) (2024-12-20) - - - - -### Features: - -* Core: Show tracking for new users by default. Auto link characters to account fix. Add character loading indicators. - -## [v1.30.2](https://github.com/wanderer-industries/wanderer/compare/v1.30.1...v1.30.2) (2024-12-17) - - - - -### Bug Fixes: - -* Map: Fixed problem with ship size change. - -## [v1.30.1](https://github.com/wanderer-industries/wanderer/compare/v1.30.0...v1.30.1) (2024-12-17) - - - - -### Bug Fixes: - -* Map: Little rework Signatures header: change System Signatures to Signatures, and show selected system name instead. - -* Map: update default size of connections - -* Map: add ability set the size of wormhole and mark connection with label - -## [v1.30.0](https://github.com/wanderer-industries/wanderer/compare/v1.29.5...v1.30.0) (2024-12-16) - - - - -### Features: - -* Map: Fixed incorrect wrapping labels of checkboxes in System Signatures, Local and Routes. Also changed dotlan links for k-spacem now it leads to region map before, for wh all stay as it was. Added ability to chane to softer background and remove dots on background of map. Also some small design issues. #2 - -* Map: Fixed incorrect wrapping labels of checkboxes in System Signatures, Local and Routes. Also changed dotlan links for k-spacem now it leads to region map before, for wh all stay as it was. Added ability to chane to softer background and remove dots on background of map. Also some small design issues. - -### Bug Fixes: - -* Map: fixed U210, K346 for C4 shattered systems - -* Map: fixed U210, K346 for shattered systems. Fixed mass of mediums chains. Fixed size of some capital chains from 3M to 3.3M. Based on https://whtype.info/ data. - -* Map: removed unnecessary log - -* Map: Uncomment what should not be commented - -## [v1.29.5](https://github.com/wanderer-industries/wanderer/compare/v1.29.4...v1.29.5) (2024-12-14) - - - - -### Bug Fixes: - -* Core: Fix character trackers cleanup - -## [v1.29.4](https://github.com/wanderer-industries/wanderer/compare/v1.29.3...v1.29.4) (2024-12-10) - - - - -### Bug Fixes: - -* Core: Small fixes - -## [v1.29.3](https://github.com/wanderer-industries/wanderer/compare/v1.29.2...v1.29.3) (2024-12-07) - - - - -### Bug Fixes: - -* Core: Increased eve DB data download timeout - -## [v1.29.2](https://github.com/wanderer-industries/wanderer/compare/v1.29.1...v1.29.2) (2024-12-07) - - - - -### Bug Fixes: - -* Core: Fix unpkg CDN issues, fix Abyssals sites adding as systems on map - -## [v1.29.1](https://github.com/wanderer-industries/wanderer/compare/v1.29.0...v1.29.1) (2024-12-05) - - - - -## [v1.29.0](https://github.com/wanderer-industries/wanderer/compare/v1.28.1...v1.29.0) (2024-12-05) - - - - -### Features: - -* Signatures: Show 'Unsplashed' signatures on the map (optionally) - -## [v1.28.1](https://github.com/wanderer-industries/wanderer/compare/v1.28.0...v1.28.1) (2024-12-04) - - - - -## [v1.28.0](https://github.com/wanderer-industries/wanderer/compare/v1.27.1...v1.28.0) (2024-12-04) - - - - -### Features: - -* Map: Added an option to show 'Offline characters' to map admins & managers only - -## [v1.27.1](https://github.com/wanderer-industries/wanderer/compare/v1.27.0...v1.27.1) (2024-12-04) - - - - -### Bug Fixes: - -* Map: Fix 'On the map' visibility - -## [v1.27.0](https://github.com/wanderer-industries/wanderer/compare/v1.26.1...v1.27.0) (2024-12-03) - - - - -### Features: - -* Map: Hide 'On the map' list for 'Viewer' role - -## [v1.26.1](https://github.com/wanderer-industries/wanderer/compare/v1.26.0...v1.26.1) (2024-12-03) - - - - -### Bug Fixes: - -* Signatures: Fix error on splash wh - -## [v1.26.0](https://github.com/wanderer-industries/wanderer/compare/v1.25.2...v1.26.0) (2024-12-03) - - - - -### Features: - -* Signatures: Keep 'Lazy delete' enabled setting - -## [v1.25.2](https://github.com/wanderer-industries/wanderer/compare/v1.25.1...v1.25.2) (2024-12-01) - - - - -### Bug Fixes: - -* Signatures: Fix lazy delete on system switch - -## [v1.25.1](https://github.com/wanderer-industries/wanderer/compare/v1.25.0...v1.25.1) (2024-11-28) - - - - -### Bug Fixes: - -* Signatures: Fix colors & add 'Backspace' hotkey to delete signatures - -## [v1.25.0](https://github.com/wanderer-industries/wanderer/compare/v1.24.2...v1.25.0) (2024-11-28) - - - - -### Features: - -* Signatures: Automatically remove signature if linked system removed - -## [v1.24.2](https://github.com/wanderer-industries/wanderer/compare/v1.24.1...v1.24.2) (2024-11-27) - - - - -### Bug Fixes: - -* Signatures: Fix paste signatures - -## [v1.24.1](https://github.com/wanderer-industries/wanderer/compare/v1.24.0...v1.24.1) (2024-11-27) - - - - -## [v1.24.0](https://github.com/wanderer-industries/wanderer/compare/v1.23.0...v1.24.0) (2024-11-27) - - - - -### Features: - -* Signatures: Added "Lazy delete" option & got rid of update popup - -## [v1.23.0](https://github.com/wanderer-industries/wanderer/compare/v1.22.0...v1.23.0) (2024-11-26) - - - - -### Features: - -* Map: Lock systems available to manager/admin roles only (#75) - + +## [v1.32.7](https://github.com/wanderer-industries/wanderer/compare/v1.32.6...v1.32.7) (2025-01-06) + + + + +## [v1.32.6](https://github.com/wanderer-industries/wanderer/compare/v1.32.5...v1.32.6) (2025-01-06) + + + + +## [v1.32.5](https://github.com/wanderer-industries/wanderer/compare/v1.32.4...v1.32.5) (2025-01-04) + + + + +### Bug Fixes: + +* map: prevent deselect on click to map (#96) + +## [v1.32.4](https://github.com/wanderer-industries/wanderer/compare/v1.32.3...v1.32.4) (2025-01-02) + + + + +### Bug Fixes: + +* Map: Fix 'Character Activity' modal + +## [v1.32.3](https://github.com/wanderer-industries/wanderer/compare/v1.32.2...v1.32.3) (2025-01-02) + + + + +### Bug Fixes: + +* Map: Fix 'Allow only tracked characters' saving + +## [v1.32.2](https://github.com/wanderer-industries/wanderer/compare/v1.32.1...v1.32.2) (2025-01-02) + + + + +## [v1.32.1](https://github.com/wanderer-industries/wanderer/compare/v1.32.0...v1.32.1) (2024-12-25) + + + + +## [v1.32.0](https://github.com/wanderer-industries/wanderer/compare/v1.31.0...v1.32.0) (2024-12-24) + + + + +### Features: + +* Map: Add search & update manual adding systems API + +* Map: Add search & update manual adding systems API + +### Bug Fixes: + +* Map: Added ability to add new system to routes via routes widget + +* Map: Reworked add system to map + +## [v1.31.0](https://github.com/wanderer-industries/wanderer/compare/v1.30.2...v1.31.0) (2024-12-20) + + + + +### Features: + +* Core: Show tracking for new users by default. Auto link characters to account fix. Add character loading indicators. + +## [v1.30.2](https://github.com/wanderer-industries/wanderer/compare/v1.30.1...v1.30.2) (2024-12-17) + + + + +### Bug Fixes: + +* Map: Fixed problem with ship size change. + +## [v1.30.1](https://github.com/wanderer-industries/wanderer/compare/v1.30.0...v1.30.1) (2024-12-17) + + + + +### Bug Fixes: + +* Map: Little rework Signatures header: change System Signatures to Signatures, and show selected system name instead. + +* Map: update default size of connections + +* Map: add ability set the size of wormhole and mark connection with label + +## [v1.30.0](https://github.com/wanderer-industries/wanderer/compare/v1.29.5...v1.30.0) (2024-12-16) + + + + +### Features: + +* Map: Fixed incorrect wrapping labels of checkboxes in System Signatures, Local and Routes. Also changed dotlan links for k-spacem now it leads to region map before, for wh all stay as it was. Added ability to chane to softer background and remove dots on background of map. Also some small design issues. #2 + +* Map: Fixed incorrect wrapping labels of checkboxes in System Signatures, Local and Routes. Also changed dotlan links for k-spacem now it leads to region map before, for wh all stay as it was. Added ability to chane to softer background and remove dots on background of map. Also some small design issues. + +### Bug Fixes: + +* Map: fixed U210, K346 for C4 shattered systems + +* Map: fixed U210, K346 for shattered systems. Fixed mass of mediums chains. Fixed size of some capital chains from 3M to 3.3M. Based on https://whtype.info/ data. + +* Map: removed unnecessary log + +* Map: Uncomment what should not be commented + +## [v1.29.5](https://github.com/wanderer-industries/wanderer/compare/v1.29.4...v1.29.5) (2024-12-14) + + + + +### Bug Fixes: + +* Core: Fix character trackers cleanup + +## [v1.29.4](https://github.com/wanderer-industries/wanderer/compare/v1.29.3...v1.29.4) (2024-12-10) + + + + +### Bug Fixes: + +* Core: Small fixes + +## [v1.29.3](https://github.com/wanderer-industries/wanderer/compare/v1.29.2...v1.29.3) (2024-12-07) + + + + +### Bug Fixes: + +* Core: Increased eve DB data download timeout + +## [v1.29.2](https://github.com/wanderer-industries/wanderer/compare/v1.29.1...v1.29.2) (2024-12-07) + + + + +### Bug Fixes: + +* Core: Fix unpkg CDN issues, fix Abyssals sites adding as systems on map + +## [v1.29.1](https://github.com/wanderer-industries/wanderer/compare/v1.29.0...v1.29.1) (2024-12-05) + + + + +## [v1.29.0](https://github.com/wanderer-industries/wanderer/compare/v1.28.1...v1.29.0) (2024-12-05) + + + + +### Features: + +* Signatures: Show 'Unsplashed' signatures on the map (optionally) + +## [v1.28.1](https://github.com/wanderer-industries/wanderer/compare/v1.28.0...v1.28.1) (2024-12-04) + + + + +## [v1.28.0](https://github.com/wanderer-industries/wanderer/compare/v1.27.1...v1.28.0) (2024-12-04) + + + + +### Features: + +* Map: Added an option to show 'Offline characters' to map admins & managers only + +## [v1.27.1](https://github.com/wanderer-industries/wanderer/compare/v1.27.0...v1.27.1) (2024-12-04) + + + + +### Bug Fixes: + +* Map: Fix 'On the map' visibility + +## [v1.27.0](https://github.com/wanderer-industries/wanderer/compare/v1.26.1...v1.27.0) (2024-12-03) + + + + +### Features: + +* Map: Hide 'On the map' list for 'Viewer' role + +## [v1.26.1](https://github.com/wanderer-industries/wanderer/compare/v1.26.0...v1.26.1) (2024-12-03) + + + + +### Bug Fixes: + +* Signatures: Fix error on splash wh + +## [v1.26.0](https://github.com/wanderer-industries/wanderer/compare/v1.25.2...v1.26.0) (2024-12-03) + + + + +### Features: + +* Signatures: Keep 'Lazy delete' enabled setting + +## [v1.25.2](https://github.com/wanderer-industries/wanderer/compare/v1.25.1...v1.25.2) (2024-12-01) + + + + +### Bug Fixes: + +* Signatures: Fix lazy delete on system switch + +## [v1.25.1](https://github.com/wanderer-industries/wanderer/compare/v1.25.0...v1.25.1) (2024-11-28) + + + + +### Bug Fixes: + +* Signatures: Fix colors & add 'Backspace' hotkey to delete signatures + +## [v1.25.0](https://github.com/wanderer-industries/wanderer/compare/v1.24.2...v1.25.0) (2024-11-28) + + + + +### Features: + +* Signatures: Automatically remove signature if linked system removed + +## [v1.24.2](https://github.com/wanderer-industries/wanderer/compare/v1.24.1...v1.24.2) (2024-11-27) + + + + +### Bug Fixes: + +* Signatures: Fix paste signatures + +## [v1.24.1](https://github.com/wanderer-industries/wanderer/compare/v1.24.0...v1.24.1) (2024-11-27) + + + + +## [v1.24.0](https://github.com/wanderer-industries/wanderer/compare/v1.23.0...v1.24.0) (2024-11-27) + + + + +### Features: + +* Signatures: Added "Lazy delete" option & got rid of update popup + +## [v1.23.0](https://github.com/wanderer-industries/wanderer/compare/v1.22.0...v1.23.0) (2024-11-26) + + + + +### Features: + +* Map: Lock systems available to manager/admin roles only (#75) + * Map: Lock systems available to manager/admin roles only - -* Map: Fix add system & add acl member select behaviour - -## [v1.22.0](https://github.com/wanderer-industries/wanderer/compare/v1.21.0...v1.22.0) (2024-11-26) - - - - -### Features: - -* Map: Rework design of checkboxes in Signatures settings dialog. Rework design of checkboxes in Routes settings dialog. Now signature will deleteing by Delete hotkey was Backspace. Fixed size of group column in signatures list. Instead Updated column will be Added, updated may be turn on in settings. (#76) - -## [v1.21.0](https://github.com/wanderer-industries/wanderer/compare/v1.20.1...v1.21.0) (2024-11-24) - - - - -### Features: - -* Map: add new gate design, change EOL placement - -## [v1.20.1](https://github.com/wanderer-industries/wanderer/compare/v1.20.0...v1.20.1) (2024-11-22) - - - - -## [v1.20.0](https://github.com/wanderer-industries/wanderer/compare/v1.19.3...v1.20.0) (2024-11-22) - - - - -### Features: - -* Core: Add connection type for Gates, add new Update logic - -## [v1.19.3](https://github.com/wanderer-industries/wanderer/compare/v1.19.2...v1.19.3) (2024-11-20) - - - - -### Bug Fixes: - -* Core: Fix adding systems on splash (#71) - -* Core: Fix adding systems on splash - -## [v1.19.2](https://github.com/wanderer-industries/wanderer/compare/v1.19.1...v1.19.2) (2024-11-19) - - - - -## [v1.19.1](https://github.com/wanderer-industries/wanderer/compare/v1.19.0...v1.19.1) (2024-11-19) - - - - -## [v1.19.0](https://github.com/wanderer-industries/wanderer/compare/v1.18.1...v1.19.0) (2024-11-19) - - - - -### Features: - -* Signatures: Add user setting to show Inserted time in a separate column - -## [v1.18.1](https://github.com/wanderer-industries/wanderer/compare/v1.18.0...v1.18.1) (2024-11-17) - - - - -## [v1.18.0](https://github.com/wanderer-industries/wanderer/compare/v1.17.0...v1.18.0) (2024-11-16) - - - - -### Features: - -* Map: a lot of design issues - -## [v1.17.0](https://github.com/wanderer-industries/wanderer/compare/v1.16.1...v1.17.0) (2024-11-15) - - - - -### Features: - -* Signatures: Add user setting to show Description in a separate column - -## [v1.16.1](https://github.com/wanderer-industries/wanderer/compare/v1.16.0...v1.16.1) (2024-11-15) - - - - -### Bug Fixes: - -* Signatures: Fix signature stored filters - -## [v1.16.0](https://github.com/wanderer-industries/wanderer/compare/v1.15.5...v1.16.0) (2024-11-15) - - - - -### Features: - -* Signatures: Add additional filters support to signature list, show description icon - -## [v1.15.5](https://github.com/wanderer-industries/wanderer/compare/v1.15.4...v1.15.5) (2024-11-14) - - - - -## [v1.15.4](https://github.com/wanderer-industries/wanderer/compare/v1.15.3...v1.15.4) (2024-11-14) - - - - -### Bug Fixes: - -* Core: Untracked characters still tracked on map (#63) - -## [v1.15.3](https://github.com/wanderer-industries/wanderer/compare/v1.15.2...v1.15.3) (2024-11-13) - - - - -## [v1.15.2](https://github.com/wanderer-industries/wanderer/compare/v1.15.1...v1.15.2) (2024-11-07) - - - - -## [v1.15.1](https://github.com/wanderer-industries/wanderer/compare/v1.15.0...v1.15.1) (2024-11-07) - - - - -### Bug Fixes: - -* Dev: Update .devcontainer instructions - -## [v1.15.0](https://github.com/wanderer-industries/wanderer/compare/v1.14.1...v1.15.0) (2024-11-07) - - - - -### Features: - -* Connections: Add connection mark EOL time (#56) - -## [v1.14.1](https://github.com/wanderer-industries/wanderer/compare/v1.14.0...v1.14.1) (2024-11-06) - - - - -### Bug Fixes: - -* Core: Fix character tracking permissions - -## [v1.14.0](https://github.com/wanderer-industries/wanderer/compare/v1.13.12...v1.14.0) (2024-11-05) - - - - -### Features: - -* ACL: Add an ability to assign member role without DnD - -## [v1.13.12](https://github.com/wanderer-industries/wanderer/compare/v1.13.11...v1.13.12) (2024-11-04) - - - - -### Bug Fixes: - -* Map: Fix system revert issues - -## [v1.13.11](https://github.com/wanderer-industries/wanderer/compare/v1.13.10...v1.13.11) (2024-11-02) - - - - -### Bug Fixes: - -* Map: Fix system revert issues - -## [v1.13.10](https://github.com/wanderer-industries/wanderer/compare/v1.13.9...v1.13.10) (2024-11-01) - - - - -### Bug Fixes: - -* Map: Fix system revert issues - -## [v1.13.9](https://github.com/wanderer-industries/wanderer/compare/v1.13.8...v1.13.9) (2024-11-01) - - - - -## [v1.13.8](https://github.com/wanderer-industries/wanderer/compare/v1.13.7...v1.13.8) (2024-10-28) - - - -## [v1.13.0](https://github.com/wanderer-industries/wanderer/compare/v1.12.11...v1.13.0) (2024-10-28) - - - - -### Features: - -* Core: Use ESI /characters/affiliation API - -## [v1.12.4](https://github.com/wanderer-industries/wanderer/compare/v1.12.3...v1.12.4) (2024-10-21) - - - - -### Bug Fixes: - -* Map: Fix systems cleanup - -## [v1.12.3](https://github.com/wanderer-industries/wanderer/compare/v1.12.2...v1.12.3) (2024-10-18) - - - - -### Bug Fixes: - -* Map: Fix regression issues - -## [v1.12.1](https://github.com/wanderer-industries/wanderer/compare/v1.12.0...v1.12.1) (2024-10-16) - - - - -### Bug Fixes: - -* Map: Fix system add error after map page refresh - -## [v1.12.0](https://github.com/wanderer-industries/wanderer/compare/v1.11.5...v1.12.0) (2024-10-16) - - - - -### Features: - -* Map: Prettify user settings - -## [v1.11.0](https://github.com/wanderer-industries/wanderer/compare/v1.10.0...v1.11.0) (2024-10-14) - - - - -### Features: - -* Map: Add map level option to store custom labels - -## [v1.10.0](https://github.com/wanderer-industries/wanderer/compare/v1.9.0...v1.10.0) (2024-10-13) - - - - -### Features: - -* Map: Link signature on splash - -## [v1.5.0](https://github.com/wanderer-industries/wanderer/compare/v1.4.0...v1.5.0) (2024-10-11) - - - - -### Features: - -* Map: Follow Character on Map and auto select their current system - -## [v1.3.6](https://github.com/wanderer-industries/wanderer/compare/v1.3.5...v1.3.6) (2024-10-09) - - - - -### Bug Fixes: - -* Signatures: Signatures update fixes - -## [v1.3.0](https://github.com/wanderer-industries/wanderer/compare/v1.2.10...v1.3.0) (2024-10-07) - - - - -### Features: - -* Map: Fix default sort - -* Map: Remove resizible and fix styles of column sorting - -* Map: Revision of sorting from also adding ability to sort all columns - -## [v1.2.6](https://github.com/wanderer-industries/wanderer/compare/v1.2.5...v1.2.6) (2024-10-05) - - - - -### Bug Fixes: - -* Core: Stability & performance improvements - -## [v1.2.5](https://github.com/wanderer-industries/wanderer/compare/v1.2.4...v1.2.5) (2024-10-04) - - - - -### Bug Fixes: - -* Core: Add system "true security" correction - -## [v1.2.4](https://github.com/wanderer-industries/wanderer/compare/v1.2.3...v1.2.4) (2024-10-03) - - - - -### Bug Fixes: - -* Map: Remove duplicate connections - -## [v1.2.3](https://github.com/wanderer-industries/wanderer/compare/v1.2.2...v1.2.3) (2024-10-02) - - - - -### Bug Fixes: - -* Map: Fix map loading after select a different map. - -## [v1.2.1](https://github.com/wanderer-industries/wanderer/compare/v1.2.0...v1.2.1) (2024-10-02) - - - - -### Bug Fixes: - -* ACL: Fix allowing to save map/access list with empty owner set - -## [v1.2.0](https://github.com/wanderer-industries/wanderer/compare/v1.1.0...v1.2.0) (2024-09-29) - - - - -### Features: - -* Map: Add ability to open jump planner from routes - -## [v1.1.0](https://github.com/wanderer-industries/wanderer/compare/v1.0.23...v1.1.0) (2024-09-29) - - - - -### Features: - -* Map: Add highlighting for imperial space systems depends on faction - -## [v1.0.23](https://github.com/wanderer-industries/wanderer/compare/v1.0.22...v1.0.23) (2024-09-25) - - - - -### Bug Fixes: - -* Map: Main map doesn't load back after refreshing/switching pages - -## [v1.0.22](https://github.com/wanderer-industries/wanderer/compare/v1.0.21...v1.0.22) (2024-09-25) - -### Bug Fixes - -* Map: Main map doesn't load back after refreshing/switching pages - -## [v1.0.21](https://github.com/wanderer-industries/wanderer/compare/v1.0.20...v1.0.21) (2024-09-24) - -### Bug Fixes - -* Map: Main map doesn't load back after refreshing/switching pages - -## [v1.0.20](https://github.com/wanderer-industries/wanderer/compare/v1.0.19...v1.0.20) (2024-09-23) - -### Bug Fixes - -* core: Small fixes & improvements - -## [v1.0.19](https://github.com/wanderer-industries/wanderer/compare/v1.0.18...v1.0.19) (2024-09-23) - -### Bug Fixes - -* ACL: Fix adding empty members list - -## [v1.0.18](https://github.com/wanderer-industries/wanderer/compare/v1.0.17...v1.0.18) (2024-09-22) - -### Bug Fixes - -* ACL: Cant delete ACL list after map deletion #5 - -## [v1.0.16](https://github.com/wanderer-industries/wanderer/compare/v1.0.15...v1.0.16) (2024-09-21) - -### Bug Fixes - -* Map: commented console log - -* Map: add console log for check sys loading - -* Map: add key for cache changes detecting - -## [v1.0.15](https://github.com/wanderer-industries/wanderer/compare/v1.0.14...v1.0.15) (2024-09-21) - -### Bug Fixes - -* map: Show a proper user notification if map was deleted/archived - -## [v1.0.14](https://github.com/wanderer-industries/wanderer/compare/v1.0.13...v1.0.14) (2024-09-21) - -## [v1.0.13](https://github.com/wanderer-industries/wanderer/compare/v1.0.12...v1.0.13) (2024-09-21) - -### Bug Fixes - -* tracking: Ensure user has at least one character tracked to work with map - -## [v1.0.12](https://github.com/wanderer-industries/wanderer/compare/v1.0.11...v1.0.12) (2024-09-20) - -### Bug Fixes - -* audit: Hide character for non-character map activities - -## [v1.0.11](https://github.com/wanderer-industries/wanderer/compare/v1.0.10...v1.0.11) (2024-09-20) - -## [v1.0.10](https://github.com/wanderer-industries/wanderer/compare/v1.0.9...v1.0.10) (2024-09-19) - -### Bug Fixes - -* signatures: Fix update signatures error if no character tracked on map - -## [v1.0.9](https://github.com/wanderer-industries/wanderer/compare/v1.0.8...v1.0.9) (2024-09-19) - -### Bug Fixes - -* core: Fix system add error if it's already added on map - -## [v1.0.8](https://github.com/wanderer-industries/wanderer/compare/v1.0.7...v1.0.8) (2024-09-19) - -### Bug Fixes - -* docker: Fix DB connection in docker-compose internal network - -## [v1.0.4](https://github.com/wanderer-industries/wanderer/compare/v1.0.3...v1.0.4) (2024-09-18) - -### Bug Fixes - -* core: skip search results for failed character info request - -## [v1.0.1](https://github.com/wanderer-industries/wanderer/compare/v1.0.0...v1.0.1) (2024-09-18) + +* Map: Fix add system & add acl member select behaviour + +## [v1.22.0](https://github.com/wanderer-industries/wanderer/compare/v1.21.0...v1.22.0) (2024-11-26) + + + + +### Features: + +* Map: Rework design of checkboxes in Signatures settings dialog. Rework design of checkboxes in Routes settings dialog. Now signature will deleteing by Delete hotkey was Backspace. Fixed size of group column in signatures list. Instead Updated column will be Added, updated may be turn on in settings. (#76) + +## [v1.21.0](https://github.com/wanderer-industries/wanderer/compare/v1.20.1...v1.21.0) (2024-11-24) + + + + +### Features: + +* Map: add new gate design, change EOL placement + +## [v1.20.1](https://github.com/wanderer-industries/wanderer/compare/v1.20.0...v1.20.1) (2024-11-22) + + + + +## [v1.20.0](https://github.com/wanderer-industries/wanderer/compare/v1.19.3...v1.20.0) (2024-11-22) + + + + +### Features: + +* Core: Add connection type for Gates, add new Update logic + +## [v1.19.3](https://github.com/wanderer-industries/wanderer/compare/v1.19.2...v1.19.3) (2024-11-20) + + + + +### Bug Fixes: + +* Core: Fix adding systems on splash (#71) + +* Core: Fix adding systems on splash + +## [v1.19.2](https://github.com/wanderer-industries/wanderer/compare/v1.19.1...v1.19.2) (2024-11-19) + + + + +## [v1.19.1](https://github.com/wanderer-industries/wanderer/compare/v1.19.0...v1.19.1) (2024-11-19) + + + + +## [v1.19.0](https://github.com/wanderer-industries/wanderer/compare/v1.18.1...v1.19.0) (2024-11-19) + + + + +### Features: + +* Signatures: Add user setting to show Inserted time in a separate column + +## [v1.18.1](https://github.com/wanderer-industries/wanderer/compare/v1.18.0...v1.18.1) (2024-11-17) + + + + +## [v1.18.0](https://github.com/wanderer-industries/wanderer/compare/v1.17.0...v1.18.0) (2024-11-16) + + + + +### Features: + +* Map: a lot of design issues + +## [v1.17.0](https://github.com/wanderer-industries/wanderer/compare/v1.16.1...v1.17.0) (2024-11-15) + + + + +### Features: + +* Signatures: Add user setting to show Description in a separate column + +## [v1.16.1](https://github.com/wanderer-industries/wanderer/compare/v1.16.0...v1.16.1) (2024-11-15) + + + + +### Bug Fixes: + +* Signatures: Fix signature stored filters + +## [v1.16.0](https://github.com/wanderer-industries/wanderer/compare/v1.15.5...v1.16.0) (2024-11-15) + + + + +### Features: + +* Signatures: Add additional filters support to signature list, show description icon + +## [v1.15.5](https://github.com/wanderer-industries/wanderer/compare/v1.15.4...v1.15.5) (2024-11-14) + + + + +## [v1.15.4](https://github.com/wanderer-industries/wanderer/compare/v1.15.3...v1.15.4) (2024-11-14) + + + + +### Bug Fixes: + +* Core: Untracked characters still tracked on map (#63) + +## [v1.15.3](https://github.com/wanderer-industries/wanderer/compare/v1.15.2...v1.15.3) (2024-11-13) + + + + +## [v1.15.2](https://github.com/wanderer-industries/wanderer/compare/v1.15.1...v1.15.2) (2024-11-07) + + + + +## [v1.15.1](https://github.com/wanderer-industries/wanderer/compare/v1.15.0...v1.15.1) (2024-11-07) + + + + +### Bug Fixes: + +* Dev: Update .devcontainer instructions + +## [v1.15.0](https://github.com/wanderer-industries/wanderer/compare/v1.14.1...v1.15.0) (2024-11-07) + + + + +### Features: + +* Connections: Add connection mark EOL time (#56) + +## [v1.14.1](https://github.com/wanderer-industries/wanderer/compare/v1.14.0...v1.14.1) (2024-11-06) + + + + +### Bug Fixes: + +* Core: Fix character tracking permissions + +## [v1.14.0](https://github.com/wanderer-industries/wanderer/compare/v1.13.12...v1.14.0) (2024-11-05) + + + + +### Features: + +* ACL: Add an ability to assign member role without DnD + +## [v1.13.12](https://github.com/wanderer-industries/wanderer/compare/v1.13.11...v1.13.12) (2024-11-04) + + + + +### Bug Fixes: + +* Map: Fix system revert issues + +## [v1.13.11](https://github.com/wanderer-industries/wanderer/compare/v1.13.10...v1.13.11) (2024-11-02) + + + + +### Bug Fixes: + +* Map: Fix system revert issues + +## [v1.13.10](https://github.com/wanderer-industries/wanderer/compare/v1.13.9...v1.13.10) (2024-11-01) + + + + +### Bug Fixes: + +* Map: Fix system revert issues + +## [v1.13.9](https://github.com/wanderer-industries/wanderer/compare/v1.13.8...v1.13.9) (2024-11-01) + + + + +## [v1.13.8](https://github.com/wanderer-industries/wanderer/compare/v1.13.7...v1.13.8) (2024-10-28) + + + +## [v1.13.0](https://github.com/wanderer-industries/wanderer/compare/v1.12.11...v1.13.0) (2024-10-28) + + + + +### Features: + +* Core: Use ESI /characters/affiliation API + +## [v1.12.4](https://github.com/wanderer-industries/wanderer/compare/v1.12.3...v1.12.4) (2024-10-21) + + + + +### Bug Fixes: + +* Map: Fix systems cleanup + +## [v1.12.3](https://github.com/wanderer-industries/wanderer/compare/v1.12.2...v1.12.3) (2024-10-18) + + + + +### Bug Fixes: + +* Map: Fix regression issues + +## [v1.12.1](https://github.com/wanderer-industries/wanderer/compare/v1.12.0...v1.12.1) (2024-10-16) + + + + +### Bug Fixes: + +* Map: Fix system add error after map page refresh + +## [v1.12.0](https://github.com/wanderer-industries/wanderer/compare/v1.11.5...v1.12.0) (2024-10-16) + + + + +### Features: + +* Map: Prettify user settings + +## [v1.11.0](https://github.com/wanderer-industries/wanderer/compare/v1.10.0...v1.11.0) (2024-10-14) + + + + +### Features: + +* Map: Add map level option to store custom labels + +## [v1.10.0](https://github.com/wanderer-industries/wanderer/compare/v1.9.0...v1.10.0) (2024-10-13) + + + + +### Features: + +* Map: Link signature on splash + +## [v1.5.0](https://github.com/wanderer-industries/wanderer/compare/v1.4.0...v1.5.0) (2024-10-11) + + + + +### Features: + +* Map: Follow Character on Map and auto select their current system + +## [v1.3.6](https://github.com/wanderer-industries/wanderer/compare/v1.3.5...v1.3.6) (2024-10-09) + + + + +### Bug Fixes: + +* Signatures: Signatures update fixes + +## [v1.3.0](https://github.com/wanderer-industries/wanderer/compare/v1.2.10...v1.3.0) (2024-10-07) + + + + +### Features: + +* Map: Fix default sort + +* Map: Remove resizible and fix styles of column sorting + +* Map: Revision of sorting from also adding ability to sort all columns + +## [v1.2.6](https://github.com/wanderer-industries/wanderer/compare/v1.2.5...v1.2.6) (2024-10-05) + + + + +### Bug Fixes: + +* Core: Stability & performance improvements + +## [v1.2.5](https://github.com/wanderer-industries/wanderer/compare/v1.2.4...v1.2.5) (2024-10-04) + + + + +### Bug Fixes: + +* Core: Add system "true security" correction + +## [v1.2.4](https://github.com/wanderer-industries/wanderer/compare/v1.2.3...v1.2.4) (2024-10-03) + + + + +### Bug Fixes: + +* Map: Remove duplicate connections + +## [v1.2.3](https://github.com/wanderer-industries/wanderer/compare/v1.2.2...v1.2.3) (2024-10-02) + + + + +### Bug Fixes: + +* Map: Fix map loading after select a different map. + +## [v1.2.1](https://github.com/wanderer-industries/wanderer/compare/v1.2.0...v1.2.1) (2024-10-02) + + + + +### Bug Fixes: + +* ACL: Fix allowing to save map/access list with empty owner set + +## [v1.2.0](https://github.com/wanderer-industries/wanderer/compare/v1.1.0...v1.2.0) (2024-09-29) + + + + +### Features: + +* Map: Add ability to open jump planner from routes + +## [v1.1.0](https://github.com/wanderer-industries/wanderer/compare/v1.0.23...v1.1.0) (2024-09-29) + + + + +### Features: + +* Map: Add highlighting for imperial space systems depends on faction + +## [v1.0.23](https://github.com/wanderer-industries/wanderer/compare/v1.0.22...v1.0.23) (2024-09-25) + + + + +### Bug Fixes: + +* Map: Main map doesn't load back after refreshing/switching pages + +## [v1.0.22](https://github.com/wanderer-industries/wanderer/compare/v1.0.21...v1.0.22) (2024-09-25) + +### Bug Fixes + +* Map: Main map doesn't load back after refreshing/switching pages + +## [v1.0.21](https://github.com/wanderer-industries/wanderer/compare/v1.0.20...v1.0.21) (2024-09-24) + +### Bug Fixes + +* Map: Main map doesn't load back after refreshing/switching pages + +## [v1.0.20](https://github.com/wanderer-industries/wanderer/compare/v1.0.19...v1.0.20) (2024-09-23) + +### Bug Fixes + +* core: Small fixes & improvements + +## [v1.0.19](https://github.com/wanderer-industries/wanderer/compare/v1.0.18...v1.0.19) (2024-09-23) + +### Bug Fixes + +* ACL: Fix adding empty members list + +## [v1.0.18](https://github.com/wanderer-industries/wanderer/compare/v1.0.17...v1.0.18) (2024-09-22) + +### Bug Fixes + +* ACL: Cant delete ACL list after map deletion #5 + +## [v1.0.16](https://github.com/wanderer-industries/wanderer/compare/v1.0.15...v1.0.16) (2024-09-21) + +### Bug Fixes + +* Map: commented console log + +* Map: add console log for check sys loading + +* Map: add key for cache changes detecting + +## [v1.0.15](https://github.com/wanderer-industries/wanderer/compare/v1.0.14...v1.0.15) (2024-09-21) + +### Bug Fixes + +* map: Show a proper user notification if map was deleted/archived + +## [v1.0.14](https://github.com/wanderer-industries/wanderer/compare/v1.0.13...v1.0.14) (2024-09-21) + +## [v1.0.13](https://github.com/wanderer-industries/wanderer/compare/v1.0.12...v1.0.13) (2024-09-21) + +### Bug Fixes + +* tracking: Ensure user has at least one character tracked to work with map + +## [v1.0.12](https://github.com/wanderer-industries/wanderer/compare/v1.0.11...v1.0.12) (2024-09-20) + +### Bug Fixes + +* audit: Hide character for non-character map activities + +## [v1.0.11](https://github.com/wanderer-industries/wanderer/compare/v1.0.10...v1.0.11) (2024-09-20) + +## [v1.0.10](https://github.com/wanderer-industries/wanderer/compare/v1.0.9...v1.0.10) (2024-09-19) + +### Bug Fixes + +* signatures: Fix update signatures error if no character tracked on map + +## [v1.0.9](https://github.com/wanderer-industries/wanderer/compare/v1.0.8...v1.0.9) (2024-09-19) + +### Bug Fixes + +* core: Fix system add error if it's already added on map + +## [v1.0.8](https://github.com/wanderer-industries/wanderer/compare/v1.0.7...v1.0.8) (2024-09-19) + +### Bug Fixes + +* docker: Fix DB connection in docker-compose internal network + +## [v1.0.4](https://github.com/wanderer-industries/wanderer/compare/v1.0.3...v1.0.4) (2024-09-18) + +### Bug Fixes + +* core: skip search results for failed character info request + +## [v1.0.1](https://github.com/wanderer-industries/wanderer/compare/v1.0.0...v1.0.1) (2024-09-18) diff --git a/lib/wanderer_app_web/controllers/api_controller.ex b/lib/wanderer_app_web/controllers/api_controller.ex index 060f64f3..0161dad7 100644 --- a/lib/wanderer_app_web/controllers/api_controller.ex +++ b/lib/wanderer_app_web/controllers/api_controller.ex @@ -7,14 +7,49 @@ defmodule WandererAppWeb.APIController do alias WandererApp.MapSystemRepo alias WandererApp.MapCharacterSettingsRepo alias WandererApp.Api.Character + alias WandererApp.CachedInfo # ----------------------------------------------------------------- -# SYSTEMS +# Common +# ----------------------------------------------------------------- + + @doc """ + GET /api/system-static-info + + Requires 'id' (the solar_system_id) + + Example: + GET /api/common/system_static?id=31002229 + GET /api/common/system_static?id=31002229 + """ + def show_system_static(conn, params) do + with {:ok, solar_system_str} <- require_param(params, "id"), + {:ok, solar_system_id} <- parse_int(solar_system_str) do + case CachedInfo.get_system_static_info(solar_system_id) do + {:ok, system} -> + data = static_system_to_json(system) + json(conn, %{data: data}) + + {:error, :not_found} -> + conn + |> put_status(:not_found) + |> json(%{error: "System not found"}) + end + else + {:error, msg} -> + conn + |> put_status(:bad_request) + |> json(%{error: msg}) + end + end + +# ----------------------------------------------------------------- +# Map # ----------------------------------------------------------------- @doc """ -GET /api/systems +GET /api/map/systems Requires either `?map_id=` **OR** `?slug=` in the query params. @@ -22,9 +57,9 @@ If `?all=true` is provided, **all** systems are returned. Otherwise, only "visible" systems are returned. Examples: - GET /api/systems?map_id=466e922b-e758-485e-9b86-afae06b88363 - GET /api/systems?slug=my-unique-wormhole-map - GET /api/systems?map_id=&all=true + GET /api/map/systems?map_id=466e922b-e758-485e-9b86-afae06b88363 + GET /api/map/systems?slug=my-unique-wormhole-map + GET /api/map/systems?map_id=&all=true """ def list_systems(conn, params) do with {:ok, map_id} <- fetch_map_id(params) do @@ -56,14 +91,14 @@ end @doc """ - GET /api/system + GET /api/map/system Requires 'id' (the solar_system_id) plus either ?map_id= or ?slug=. Example: - GET /api/system?id=31002229&map_id=466e922b-e758-485e-9b86-afae06b88363 - GET /api/system?id=31002229&slug=my-unique-wormhole-map + GET /api/map/system?id=31002229&map_id=466e922b-e758-485e-9b86-afae06b88363 + GET /api/map/system?id=31002229&slug=my-unique-wormhole-map """ def show_system(conn, params) do with {:ok, solar_system_str} <- require_param(params, "id"), @@ -87,16 +122,14 @@ end end end - # ----------------------------------------------------------------- - # Characters - # ----------------------------------------------------------------- + @doc """ - GET /api/tracked_characters_with_info + GET /api/map/tracked_characters_with_info Example usage: - GET /api/tracked_characters_with_info?map_id= - GET /api/tracked_characters_with_info?slug= + GET /api/map/tracked_characters_with_info?map_id= + GET /api/map/tracked_characters_with_info?slug= Returns a list of tracked records, plus their fully-loaded `character` data. """ @@ -211,39 +244,65 @@ end end defp map_system_to_json(system) do - %{ - id: system.id, - map_id: system.map_id, - solar_system_id: system.solar_system_id, - name: system.name, - custom_name: system.custom_name, - temporary_name: system.temporary_name, - description: system.description, - tag: system.tag, - labels: system.labels, - locked: system.locked, - visible: system.visible, - status: system.status, - position_x: system.position_x, - position_y: system.position_y, - inserted_at: system.inserted_at, - updated_at: system.updated_at - } + Map.take(system, [ + :id, + :map_id, + :solar_system_id, + :name, + :custom_name, + :temporary_name, + :description, + :tag, + :labels, + :locked, + :visible, + :status, + :position_x, + :position_y, + :inserted_at, + :updated_at + ]) end defp character_to_json(ch) do - %{ - id: ch.id, - eve_id: ch.eve_id, - name: ch.name, - corporation_id: ch.corporation_id, - corporation_name: ch.corporation_name, - corporation_ticker: ch.corporation_ticker, - alliance_id: ch.alliance_id, - alliance_name: ch.alliance_name, - alliance_ticker: ch.alliance_ticker, - inserted_at: ch.inserted_at, - updated_at: ch.updated_at - } + Map.take(ch, [ + :id, + :eve_id, + :name, + :corporation_id, + :corporation_name, + :corporation_ticker, + :alliance_id, + :alliance_name, + :alliance_ticker, + :inserted_at, + :updated_at + ]) end + + + defp static_system_to_json(system) do + system + |> Map.take([ + :solar_system_id, + :region_id, + :constellation_id, + :solar_system_name, + :solar_system_name_lc, + :constellation_name, + :region_name, + :system_class, + :security, + :type_description, + :class_title, + :is_shattered, + :effect_name, + :effect_power, + :statics, + :wandering, + :triglavian_invasion_status, + :sun_type_id + ]) + end + end diff --git a/lib/wanderer_app_web/router.ex b/lib/wanderer_app_web/router.ex index 4fac1c6f..ceea37d0 100644 --- a/lib/wanderer_app_web/router.ex +++ b/lib/wanderer_app_web/router.ex @@ -107,23 +107,36 @@ defmodule WandererAppWeb.Router do pipeline :api do plug(:accepts, ["json"]) plug WandererAppWeb.Plugs.CheckApiDisabled + end + + pipeline :api_map do plug WandererAppWeb.Plugs.CheckMapApiKey end - if not WandererApp.Env.public_api_disabled?() do - scope "/api", WandererAppWeb do - pipe_through [:api] +scope "/api/map", WandererAppWeb do + pipe_through [:api_map] + pipe_through [:api] - # GET /api/systems?map_id=... or ?slug=... - get "/systems", APIController, :list_systems + # GET /api/map/systems?map_id=... or ?slug=... + get "/systems", APIController, :list_systems - # GET /api/system?id=... plus either map_id=... or slug=... - get "/system", APIController, :show_system + # GET /api/map/system-static-info?id=... plus either map_id=... or slug=... + get "/system-static-info", APIController, :show_system_static - # GET /api/characters?map_id=... or slug=... - get "/characters", APIController, :tracked_characters_with_info - end - end + # GET /api/map/system?id=... plus either map_id=... or slug=... + get "/system", APIController, :show_system + + # GET /api/map/characters?map_id=... or slug=... + get "/characters", APIController, :tracked_characters_with_info +end + +scope "/api/common", WandererAppWeb do + pipe_through [:api] + + # GET /api/common/system-static-info?id=... + get "/system-static-info", APIController, :show_system_static + +end scope "/", WandererAppWeb do pipe_through [:browser, :blog, :redirect_if_user_is_authenticated] diff --git a/mix.exs b/mix.exs index a166dbfc..9a2791c9 100644 --- a/mix.exs +++ b/mix.exs @@ -2,6 +2,7 @@ defmodule WandererApp.MixProject do use Mix.Project @source_url "https://github.com/wanderer-industries/wanderer" + @version "1.35.0" def project do diff --git a/priv/posts/2025/01-05-map-public-api.md b/priv/posts/2025/01-05-map-public-api.md index b7beffb3..5b4934a9 100644 --- a/priv/posts/2025/01-05-map-public-api.md +++ b/priv/posts/2025/01-05-map-public-api.md @@ -20,20 +20,22 @@ As part of the Wanderer platform, a public API has been introduced to help users ## Authentication -Each request to the Wanderer API must include a valid API key in the `Authorization` header. The format is: +Each request to the Wanderer APIs that being with /api/map must include a valid API key in the `Authorization` header. The format is: Authorization: Bearer If the API key is missing or incorrect, you’ll receive a `401 Unauthorized` response. +No api key is required for routes that being with /api/common + --- ## Endpoints Overview ### 1. List Systems - GET /api/systems?map_id= - GET /api/systems?slug= + GET /api/map/systems?map_id= + GET /api/map/systems?slug= - **Description:** Retrieves a list of systems associated with the specified map (by `map_id` or `slug`). - **Authentication:** Required via `Authorization` header. @@ -44,7 +46,7 @@ If the API key is missing or incorrect, you’ll receive a `401 Unauthorized` re #### Example Request ``` - curl -H "Authorization: Bearer " "https://wanderer.example.com/api/systems?slug=some-slug" + curl -H "Authorization: Bearer " "https://wanderer.example.com/api/map/systems?slug=some-slug" ``` #### Example Response ``` @@ -75,8 +77,8 @@ If the API key is missing or incorrect, you’ll receive a `401 Unauthorized` re ### 2. Show Single System - GET /api/system?id=&map_id= - GET /api/system?id=&slug= + GET /api/map/system?id=&map_id= + GET /api/map/system?id=&slug= - **Description:** Retrieves information for a specific system on the specified map. You must provide: - `id` (the `solar_system_id`). @@ -85,7 +87,7 @@ If the API key is missing or incorrect, you’ll receive a `401 Unauthorized` re #### Example Request ``` - curl -H "Authorization: Bearer " "https://wanderer.example.com/api/system?id=&slug=" + curl -H "Authorization: Bearer " "https://wanderer.example.com/api/map/system?id=&slug=" ``` #### Example Response ``` @@ -111,17 +113,63 @@ If the API key is missing or incorrect, you’ll receive a `401 Unauthorized` re ``` --- +### 2. Show Single System Static Info + + GET /api/common/static-system-info?id= + +- **Description:** Retrieves the static information for a specific system. + +- **Authentication:** No API token required + +#### Example Request +``` + curl "https://wanderer.example.com/api/common/static-system-info?id=31002229 +``` +#### Example Response +``` +{ + "data": { + "solar_system_id": 31002229, + "triglavian_invasion_status": "Normal", + "solar_system_name": "J132946", + "system_class": 5, + "region_id": 11000028, + "constellation_id": 21000278, + "solar_system_name_lc": "j132946", + "constellation_name": "E-C00278", + "region_name": "E-R00028", + "security": "-1.0", + "type_description": "Class 5", + "class_title": "C5", + "is_shattered": false, + "effect_name": null, + "effect_power": 5, + "statics": [ + "H296" + ], + "wandering": [ + "D792", + "C140", + "Z142" + ], + "sun_type_id": 38 + } +} + +``` +--- + ### 3. List Tracked Characters - GET /api/characters?map_id= - GET /api/characters?slug= + GET /api/map/characters?map_id= + GET /api/map/characters?slug= - **Description:** Retrieves a list of tracked characters for the specified map (by `map_id` or `slug`), including metadata such as corporation/alliance details. - **Authentication:** Required via `Authorization` header. #### Example Request ``` - curl -H "Authorization: Bearer " "https://wanderer.example.com/api/characters?slug=some-slug" + curl -H "Authorization: Bearer " "https://wanderer.example.com/api/map/characters?slug=some-slug" ``` #### Example Response ```