analytics/lib
Adrian Gruntkowski 65cc8980e0
Implement core logic for TOTP support (#3525)
* Add `nimble_totp`, `cloak` and `cloak_ecto` to project dependencies

* Setup Cloak-based secrets vault and create a dedicated Ecto type

* Add `totp_enabled|secret|last_used_at` fields to `User` schema

* Implement schema and stateless logic for TOTP recovery codes

* Implement core logic of TOTP auth

* Fix typos and improve style of doc comments

Co-authored-by: hq1 <hq@mtod.org>

* Fix moduledoc alignment

* Use more compact conditional expression

Co-authored-by: hq1 <hq@mtod.org>

* Disambiguate `I` as `7` when generating recovery codes (h/t @hq1)

* Fix a typo in runtime config error message

---------

Co-authored-by: hq1 <hq@mtod.org>
2023-11-20 14:04:48 +01:00
..
mix/tasks Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
plausible Implement core logic for TOTP support (#3525) 2023-11-20 14:04:48 +01:00
plausible_web Add small build option (#3536) 2023-11-20 12:52:20 +01:00
workers Fix upgrade page for legacy trials + bug fixes (#3486) 2023-11-06 14:01:55 +00:00
oban_error_reporter.ex Delete stats improvements (#2318) 2022-10-10 08:55:58 -03:00
plausible_release.ex Make FixBrokenGoals migration idempotent (#3405) 2023-10-10 14:13:11 +02:00
plausible_web.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 2023-10-05 11:54:18 +02:00
plausible.ex Add small build option (#3536) 2023-11-20 12:52:20 +01:00
sentry_filter.ex derive jason encoder for request (#3182) 2023-07-24 14:46:57 +02:00