1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
Commit Graph

2259 Commits

Author SHA1 Message Date
contrun
64e7f80d41
docs: update traefik forwardauth link 2021-09-22 13:38:02 +10:00
dependabot[bot]
e5ffd8dae9
build(deps): bump tmpl from 1.0.4 to 1.0.5 in /web ()
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]
0f3bddb15a
build(deps): update module github.com/fasthttp/session/v2 to v2.4.3 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 09:56:35 +10:00
renovate[bot]
6343f70f01
build(deps): update traefik docker tag to v2.5.3 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 10:40:22 +10:00
renovate[bot]
fac597cb2f
build(deps): update dependency @types/react to v17.0.22 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 20:18:08 +10:00
Amir Zarrinkafsh
7ab6175cf4
ci(buildkite): fix post-manifest tag cleanup () 2021-09-18 18:09:19 +10:00
Amir Zarrinkafsh
cb0b9a09ab
ci(buildkite): improve logging for post-manifest tag cleanup () 2021-09-18 15:48:23 +10:00
Amir Zarrinkafsh
7bb878ffff
ci(buildkite): fix ghcr tag cleanup ()
* ci(buildkite): fix ghcr tag cleanup

* ci(buildkite): do not remove empty tags
2021-09-18 00:15:43 +10:00
Amir Zarrinkafsh
57a35abd3b
ci(buildkite): fix index update post release () 2021-09-17 20:59:41 +10:00
Amir Zarrinkafsh
26aa806e9c
release: v4.31.0 () 2021-09-17 20:08:15 +10:00
James Elliott
aed9099ce2
refactor: factorize startup checks ()
* refactor: factorize startup checks

* refactor: address linting issues
2021-09-17 19:53:59 +10:00
allcontributors[bot]
8e4dc91b81
docs: add you1996 as a contributor for code ()
* docs: update README.md

* docs: update .all-contributorsrc
2021-09-17 15:56:18 +10:00
Clément Michaud
92d328926d
refactor(handlers): lower case error messages ()
* refactor(handlers): lower case error messages

also refactor verifyAuth function to detect malicious activity both with session
cookie and authorization header.

* refacto(handlers): simplify error construction

* fix(handlers): check prefix in authorization header to determine auth method

* fix(handlers): determining the method should be done with headers instead of query arg

* refacto(handlers): rollback changes of verifyAuth

* don't lowercase log messages

* Apply suggestions from code review

Make sure logger errors are not lowercased.

* fix: uppercase logger errors and remove unused param

* Do not lowercase logger errors
* Remove unused param targetURL
* Rename url variable to not conflict with imported package

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-17 15:53:40 +10:00
yossbg
05406cfc7b
feat(ntp): check clock sync on startup ()
This adds method to validate the system clock is synchronized on startup. Configuration allows adjusting the server address, enabled state, desync limit, and if the error is fatal.

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-09-17 14:44:35 +10:00
Amir Zarrinkafsh
fad6317bb5
ci(buildkite): remove test concurrency step ()
* ci(buildkite): remove test concurrency step

* fix: remove concurrency_group from integration test steps
2021-09-17 11:09:38 +10:00
Amir Zarrinkafsh
57705be468
refactor: use authelia/debpackager:latest manifest () 2021-09-17 10:08:57 +10:00
Amir Zarrinkafsh
92ec00d7c5
feat: builds with gox and buildx ()
* feat: builds with gox and buildx

This change builds all of Authelia respective binaries in parallel within a single step and distributes as necessary to subsequent steps, we now also build and distribute for the following OS/Architecture: freebsd/amd64.

Our CI/CD pipeline now also utilises docker buildx as a default for builds and pushes.

* refactor: clean up docker helper

* Remove `authelia-scripts docker push-image` command as all pushes will be performed with buildx and manifests
* Rename the --arch flag to --container
* Add Dockerfile.dev for users that want to build an Authelia container from source without utilising suites
* Set Dockerfile.dev as default for `authelia-scripts docker build` command

