Commit Graph

925 Commits (0d371b16b884640471beeb4a0b61b6f801ffffc2)

Author SHA1 Message Date
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
renovate[bot] 474296fe84
build(deps): update dependency prettier to v2.6.0 (#3021)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-16 17:11:12 +11:00
renovate[bot] e6a3a52fb7
build(deps): update dependency @fortawesome/fontawesome-svg-core to v6 (#3015)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 10:13:30 +11:00
renovate[bot] 2c3b507096
build(deps): update font awesome to v6.1.0 (#3014)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 08:28:24 +11:00
renovate[bot] bd5783cb49
build(deps): update typescript-eslint monorepo to v5.15.0 (#3011)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-15 12:06:34 +11:00
renovate[bot] 98b686021d
build(deps): update dependency eslint-plugin-react to v7.29.4 (#3004)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-15 10:20:32 +11:00
renovate[bot] 4901124f46
build(deps): update dependency react-i18next to v11.15.7 (#3001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-15 09:03:14 +11:00
renovate[bot] 5e6a2c5e8d
build(deps): update dependency i18next-http-backend to v1.4.0 (#3003)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 08:30:23 +11:00
renovate[bot] f41a4628f2
build(deps): update dependency @types/react to v17.0.40 (#2992)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-10 22:11:25 +11:00
James Elliott ed49cc0a74
release: v4.34.4 (#2991) 2022-03-10 13:17:56 +11:00
James Elliott 9a62bff1e5
build(deps): update dependency qrcode.react to v2 (#2990) 2022-03-10 12:48:29 +11:00
renovate[bot] 18c3d8ffb5
build(deps): update dependency axios to v0.26.1 (#2989)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-10 12:04:45 +11:00
renovate[bot] 51a1b2cb58
build(deps): update dependency i18next to v21.6.14 (#2982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-10 11:04:04 +11:00
renovate[bot] 26cab9f203
build(deps): update dependency @testing-library/react to v12.1.4 (#2983)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-10 10:12:56 +11:00
renovate[bot] 743d8c5a8d
build(deps): update dependency react-i18next to v11.15.6 (#2976)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-09 17:01:19 +11:00
renovate[bot] 6443f5cbe5
build(deps): update typescript-eslint monorepo to v5.14.0 (#2977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-09 14:46:41 +11:00
renovate[bot] b48b2ddde6
build(deps): update dependency vite-plugin-istanbul to v2.5.1 (#2973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 12:09:32 +11:00
James Elliott 6d937cf6cc
refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
James Elliott ebce62b1fc
release: v4.34.3 (#2964) 2022-03-05 18:32:14 +11:00
James Elliott 67846faacb
release: v4.34.2 (#2958) 2022-03-04 22:09:33 +11:00
James Elliott 82d28155d0
release: v4.34.1 (#2955) 2022-03-04 17:26:42 +11:00
James Elliott 62e670e4fe
release: v4.34.0 (#2951) 2022-03-04 16:05:26 +11:00
renovate[bot] 4acb42aa39
build(deps): update font awesome to v6 (#2913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 12:45:39 +11:00
renovate[bot] cd2a5b2354
build(deps): update dependency eslint-plugin-react to v7.29.3 (#2949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 12:20:22 +11:00
renovate[bot] d9292875fc
build(deps): update dependency i18next to v21.6.13 (#2942)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-03 22:43:18 +11:00
James Elliott 8f05846e21
feat: webauthn (#2707)
This implements Webauthn. Old devices can be used to authenticate via the appid compatibility layer which should be automatic. New devices will be registered via Webauthn, and devices which do not support FIDO2 will no longer be able to be registered. At this time it does not fully support multiple devices (backend does, frontend doesn't allow registration of additional devices). Does not support passwordless.
2022-03-03 22:20:43 +11:00
renovate[bot] 3c0d9b3b57
build(deps): update dependency eslint-config-prettier to v8.5.0 (#2941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-03 12:29:26 +11:00
renovate[bot] ee4c7d7340
build(deps): update dependency @types/react-dom to v17.0.13 (#2940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 10:58:55 +11:00
renovate[bot] 476df97622
build(deps): update dependency react-router-dom to v6.2.2 (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-02 23:07:43 +11:00
renovate[bot] 03b2b45c4d
build(deps): update dependency @types/react-dom to v17.0.12 (#2935)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 20:15:39 +11:00
renovate[bot] 8dcb8c4e29
build(deps): update dependency vite to v2.8.6 (#2936)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 13:06:14 +11:00
renovate[bot] b7ddcb1d29
build(deps): update dependency typescript to v4.6.2 (#2932)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 15:39:39 +11:00
renovate[bot] d5684b9f87
build(deps): update typescript-eslint monorepo to v5.13.0 (#2928)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 11:15:55 +11:00
renovate[bot] 4c63d4f59c
build(deps): update dependency vite to v2.8.5 (#2927)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 08:21:58 +11:00
renovate[bot] d87a56fa1a
build(deps): update dependency eslint-plugin-react to v7.29.2 (#2918)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 17:37:43 +01:00
renovate[bot] d565133f19
build(deps): update dependency eslint-plugin-react to v7.29.0 (#2915)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 20:18:44 +11:00
renovate[bot] c525849eee
build(deps): update dependency @types/node to v16.11.26 (#2894)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 09:10:01 +11:00
James Elliott b733f7b86d
build(deps): update pnpm packages (#2911) 2022-02-24 19:27:57 +11:00
renovate[bot] 4d06318413
build(deps): update dependency @testing-library/jest-dom to v5.16.2 (#2892)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-02-23 13:13:20 +11:00
renovate[bot] c03b24232f
build(deps): update dependency @fortawesome/react-fontawesome to v0.1.17 (#2891)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 12:08:15 +11:00
James Elliott fcdd41ea2a
feat: oidc scope i18n (#2799)
This adds i18n for the OIDC scope descriptsions descriptions.
2022-02-08 01:18:16 +11:00
James Elliott 7775d2af0e
fix(ntp): disable failure ignored (#2835)
Disable failure was ignored previously, this ensures it isn't.
2022-02-03 14:04:24 +11:00
renovate[bot] 029e3268d4
build(deps): update dependency i18next to v21.6.7 (#2824)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 11:04:32 +11:00
renovate[bot] 28b29be0af
build(deps): update dependency i18next-http-backend to v1.3.2 (#2823)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:23:00 +11:00
renovate[bot] 7402f6807b
build(deps): update dependency react-i18next to v11.15.3 (#2821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 00:48:50 +11:00
renovate[bot] 31f3f23195
build(deps): update dependency i18next to v21.6.6 (#2820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 00:23:49 +11:00
Manuel Nuñez db046b2d1c
feat(web): i18n (#2697)
This adds support for i18n so that users may be presented a familiar language to the language the browser language they are using automatically. Currently supported languages: en, es.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-21 23:05:46 +11:00
James Elliott 8d5a29117e
release: v4.33.2 (#2800) 2022-01-21 15:34:17 +11:00
renovate[bot] 6020dd611f
build(deps): update dependency typescript to v4.5.5 (#2812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-21 11:38:48 +11:00
renovate[bot] c4cef2918b
build(deps): update dependency @commitlint/cli to v16.1.0 (#2810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-21 11:19:25 +11:00
renovate[bot] 97a862e81a
build(deps): update dependency @commitlint/cli to v16.0.3 (#2808)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 07:30:44 +11:00
renovate[bot] 6366e3452c
build(deps): update dependency vite to v2.7.13 (#2807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 18:22:27 +11:00
renovate[bot] fb73d75c08
build(deps): update dependency @types/node to v16.11.21 (#2806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 08:26:18 +11:00
renovate[bot] 545dddea52
build(deps): update dependency axios to v0.25.0 (#2805)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-18 21:45:57 +11:00
renovate[bot] e4391892b5
build(deps): update typescript-eslint monorepo to v5.10.0 (#2804)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 13:10:39 +11:00
renovate[bot] adb6949f30
build(deps): update dependency vite-plugin-istanbul to v2.4.0 (#2803)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 11:25:28 +11:00
renovate[bot] 1945535742
build(deps): update dependency @types/node to v16.11.20 (#2802)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 10:50:28 +11:00
renovate[bot] 73b7900fee
build(deps): update dependency vite to v2.7.12 (#2797)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-14 09:30:18 +11:00
renovate[bot] ef824a3b6c
build(deps): update dependency vite to v2.7.11 (#2795)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 23:57:40 +11:00
renovate[bot] 03caebaad0
build(deps): update dependency query-string to v7.1.0 (#2772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 01:11:09 +11:00
renovate[bot] 5e4738beec
build(deps): update dependency @commitlint/cli to v16.0.2 (#2777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 00:53:52 +11:00
renovate[bot] d68f9a2254
build(deps): update dependency vite-plugin-svgr to v1 (#2779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 00:13:07 +11:00
renovate[bot] cf632cb34a
build(deps): update typescript-eslint monorepo to v5.9.1 (#2786)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 22:57:12 +01:00
renovate[bot] 25d16994e3
build(deps): update dependency husky to v7.0.4 (#2780)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 13:29:58 +01:00
renovate[bot] 322359fefb
build(deps): update dependency jest to v27.4.7 (#2768)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 11:53:29 +11:00
renovate[bot] 74641ce027
build(deps): update dependency jest to v27.4.6 (#2766)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 20:06:53 +11:00
renovate[bot] cc4a45f46d
build(deps): update dependency @vitejs/plugin-react to v1.1.4 (#2764)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 15:31:06 +11:00
renovate[bot] e389d61f1d
build(deps): update dependency @types/node to v16.11.19 (#2762)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 13:17:23 +11:00
renovate[bot] 7c3392a2fb
build(deps): update typescript-eslint monorepo to v5.9.0 (#2760)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 17:45:47 +11:00
renovate[bot] ff4752d983
build(deps): update dependency @types/node to v16.11.18 (#2759)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 16:42:51 +11:00
renovate[bot] 1af75ef353
build(deps): update dependency eslint-plugin-import to v2.25.4 (#2758)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 14:43:48 +11:00
renovate[bot] ced541dc93
build(deps): update dependency vite to v2.7.10 (#2752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 13:50:52 +11:00
renovate[bot] 5584b08517
build(deps): update dependency @commitlint/cli to v16.0.1 (#2750)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 15:26:27 +11:00
renovate[bot] cc0099892e
build(deps): update typescript-eslint monorepo to v5.8.1 (#2749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-28 06:37:16 +11:00
renovate[bot] 5d15d7c58b
build(deps): update commitlint monorepo to v16 (#2745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-27 15:44:49 +11:00
renovate[bot] 09a4078c2d
build(deps): update dependency vite to v2.7.7 (#2744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-27 15:07:25 +11:00
renovate[bot] e2511b20a3
build(deps): update dependency @types/react to v17.0.38 (#2741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-26 14:50:05 +11:00
renovate[bot] 47e1062b4a
build(deps): update dependency @types/node to v16.11.17 (#2740)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 21:52:34 +11:00
renovate[bot] 37b52b0168
build(deps): update dependency eslint-plugin-react to v7.28.0 (#2739)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 11:08:35 +11:00
renovate[bot] cee5a68422
build(deps): update dependency vite to v2.7.6 (#2737)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:25:09 +11:00
renovate[bot] ef010d47dc
build(deps): update dependency vite to v2.7.5 (#2735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 08:10:45 +11:00
renovate[bot] 7b2c3e4d13
build(deps): update dependency @types/node to v16.11.15 (#2734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 20:45:57 +11:00
renovate[bot] 19e7860740
build(deps): update typescript-eslint monorepo to v5.8.0 (#2733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 17:15:32 +11:00
renovate[bot] 54d08f3599
build(deps): update dependency vite to v2.7.4 (#2732)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 13:36:20 +11:00
renovate[bot] a560304ace
build(deps): update dependency vite to v2.7.3 (#2724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-12-20 08:41:32 +11:00
renovate[bot] 693c5b4233
build(deps): update dependency react-router-dom to v6.2.1 (#2729)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 11:08:43 +11:00
renovate[bot] 8c796c11d2
build(deps): update dependency @types/node to v16.11.14 (#2722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 09:30:51 +11:00
renovate[bot] e4610b6456
build(deps): update dependency eslint-config-react-app to v7 (#2718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 11:11:09 +11:00
renovate[bot] bbc41e0f9f
build(deps): update dependency @types/node to v16.11.13 (#2719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 09:36:00 +11:00
renovate[bot] 335207f68b
build(deps): update dependency typescript to v4.5.4 (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:15:34 +11:00
renovate[bot] ec8aa68292
build(deps): update dependency jest to v27.4.5 (#2716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:00:45 +11:00
renovate[bot] 520571145c
build(deps): update typescript-eslint monorepo to v5.7.0 (#2715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 12:43:05 +11:00
renovate[bot] 51f583be72
build(deps): update dependency @vitejs/plugin-react to v1.1.3 (#2713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 12:14:36 +11:00
renovate[bot] e21794b314
build(deps): update dependency vite to v2.7.2 (#2714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 11:34:54 +11:00
renovate[bot] 3005b57fd5
build(deps): update dependency react-router-dom to v6.1.1 (#2709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 16:00:52 +11:00
renovate[bot] 21885f40ae
build(deps): update dependency jest to v27.4.4 (#2702)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-12-12 10:43:40 +11:00
renovate[bot] e5d8c1f849
build(deps): update dependency react-router-dom to v6.1.0 (#2704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 22:48:33 +11:00
renovate[bot] 22bd22daa7
build(deps): update dependency typescript to v4.5.3 (#2701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 11:51:25 +11:00
renovate[bot] 0d1895914d
build(deps): update dependency @types/node to v16.11.12 (#2690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 12:00:34 +11:00
renovate[bot] d2e7ebb7b7
build(deps): update dependency @vitejs/plugin-react to v1.1.1 (#2692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-12-08 11:04:12 +11:00
renovate[bot] d2331bd1c8
build(deps): update dependency vite to v2.7.1 (#2693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 10:44:16 +11:00
renovate[bot] 2424d71078
build(deps): update typescript-eslint monorepo to v5.6.0 (#2688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:21:28 +11:00
renovate[bot] 00b1aaaca6
build(deps): update dependency @testing-library/jest-dom to v5.16.1 (#2687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 10:25:45 +11:00
renovate[bot] bdce98c3aa
build(deps): update dependency prettier to v2.5.1 (#2683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-05 14:37:47 +11:00
James Elliott 00aa0cd369
release: v4.33.1 (#2679) 2021-12-04 16:20:41 +11:00
renovate[bot] b7bf9d52b1
build(deps): update dependency @testing-library/jest-dom to v5.16.0 (#2671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 09:37:01 +11:00
James Elliott 0ab94597df
release: v4.33.0 (#2665) 2021-12-03 18:07:22 +11:00
James Elliott 104a61ecd6
refactor(web): only fetch totp conf if required (#2663)
Prevents the TOTP user config from being requested when the user has not registered or is already authenticated 2FA.
2021-12-02 21:28:16 +11:00
renovate[bot] 6aed9f9561
build(deps): update dependency jest to v27.4.3 (#2651)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 10:14:48 +11:00
James Elliott ad8e844af6
feat(totp): algorithm and digits config (#2634)
Allow users to configure the TOTP Algorithm and Digits. This should be used with caution as many TOTP applications do not support it. Some will also fail to notify the user that there is an issue. i.e. if the algorithm in the QR code is sha512, they continue to generate one time passwords with sha1. In addition this drastically refactors TOTP in general to be more user friendly by not forcing them to register a new device if the administrator changes the period (or algorithm).

Fixes #1226.
2021-12-01 23:11:29 +11:00
Philipp Staiger 01b77384f9
feat(duo): multi device selection (#2137)
Allow users to select and save the preferred duo device and method, depending on availability in the duo account. A default enrollment URL is provided and adjusted if returned by the duo API. This allows auto-enrollment if enabled by the administrator.

Closes #594. Closes #1039.
2021-12-01 14:32:58 +11:00
renovate[bot] 08b6ecb7b1
build(deps): update dependency jest to v27.4.2 (#2648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 09:01:04 +11:00
renovate[bot] 568f210b2b
build(deps): update dependency jest to v27.4.1 (#2646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 21:31:00 +11:00
renovate[bot] b1d37d2069
build(deps): update dependency @types/node to v16.11.11 (#2644)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 14:13:26 +11:00
renovate[bot] 923df2cb46
build(deps): update typescript-eslint monorepo to v5.5.0 (#2643)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:41:28 +11:00
renovate[bot] 7ea352b730
build(deps): update dependency jest to v27.4.0 (#2642)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:26:13 +11:00
renovate[bot] d45dac39b9
build(deps): update dependency vite-plugin-istanbul to v2.3.0 (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 09:52:44 +11:00
renovate[bot] 6ea5711f91
build(deps): update dependency prettier to v2.5.0 (#2633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-26 13:12:09 +11:00
renovate[bot] eb94960348
build(deps): update dependency @types/react to v17.0.37 (#2630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 09:42:51 +11:00
renovate[bot] a05b03a3d8
build(deps): update dependency @types/node to v16.11.10 (#2623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:53:16 +11:00
renovate[bot] 06d47d37fa
build(deps): update dependency @testing-library/jest-dom to v5.15.1 (#2620)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 09:56:18 +11:00
renovate[bot] ef8b93d502
build(deps): update dependency @vitejs/plugin-react to v1.1.0 (#2617)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-23 10:28:13 +11:00
renovate[bot] 5807a05a2c
build(deps): update dependency @types/react to v17.0.36 (#2614)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 10:43:05 +11:00
renovate[bot] 9b6ba84b30
build(deps): update dependency eslint-plugin-react to v7.27.1 (#2613)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 22:26:09 +11:00
renovate[bot] 3579c1075a
build(deps): update dependency @types/node to v16.11.9 (#2612)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 21:59:02 +11:00
renovate[bot] f8f6e8dfc9
build(deps): update dependency @types/node to v16.11.8 (#2611)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 09:25:26 +11:00
renovate[bot] d04706eb2e
build(deps): update dependency typescript to v4.5.2 (#2607) 2021-11-18 07:59:28 +11:00
renovate[bot] 7fe948c180
build(deps): update commitlint monorepo to v15 (#2606) 2021-11-17 20:52:40 +11:00
renovate[bot] 52b1ce5ba5
build(deps): update dependency @types/react to v17.0.35 (#2605)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 13:56:58 +11:00
renovate[bot] 9c7122a770
build(deps): update typescript-eslint monorepo to v5.4.0 (#2604)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 08:33:14 +11:00
Amir Zarrinkafsh 0be883befb
feat: customizable static assets (#2597)
* feat: customizable static assets

This change provides the means to override specific assets from the embedded Go FS with files situated on disk.

We only allow overriding the following files currently:
* favicon.ico
* logo.png

* refactor(server): make logo string a const

* refactor(suites): override favicon and use ntp3 in traefik2 suite

* test(suites): test logo override in traefik2 suite

* test(suites): test asset override fallback in traefik suite

Closes #1630.
2021-11-15 19:37:58 +11:00
renovate[bot] 417d421b9a
build(deps): update dependency @vitejs/plugin-react to v1.0.9 (#2601) 2021-11-14 08:55:44 +11:00
renovate[bot] a8d56da460
build(deps): update dependency vite-plugin-svgr to v0.6.0 (#2600) 2021-11-13 23:17:56 +11:00
renovate[bot] ea084351ef
build(deps): update dependency eslint-plugin-jsx-a11y to v6.5.1 (#2590) 2021-11-11 08:44:29 +11:00
renovate[bot] a9eaff733d
build(deps): update dependency eslint-plugin-import to v2.25.3 (#2586) 2021-11-11 08:18:39 +11:00
renovate[bot] 2ef98ee9ef
build(deps): update dependency eslint-plugin-react to v7.27.0 (#2587) 2021-11-11 08:00:03 +11:00
renovate[bot] 25fa1bb88b
build(deps): update dependency react-router-dom to v6.0.2 (#2582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 15:20:36 +11:00
renovate[bot] a6a3bd9b5b
build(deps): update dependency vite to v2.6.14 (#2581)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 13:20:44 +11:00
renovate[bot] d8178eb368
build(deps): update dependency @vitejs/plugin-react to v1.0.8 (#2580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 12:50:55 +11:00
renovate[bot] 777855f65e
build(deps): update dependency vite-plugin-svgr to v0.5.1 (#2579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 10:57:37 +11:00
renovate[bot] e2e05fffd5
build(deps): update dependency eslint-plugin-react-hooks to v4.3.0 (#2578) 2021-11-10 09:44:00 +11:00
renovate[bot] 374f07eca8
build(deps): update dependency @types/node to v16.11.7 (#2577)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 13:53:18 +11:00
renovate[bot] f15daedf39
build(deps): update typescript-eslint monorepo to v5.3.1 (#2574) 2021-11-09 07:27:35 +11:00
renovate[bot] f9d256ceb0
build(deps): update dependency vite-plugin-svgr to v0.5.0 (#2573) 2021-11-09 07:08:17 +11:00
renovate[bot] 45df80c1c2
build(deps): update dependency react-router-dom to v6.0.1 (#2569)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-06 13:28:05 +11:00
Amir Zarrinkafsh 0e8ff3bde9
fix(web): misleading 2fa registration errors (#2535) 2021-11-05 15:12:56 +11:00
renovate[bot] eae353e315
build(deps): update dependency react-router-dom to v6 (#2565)
* build(deps): update dependency react-router-dom to v6

* fix(web): update code to conform to react-router 6 convention

* refactor(web): react-router -> react-router-dom

* refactor(web): make 2fa consts relative

* refactor(web): rename 2fa consts for clarity

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-11-05 13:36:52 +11:00
renovate[bot] a954a39a07
build(deps): update dependency @types/react-dom to v17.0.11 (#2562)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 10:56:57 +11:00
renovate[bot] 4e11576542
build(deps): update dependency @types/react to v17.0.34 (#2561)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 10:38:35 +11:00
renovate[bot] 817e4c5cb5
build(deps): update dependency @testing-library/jest-dom to v5.15.0 (#2559)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 10:17:43 +11:00
renovate[bot] 76cc998c25
build(deps): update typescript-eslint monorepo to v5.3.0 (#2556)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 16:12:44 +11:00
renovate[bot] edf9d1bd6a
build(deps): update commitlint monorepo to v14 (#2555)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 13:22:37 +11:00
renovate[bot] fcc2502dc9
build(deps): update dependency eslint-plugin-flowtype to v8.0.3 (#2550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 13:24:42 +11:00
renovate[bot] 38689f4922
build(deps): update dependency @vitejs/plugin-react to v1.0.7 (#2549) 2021-10-29 07:14:04 +11:00
renovate[bot] 9bd97402b4
build(deps): update dependency vite to v2.6.13 (#2547)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 08:58:44 +11:00
renovate[bot] e902c63dd2
build(deps): update dependency eslint-plugin-flowtype to v8 (#2546)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 15:22:27 +11:00
renovate[bot] fad8102c79
build(deps): update typescript-eslint monorepo to v5.2.0 (#2540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 12:47:55 +11:00
renovate[bot] 040f2f6af5
build(deps): update dependency @types/node to v16.11.6 (#2545)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 12:25:05 +11:00
renovate[bot] af21767b19
build(deps): update dependency axios to v0.24.0 (#2539)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:18:19 +11:00
renovate[bot] e3ab83ec2a
build(deps): update dependency vite to v2.6.12 (#2537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 09:52:31 +11:00
renovate[bot] e9390471b1
build(deps): update dependency @types/react-router-dom to v5.3.2 (#2543) 2021-10-27 07:14:55 +11:00
renovate[bot] 9a7354fe3f
build(deps): update dependency @types/react to v17.0.33 (#2542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 21:40:27 +11:00
renovate[bot] 59c5ae99a1
build(deps): update dependency @types/node to v16.10.9 (#2544)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 16:23:25 +11:00
renovate[bot] 9e83e541e6
build(deps): update dependency @vitejs/plugin-react to v1.0.6 (#2536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 14:26:47 +11:00
Amir Zarrinkafsh 96ebb681f9
refactor(web): replace deprecated plugin with @vitejs/plugin-react (#2533) 2021-10-25 11:12:02 +11:00
renovate[bot] 38aedf804e
build(deps): update dependency @types/react to v17.0.32 (#2532)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 10:11:13 +11:00
renovate[bot] 18d6c2e2f0
build(deps): update dependency @types/react to v17.0.31 (#2525)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 19:33:24 +11:00
renovate[bot] 74ce469197
build(deps): update dependency vite-plugin-istanbul to v2.2.2 (#2524)
* build(deps): update dependency vite-plugin-istanbul to v2.2.2

* fix(web): allow instrumentation of frontend in prod mode

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-10-21 10:15:15 +11:00
renovate[bot] 37030a42c7
build(deps): update dependency @types/react-dom to v17.0.10 (#2521)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 09:28:25 +11:00
renovate[bot] 6d04672ec9
build(deps): update typescript-eslint monorepo to v5.1.0 (#2515) 2021-10-20 21:35:27 +11:00
renovate[bot] bf3c8389ec
build(deps): update dependency jest to v27.3.1 (#2517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 18:05:23 +11:00
renovate[bot] 6f04867f9e
build(deps): update dependency vite to v2.6.10 (#2513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:44:00 +11:00
renovate[bot] 381ca9476c
build(deps): update dependency eslint-plugin-flowtype to v6.1.1 (#2512)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 03:36:36 +11:00
renovate[bot] d43c568415
build(deps): update dependency @fortawesome/react-fontawesome to v0.1.16 (#2511)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 22:50:13 +11:00
renovate[bot] ce14e0d83b
build(deps): update dependency vite to v2.6.9 (#2510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 09:06:18 +11:00
renovate[bot] f47619b160
build(deps): update dependency jest to v27.3.0 (#2508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 09:06:17 +11:00
renovate[bot] 37bcaf6623
build(deps): update dependency @types/react to v17.0.30 (#2505)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-15 13:58:46 +11:00
renovate[bot] 7dda802ae4
build(deps): update dependency typescript to v4.4.4 (#2499) 2021-10-14 07:19:16 +11:00
renovate[bot] d6cca7a50d
build(deps): update dependency eslint-plugin-import to v2.25.2 (#2494)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 23:11:29 +11:00
renovate[bot] 4ccc69d0c7
build(deps): update dependency @types/react to v17.0.29 (#2498)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 21:10:20 +11:00
renovate[bot] 74f7c0b9fe
build(deps): update dependency axios to v0.23.0 (#2496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 03:43:44 +11:00
renovate[bot] 4ed23a945c
build(deps): update dependency @types/react to v17.0.28 (#2495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 20:15:08 +11:00
renovate[bot] f02190d89c
build(deps): update dependency vite-tsconfig-paths to v3.3.17 (#2492)
* build(deps): update dependency vite-tsconfig-paths to v3.3.17

* fix(web): remove vite resolve alias workaround

The resolve alias issue with Vite has been resolved in the `vite-tsconfig-paths` plugin.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-10-12 14:04:30 +11:00
renovate[bot] 2853a8e56a
build(deps): update typescript-eslint monorepo to v5 (#2491)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:19:43 +11:00
renovate[bot] 09d2b0c84f
build(deps): update dependency vite to v2.6.7 (#2490)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:00:16 +11:00
Amir Zarrinkafsh 9445878ca2
refactor(web): use transformindexhtml vite hook (#2488) 2021-10-11 20:30:02 +11:00
James Elliott aa18fd0256
release: v4.32.2 (#2487) 2021-10-10 22:12:12 +11:00
renovate[bot] fff0e31d0d
build(deps): update dependency vite-tsconfig-paths to v3.3.15 (#2484) 2021-10-10 09:13:55 +11:00
renovate[bot] 75e2167c19
build(deps): update dependency vite-react to v0.0.41 (#2483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-09 23:16:44 +11:00
renovate[bot] d800642966
build(deps): update dependency @commitlint/cli to v13.2.1 (#2480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-09 12:25:37 +02:00
Amir Zarrinkafsh 99b8f772a6
release: v4.32.1 (#2478)
This release updates `authelia/crossbuild` to be based on Debian Stretch so compiled Authelia binaries use glibc <2.28 which provides support for LTS Linux OSes.

Fixes: #2475.
2021-10-09 11:28:19 +11:00
renovate[bot] 80bebb8f15
build(deps): update dependency jest to v27.2.5 (#2477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-09 09:31:59 +11:00
Amir Zarrinkafsh 6c37ea3837
release: v4.32.0 (#2474) 2021-10-08 15:40:54 +11:00
renovate[bot] f3dd24e716
build(deps): update dependency vite to v2.6.5 (#2472)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 15:17:47 +11:00
Amir Zarrinkafsh a3e84769b5
feat(web): replace cra with vite (#2457)
* feat(web): replace cra with vite

* fix: add istanbul
* fix: add jest
* fix: inject env vars
* fix: replicate cra output directories
* fix: post-frontend build for go templating
* fix: dynamic publicpath

* fix(web): import resolution with aliases for .module.css files

* refactor(server): baseurl var

* refactor(web): drop babel-jest for esbuild-jest

* refactor(web): add inline sourcemap for coverage bundle

* build(deps): update web deps

* build(deps): downgrade vite-plugin-istanbul to 2.2.0

98bf77dbaa is a breaking change that means production mode builds can no longer be instrumented.

* refactor(web): match frontend name and version

* refactor(web): drop cra readme
2021-10-08 15:00:06 +11:00
Amir Zarrinkafsh 8685e095e9
fix(web): clarify 2fa informational message (#2451) 2021-10-07 10:54:48 +11:00
renovate[bot] e070a499e1
build(deps): update dependency @types/react-router-dom to v5.3.1 (#2461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 10:35:04 +11:00
renovate[bot] 8251b7a785
build(deps): update dependency @types/react to v17.0.27 (#2442)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 10:21:48 +11:00
renovate[bot] 0e120b187d
build(deps): update dependency @testing-library/react to v12.1.2 (#2441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 09:48:02 +11:00
Amir Zarrinkafsh a32d030144
ci(buildkite): remove automatic retries for lint step (#2435)
* ci(buildkite): remove automatic retries for lint step

* refactor(web): refactor commitlint hook for windows
2021-10-02 15:56:46 +10:00
renovate[bot] 0351546cf0
build(deps): update dependency axios to v0.22.0 (#2433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 21:42:36 +10:00
renovate[bot] 19aff56748
build(deps): update dependency @types/react to v17.0.26 (#2429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 10:49:09 +10:00
renovate[bot] cbe1aad7fe
build(deps): update dependency @types/react to v17.0.25 (#2426) 2021-09-30 08:38:58 +10:00
Amir Zarrinkafsh 3d312cf3b9
refactor: replace yarn with pnpm (#2424)
* Check for pnpm in authelia-scripts
* Improve husky hooks to check for required apps
* Use pnpm in coverage dockerfile
* Use pnpm in dev workflow
* Stop buildx log truncation
* Ignore pnpm lockfile in yamllint
* Update versions required for docker and docker-compose in contributing docs
2021-09-29 17:24:21 +10:00
renovate[bot] 2f3f0818c3
build(deps): update commitlint monorepo to v13.2.0 (#2421)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:16:56 +10:00
renovate[bot] a80b8d4933
build(deps): update dependency @testing-library/react to v12.1.1 (#2419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 10:04:45 +10:00
Amir Zarrinkafsh c9f5b3de88
feat(web): replace babel-loader and terser with esbuild (#2422) 2021-09-28 16:27:06 +10:00
renovate[bot] bbd85bd558
build(deps): update dependency @types/react-router-dom to v5.3.0 (#2408)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 14:11:07 +10:00
renovate[bot] 958829f2f5
build(deps): update dependency @types/react to v17.0.24 (#2407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-22 13:58:04 +10:00
dependabot[bot] e5ffd8dae9
build(deps): bump tmpl from 1.0.4 to 1.0.5 in /web (#2405)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-22 13:32:42 +10:00
renovate[bot] fac597cb2f
build(deps): update dependency @types/react to v17.0.22 (#2399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 20:18:08 +10:00
renovate[bot] e1ca24344a
build(deps): update dependency prettier to v2.4.1 (#2382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-16 19:59:26 +10:00
Amir Zarrinkafsh 11032bdf93
fix(server): remove obselete memory check warning (#2380)
Given the fact that many Linux OSes are defaulting to CGroups v2 and also Authelia changing the default memory config for argon2id this warning is now obselete.
2021-09-16 12:26:34 +10:00
renovate[bot] 69f37d4161
build(deps): update dependency @types/react to v17.0.21 (#2379)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 12:01:25 +10:00
renovate[bot] 8e155328b4
build(deps): update dependency @types/react-router-dom to v5.1.9 (#2377)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 11:24:41 +10:00
renovate[bot] dd8199d127
build(deps): update dependency eslint-import-resolver-typescript to v2.5.0 (#2370)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-14 08:35:53 +10:00
renovate[bot] 763938a0b7
build(deps): update dependency @testing-library/react to v12.1.0 (#2368) 2021-09-11 22:47:28 +10:00
renovate[bot] a091b341da
build(deps): update dependency @craco/craco to v6.3.0 (#2366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-11 16:00:13 +10:00
renovate[bot] 9cff1bb133
build(deps): update dependency typescript to v4.4.3 (#2364) 2021-09-11 11:46:23 +10:00
renovate[bot] b770939983
build(deps): update dependency prettier to v2.4.0 (#2357)
* build(deps): update dependency prettier to v2.4.0

* fix(web): jsxbracketsameline -> bracketsameline

Prettier 2.4 has renamed the jsxBracketSameLine option to bracketSameLine.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-10 08:27:50 +10:00
renovate[bot] dca3ba0cfb
build(deps): pin dependency husky to 7.0.2 (#2356)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:44:43 +10:00
renovate[bot] dedd44ea0d
build(deps): pin dependencies (#2355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:30:00 +10:00
Amir Zarrinkafsh cc765115b2
ci: add husky with pre-commit and commit-msg hooks (#2352)
* ci: add husky with pre-commit and commit-msg hooks

This change includes two new hooks as part of our GitHub workflow with husky:

* `pre-commit`: Performs linting with golangci-lint and eslint/prettier
* `commit-msg`: Ensures that the commit messages conform to our guidelines and will error and provide context to a user when they do not.

The `prepare` command which has been included is executed each time a `yarn install` is executed.

* ci: extend @commitlint/config-conventional configuration

* fix: lint all dot js files
2021-09-09 12:22:11 +10:00
renovate[bot] b6cc98b5cb
build(deps): update dependency axios to v0.21.4 (#2347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 10:44:49 +10:00
renovate[bot] 612f6d5674
build(deps): update dependency @types/react to v17.0.20 (#2344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-05 20:17:18 +10:00
renovate[bot] 05e549941b
build(deps): update dependency axios to v0.21.3 (#2343)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-05 09:17:26 +10:00
renovate[bot] 1960a24124
build(deps): update dependency axios to v0.21.2 (#2342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-05 00:13:34 +10:00
renovate[bot] 5f2edf3d42
build(deps): update dependency typescript to v4.4.2 (#2321)
* build(deps): update dependency typescript to v4.4.2

* fix(web): cast try catch err type to error

Typescript 4.x changes the default behaviour of try catch and its err type from `any` to [`unknown`](https://github.com/microsoft/TypeScript/pull/41013).

This change ensures that where we rely on said variable it is cast accordingly as an `Error`.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-04 23:27:11 +10:00
Amir Zarrinkafsh 6b7b08d800
refactor(web): replace incorrect use of usecallback (#2308)
* refactor(web): replace incorrect use of usecallback

Replaces incorrect usage of useCallback with useRef.

* refactor(web): onsignin...ref -> onsignin...callback

* fix(web): fix lint errors
2021-09-04 22:31:24 +10:00
renovate[bot] 622f25cab1
build(deps): update dependency react-router-dom to v5.3.0 (#2339)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 13:47:03 +10:00
renovate[bot] 8f38fa97a5
build(deps): update dependency eslint-plugin-prettier to v4 (#2332)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 10:23:06 +10:00
renovate[bot] 0e7170dd02
build(deps): update dependency react-router-dom to v5.2.1 (#2328) 2021-08-28 11:50:18 +10:00
Amir Zarrinkafsh 0c5c85cbe4
refactor(web): eslint glob pattern (#2309)
The current eslint glob pattern is not Windows friendly, this change works for both Linux and Windows.
2021-08-22 21:16:19 +10:00
renovate[bot] af9274a9c6
build(deps): update dependency eslint-plugin-prettier to v3.4.1 (#2307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-21 11:20:18 +10:00
renovate[bot] 7d105c6597
build(deps): update dependency @types/react to v17.0.19 (#2300) 2021-08-19 21:49:36 +10:00
renovate[bot] 401b732a00
build(deps): update dependency @types/react to v17.0.18 (#2287)
* build(deps): update dependency @types/react to v17.0.18

* fix(web): fix broken yarn.lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-15 15:00:27 +10:00
renovate[bot] cdda12a2bf
build(deps): update dependency @types/react to v17.0.17 (#2283)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 14:05:46 +10:00
renovate[bot] 4f515328d6
build(deps): update dependency @types/react to v17.0.16 (#2259)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-06 15:14:00 +10:00
renovate[bot] cbedf79f86
build(deps): update font awesome (#2238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 06:00:27 +10:00
renovate[bot] 02b6d5dcae
build(deps): update dependency @fortawesome/react-fontawesome to v0.1.15 (#2232)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-04 06:27:29 +10:00
renovate[bot] 3d656eb5db
build(deps): pin dependencies (#2228)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-03 16:54:59 +10:00
Amir Zarrinkafsh 1b06e46f71
test(web): drop enzyme in favor of react-testing-library (#2224)
* test(web): drop enzyme in favor of react-testing-library

Enzyme is falling behind in maintenance, it is currently maintained by one primary developer and still does [not support React 17](https://github.com/enzymejs/enzyme/pull/2430) despite it being released in October 2020.

[react-testing-library (RTL)](https://testing-library.com/docs) is [recommended by Facebook](https://reactjs.org/docs/test-utils.html#overview) and encourages writing tests that avoid testing implementation details.

* build(deps): update react monorepo to v17 (major)

* build(deps): remove @types/{enzyme,jest}
2021-08-03 16:25:13 +10:00
Clément Michaud bc983ce9f5
fix: user is now redirected when authenticated (#2082)
* fix(handlers,web): user is now redirected when authenticated

Fix: #1788

* remove dead code and fix ci issues

* fix infinite loop in frontend

* fix issue with integration tests

* handle bot recommendation

* fix integration test & add dot to comment

* fix last integration test

* Update api/openapi.yml

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>

* Update web/src/services/SafeRedirection.ts

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* Update web/src/services/SafeRedirection.ts

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* Update api/openapi.yml

* Update openapi.yml

* refactor: valid -> safe

* refactor: adjust merge conflicts

* Apply suggestions from code review

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>

* fix: adjust test return messaging

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-02 16:15:38 +10:00
renovate[bot] 45f683b6cd
build(deps): update dependency @material-ui/core to v4.12.3 (#2215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 22:28:36 +10:00
James Elliott e77f79853a
fix(web): move reset password to after sign in (#2205)
This is for a better user experience, specifically it makes it so when users tab through the elements in the login form they are selected in a logical order.

Fixes #2204
2021-07-30 09:29:57 +10:00
renovate[bot] ae17c88908
build(deps): update dependency @types/react to v17.0.15 (#2201)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-25 07:52:21 +10:00
renovate[bot] 7a4779b08e
build(deps): update dependency @material-ui/core to v4.12.2 (#2190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-07-20 09:18:17 +10:00
renovate[bot] 4d7a6e9678
build(deps): update dependency @types/chai to v4.2.21 (#2167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-09 07:16:18 +10:00
renovate[bot] eae8effe7e
build(deps): update dependency @types/qrcode.react to v1.0.2 (#2163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 10:22:58 +10:00
renovate[bot] d68fdaa9fa
build(deps): update dependency @material-ui/core to v4.12.1 (#2162)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 09:56:16 +10:00
renovate[bot] 6063ffe226
build(deps): update dependency @types/react to v17.0.14 (#2164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 09:26:46 +10:00
renovate[bot] 9059005d0c
build(deps): update dependency @types/react-dom to v17.0.9 (#2165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 08:11:13 +10:00
renovate[bot] f081c6fe82
build(deps): update dependency @types/react-router-dom to v5.1.8 (#2166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 07:39:03 +10:00
renovate[bot] 6a6ee18b9b
build(deps): update dependency @types/jest to v26.0.24 (#2160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 12:16:15 +10:00
renovate[bot] 7d6097942c
build(deps): update dependency @types/enzyme to v3.10.9 (#2159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 10:58:49 +10:00
renovate[bot] 4c2932eb71
build(deps): update dependency @types/chai to v4.2.20 (#2158)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 09:38:35 +10:00
renovate[bot] e4a769f69c
build(deps): update dependency @material-ui/core to v4.12.0 (#2157)
* build(deps): update dependency @material-ui/core to v4.12.0

* fix(web): adjust deprecations

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-07-07 09:10:31 +10:00
renovate[bot] 2a98e47299
build(deps): update dependency @craco/craco to v6.2.0 (#2147)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-05 07:18:28 +10:00
renovate[bot] 6b5028af49
build(deps): update dependency @types/react to v17.0.13 (#2135)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 07:05:59 +10:00
renovate[bot] a6e344f504
build(deps): update dependency @types/react to v17.0.12 (#2134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-01 19:30:30 +10:00
renovate[bot] 411c98f68d
build(deps): update dependency typescript to v4.3.5 (#2130)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-01 11:21:38 +10:00
dakriy 851396c972
feat(web): add autocomplete fields to first factor and reset password pages (#2125) 2021-06-30 19:04:55 +02:00
renovate[bot] b1551e794b
build(deps): update dependency prettier to v2.3.2 (#2122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-27 14:33:54 +10:00
Amir Zarrinkafsh 756aee507f
refactor: cra build path (#2117)
* refactor: cra build path

The `authelia-scripts` helper currently performs steps to move files around in different stages of development and CI/CD.

We now utilise the `BUILD_PATH` environment variable to adjust the output directory for the web frontend from the default of `./web/build/` simplifying the helper somewhat.

Additionally we no longer build the Go binary in the unit test stage of our CI/CD as this is not necessary.

* fix: build output directory in coverage dockerfile
2021-06-25 21:53:20 +10:00
renovate[bot] 85ed04e429
build(deps): update dependency react-otp-input to v2.4.0 (#2115)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 21:22:30 +10:00
renovate[bot] 92427e2c85
build(deps): update dependency query-string to v7.0.1 (#2109)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 06:44:17 +10:00
Amir Zarrinkafsh 89a6b24845
refactor(web): move linting and testing deps to dev deps (#2105)
* refactor(web): move eslint and prettier to dev deps

* refactor(web): move chai, enzyme, jest and react-test-renderer
2021-06-21 09:39:17 +10:00
renovate[bot] 709f06e950
build(deps): update dependency @types/chai to v4.2.19 (#2104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-20 13:15:44 +10:00
renovate[bot] 645e39b7af
build(deps): pin dependencies (#2102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-19 11:21:59 +02:00
Amir Zarrinkafsh 3494353641
refactor(web): use absolute imports with aliases (#2100)
* refactor(web): use absolute imports with aliases

Refactors all of the TS/JS frontend to utilise absolute imports along with import aliases.
Each of the paths within `src` are represented with their own alias:

* @assets
* @components
* @constants (new)
* @hooks
* @layouts
* @models
* @services
* @themes
* @utils
* @views

`Routes.ts` and `constant.ts` have been relocated to the constants directory for consistency.
2021-06-19 10:20:43 +02:00
renovate[bot] babdbb1560
build(deps): update dependency @types/react-dom to v17.0.8 (#2097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 18:59:31 +10:00
renovate[bot] 55d87f99e4
build(deps): update dependency typescript to v4.3.4 (#2093)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 07:34:23 +10:00
Alex Gustafsson 150116a172
feat(web): implement automatic theme switch for light/dark (#2046)
* Implement an automatic theme

The "auto" theme will automatically switch between "dark" and "light"
depending on user preference. This allows for automatic dark mode.

* fix(configuration): allow the "auto" theme when validating

The new theme "auto" was not allowed to be used in a configuration file.

* docs: clarify what critera controls the automatic theme

How the "auto" theme functioned was unclear.

* docs: typeset themes as code

* fix(web): apply useEffector to media query watch

* docs: add technical details

* fix(configuration): resolve merge conflicts
2021-06-17 16:42:03 +10:00
renovate[bot] 78a9faacfe
build(deps): update dependency typescript to v4.3.3 (#2088)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 10:19:45 +10:00
Clément Michaud 7b1f186753
fix(web): add white padding around qrcode image (#2081)
* fix(web): add white padding around qrcode image

Some qrcode readers are struggling to decode the qrcode because there is no clear border between the qrcode image and the page background in dark mode. This fix add a white padding so that the border is now obvious.

Fixes #1777.
2021-06-14 12:38:39 +10:00
renovate[bot] 983054f2b5
build(deps): update dependency @types/react to v17.0.11 (#2076)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 08:30:56 +10:00
renovate[bot] ca42d627be
build(deps): update dependency @types/react-dom to v17.0.7 (#2075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 17:52:04 +10:00
renovate[bot] 3d66879da5
build(deps): update dependency @types/react to v17.0.10 (#2074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 17:21:22 +10:00
Amir Zarrinkafsh 0bc92404bb
ci: update tsconfig and refactor eslintrc (#2069) 2021-06-08 10:14:51 +10:00
renovate[bot] b4b69295ad
build(deps): update dependency prettier to v2.3.1 (#2062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-06 12:10:00 +10:00
dependabot[bot] a77ad1d650
build(deps): bump ws from 6.2.1 to 6.2.2 in /web (#2063)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-06-06 09:33:05 +10:00
renovate[bot] baf0e764f9
build(deps): update dependency @types/react-dom to v17.0.6 (#2056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 13:23:21 +10:00