mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-02-16 19:06:31 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39317831f9 | ||
|
|
b71bc94d4f | ||
|
|
0e920a58e6 | ||
|
|
9385751332 | ||
|
|
ffaa48ff9e | ||
|
|
94665f4e68 | ||
|
|
e9fd0665c8 |
18
CHANGELOG.md
18
CHANGELOG.md
@@ -2,6 +2,24 @@
|
||||
|
||||
<!-- changelog -->
|
||||
|
||||
## [v1.96.3](https://github.com/wanderer-industries/wanderer/compare/v1.96.2...v1.96.3) (2026-02-15)
|
||||
|
||||
|
||||
|
||||
|
||||
### Bug Fixes:
|
||||
|
||||
* tracking: Fixed character tracking issues
|
||||
|
||||
## [v1.96.2](https://github.com/wanderer-industries/wanderer/compare/v1.96.1...v1.96.2) (2026-02-13)
|
||||
|
||||
|
||||
|
||||
|
||||
### Bug Fixes:
|
||||
|
||||
* Added icons for RoutesBy
|
||||
|
||||
## [v1.96.1](https://github.com/wanderer-industries/wanderer/compare/v1.96.0...v1.96.1) (2026-02-12)
|
||||
|
||||
|
||||
|
||||
@@ -314,10 +314,10 @@ defmodule WandererApp.Map.Server.CharactersImpl do
|
||||
settings
|
||||
|> Enum.each(fn s ->
|
||||
Logger.info(fn ->
|
||||
"[CharacterCleanup] Map #{map_id} - destroying settings and removing character #{s.character_id}"
|
||||
"[CharacterCleanup] Map #{map_id} - untracking settings and removing character #{s.character_id}"
|
||||
end)
|
||||
|
||||
WandererApp.MapCharacterSettingsRepo.destroy!(s)
|
||||
WandererApp.MapCharacterSettingsRepo.untrack!(%{map_id: s.map_id, character_id: s.character_id})
|
||||
remove_character(map_id, s.character_id)
|
||||
end)
|
||||
|
||||
@@ -780,10 +780,14 @@ defmodule WandererApp.Map.Server.CharactersImpl do
|
||||
old_alliance_id = Map.get(cached_values, alliance_key)
|
||||
|
||||
if character.alliance_id != old_alliance_id do
|
||||
{
|
||||
[{:character_alliance, %{alliance_id: character.alliance_id}} | updates],
|
||||
Map.put(cache_updates, alliance_key, character.alliance_id)
|
||||
}
|
||||
cache_updates = Map.put(cache_updates, alliance_key, character.alliance_id)
|
||||
|
||||
if is_nil(old_alliance_id) do
|
||||
# Initial cache population, not a real change - just update cache
|
||||
{updates, cache_updates}
|
||||
else
|
||||
{[{:character_alliance, %{alliance_id: character.alliance_id}} | updates], cache_updates}
|
||||
end
|
||||
else
|
||||
{updates, cache_updates}
|
||||
end
|
||||
@@ -802,10 +806,15 @@ defmodule WandererApp.Map.Server.CharactersImpl do
|
||||
old_corporation_id = Map.get(cached_values, corporation_key)
|
||||
|
||||
if character.corporation_id != old_corporation_id do
|
||||
{
|
||||
[{:character_corporation, %{corporation_id: character.corporation_id}} | updates],
|
||||
Map.put(cache_updates, corporation_key, character.corporation_id)
|
||||
}
|
||||
cache_updates = Map.put(cache_updates, corporation_key, character.corporation_id)
|
||||
|
||||
if is_nil(old_corporation_id) do
|
||||
# Initial cache population, not a real change - just update cache
|
||||
{updates, cache_updates}
|
||||
else
|
||||
{[{:character_corporation, %{corporation_id: character.corporation_id}} | updates],
|
||||
cache_updates}
|
||||
end
|
||||
else
|
||||
{updates, cache_updates}
|
||||
end
|
||||
@@ -952,12 +961,28 @@ defmodule WandererApp.Map.Server.CharactersImpl do
|
||||
{:ok, character} =
|
||||
WandererApp.Character.get_character(character_id)
|
||||
|
||||
add_character(map_id, character, true)
|
||||
case WandererApp.Api.MapCharacterSettings.read_by_map_and_character(%{
|
||||
map_id: map_id,
|
||||
character_id: character_id
|
||||
}) do
|
||||
{:ok, %{tracked: false}} ->
|
||||
# Was explicitly untracked (e.g., by permission cleanup) - don't re-enable
|
||||
Logger.debug(fn ->
|
||||
"[CharactersImpl] Skipping re-track for character #{character_id} on map #{map_id} - " <>
|
||||
"character was explicitly untracked"
|
||||
end)
|
||||
|
||||
WandererApp.Character.TrackerManager.update_track_settings(character_id, %{
|
||||
map_id: map_id,
|
||||
track: true
|
||||
})
|
||||
add_character(map_id, character, false)
|
||||
|
||||
_ ->
|
||||
# New character or already tracked - enable tracking
|
||||
add_character(map_id, character, true)
|
||||
|
||||
WandererApp.Character.TrackerManager.update_track_settings(character_id, %{
|
||||
map_id: map_id,
|
||||
track: true
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
# Broadcasts permission update to trigger LiveView refresh for the character's user.
|
||||
|
||||
2
mix.exs
2
mix.exs
@@ -3,7 +3,7 @@ defmodule WandererApp.MixProject do
|
||||
|
||||
@source_url "https://github.com/wanderer-industries/wanderer"
|
||||
|
||||
@version "1.96.1"
|
||||
@version "1.96.3"
|
||||
|
||||
def project do
|
||||
[
|
||||
|
||||
BIN
priv/static/images/30747_64.png
Normal file
BIN
priv/static/images/30747_64.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
BIN
priv/static/images/89219_64.png
Normal file
BIN
priv/static/images/89219_64.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
priv/static/images/concord-so.png
Normal file
BIN
priv/static/images/concord-so.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
priv/static/images/map.png
Normal file
BIN
priv/static/images/map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
priv/static/images/market.png
Normal file
BIN
priv/static/images/market.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user