Commit Graph

583 Commits (5d15d7c58ba342e30df58068460261a8b0e7e627)

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