Commit Graph

216 Commits (03cf92ff48d8ba64098c06e52c8ae75ca09edbde)

Author SHA1 Message Date
James Elliott 042cd21800
build(deps): utilize github.com/go-webauthn/webauthn (#2947) 2022-03-04 10:56:30 +11:00
renovate[bot] ffd0af64f8
build(deps): update module github.com/go-rod/rod to v0.103.0 (#2943)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-03-03 23:08:32 +11:00
James Elliott 8f05846e21
feat: webauthn (#2707)
This implements Webauthn. Old devices can be used to authenticate via the appid compatibility layer which should be automatic. New devices will be registered via Webauthn, and devices which do not support FIDO2 will no longer be able to be registered. At this time it does not fully support multiple devices (backend does, frontend doesn't allow registration of additional devices). Does not support passwordless.
2022-03-03 22:20:43 +11:00
James Elliott 4593da3f00
build(deps): update go modules (#2907)
Update the following deps:

github.com/fasthttp/router v1.4.5 -> v1.4.6
github.com/fasthttp/session/v2 v2.4.5 -> v2.4.7
github.com/go-ldap/ldap/v3 v3.4.1 -> v3.4.2
github.com/golang-jwt/jwt/v4 v4.2.0 -> v4.3.0
github.com/jackc/pgx/v4 v4.14.1 -> v4.15.0
github.com/ory/fosite v0.42.0 -> v0.42.1
github.com/duosecurity/duo_api_golang v0.0.0-20211027140842-72da735c6f15 -> v0.0.0-20220201180708-96a8851a8448
2022-02-24 14:15:10 +11:00
James Elliott 9808da6ba0
build(deps): update module github.com/mattn/go-sqlite3 to v1.14.11 (#2906) 2022-02-24 12:02:27 +11:00
renovate[bot] 7ba6ff71b3
build(deps): update module github.com/valyala/fasthttp to v1.33.0 (#2905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-02-24 11:11:05 +11:00
renovate[bot] 526d71ae8c
build(deps): update module github.com/ory/fosite to v0.42.0 (#2691)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-13 02:52:15 +11:00
renovate[bot] 2891ceddba
build(deps): update module github.com/knadh/koanf to v1.4.0 (#2757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 23:42:20 +11:00
renovate[bot] e3ef0c3542
build(deps): update module github.com/fasthttp/router to v1.4.5 (#2787)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 23:14:48 +11:00
renovate[bot] 1e1927e60e
build(deps): update module github.com/fasthttp/session/v2 to v2.4.5 (#2788)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 22:51:50 +11:00
renovate[bot] be3109af0b
build(deps): update module github.com/valyala/fasthttp to v1.32.0 (#2778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2022-01-12 22:37:40 +11:00
renovate[bot] 93dd131509
build(deps): update module github.com/spf13/cobra to v1.3.0 (#2720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-28 00:56:55 +11:00
renovate[bot] 311c6071d1
build(deps): update module github.com/deckarep/golang-set to v1.8.0 (#2725)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 02:26:21 +11:00
renovate[bot] 7838e83483
build(deps): update module github.com/golang-jwt/jwt/v4 to v4.2.0 (#2670)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 08:47:21 +11:00
renovate[bot] 26eac00647
build(deps): update module github.com/mitchellh/mapstructure to v1.4.3 (#2653)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 08:56:17 +11:00
renovate[bot] a85a1b68b9
build(deps): update module github.com/jackc/pgx/v4 to v4.14.1 (#2641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 09:33:09 +11:00
renovate[bot] 4d64b64a53
build(deps): update module github.com/knadh/koanf to v1.3.3 (#2628)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 03:05:35 +11:00
renovate[bot] 3c230bbcc4
build(deps): update module github.com/jmoiron/sqlx to v1.3.4 (#2619) 2021-11-23 21:00:13 +11:00
James Elliott 3695aa8140
feat(storage): primary key for all tables and general qol refactoring (#2431)
This is a massive overhaul to the SQL Storage for Authelia. It facilitates a whole heap of utility commands to help manage the database, primary keys, ensures all database requests use a context for cancellations, and paves the way for a few other PR's which improve the database.

Fixes #1337
2021-11-23 20:45:38 +11:00
renovate[bot] 884dc99083
build(deps): update module github.com/jackc/pgx/v4 to v4.14.0 (#2618)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-23 10:45:39 +11:00
renovate[bot] 036bdd8fa5
build(deps): update github.com/duosecurity/duo_api_golang commit hash to 72da735 (#2603) 2021-11-16 07:36:48 +11:00
renovate[bot] 063a553167
build(deps): update module github.com/otiai10/copy to v1.7.0 (#2583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 15:36:26 +11:00
Amir Zarrinkafsh 83488d52a6
refactor(suites): replace selenium with go-rod (#2534)
* refactor(suites): replace selenium with go-rod

This change replaces [tebeka/selenium](https://github.com/tebeka/selenium) with [go-rod](https://github.com/go-rod/rod).

We no longer have a chromedriver/external driver dependency to utilise Selenium as we instead utilise the Chrome Dev Protocol to communicate with the browser.

Rod [documents](https://go-rod.github.io/#/why-rod) benefits of choosing the library as opposed to the available alternatives.
2021-11-06 00:14:42 +11:00
renovate[bot] 30b42c2b71
build(deps): update module github.com/knadh/koanf to v1.3.2 (#2558)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 09:46:55 +11:00
James Elliott 0220f36301
build(deps): update deep module github.com/tidwall/gjson to v1.11.0 (#2553) 2021-11-03 09:48:41 +11:00
renovate[bot] 3a36909f20
build(deps): update module github.com/knadh/koanf to v1.3.0 (#2514) 2021-10-20 21:11:33 +11:00
renovate[bot] e965991cc3
build(deps): update module github.com/fasthttp/session/v2 to v2.4.4 (#2501)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 10:30:35 +11:00
renovate[bot] 8f4080d71a
build(deps): update module github.com/fasthttp/router to v1.4.4 (#2500) 2021-10-14 07:57:07 +11:00
renovate[bot] fc01fdb5b8
build(deps): update github.com/duosecurity/duo_api_golang commit hash to 2e18639 (#2497)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 10:24:04 +11:00
renovate[bot] 50b23b0c2c
build(deps): update module github.com/valyala/fasthttp to v1.31.0 (#2489)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 09:30:06 +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
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
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
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
renovate[bot] 0f3bddb15a
build(deps): update module github.com/fasthttp/session/v2 to v2.4.3 (#2402)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 09:56:35 +10:00
renovate[bot] 746e429a14
build(deps): update module github.com/mitchellh/mapstructure to v1.4.2 (#2378)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-15 11:43:33 +10:00
Amir Zarrinkafsh 1c6ea4b061
build(deps): update module modernc.org/sqlite to v1.13.0 (#2373)
This update provides support for freebsd/amd64 on the sqlite driver.
2021-09-14 15:56:50 +10:00
renovate[bot] 36c2730e3a
build(deps): update module github.com/fasthttp/router to v1.4.3 (#2361)
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 (#2360)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 21:15:08 +10:00
renovate[bot] d61826cc60
build(deps): update module github.com/valyala/fasthttp to v1.30.0 (#2358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 08:53:52 +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] 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
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] 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] 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
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