immich/server/test
Rufus Uttley 0ca8ff43e9
fix(server): use GeoNames for reverse-geocoded country names
Reverse geocoding derived the country name from i18n-iso-countries'
getName(), which returns ISO 3166 official names such as "Taiwan,
Province of China" and "People's Republic of China". The city and state
already come from the GeoNames geodata; only the country name took a
separate path through a JavaScript library.

Resolve the country name from GeoNames' countryInfo.txt instead, so the
whole address comes from one source. This produces neutral names
("Taiwan", "China") and lets us drop the i18n-iso-countries dependency;
the file's alpha-3 column also covers the Natural Earth fallback lookup.

countryInfo.txt is added to the geodata bundle in immich-app/base-images.
2026-07-23 23:24:33 +01:00
..
factories fix(server): send id_token_hint on OIDC logout (#29720) 2026-07-21 19:19:13 +02:00
fixtures chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684) 2026-07-20 23:47:14 -04:00
medium chore(server): test assetDateFilter workflow method (#30110) 2026-07-22 10:48:31 +02:00
repositories fix(server): use GeoNames for reverse-geocoded country names 2026-07-23 23:24:33 +01:00
mappers.ts chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684) 2026-07-20 23:47:14 -04:00
medium.factory.ts chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684) 2026-07-20 23:47:14 -04:00
small.factory.ts fix(server): send id_token_hint on OIDC logout (#29720) 2026-07-21 19:19:13 +02:00
utils.ts chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684) 2026-07-20 23:47:14 -04:00
vitest.config.medium.mjs chore: add vitest project names and fix server config root paths (#26684) 2026-03-04 08:20:43 -05:00
vitest.config.mjs chore: add vitest project names and fix server config root paths (#26684) 2026-03-04 08:20:43 -05:00