8000 fix: update-password api call by this-gavagai · Pull Request #18943 · frappe/frappe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: update-password api call #18943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

this-gavagai
Copy link
Contributor
@this-gavagai this-gavagai commented Nov 20, 2022

The update-password dialog expects an entropy property from the zxcvbn library when evaluating password strength, but current versions of this library no longer return entropy as a measurement.

This PR changes the message update condition to depend on the zxcvbn score property instead.

See also: dwolfhub/zxcvbn-python#19 (comment)

closes #18888

@this-gavagai this-gavagai changed the title [fix] update-password api call fix: update-password api call Nov 21, 2022
@ankush ankush merged commit 8cbfc36 into frappe:develop Nov 21, 2022
mergify bot pushed a commit that referenced this pull request Nov 21, 2022
[skip ci]

(cherry picked from commit 8cbfc36)
ankush pushed a commit that referenced this pull request Nov 21, 2022
[skip ci]

(cherry picked from commit 8cbfc36)

Co-authored-by: PeterG <this-gavagai@users.noreply.github.com>
mergify bot pushed a commit that referenced this pull request Nov 21, 2022
[skip ci]

(cherry picked from commit 8cbfc36)
ankush pushed a commit that referenced this pull request Nov 21, 2022
[skip ci]

(cherry picked from commit 8cbfc36)

Co-authored-by: PeterG <this-gavagai@users.noreply.github.com>
frappe-pr-bot pushed a commit that referenced this pull request Nov 22, 2022
# [13.45.0](v13.44.0...v13.45.0) (2022-11-22)

### Bug Fixes

