Commit Graph
14 Commits
Author SHA1 Message Date
NetworkCats 199384a280 fix: resolve trailing slash 404 and untranslated escaped-quote strings 2026-03-04 20:48:59 +08:00
NetworkCats 7e5a05b35a feat: add full i18n support for 14 languages with gettext PO translations
- Add i18n module with Locale enum, PO parser, and Accept-Language negotiation
- Create gettext .po translation files for en, es, de, ja, ko, id, fr, ru, pt, it, zh-Hant, zh-Hans, nl, ar
- Route HTML pages under /{lang}/ prefix using IETF language tags
- Auto-detect browser language and redirect from / to /{lang}/
- Add language selector dropdown in footer
- Localize geo names (country, city) from MMDB where available
- Add hreflang alternate links and multilingual sitemap for SEO
- Support RTL layout for Arabic
- Update integration tests for new routing structure
2026-03-04 20:11:16 +08:00
NetworkCats b67edf5a32 feat: generate OpenAPI server URL from SITE_DOMAIN at startup 2026-03-04 05:12:45 +08:00
NetworkCats 6fbfe15b08 feat: add HTML error pages with browser alert popup for IP query errors 2026-03-04 03:21:32 +08:00
NetworkCats 3c0be53aca feat: add DEV_MODE for local development without Cloudflare 2026-03-04 02:30:16 +08:00
NetworkCats 5bc601e6e5 feat: improve SEO meta tags, robots.txt, sitemap.xml, and table accessibility 2026-03-03 03:14:40 +08:00
NetworkCats 4a19f9dd70 feat: adopt Apple color palette, dark mode, icons, and Google Fonts 2026-03-03 02:00:51 +08:00
NetworkCats b0dea405ee style: apply rustfmt formatting to source and test files 2026-03-03 00:07:18 +08:00
NetworkCats efedf1cd59 test: add unit and integration tests for models, error, config, db, and edge cases 2026-03-02 23:56:51 +08:00
NetworkCats 0834a05c84 perf: reduce allocations and deserialization in handlers and models 2026-03-02 23:40:06 +08:00
NetworkCats da2f847faf fix: return 400 instead of 404 for missing client IP header 2026-03-02 23:27:30 +08:00
NetworkCats de5e4df9b3 refactor: use project-local data/ directory for MMDB in local dev 2026-03-02 20:49:03 +08:00
NetworkCats bfc1e213b9 fix: capitalize boolean values in HTML to match mockup 2026-03-02 20:14:55 +08:00
NetworkCats 21db94891c test: add integration tests for all endpoints and CLI detection 2026-03-02 20:12:47 +08:00