* refactor: variant -> container
2021-09-16 22:39:18 +10:00
renovate[bot]
e1ca24344a
build(deps): update dependency prettier to v2.4.1 ()
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 ()
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
Alex Gustafsson
a88c5588e8
feat: add config flag to hash-password tool ()
This change implements a --config flag for the hash-password which parses the config and validates it just as it would at run-time. The values specified in the config replace those specified as parameters.

* feat(cmd): add config flag to hash-password tool
* fix(cmd): fix linting issue

Closes: .
2021-09-16 10:20:42 +10:00
renovate[bot]
69f37d4161
build(deps): update dependency @types/react to v17.0.21 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 12:01:25 +10:00
renovate[bot]
746e429a14
build(deps): update module github.com/mitchellh/mapstructure to v1.4.2 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 11:43:33 +10:00
renovate[bot]
8e155328b4
build(deps): update dependency @types/react-router-dom to v5.1.9 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 11:24:41 +10:00
Amir Zarrinkafsh
4e94d264dd
ci(buildkite): force module index update on tagged release () 2021-09-14 20:29:23 +10:00
Amir Zarrinkafsh
7f22db10d8
release: v4.30.5 () 2021-09-14 17:57:16 +10:00
Amir Zarrinkafsh
719447b719
build(deps): update swagger-ui to v3.52.2 () 2021-09-14 16:17:13 +10:00
Amir Zarrinkafsh
1c6ea4b061
build(deps): update module modernc.org/sqlite to v1.13.0 ()
This update provides support for freebsd/amd64 on the sqlite driver.
2021-09-14 15:56:50 +10:00
renovate[bot]
dd8199d127
build(deps): update dependency eslint-import-resolver-typescript to v2.5.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-14 08:35:53 +10:00
Amir Zarrinkafsh
e4d1efacaa
ci(buildkite): update to authelia/debpackager () 2021-09-13 18:46:53 +10:00
Amir Zarrinkafsh
4b3e7ac724
build(deps): update swagger-ui to v3.52.1 () 2021-09-13 18:33:51 +10:00
renovate[bot]
763938a0b7
build(deps): update dependency @testing-library/react to v12.1.0 () 2021-09-11 22:47:28 +10:00
renovate[bot]
a091b341da
build(deps): update dependency @craco/craco to v6.3.0 ()
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 () 2021-09-11 11:46:23 +10:00
renovate[bot]
36c2730e3a
build(deps): update module github.com/fasthttp/router to v1.4.3 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 21:32:28 +10:00
renovate[bot]
fd0f9b3116
build(deps): update module github.com/knadh/koanf to v1.2.3 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 21:15:08 +10:00
renovate[bot]
8cda5ef003
build(deps): update golang docker tag to v1.17.1 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 09:30:52 +10:00
renovate[bot]
d61826cc60
build(deps): update module github.com/valyala/fasthttp to v1.30.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 08:53:52 +10:00
renovate[bot]
b770939983
build(deps): update dependency prettier to v2.4.0 ()
* 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 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:44:43 +10:00
renovate[bot]
dedd44ea0d
build(deps): pin dependencies ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 13:30:00 +10:00
James Elliott
2f03b02fc9
fix(session): handle redis logging properly ()
This catches redis logs and displays them via our logging utility.
2021-09-09 13:08:21 +10:00
James Elliott
f1b2b4d79e
docs(oidc): remove invalid footnote ()
Removes the footnote from beta2.
2021-09-09 12:24:47 +10:00
Amir Zarrinkafsh
cc765115b2
ci: add husky with pre-commit and commit-msg hooks ()
* 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]
4da10f9cea
build(deps): update haproxy docker tag to v2.4.4 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-08 09:52:49 +10:00
renovate[bot]
b6cc98b5cb
build(deps): update dependency axios to v0.21.4 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 10:44:49 +10:00
Amir Zarrinkafsh
84f370aa68
fix(suites): prevent dev workflow overriding .healthcheck.env () 2021-09-06 20:51:58 +10:00
renovate[bot]
612f6d5674
build(deps): update dependency @types/react to v17.0.20 ()
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 ()
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 ()
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 ()
* 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