Commit Graph
2213 Commits
Author SHA1 Message Date
GuarzoandClaude Opus 5 789d4fa884 fix(map): stop MapRepo.get/2 masking all errors as :not_found
MapRepo.get/2 flattened every error from Api.Map.by_id/1 into
{:error, :not_found}. That turned infrastructure faults into a
"map does not exist" signal: a DBConnection.OwnershipError in test
surfaced as "Failed to load map state" -> "map not loaded" ->
"Timeout waiting for map ... Check Map.Manager is running", pointing
at Map.Manager (which was running fine) instead of the real cause.

Keep the :not_found translation for a genuine Ash NotFound, and
propagate + log anything else.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-01 19:03:01 +00:00
CI b7ddbc486a chore: [skip ci] 2026-07-17 13:06:55 +00:00
CI 6c763a72c0 chore: release version v1.101.7 v1.101.7 2026-07-17 13:06:55 +00:00
Dmitry Popov 544467ab34 Merge pull request #609 from Drewsif/fix-dev-container
Fix: Update containers to successfully run
2026-07-17 15:06:21 +02:00
CI 14fb6dfc36 chore: [skip ci] 2026-07-17 13:05:27 +00:00
CI dbae287bdd chore: release version v1.101.6 v1.101.6 2026-07-17 13:05:27 +00:00
Dmitry Popov da5a93e498 Merge pull request #616 from guarzo/guarzo/idor-audit
fix: authorize client-supplied IDs in LiveView handlers (IDOR audit)
2026-07-17 15:04:46 +02:00
CI 09e8561a2c chore: [skip ci] 2026-07-17 13:04:14 +00:00
CI 30279e0245 chore: release version v1.101.5 v1.101.5 2026-07-17 13:04:14 +00:00
Dmitry Popov 3a40bae70b Merge pull request #619 from wanderer-industries/feat-colorblinded
Added theme for colorblinded and large theme
2026-07-17 15:03:38 +02:00
CI 1b0f8cb47d chore: [skip ci] 2026-07-09 11:28:38 +00:00
CI 61f7e90693 chore: release version v1.101.4 v1.101.4 2026-07-09 11:28:38 +00:00
Dmitry Popov dff82e8f49 Merge pull request #613 from Drewsif/fix-short-chain-hijacking
fix(mapper): Prioritize oldest parent signature time for chained bookmark indexes
2026-07-09 13:23:37 +02:00
Dmitry Popov a220d94050 Merge pull request #617 from starkythefox/fix_location_update_on_debug_logs_on
Recoverable crash on update location with debug logs on
2026-07-09 13:21:12 +02:00
Dmitry Popov 9fe27e83f5 Merge pull request #622 from Drewsif/allow-spaces-before-bookmark
fix(mapper): Preserve intentional leading spaces in bookmark name formats
2026-07-09 13:20:02 +02:00
Drew Bonasera d1c11d630e The formatBookmarkName helper function has been updated to preserve leading spaces from the input format string. The whitespace cleanup logic now extracts and retains original leading spaces, and handles whitespace-only format strings directly.
- fix(mapper): Preserve leading spaces in `formatBookmarkName` output
2026-07-06 20:31:14 -04:00
DanSylvest 20e0cc8164 fix(core): Added Large theme and High-contrast large theme 2026-06-21 12:21:47 +03:00
DanSylvest 8533ac6aec fix(core): Added prototype theme for colorblind person 2026-06-21 11:37:49 +03:00
CI bdb1016698 chore: [skip ci] 2026-06-21 07:45:10 +00:00
CI e17577fc32 chore: release version v1.101.3 v1.101.3 2026-06-21 07:45:10 +00:00
Aleksei Chichenkov a1d9bd1886 Merge pull request #618 from wanderer-industries/fix-eve-wh-data
fix(core): Shattered J015092 has the wrong statics
2026-06-21 10:44:39 +03:00
DanSylvest e57b355cf4 fix(core): Shattered J015092 has the wrong statics: - changed from J244 (LS) static - to N110 (HS) 2026-06-21 10:39:57 +03:00
CI 562a4babce chore: [skip ci] 2026-06-17 16:44:19 +00:00
CI 57ee4700b6 chore: release version v1.101.2 v1.101.2 2026-06-17 16:44:19 +00:00
Dmitry Popov ad527fb505 Merge pull request #615 from guarzo/guarzo/balancefix
fix: update to subscription balance handling
2026-06-17 18:39:36 +02:00
Guarzo 5349b5088c fix: authorize client-supplied IDs in LiveView handlers (IDOR audit)
LiveView event handlers were trusting client-supplied record IDs without
verifying they belong to the user's current map/user scope. A logged-in
user could push another map's record UUID over the LV socket and act on
it. Affected handlers:

