Commit Graph
25 Commits
Author SHA1 Message Date
NetworkCats 991fd289a2 fix: improve accessibility to meet WCAG 2.2 AA/AAA standards
- Remove disruptive alert() on error pages, rely on role="alert" banner
- Add skip navigation link for keyboard users (WCAG 2.4.1)
- Fix heading hierarchy on error page (sr-only status text in h1)
- Add "opens in a new tab" screen reader hint on external links
- Wrap language selector in form with noscript submit button (WCAG 3.2.2)
- Add aria-label to copy-to-clipboard buttons and footer landmarks
- Use h2 for alt-IP section to maintain single h1 per page
- Add persistent underline on links for non-color identification (WCAG 1.4.1)
- Fix footer attribution contrast ratio to ~5.5:1 (WCAG 1.4.3)
- Add aria-busy/role=status loading announcements for skeleton state
- Add translations for new accessibility strings across all 14 locales
- Update integration tests to assert role="alert" instead of alert()
2026-03-22 18:21:29 +08:00
NetworkCats 41016891eb fix: update proxy test assertions to match current MMDB data
45.77.77.77 no longer has is_hosting=true in the upstream database;
it now reports is_anonymous=true instead.
2026-03-22 12:17:20 +08:00
NetworkCats ec91cd7738 refactor: remove FAQPage JSON-LD structured data block 2026-03-20 06:20:50 +08:00
NetworkCats 797bb7c76a fix Fmt 2026-03-10 21:44:29 +00:00
NetworkCats bcb06e0e82 test: add integration tests for IPv4 domain routing and dual-stack detection 2026-03-11 04:41:41 +08:00
NetworkCats c876d17e8c feat: add IPV4_DOMAIN config for dual-stack IP detection 2026-03-11 04:33:01 +08:00
NetworkCats 74512dcd10 style: apply cargo fmt formatting corrections 2026-03-07 19:56:11 +08:00
NetworkCats 79161773b6 feat: add JSON-LD and Microdata structured data for SEO 2026-03-06 21:03:19 +08:00
NetworkCats 512455bf72 feat: add noindex meta tag to IP query result pages 2026-03-06 20:28:03 +08:00
NetworkCats 03a1a1bc99 feat: detect HTTP library User-Agents and return plain text responses 2026-03-06 00:18:55 +08:00
NetworkCats 8935e5f7c0 feat: reject non-public IP queries on both backend and frontend 2026-03-05 01:37:30 +08:00
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