analytics/lib/plausible_web/templates/layout
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
2023-09-25 10:27:29 +02:00
..
_flash.html.eex Upgrade phoenix (#2902) 2023-05-09 11:51:35 +03:00
_footer.html.eex Keep the in-app footer consistent with the main site (#2944) 2023-05-23 11:37:22 +03:00
_header.html.eex improve first launch experience for self-hosters (#2357) 2022-11-10 12:42:22 +01:00
_notice.html.eex Upgrade phoenix (#2902) 2023-05-09 11:51:35 +03:00
_settings_tab.html.eex Adds dark mode to entire dashboard (#467) 2020-12-16 11:57:28 +02:00
_tracking.html.heex Dogfooding improvements (#3290) 2023-09-21 13:05:50 +03:00
app.html.eex Connect to live socket only on specific pages (#3292) 2023-08-28 10:03:06 +02:00
base_email.html.eex Add new priority email template (#3283) 2023-08-21 13:21:20 -03:00
base_error.html.eex Simplify Phoenix error template (#2913) 2023-05-16 10:52:17 +02:00
embedded.html.eex Embeddable dashboard (#812) 2021-03-10 14:41:17 +02:00
focus.html.eex Implement better user password validation (#3344) 2023-09-25 10:27:29 +02:00
priority_email.html.eex Add new priority email template (#3283) 2023-08-21 13:21:20 -03:00
site_settings.html.eex Apply unified capitalization to buttons and titles (#3321) 2023-09-05 09:43:01 -03:00