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/test/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 Improve ownership transfers (#3326) 3 years ago
data_migration Enforce goals unique (#3343) 3 years ago
google Run tests in async mode where applicable (#2542) 4 years ago
imported Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
ingestion derive jason encoder for request (#3182) 3 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 Disallow small intervals on large ranges (#3245) 3 years ago
config_test.exs add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
debug_replay_info_test.exs Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
funnels_test.exs Increase sampling test delta to reduce flakyness 3 years ago
goals_test.exs Enforce goals unique (#3343) 3 years ago
http_client_test.exs Google APIs integration improvements (#2358) 4 years ago
mailer_test.exs add MAILER_NAME (#2937) 4 years ago
props_test.exs Remove allowed props list from dashboard data attribute (#3230) 3 years ago
purge_test.exs Keep track of native stats start timestamp when retrieving data (#2715) 4 years ago
release_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
sentry_filter_test.exs derive jason encoder for request (#3182) 3 years ago
timezones_test.exs Fix timezone list when time changes (#2268) 4 years ago