* Auto-add all users to website room ([1316465](1316465))
* **desk:** maintain realtime & cached data consistency ([d8cc613](d8cc613))
* dont allow reading attributes of unsafe objects (backport [#18706](#18706)) ([#18806](#18806)) ([#18884](#18884)) ([8648143](8648143)), closes [#18784](#18784)
* **file:** set fieldname to table fieldname ([11848a7](11848a7))
* **File:** validate `attached_to_*` when saving ([#18880](#18880)) ([10f115d](10f115d))
* **js:** Rid client code of optional chaining ([26995d9](26995d9))
* **recorder:** Publish update only to Administrator ([3d8ccf2](3d8ccf2))
* Remove dead chat room ([35bf384](35bf384))
* Restrict socket data to respective users after commit ([4e6e56f](4e6e56f))
* Revert v13 list_update & redundant socket call ([4566f47](4566f47))
* show fields without labels in print format builder ([#18939](#18939)) ([ceea477](ceea477))
* **socketio:** Revert irrelevant & unused changes ([a9cf0a4](a9cf0a4))
* **socketio:** Scoping & hoisting bugs ([6291776](6291776))
* succinct version ([2745c0e](2745c0e))
* update-password api call ([#18943](#18943)) ([#18952](#18952)) ([e66959e](e66959e))

### Features

* {site}:website room open to all users ([db96fd8](db96fd8))

### Performance Improvements

* **socketio:** get_site_name ([ee6d72c](ee6d72c))
frappe-pr-bot pushed a commit that referenced this pull request Nov 22, 2022
# [14.16.0](v14.15.0...v14.16.0) (2022-11-22)

### Bug Fixes

* added phone field in webform ([c47b88c](c47b88c))
* Auto-add all users to website room ([bf4fdca](bf4fdca))
* check permission  in discussions component ([#18903](#18903)) ([6a47669](6a47669))
* **desk:** maintain realtime & cached data consistency ([117f1f7](117f1f7))
* dont convert row format if not required ([#18900](#18900)) ([#18901](#18901)) ([9394677](9394677))
* **file:** attached_to_name can be an integer ([#18909](#18909)) ([#18911](#18911)) ([3b112e1](3b112e1))
* **file:** set fieldname to table fieldname ([14b6017](14b6017))
* **File:** validate `attached_to_*` when saving ([#18882](#18882)) ([5fe9f3c](5fe9f3c))
* Force integer type in request.max_content_length (backport [#18904](#18904)) ([#18931](#18931)) ([5e13b08](5e13b08))
* get_title must return string ([#18926](#18926)) ([#18935](#18935)) ([8d6f23c](8d6f23c))
* grid column indicators not working ([e2a1274](e2a1274))
* ignore unpicklable hooks ([#18902](#18902)) ([#18932](#18932)) ([bb660a1](bb660a1))
* only get fields which is not already in webform fields table ([380dc06](380dc06))
* **recorder:** Publish update only to Administrator ([1c09bee](1c09bee))
* Restrict socket data to respective users after commit ([efe4d2d](efe4d2d))
* show fields without labels in print format builder ([#18939](#18939)) ([#18955](#18955)) ([0e384d8](0e384d8))
* **socketio:** Re-try thrice before trying to reconnect ([1c72d92](1c72d92))
* **socketio:** Revert irrelevant & unused changes ([62f5e67](62f5e67))
* **socketio:** Scoping & hoisting bugs ([0a1fdbb](0a1fdbb))
* succinct version ([85e0d85](85e0d85))
* update-password api call ([#18943](#18943)) ([#18953](#18953)) ([4eeeccd](4eeeccd))

### Features

* {site}:website room open to all users ([965a814](965a814))
* **minor:** redirect after login from NotPermittedPage ([#18946](#18946)) ([#18956](#18956)) ([2ea12db](2ea12db))

### Performance Improvements

* dont fetch meta unless required ([#18907](#18907)) ([#18908](#18908)) ([02dae2d](02dae2d))
* **socketio:** get_site_name ([422882c](422882c))
sudhandhiradevi pushed a commit to sudhandhiradevi/frappe that referenced this pull request Nov 25, 2022
# [13.45.0](frappe/frappe@v13.44.0...v13.45.0) (2022-11-22)

### Bug Fixes

* Auto-add all users to website room ([1316465](frappe/frappe@1316465))
* **desk:** maintain realtime & cached data consistency ([d8cc613](frappe/frappe@d8cc613))
* dont allow reading attributes of unsafe objects (backport [#18706](frappe/frappe#18706)) ([#18806](frappe/frappe#18806)) ([#18884](frappe/frappe#18884)) ([8648143](frappe/frappe@8648143)), closes [#18784](frappe/frappe#18784)
* **file:** set fieldname to table fieldname ([11848a7](frappe/frappe@11848a7))
* **File:** validate `attached_to_*` when saving ([#18880](frappe/frappe#18880)) ([10f115d](frappe/frappe@10f115d))
* **js:** Rid client code of optional chaining ([26995d9](frappe/frappe@26995d9))
* **recorder:** Publish update only to Administrator ([3d8ccf2](frappe/frappe@3d8ccf2))
* Remove dead chat room ([35bf384](frappe/frappe@35bf384))
* Restrict socket data to respective users after commit ([4e6e56f](frappe/frappe@4e6e56f))
* Revert v13 list_update & redundant socket call ([4566f47](frappe/frappe@4566f47))
* show fields without labels in print format builder ([#18939](frappe/frappe#18939)) ([ceea477](frappe/frappe@ceea477))
* **socketio:** Revert irrelevant & unused changes ([a9cf0a4](frappe/frappe@a9cf0a4))
* **socketio:** Scoping & hoisting bugs ([6291776](frappe/frappe@6291776))
* succinct version ([2745c0e](frappe/frappe@2745c0e))
* update-password api call ([#18943](frappe/frappe#18943)) ([#18952](frappe/frappe#18952)) ([e66959e](frappe/frappe@e66959e))

### Features

* {site}:website room open to all users ([db96fd8](frappe/frappe@db96fd8))

### Performance Improvements

* **socketio:** get_site_name ([ee6d72c](frappe/frappe@ee6d72c))
stephenBDT pushed a commit to alias/frappe that referenced this pull request Nov 30, 2022
[skip ci]

(cherry picked from commit 8cbfc36)

Co-authored-by: PeterG <this-gavagai@users.noreply.github.com>
stephenBDT pushed a commit to alias/frappe that referenced this pull request Nov 30, 2022
# [14.16.0](frappe/frappe@v14.15.0...v14.16.0) (2022-11-22)

### Bug Fixes

* added phone field in webform ([c47b88c](frappe@c47b88c))
* Auto-add all users to website room ([bf4fdca](frappe@bf4fdca))
* check permission  in discussions component ([frappe#18903](frappe#18903)) ([6a47669](frappe@6a47669))
* **desk:** maintain realtime & cached data consistency ([117f1f7](frappe@117f1f7))
* dont convert row format if not required ([frappe#18900](frappe#18900)) ([frappe#18901](frappe#18901)) ([9394677](frappe@9394677))
* **file:** attached_to_name can be an integer ([frappe#18909](frappe#18909)) ([frappe#18911](frappe#18911)) ([3b112e1](frappe@3b112e1))
* **file:** set fieldname to table fieldname ([14b6017](frappe@14b6017))
* **File:** validate `attached_to_*` when saving ([frappe#18882](frappe#18882)) ([5fe9f3c](frappe@5fe9f3c))
* Force integer type in request.max_content_length (backport [frappe#18904](frappe#18904)) ([frappe#18931](frappe#18931)) ([5e13b08](frappe@5e13b08))
* get_title must return string ([frappe#18926](frappe#18926)) ([frappe#18935](frappe#18935)) ([8d6f23c](frappe@8d6f23c))
* grid column indicators not working ([e2a1274](frappe@e2a1274))
* ignore unpicklable hooks ([frappe#18902](frappe#18902)) ([frappe#18932](frappe#18932)) ([bb660a1](frappe@bb660a1))
* only get fields which is not already in webform fields table ([380dc06](frappe@380dc06))
* **recorder:** Publish update only to Administrator ([1c09bee](frappe@1c09bee))
* Restrict socket data to respective users after commit ([efe4d2d](frappe@efe4d2d))
* show fields without labels in print format builder ([frappe#18939](frappe#18939)) ([frappe#18955](frappe#18955)) ([0e384d8](frappe@0e384d8))
* **socketio:** Re-try thrice before trying to reconnect ([1c72d92](frappe@1c72d92))
* **socketio:** Revert irrelevant & unused changes ([62f5e67](frappe@62f5e67))
* **socketio:** Scoping & hoisting bugs ([0a1fdbb](frappe@0a1fdbb))
* succinct version ([85e0d85](frappe@85e0d85))
* update-password api call ([frappe#18943](frappe#18943)) ([frappe#18953](frappe#18953)) ([4eeeccd](frappe@4eeeccd))

### Features

8000

* {site}:website room open to all users ([965a814](frappe@965a814))
* **minor:** redirect after login from NotPermittedPage ([frappe#18946](frappe#18946)) ([frappe#18956](frappe#18956)) ([2ea12db](frappe@2ea12db))

### Performance Improvements

* dont fetch meta unless required ([frappe#18907](frappe#18907)) ([frappe#18908](frappe#18908)) ([02dae2d](frappe@02dae2d))
* **socketio:** get_site_name ([422882c](frappe@422882c))
stephenBDT pushed a commit to alias/frappe that referenced this pull request Dec 1, 2022
[skip ci]

(cherry picked from commit 8cbfc36)

Co-authored-by: PeterG <this-gavagai@users.noreply.github.com>
stephenBDT pushed a commit to alias/frappe that referenced this pull request Dec 1, 2022
# [14.16.0](frappe/frappe@v14.15.0...v14.16.0) (2022-11-22)

### Bug Fixes

* added phone field in webform ([c47b88c](frappe@c47b88c))
* Auto-add all users to website room ([bf4fdca](frappe@bf4fdca))
* check permission  in discussions component ([frappe#18903](frappe#18903)) ([6a47669](frappe@6a47669))
* **desk:** maintain realtime & cached data consistency ([117f1f7](frappe@117f1f7))
* dont convert row format if not required ([frappe#18900](frappe#18900)) ([frappe#18901](frappe#18901)) ([9394677](frappe@9394677))
* **file:** attached_to_name can be an integer ([frappe#18909](frappe#18909)) ([frappe#18911](frappe#18911)) ([3b112e1](frappe@3b112e1))
* **file:** set fieldname to table fieldname ([14b6017](frappe@14b6017))
* **File:** validate `attached_to_*` when saving ([frappe#18882](frappe#18882)) ([5fe9f3c](frappe@5fe9f3c))
* Force integer type in request.max_content_length (backport [frappe#18904](frappe#18904)) ([frappe#18931](frappe#18931)) ([5e13b08](frappe@5e13b08))
* get_title must return string ([frappe#18926](frappe#18926)) ([frappe#18935](frappe#18935)) ([8d6f23c](frappe@8d6f23c))
* grid column indicators not working ([e2a1274](frappe@e2a1274))
* ignore unpicklable hooks ([frappe#18902](frappe#18902)) ([frappe#18932](frappe#18932)) ([bb660a1](frappe@bb660a1))
* only get fields which is not already in webform fields table ([380dc06](frappe@380dc06))
* **recorder:** Publish update only to Administrator ([1c09bee](frappe@1c09bee))
* Restrict socket data to respective users after commit ([efe4d2d](frappe@efe4d2d))
* show fields without labels in print format builder ([frappe#18939](frappe#18939)) ([frappe#18955](frappe#18955)) ([0e384d8](frappe@0e384d8))
* **socketio:** Re-try thrice before trying to reconnect ([1c72d92](frappe@1c72d92))
* **socketio:** Revert irrelevant & unused changes ([62f5e67](frappe@62f5e67))
* **socketio:** Scoping & hoisting bugs ([0a1fdbb](frappe@0a1fdbb))
* succinct version ([85e0d85](frappe@85e0d85))
* update-password api call ([frappe#18943](frappe#18943)) ([frappe#18953](frappe#18953)) ([4eeeccd](frappe@4eeeccd))

### Features

* {site}:website room open to all users ([965a814](frappe@965a814))
* **minor:** redirect after login from NotPermittedPage ([frappe#18946](frappe#18946)) ([frappe#18956](frappe#18956)) ([2ea12db](frappe@2ea12db))

### Performance Improvements

* dont fetch meta unless required ([frappe#18907](frappe#18907)) ([frappe#18908](frappe#18908)) ([02dae2d](frappe@02dae2d))
* **socketio:** get_site_name ([422882c](frappe@422882c))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password strength indicator missing
2 participants
0