Commit Graph

130 Commits

Author SHA1 Message Date
51179485a1 fix(RegionMap): enhance system focus visual feedback with improved styling and animation 2025-08-10 22:31:52 +02:00
11fda4e11f feat(search): implement Aho-Corasick for efficient substring searching and improve result ordering 2025-08-10 22:29:15 +02:00
7af7d9ecd0 refactor(SearchDialog.tsx): simplify system loading by directly calling ListSystemsWithRegions 2025-08-10 22:26:54 +02:00
97178bc9a5 feat(go, ts): add system-region mapping and highlight functionality 2025-08-10 22:26:02 +02:00
2561cd7d30 feat(frontend): load systems from PocketBase and add system focus to region page 2025-08-10 22:18:17 +02:00
9c40135102 feat(frontend): implement system search dialog with Aho-Corasick algorithm 2025-08-10 22:06:55 +02:00
90b190b8d5 Code format 2025-08-09 21:34:02 +02:00
c10f4b43cb refactor(RegionMap.tsx): rename meanInboundAngle to meanNeighborAngle and update logic to compute mean angle to neighbors 2025-08-09 21:33:13 +02:00
e2f804bac7 fix(RegionMap.tsx): flip connection indicator angle by 180 degrees to point away from existing connections 2025-08-09 21:23:09 +02:00
91cbb6c841 feat(app): add location read scope and update map angle calculations 2025-08-09 21:17:23 +02:00
fb3ebc10ff feat(app): add character location tracking and display 2025-08-09 20:54:05 +02:00
2a098ec0d2 refactor(RegionMap.tsx): improve off-region link indicators with better caching and visualization 2025-08-09 20:44:49 +02:00
ee2a1fcde0 Update 2025-08-09 20:22:50 +02:00
a584bc9c55 refactor(esi_sso.go): parallelize esi token processing and deduplicate tokens to improve performance 2025-08-09 20:11:34 +02:00
e1e961ebea refactor(esi_sso): simplify system ID resolution by using a local cache 2025-08-09 20:04:37 +02:00
f06a60c701 feat(esi): add PostRouteForAllByNames and resolve system names in batch
This commit introduces a new function `PostRouteForAllByNames` to the ESI service, which allows setting a complete route (including waypoints) for all logged-in characters. This is achieved by batch resolving system names to their IDs, improving efficiency and simplifying the process of setting complex routes.

The changes include:
- Adding `ResolveSystemIDsByNames` to `ESISSO` to fetch multiple system IDs in a single ESI request.
- Implementing `PostRouteForAll` in `ESISSO` to handle the logic of setting the destination and waypoints for all characters.
- Updating `App.go` to expose `PostRouteForAllByNames` for frontend use.
- Modifying the frontend component `RegionMap.tsx` to utilize the new `PostRouteForAllByNames` function when setting routes, replacing the previous sequential calls to `SetDestinationForAll` and `AddWaypointForAllByName`.
- Updating Wails generated type definitions (`.d.ts` and `.js`) to reflect the new function.
2025-08-09 20:01:59 +02:00
ef57bf4cde feat(frontend): implement via mode for setting routes with waypoints 2025-08-09 19:57:04 +02:00
cd1cc6dc5f feat(frontend): implement via mode for setting destinations and add MapNode disableNavigate prop 2025-08-09 19:51:53 +02:00
e7a8014a50 feat(app): add waypoint functionality to map and context menu 2025-08-09 19:37:02 +02:00
13da1c8340 feat(app): implement character login and destination setting for multiple characters
This commit introduces several key features:

- **Multiple Character Support**: The application can now handle multiple logged-in EVE Online characters.
- **List Characters**: A new function `ListCharacters` allows retrieving a list of all authenticated characters.
- **Set Destination for All**: The `SetDestinationForAll` function enables setting a destination for all logged-in characters simultaneously.
- **UI Updates**: The frontend has been updated to display logged-in characters and to allow setting destinations for all characters.
- **Backend Refinements**: The ESI SSO logic has been improved to support refreshing tokens for multiple characters and to handle the new multi-character functionality.
- **Dependency Updates**: Dependencies have been updated to their latest versions.

chore: update go module dependencies
2025-08-09 19:30:51 +02:00
3f9d315978 feat(esi): integrate GORM for local ESI token storage and system ID resolution 2025-08-09 19:18:09 +02:00
ca610000db feat(esi): improve ESI SSO login flow and system name resolution
This commit introduces several improvements to the ESI (EVE Server Interface) Single Sign-On (SSO) flow and system name resolution:

