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_web/templates/site
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
..
membership Add a note that a subscription is not transferred alongside a site (#2750) 4 years ago
change_domain.html.heex Adding a note about WordPress plugin (#3358) 3 years ago
edit_shared_link.html.eex Add unique index to shared link name 6 years ago
import_from_google_confirm.html.eex Refresh Google Analytics token before import (#2254) 4 years ago
import_from_google_user_metric_form.html.eex Refresh Google Analytics token before import (#2254) 4 years ago
import_from_google_view_id_form.html.eex Handle GA authentication errors (#2505) 4 years ago
index.html.eex Improve ownership transfers (#3326) 3 years ago
new.html.eex Revert "Temporarily disable site creation (#2813)" (#2817) 4 years ago
new_shared_link.html.eex Optimize dark mode UI for shared link form (#2355) 4 years ago
settings_custom_domain.html.eex Update links to documents 4 years ago
settings_danger_zone.html.eex Apply unified capitalization to buttons and titles (#3321) 3 years ago
settings_email_reports.html.eex Apply unified capitalization to buttons and titles (#3321) 3 years ago
settings_funnels.html.heex Implement better user password validation (#3344) 3 years ago
settings_general.html.eex Update Tailwind to latest v3.3.3 (#3320) 3 years ago
settings_goals.html.heex Apply unified capitalization to buttons and titles (#3321) 3 years ago
settings_people.html.eex Update Tailwind to latest v3.3.3 (#3320) 3 years ago
settings_props.html.heex Open docs links in new window (#3360) 3 years ago
settings_search_console.html.eex Open docs links in new window (#3360) 3 years ago
settings_visibility.html.eex Apply unified capitalization to buttons and titles (#3321) 3 years ago
snippet.html.heex Adding a note about WordPress plugin (#3358) 3 years ago
snippet_after_domain_change.html.eex Upgrade phoenix (#2902) 4 years ago