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