**ESI SSO Login Flow:**
- **Asynchronous Callback Server:** The `StartCallbackServer` function is now deprecated in favor of `StartCallbackServerAsync`. This allows the callback server to run in the background without blocking the main application thread, improving responsiveness.
- **Improved Login Status Polling:** After initiating the ESI login, the frontend now polls the `ESILoggedIn` status for a short period. This ensures that the UI reflects the login status more accurately and promptly after the user completes the authentication flow in their browser.
- **Error Handling:** Added more specific error messages for failed token exchanges and invalid SSO responses.

**System Name Resolution:**
- **Multi-stage Resolution:** The `ResolveSystemIDByName` function now employs a more robust, multi-stage approach to find system IDs:
 1. It first attempts to use the `universe/ids` endpoint for direct name-to-ID mapping, which is generally more accurate.
 2. If that fails, it falls back to a `strict` search via the `search` endpoint.
 3. As a final fallback, it performs a non-strict search and then resolves the names of the returned IDs to find an exact case-insensitive match. If no exact match is found, it returns the first result.
- **Logging:** Added more detailed logging for each stage of the system name resolution process, aiding in debugging.
- **ESI API Headers:** Ensured that necessary headers like `Accept` and `X-User-Agent` are correctly set for ESI API requests.

**Frontend Changes:**
- **Import `ESILoggedIn`:** The `ESILoggedIn` function is now imported into the `Header.tsx` component.
- **Updated Toast Message:** The toast message for setting a destination now includes the system name for better context in case of errors.
2025-08-09 19:08:05 +02:00
33fcaaaf52 feat(vite.config.ts): add wailsjs alias for improved frontend module resolution 2025-08-09 18:59:05 +02:00
1b73642940 refactor(wailsjs): update wailsjs import paths to use relative paths 2025-08-09 18:54:24 +02:00
aa15a8c2c9 feat(go.mod): update wails to v2.10.2 and other dependencies 2025-08-09 18:51:54 +02:00
478a628b6f feat(app): implement EVE SSO login and waypoint setting functionality 2025-08-09 18:49:36 +02:00
98b6397dcc Add support for 1/10 2/10 3/10 2025-07-07 11:39:00 +02:00
715e4559aa Fix saving notes for automatically categorized signatures v3.1.1 2025-07-02 18:21:42 +02:00
d42c245c9d Fix dockerfile failing build 2025-06-25 15:43:44 +02:00
ff840299d6 Fix updating notes through the edit ui v3.1.0 2025-06-25 15:34:47 +02:00
f69c93ba91 Add 4/5 and 5/5 "detection" 2025-06-25 15:29:13 +02:00
c0f2430590 Make the clean mode stay on when being toggled on 2025-06-25 14:23:00 +02:00
c999a500f8 Add note to signatures v3.0.3 2025-06-25 14:19:32 +02:00
c668bb83f5 Create a release v3.0.2 2025-06-23 17:26:19 +02:00
e140fe0a00 Update v3.0.1 2025-06-23 17:24:12 +02:00
a3cf8bf388 Cram Everything into wails v3.0.0 2025-06-23 17:11:44 +02:00
890b77ec2d Implement manually editing signatures 2025-06-22 17:13:46 +02:00
6bc13eb55f Add delete button 2025-06-22 17:07:29 +02:00
2406169bbe Fix issue where names are not being submit 2025-06-17 14:29:27 +02:00
7af1ced1a7 Improve signature parsing and updating logic 2025-06-17 14:27:46 +02:00
927eae06c3 Rework signatures to be a map and not a list
Because they ARE unique by identifier WITHIN A SYSTEM
2025-06-16 21:24:26 +02:00
b13635eb69 Recognize homefront operations as combat sites 2025-06-16 19:47:27 +02:00
110cefd15a Implement pasting into wormholes by maintaining a legit system along with a wormhole system 2025-06-16 19:34:23 +02:00
4ac6155c24 Improve the signature updating logic
So that types are inserted even forsignatures which are less scanned
than existing
2025-06-16 19:27:02 +02:00
739f8fea3a Implement an export button for debugging 2025-06-16 18:10:32 +02:00
18481c8dc9 Display delta for dates up to 96h (4d) ago 2025-06-16 17:52:02 +02:00
59b0dbbea4 Make sure to always update signatures regardless of % (update time) 2025-06-16 17:47:03 +02:00
8015979222 Add total count 2025-06-16 17:06:42 +02:00
78765d76de Move clean left of refresh to free up some space 2025-06-16 17:01:55 +02:00
4108ad80d4 Refactor a bit more shit and make gas sites GLOW 2025-06-16 16:49:32 +02:00