- cancel-subscription / edit-subscription / update_subscription
  (cancel or upgrade any map's paid subscription by ID)
- characters_live.ex "delete"
  (soft-delete any user's character and null their user_id)
- cancel_ping
  (cross-map rally-ping cancellation broadcast)
- deleteSystemComment
  (cross-map comment deletion)
- update_passage_mass
  (cross-map wormhole passage mass corruption)
- updateCharacterTracking
  (untrack another user's character on a shared map)

Also fixes a related numeric-trust bug in subscribe/update_subscription
where `period`, `characters_limit`, and `hubs_limit` were parsed without
bounds, allowing `period: "-1"` to produce a back-dated subscription
with a negative price.

Adds WandererAppWeb.HandlerAuth with focused helpers each handler now
routes through, plus 26 regression tests covering both the IDOR auth
checks and the bounded-int parsers.
2026-06-10 14:31:56 +00:00
Guarzo 8dc2a278c2 fix: update to subscription balance handling 2026-06-09 23:09:15 +00:00
starkythefox 83727dea63 fix(server): prevent Access error debugging update_location 2026-06-05 21:44:08 +02:00
Drew Bonasera ddf34351c9 Move the DB_HOST environment variable evaluation from compile-time configuration to runtime configuration for the development and test environments. The compile-time dev and test configurations now default the database hostname to localhost.
- fix(config): Set default database hostname to `localhost` in `dev.exs` and `test.exs`
- fix(config): Add `DB_HOST` environment variable override for dev and test environments to `runtime.exs`
2026-06-02 08:40:10 -04:00
CI c5a7b9ae5f chore: [skip ci] 2026-06-02 08:04:17 +00:00
CI 2fc77c3f8d chore: release version v1.101.1 v1.101.1 2026-06-02 08:04:17 +00:00
Dmitry Popov 2c024ab9e2 Merge pull request #610 from Drewsif/remove-connected-wormholes
Feat: Automatic Cleanup of Connected Wormhole Signatures
2026-06-02 10:03:39 +02:00
CI 401fadf60c chore: [skip ci] 2026-06-01 18:24:27 +00:00
CI fedee3db4c chore: release version v1.101.0 v1.101.0 2026-06-01 18:24:27 +00:00
Dmitry Popov c93c0f7df0 Merge pull request #607 from Arkezar/feat/track-connection-lock-user
feat: Track Save Mass (locked) status on connections
2026-06-01 20:23:40 +02:00
CI c5755276b1 chore: [skip ci] 2026-06-01 07:51:28 +00:00
CI 90d21821bc chore: release version v1.100.8 v1.100.8 2026-06-01 07:51:28 +00:00
Dmitry Popov b727f84865 Merge pull request #606 from starkythefox/fix-vale-statics
fix: missing Vale statics
2026-06-01 09:50:56 +02:00
CI 2b2a6adcd8 chore: [skip ci] 2026-06-01 07:50:23 +00:00
CI 1fbe815c2a chore: release version v1.100.7 v1.100.7 2026-06-01 07:50:23 +00:00
Dmitry Popov c0f19465cd Merge pull request #612 from Drewsif/fix-adv-bookmark-settings-save
Fix bookmark custom mapping save behavior & add K162 size formatting
2026-06-01 09:49:53 +02:00
Drew Bonasera 6a864d08a8 The bookmark index calculation is updated to prioritize the oldest parent signature time rather than strictly using the shortest chain length. An unused import is also removed from the helper file.
- fix(mapper): Prioritize oldest parent signature time for chained bookmark indexes
- refactor(mapper): Remove unused `getSystemClassGroup` import
2026-05-31 00:40:21 -04:00
Drew Bonasera 2e29beeb13 Update wormhole class constants for C1 and C4 destination types and refactor bookmark formatting logic.
- fix(mapper): Update `whClassName` values for C1 and C4 destination types
- refactor(mapper): Consolidate K162 and multi-destination checks in bookmark formatting helper
- fix(map): Remove `c4_to_ns?` check and small ship size constraint from connection operations
2026-05-30 21:51:00 -04:00
Drew Bonasera aeb479b67a Fix the bookmark custom mapping save behavior by moving the updateSetting side effect outside of the state setter function. This ensures the remote setting updates correctly when the input loses focus.
- fix(settings): Move `updateSetting` call outside of the `setLocalMapping` callback in `BookmarkNameFormatSetting`
2026-05-29 03:56:20 -04:00
Drew Bonasera 4950f1d7e7 Update the blur event handler in the bookmark name format settings to adjust how changes are evaluated. The component now determines whether to call updateSetting by comparing the new input value directly against the externally saved value instead of the previous local state.
- fix(bookmarks): Remove the early return condition that compared the input value to the previous local state
- fix(bookmarks): Replace `newVal` comparison with a direct check between the input value and `savedVal` to trigger `updateSetting`
2026-05-29 03:42:32 -04:00
Drew Bonasera 66ba2582f7 Update custom mapping inputs to call the save function only when values change, and add a new size option for Unknown (K162) signatures. Modify the bookmark format helper to apply the new K162 size mapping and exclude multi-destination wormholes from size evaluations.
- fix(settings): Check if input value differs from `savedMapping` before calling `updateSetting`
- feat(settings): Add `size_k162_unknown` to bookmark size options
- fix(bookmarks): Exclude `MULTI_DEST_WHS` from size data assignments in `formatBookmarkName`
- feat(bookmarks): Apply `size_k162_unknown` custom mapping for `K162` signature sizes
2026-05-29 03:27:55 -04:00
CI fc4afdb8ab chore: [skip ci] 2026-05-27 07:47:29 +00:00
CI a3ac313d1b chore: release version v1.100.6 v1.100.6 2026-05-27 07:47:29 +00:00
Dmitry Popov 45d26d7df5 Merge pull request #608 from Drewsif/add-auto-bookmark-copy
Feat: Configurable Wormhole Bookmark Formatting and Auto-Copy
2026-05-27 09:46:57 +02:00
Drew Bonasera c18a15abeb Merge branch 'main' into add-auto-bookmark-copy 2026-05-22 09:45:35 -04:00