James Elliott
f1b2b4d79e
docs(oidc): remove invalid footnote ( #2354 )
...
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 ( #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]
4da10f9cea
build(deps): update haproxy docker tag to v2.4.4 ( #2351 )
...
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 ( #2347 )
...
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 ( #2345 )
2021-09-06 20:51:58 +10:00
renovate[bot]
612f6d5674
build(deps): update dependency @types/react to v17.0.20 ( #2344 )
...
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 ( #2343 )
...
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 ( #2342 )
...
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 ( #2321 )
...
* 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
Amir Zarrinkafsh
6b7b08d800
refactor(web): replace incorrect use of usecallback ( #2308 )
...
* refactor(web): replace incorrect use of usecallback
Replaces incorrect usage of useCallback with useRef.
* refactor(web): onsignin...ref -> onsignin...callback
* fix(web): fix lint errors
2021-09-04 22:31:24 +10:00
Amir Zarrinkafsh
8c77f4f931
fix(api): /api/checks/safe-redirection missing schemas ( #2340 )
...
The following schemas for /api/checks/safe-redirection were missed in #2082 :
* handlers.checkURIWithinDomainRequestBody
* handlers.checkURIWithinDomainResponseBody
2021-09-04 21:48:49 +10:00
renovate[bot]
622f25cab1
build(deps): update dependency react-router-dom to v5.3.0 ( #2339 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 13:47:03 +10:00
renovate[bot]
9de8aafadf
build(deps): update traefik docker tag to v2.5.2 ( #2337 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 11:59:46 +10:00
renovate[bot]
ddd5177b8c
build(deps): update module github.com/knadh/koanf to v1.2.2 ( #2335 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-01 22:41:34 +10:00
renovate[bot]
8f38fa97a5
build(deps): update dependency eslint-plugin-prettier to v4 ( #2332 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 10:23:06 +10:00
renovate[bot]
0e7170dd02
build(deps): update dependency react-router-dom to v5.2.1 ( #2328 )
2021-08-28 11:50:18 +10:00
renovate[bot]
1b5bbb7e6b
build(deps): update arm64v8/alpine docker tag to v3.14.2 ( #2327 )
2021-08-28 10:53:42 +10:00
renovate[bot]
11c1bc8c30
build(deps): update arm32v7/alpine docker tag to v3.14.2 ( #2326 )
2021-08-28 09:45:17 +10:00
renovate[bot]
d2bf1eb4e2
build(deps): update alpine docker tag to v3.14.2 ( #2325 )
2021-08-28 09:13:07 +10:00
renovate[bot]
b316844fec
build(deps): update module github.com/fasthttp/router to v1.4.2 ( #2317 )
2021-08-27 12:28:31 +10:00
renovate[bot]
494afb3a41
build(deps): update module github.com/fasthttp/session/v2 to v2.4.2 ( #2318 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 07:53:29 +10:00
James Elliott
8d102ce5d8
refactor(session): remove unencrypted session fallback ( #2314 )
...
This removes a temporary session fallback for unencrypted sessions.
2021-08-26 21:48:14 +10:00
Amir Zarrinkafsh
0c5c85cbe4
refactor(web): eslint glob pattern ( #2309 )
...
The current eslint glob pattern is not Windows friendly, this change works for both Linux and Windows.
2021-08-22 21:16:19 +10:00
renovate[bot]
af9274a9c6
build(deps): update dependency eslint-plugin-prettier to v3.4.1 ( #2307 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-21 11:20:18 +10:00
renovate[bot]
ad16f99e6d
build(deps): update traefik docker tag to v2.5.1 ( #2306 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-21 11:03:00 +10:00
allcontributors[bot]
ac4691f54e
docs: add polandy as a contributor for doc ( #2304 )
...
* docs: update README.md
* docs: update .all-contributorsrc
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-08-20 12:28:17 +10:00
Amir Zarrinkafsh
aa20dad04b
refactor(configuration): add import commentary for golint ( #2303 )
2021-08-20 11:42:35 +10:00
Nicolas Reymundo
eb07bff5d4
docs: add wekan and portainer to community oidc list ( #2302 )
2021-08-20 07:59:52 +10:00
allcontributors[bot]
17a70782e6
docs: add nreymundo as a contributor for doc ( #2301 )
...
* docs: update README.md
* docs: update .all-contributorsrc
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-08-19 22:19:07 +10:00
Nicolas Reymundo
34ad7da213
docs: add nextcloud community tested oidc apps ( #2298 )
...
Adds additional oidc apps.
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-08-19 22:17:42 +10:00
renovate[bot]
7d105c6597
build(deps): update dependency @types/react to v17.0.19 ( #2300 )
2021-08-19 21:49:36 +10:00
renovate[bot]
8ac9ce9367
build(deps): update traefik docker tag to v2.5.0 ( #2296 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-19 09:28:05 +10:00
renovate[bot]
956db2dbaa
build(deps): update haproxy docker tag to v2.4.3 ( #2295 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-18 14:50:49 +10:00
renovate[bot]
551fe5598d
build(deps): update module github.com/valyala/fasthttp to v1.29.0 ( #2294 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-18 08:53:15 +10:00
renovate[bot]
0aba819899
build(deps): update golang docker tag ( #2293 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 13:46:47 +10:00
renovate[bot]
5787892d68
build(deps): update module github.com/go-ldap/ldap/v3 to v3.4.1 ( #2291 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 08:06:40 +10:00
renovate[bot]
c768144c07
build(deps): update traefik docker tag to v2.4.14 ( #2292 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 07:30:27 +10:00
renovate[bot]
c29700f3a1
build(deps): update module github.com/go-ldap/ldap/v3 to v3.4.0 ( #2288 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-15 15:54:57 +10:00
renovate[bot]
401b732a00
build(deps): update dependency @types/react to v17.0.18 ( #2287 )
...
* build(deps): update dependency @types/react to v17.0.18
* fix(web): fix broken yarn.lock
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-15 15:00:27 +10:00
renovate[bot]
cdda12a2bf
build(deps): update dependency @types/react to v17.0.17 ( #2283 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 14:05:46 +10:00
James Elliott
862f60a3f2
release: v4.30.4 ( #2282 )
2021-08-11 11:47:03 +10:00
James Elliott
b4e570358e
fix: include major in go.mod module directive ( #2278 )
...
* build: include major in go.mod module directive
* fix: xflags
* revert: cobra changes
* fix: mock doc
2021-08-11 11:16:46 +10:00
renovate[bot]
9c024cfa20
build(deps): update module golang.org/x/text to v0.3.7 ( #2279 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 06:41:10 +10:00
polandy
880a6c5832
docs: add gitea redirect_uri with notes to community docs ( #2275 )
...
* docs: add gitea redirect_uri with notes to community docs
* docs: remove unnecessary dash from Gitea notes
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-10 20:48:31 +10:00
James Elliott
c67d785879
release: v4.30.3 ( #2277 )
2021-08-10 13:19:05 +10:00
Amir Zarrinkafsh
6033b7df70
build(deps): update swagger-ui to v3.52.0 ( #2276 )
2021-08-10 11:20:44 +10:00
James Elliott
c0ebe3eb8c
fix(notifier): use sane default connection timeout ( #2273 )
2021-08-10 10:52:41 +10:00
Amir Zarrinkafsh
e2ebdb7e41
fix: oidc issuer path and strip path middleware ( #2272 )
...
* fix: oidc issuer path and strip path middleware
This ensures the server.path requests append the base_url to the oidc well-known issuer information and adjusts server.path configuration to only strip the configured path instead of the first level entirely regardless of its content.
* fix: only log the token error and general refactoring
* refactor: factorize base_url functions
* refactor(server): include all paths in startup logging
* refactor: factorize
* refactor: GetExternalRootURL -> ExternalRootURL
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-08-10 10:31:08 +10:00
renovate[bot]
c593ebc573
build(deps): update mariadb docker tag to v10.6.4 ( #2274 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 07:30:29 +10:00
James Elliott
997036f9c3
fix(configuration): make notifier logging consistent and more specific ( #2268 )
...
This ensures the notifier logs are more specific to give people a clear picture of if they either have no notifier specified or multiple.
2021-08-07 13:58:08 +10:00