Commit Graph

2361 Commits (dfa2a0d1b0ca734d66f2562cfbd3d117da5488b4)

Author SHA1 Message Date
James Elliott 0d7777e3f5
fix(server): provide correct scheme to templated files (#2486)
This utilizes the context of the request and configuration to determine the correct scheme to use for the base URL.

Fixes #2485. Fixes #2476.
2021-10-10 21:19:47 +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
Clément Michaud 1f28bc9b26
docs: provide installation guidelines for installing missing tools (#2481) 2021-10-09 20:41:02 +02: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
renovate[bot] 6e0536137c
build(deps): update golang docker tag to v1.17.2 (#2470)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 13:05:07 +11:00
renovate[bot] 455499fa93
build(deps): update traefik docker tag to v1.7.33 (#2466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 12:51:30 +11:00
James Elliott f3c2539e12
fix(session): session id generator situational panic (#2471)
* fix(session): replace session id generator
This replaces the fasthttp session generator with a more generic one.
2021-10-08 12:34:43 +11:00
Amir Zarrinkafsh b606ec6752
ci(buildkite): add agent control to standalone job (#2469) 2021-10-08 12:08:43 +11:00
James Elliott 183f0974ae
docs: fix tables (#2468)
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-10-08 11:32:57 +11:00
Amir Zarrinkafsh 4161fbd818
ci(codecov): utilise new codecov uploader for coverage (#2467)
* ci(codecov): utilise new codecov uploader for coverage

The codecov bash uploader is being [deprecated](https://docs.codecov.com/docs/about-the-codecov-bash-uploader).

This utilises the new uploader which is recommended.

* ci(codecov): adjust file search path and name uploads

* fix(suites): coverage paths for codecov
2021-10-08 11:17:08 +11:00
renovate[bot] faf20f8c90
build(deps): update module github.com/ory/herodot to v0.9.12 (#2464)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 00:15:12 +11:00
Amir Zarrinkafsh 23fdb8d1b9
fix(suites): enable cgo in dev workflow (#2454) 2021-10-07 11:14:15 +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
Amir Zarrinkafsh 982e1c2638
ci(buildkite): perform frontend install for renovate deps (#2463) 2021-10-07 10:14:52 +11:00
Amir Zarrinkafsh 26de57a297
ci(buildkite): skip front/backend builds for renovate deps (#2462)
* ci(buildkite): skip front/backend builds for renovate deps

* ci(buildkite): make unit-test artifact compression conditional
2021-10-07 09:45:37 +11:00
renovate[bot] 65dd2a1341
build(deps): update traefik docker tag to v1.7.32 (#2458)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 09:05:05 +11:00
renovate[bot] 451f84f13f
build(deps): update haproxy docker tag to v2.4.7 (#2455) 2021-10-06 20:54:05 +11:00
renovate[bot] 6370c16c95
build(deps): update traefik docker tag to v1.7.31 (#2450)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 08:38:29 +11:00
Amir Zarrinkafsh 209b39ffd0
docs: fix required flag for smtp notifier sender option (#2446)
Fixes: #2445.
2021-10-04 13:44:59 +11:00
allcontributors[bot] 9a7968e4c9
docs: add mpdcampbell as a contributor for doc (#2444)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-10-04 12:17:52 +11:00
Michael Campbell 5db9adc7e3
docs: fix broken url in config.template.yml (#2443)
* docs: fix broken url in config.template.yml
2021-10-04 12:13:54 +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
renovate[bot] 6bd41838e4
build(deps): update module github.com/knadh/koanf to v1.2.4 (#2440)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-03 21:55:55 +11:00
renovate[bot] 9e22516f2c
build(deps): update module github.com/ory/herodot to v0.9.11 (#2437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-03 12:06:23 +11:00
renovate[bot] 858bab0831
build(deps): update module github.com/ory/herodot to v0.9.10 (#2434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 16:27:07 +10: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
Amir Zarrinkafsh 33fe1262bd
docs: fix typo in secrets env var (#2432) 2021-10-01 13:30:56 +10:00
renovate[bot] 28e702f5c8
build(deps): update postgres docker tag to v14 (#2430)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 11:03:06 +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] ed451648c0
build(deps): update module github.com/ory/herodot to v0.9.9 (#2428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 10:21:21 +10:00
Amir Zarrinkafsh e8a52f4794
refactor: replace sqlite library with the original cgo variant (#2427)
* refactor: replace sqlite library with the original cgo variant

This change reverts our SQLite library back to the original for compatibility and performance reasons now that we always package with CGO.

* fix: cgo and build flags

* fix: gcc requirement

* fix: gcc in dev workflow too
2021-10-01 09:58:33 +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
dependabot[bot] 3b2e4ad477
build(deps): bump nokogiri from 1.11.4 to 1.12.5 in /docs (#2420)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  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-29 09:24:34 +10:00
Amir Zarrinkafsh f37cb76f6f
feat(web): remove sourcemap generation (#2423) 2021-09-28 17:09:31 +10:00
Amir Zarrinkafsh c9f5b3de88
feat(web): replace babel-loader and terser with esbuild (#2422) 2021-09-28 16:27:06 +10:00
James Elliott 6a75fc6f67
build(deps): update module github.com/golang-jwt/jwt/v4 to v4.1.0 (#2418) 2021-09-26 22:06:11 +10:00
Amir Zarrinkafsh d7763a20ec
build(deps): update swagger-ui to v3.52.3 (#2412) 2021-09-26 12:25:14 +10:00
Amir Zarrinkafsh bd6a8e3ea2
feat: hardened authelia binaries (#2410)
* feat: hardened authelia binaries

This change ensures that all Authelia binaries which are compiled and distributed are hardened with the following standards:

* RELRO
* Stack canary
* NX
* PIE/ASLR
* Stripped RPATH AND RUNPATH
* Stripped Symbols
* Fortify

The musl variants currently [do not support Fortify](https://wiki.musl-libc.org/future-ideas.html#Fortify).

* refactor: docker pull for authelia/crossbuild in background
2021-09-26 12:08:47 +10:00