Commit Graph

706 Commits

Author SHA1 Message Date
James Elliott
9d5ac4526e
fix(configuration): remove unused password policy option (#3149)
Removes the min score option from the ZXCVBN policy and adds tests.
2022-04-09 09:21:49 +10:00
James Elliott
f9da940bfc
fix(web): description of profile scope is not accurate (#3146)
This adjusts the profile scope to be described as "Access your profile information" as it accesses more than the display name now.
2022-04-09 08:47:21 +10:00
James Elliott
66a450ed38
feat(oidc): pre-configured consent (#3118)
Allows users to pre-configure consent if enabled by the client configuration by selecting a checkbox during consent.

Closes #2598
2022-04-08 15:35:21 +10:00
James Elliott
4503ac07be
fix(web): lowercase locales are not consistent with localization platforms (#3141)
This fixes an issue with localization platforms and the docs regarding localization, and the forcing locale names to lowercase.
2022-04-08 14:53:46 +10:00
James Elliott
90edf11b88
feat(web): add user display name to oidc consent view (#3138)
This adds the current logged in users display name to the consent page as well as some other minor tweaks.

Closes #2595
2022-04-08 12:50:55 +10:00
renovate[bot]
89112eb774
build(deps): update dependency @types/react to v18 (#3134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-04-08 09:14:57 +10:00
renovate[bot]
fe08bf56b0
build(deps): update dependency @types/react-dom to v18 (#3135)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-08 08:22:27 +10:00
renovate[bot]
a6a924cf79
build(deps): update dependency eslint-plugin-import to v2.26.0 (#3121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-04-06 09:34:20 +10:00
renovate[bot]
5f4ce14615
build(deps): update dependency @testing-library/jest-dom to v5.16.4 (#3119)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-04-06 08:22:27 +10:00
renovate[bot]
89b78f0ad3
build(deps): update dependency vite to v2.9.1 (#3079)
* build(deps): update dependency vite to v2.9.1

* fix(web): load correct vite env vars

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-04-05 15:43:52 +10:00
renovate[bot]
3ea41edbaa
build(deps): update typescript-eslint monorepo to v5.18.0 (#3113)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-05 10:55:29 +10:00
James Elliott
a2eb0316c8
feat(web): password reset custom url (#3111)
This allows providing a custom URL for password resets. If provided the disable_reset_password option is ignored, the password reset API is disabled, and the button provided in the UI to reset the password redirects users to the configured endpoint.

Closes #1934, Closes #2854

Co-authored-by: you1996 <youssri@flyweight.tech>
2022-04-04 17:46:55 +10:00
James Elliott
73212671fc
build(web): remove unused types (#3109) 2022-04-04 13:19:07 +10:00
James Elliott
fb59ff6972
build: enable empty out dir vite option (#3107) 2022-04-04 12:55:09 +10:00
James Elliott
aac4c4772c
feat(web): i18n asset overrides (#3040)
This allows overriding translation files in folders with lowercase RFC5646 / BCP47 Format language codes. This also fixes an issues where languages which don't expressly match the language code specified due to having a variant will also match the existing codes.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-04-04 12:15:26 +10:00
Amir Zarrinkafsh
fa143ea029
fix(web): update client rendering method (#3106)
This PR utilises the React 18 Client Rendering API along with createRoot as opposed to the React 17 ReactDOM.render method.
2022-04-04 09:39:18 +10:00
renovate[bot]
ec8d71f63f
build(deps): update material-ui monorepo (#3105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 07:24:27 +10:00
James Elliott
9e05066097
refactor(handlers): ppolicy (#3103)
Add tests and makes the password policy a provider so the configuration can be loaded to memory on startup.
2022-04-03 21:58:27 +10:00
renovate[bot]
0f6ca55016
build(deps): update dependency eslint-import-resolver-typescript to v2.7.1 (#3104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-03 17:02:59 +10:00
renovate[bot]
0559e33263
build(deps): update dependency prettier to v2.6.2 (#3100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-04-03 16:21:13 +10:00
James Elliott
36cf662458
refactor: misc password policy refactoring (#3102)
Add tests and makes the password policy a provider so the configuration can be loaded to memory on startup.
2022-04-03 10:48:26 +10:00
Manuel Nuñez
8659ba394d
feat(authentication): password policy (#2723)
Implement a password policy with visual feedback in the web portal.

Co-authored-by: Manuel Nuñez <@mind-ar>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-04-03 08:32:57 +10:00
protvis74
c3faa38d72
feat(web): add de i18n translation (#3043)
Added German translation to Authelia.

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-04-01 21:25:30 +11:00
renovate[bot]
4e6ceeb38d
build(deps): update dependency react-router-dom to v6.3.0 (#3085)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 09:20:11 +11:00
renovate[bot]
87ef1ad9e1
build(deps): update dependency @testing-library/react to v13 (#3082)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-31 18:09:32 +11:00
renovate[bot]
67f4bab7a6
build(deps): update dependency @vitejs/plugin-react to v1.3.0 (#3078)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-31 13:05:31 +11:00
renovate[bot]
93d8eb9dee
build(deps): update dependency qrcode.react to v3.0.1 (#3080)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 09:08:23 +11:00
renovate[bot]
4f4470a5fc
build(deps): update react monorepo to v18 (#3074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 13:33:55 +11:00
renovate[bot]
934e48f8e0
build(deps): update dependency eslint-plugin-react-hooks to v4.4.0 (#3073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 13:06:34 +11:00
renovate[bot]
5bb20180f6
build(deps): update dependency qrcode.react to v3 (#3064)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 12:00:10 +11:00
renovate[bot]
160a087af5
build(deps): update typescript-eslint monorepo to v5.17.0 (#3070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 10:38:21 +11:00
James Elliott
7b42f0d02a
release: v4.34.6 (#3067) 2022-03-28 13:31:41 +11:00
James Elliott
70ab8aab15
fix(web): show appropriate default and available methods (#2999)
This ensures that; the method set when a user does not have a preference is a method that is available, that if a user has a preferred method that is not available it is changed to an enabled method with preference put on methods the user has configured, that the frontend does not show the method selection option when only one method is available.
2022-03-28 12:26:30 +11:00
renovate[bot]
17751a96a1
build(deps): update dependency @types/react to v17.0.43 (#3048)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 21:28:03 +11:00
renovate[bot]
8f7c415654
build(deps): update dependency react-i18next to v11.16.2 (#3061)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-26 21:11:51 +11:00
renovate[bot]
70271cd594
build(deps): update dependency typescript to v4.6.3 (#3058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 20:28:39 +11:00
renovate[bot]
d25685fe0c
build(deps): update dependency @testing-library/jest-dom to v5.16.3 (#3056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-26 20:05:15 +11:00
renovate[bot]
2aafce9b3f
build(deps): update dependency eslint-import-resolver-typescript to v2.7.0 (#3049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-26 19:27:57 +11:00
renovate[bot]
85e57d3f86
build(deps): update font awesome to v6.1.1 (#3047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-26 19:09:42 +11:00
renovate[bot]
8dfdef0044
build(deps): update dependency prettier to v2.6.1 (#3060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 18:50:27 +11:00
renovate[bot]
bce0f5d308
build(deps): update dependency vite-plugin-svgr to v1.1.0 (#3045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-26 18:30:14 +11:00
renovate[bot]
524235d23c
build(deps): update dependency i18next-browser-languagedetector to v6.1.4 (#3054)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 15:10:42 +11:00
renovate[bot]
f8a64171b6
build(deps): update dependency @types/react-dom to v17.0.14 (#3039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:43:04 +11:00
renovate[bot]
b3ee616faf
build(deps): update typescript-eslint monorepo to v5.16.0 (#3044)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-22 14:55:21 +11:00
renovate[bot]
e7bb93f45d
build(deps): update dependency @types/react to v17.0.41 (#3038)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 14:34:57 +11:00
James Elliott
0db604c005
release: v4.34.5 2022-03-18 20:57:11 +11:00
renovate[bot]
97d7e9091a
build(deps): update dependency react-i18next to v11.16.1 (#3035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 09:35:27 +11:00
renovate[bot]
3b9e5ac243
build(deps): update dependency react-i18next to v11.16.0 (#3034)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-18 09:10:43 +11:00
renovate[bot]
af5a1d1e09
build(deps): update dependency @fortawesome/react-fontawesome to v0.1.18 (#3024)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 08:32:16 +11:00
renovate[bot]
105eaec00a
build(deps): update dependency @commitlint/cli to v16.2.3 (#3020)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-16 17:33:08 +11:00