towerops/test/towerops/accounts
Graham McIntire 348975dcc9 Rewrite polling_offset, changelog_parser, and user_agent_parser in Gleam (#103)
Migrate three pure-function modules from Elixir to Gleam:

- polling_offset: deterministic hash-based polling offset (pure Gleam, no FFI)
- changelog_parser: text parsing logic in Gleam, thin Elixir wrapper for File I/O
- user_agent_parser: regex-based UA parsing in Gleam with Erlang FFI for
  atom-keyed map conversion

Add gleam_regexp dependency for regex support in Gleam modules.
Update all call sites and tests to use Gleam module atoms.

Reviewed-on: graham/towerops-web#103
2026-03-21 10:11:06 -05:00
..
account_deletion_test.exs gdpr (#86) 2026-03-19 14:28:31 -05:00
browser_session_test.exs more tests and fixes 2026-01-31 16:00:07 -06:00
grant_sudo_mode_test.exs perf: optimize test suite and CI pipeline for maximum speed 2026-03-05 15:04:57 -06:00
hibp_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
login_attempt_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
policy_version_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
scope_test.exs feat: add 12/24-hour time format setting with consistent timezone display 2026-02-13 15:16:29 -06:00
user_agent_parser_test.exs Rewrite polling_offset, changelog_parser, and user_agent_parser in Gleam (#103) 2026-03-21 10:11:06 -05:00
user_consent_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
user_notifier_test.exs Add UserNotifier tests 2026-01-13 08:25:20 -06:00
user_recovery_code_test.exs test: improve test coverage and code quality 2026-03-15 14:49:55 -05:00
user_test.exs feat: add 12/24-hour time format setting with consistent timezone display 2026-02-13 15:16:29 -06:00
verify_totp_only_test.exs perf(tests): disable TOTP by default in fixtures for faster tests 2026-03-06 07:21:52 -06:00