You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible
Adrian Gruntkowski 51c1138d0d
Implement better user password validation (#3344)
* Add zxcvbn dependency

* Change password length range requirement from 6-64 to 12-128

* Reimplement register form in LV

* Implement server-side check for password strength

* Add rudimentary strength meter

* Make password input with strength a separate component and improve it

* Fix existing tests to provide strong enough password

* Apply formatting

* Replace existing registration form with new one

* Hide built-in label in `.input` component when none provided

* Crop password to first 32 chars for analysis by zxcvbn

* Add tests for new form components

* Integrate hCaptcha into LV

* Fix existing AuthController tests

* Add tests for Live.RegisterForm

* Hide strength meter when password input is empty

* Randomize client IP in headers during tests to avoid hitting rate limit

* Apply auxilliary formatting fixes to AuthController

* Integrate registration from invitation into LV registration logic

* Fix existing password set and reset forms

* Make `password_length_hint` component more customizable

* Optimize `Auth.User.set_password/2`

* Remove unnecessary attribute from registration form

* Move password set and reset forms to LV

* Add tests for SetPasswordForm LV component

* Add tests for password checks in `Auth.User`

* Document code a bit

* Implement simpler approach to hCaptcha integration

* Update CHANGELOG.md

* Improve consistency of color scheme

* Introduce debounce across all text inputs in registration and password forms

* Fix email input background in register form

* Ensure only single error is rendered for empty password confirmation case

* Remove `/password` form entirely in favor of preferred password reset

* Remove unnecessary `router` option from `live_render` calls

* Make expensive assigns in LV with `assign_new` (h/t @aerosol)

* Accept passwords longer than 32 bytes uniformly as very strong

* Avoid displaying blank error side by side with weak password error

* Make register actions handle errors gracefully

* Render only a single piece of feedback to reduce noise

* Make register and password reset forms pw manager friendly (h/t @cnkk)

* Move registration forms to live routes

* Delete no longer used deadviews

* Adjust registration form in accordance to changes in #3290

* Reintroduce dogfood page path for invitation form from #3290

* Use alternative approach to submitting plausible metrics from LV form

* Rename metrics events and extend tests to account for them
3 years ago
..
auth Implement better user password validation (#3344) 3 years ago
billing Adding a note about WordPress plugin (#3358) 3 years ago
data_migration Data Migration: rewrite funnels that contain duplicate goals (#3361) 3 years ago
event Clean up after V2 migration (#2868) 4 years ago
funnel Implement backend core for funnels (#3023) 3 years ago
goal Enforce goals unique (#3343) 3 years ago
google use ecto_ch (#2890) 4 years ago
helpers improve transfer ownership error message (#2651) 4 years ago
imported Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
ingestion Actually ignore unkown device type (#3267) 3 years ago
sentry Use finch in sentry client (#1996) 4 years ago
session Clean up after V2 migration (#2868) 4 years ago
site Allow admins to initiate ownership transfer from the CRM (#3340) 3 years ago
stats Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
telemetry Gatekeep ingestion pipeline (#2472) 4 years ago
application.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
async_insert_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
cldr.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
clickhouse_event_v2.ex Revenue tracking: Ingestion and breakdown queries (#2957) 3 years ago
clickhouse_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
clickhouse_session_v2.ex use ecto_ch (#2890) 4 years ago
data_migration.ex Make self-hosted data migration easier (#2865) 4 years ago
debug_replay_info.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
funnel.ex Bump funnel max size to 8 steps (#3094) 3 years ago
funnels.ex Data Migration: rewrite funnels that contain duplicate goals (#3361) 3 years ago
geo.ex Stop logging invalid_address errors from Locus (#2604) 4 years ago
goals.ex Improve goal settings UX (#3293) 3 years ago
http_client.ex Trace external HTTP requests (#2419) 4 years ago
import_deletion_repo.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
ingest_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
mailer.ex log mailer errors (#3336) 3 years ago
open_telemetry.ex Remove ingestion requests and Oban queries from OTEL (#2543) 4 years ago
prom_ex.ex Add extra error info + telemetry for AsyncInsertRepo (#2708) 4 years ago
props.ex Remove Props FF (#3242) 3 years ago
purge.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
repo.ex Pagination for sites listing (#994) 6 years ago
site.ex Props into CSV export (#3167) 3 years ago
sites.ex Allow admins to initiate ownership transfer from the CRM (#3340) 3 years ago
stats.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
themes.ex Adds dark mode to entire dashboard (#467) 6 years ago
timezones.ex Fix timezone list when time changes (#2268) 4 years ago
users.ex [pg migration] Delete account with multiple subscriptions (#3220) 3 years ago