Commit Graph

548 Commits (7df242f1e3f7364e3e9007421263e445266e8f57)

Author SHA1 Message Date
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