Commit Graph

2926 Commits

Author SHA1 Message Date
renovate[bot]
335207f68b
build(deps): update dependency typescript to v4.5.4 (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:15:34 +11:00
renovate[bot]
ec8aa68292
build(deps): update dependency jest to v27.4.5 (#2716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:00:45 +11:00
renovate[bot]
520571145c
build(deps): update typescript-eslint monorepo to v5.7.0 (#2715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 12:43:05 +11:00
renovate[bot]
51f583be72
build(deps): update dependency @vitejs/plugin-react to v1.1.3 (#2713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 12:14:36 +11:00
renovate[bot]
e21794b314
build(deps): update dependency vite to v2.7.2 (#2714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 11:34:54 +11:00
Amir Zarrinkafsh
0660815143
fix(api): fix grouping for user info endpoints (#2710) 2021-12-13 11:11:03 +11:00
renovate[bot]
3005b57fd5
build(deps): update dependency react-router-dom to v6.1.1 (#2709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 16:00:52 +11:00
renovate[bot]
93352aa36b
build(deps): update traefik docker tag to v2.5.5 (#2706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 14:47:03 +11:00
renovate[bot]
f9586b99a9
build(deps): update traefik docker tag to v1.7.34 (#2705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-12 11:15:01 +11:00
renovate[bot]
21885f40ae
build(deps): update dependency jest to v27.4.4 (#2702)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-12-12 10:43:40 +11:00
renovate[bot]
e5d8c1f849
build(deps): update dependency react-router-dom to v6.1.0 (#2704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 22:48:33 +11:00
Amir Zarrinkafsh
33c2b3e10b
fix: add storage encryption key for docker examples (#2703) 2021-12-10 20:53:57 +11:00
renovate[bot]
22bd22daa7
build(deps): update dependency typescript to v4.5.3 (#2701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 11:51:25 +11:00
renovate[bot]
54ea91c2c4
build(deps): update golang docker tag to v1.17.5 (#2700) 2021-12-10 09:58:55 +11:00
allcontributors[bot]
e2f13d49de
docs: add shadow7412 as a contributor for doc (#2698)
* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-12-09 19:12:53 +11:00
Shadow
f05f9cf12a
docs: add link to migrations page from faq (#2686) 2021-12-09 18:44:40 +11:00
renovate[bot]
0d1895914d
build(deps): update dependency @types/node to v16.11.12 (#2690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 12:00:34 +11:00
renovate[bot]
d2e7ebb7b7
build(deps): update dependency @vitejs/plugin-react to v1.1.1 (#2692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-12-08 11:04:12 +11:00
renovate[bot]
d2331bd1c8
build(deps): update dependency vite to v2.7.1 (#2693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 10:44:16 +11:00
renovate[bot]
2424d71078
build(deps): update typescript-eslint monorepo to v5.6.0 (#2688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:21:28 +11:00
renovate[bot]
00b1aaaca6
build(deps): update dependency @testing-library/jest-dom to v5.16.1 (#2687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 10:25:45 +11:00
renovate[bot]
bdce98c3aa
build(deps): update dependency prettier to v2.5.1 (#2683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-05 14:37:47 +11:00
James Elliott
00aa0cd369
release: v4.33.1 (#2679) 2021-12-04 16:20:41 +11:00
James Elliott
c1c980f107
docs: update matrix links (#2675)
This updates our matrix links to use the new Authelia homeserver.
2021-12-04 15:50:31 +11:00
James Elliott
c01759715c
fix(models): potential panic generating jti (#2669)
This ensures that at the time the JWT is generated for identity verification requests that a panic can't occur and instead an error will be returned.
2021-12-04 15:48:22 +11:00
James Elliott
5a223b5a56
fix(storage): don't check exp against time using sql (#2676)
This is already checked by JWT validation. There is no need and it's leading to timezone issues.

Fixes #2672
2021-12-04 15:34:20 +11:00
renovate[bot]
09fbffa3ac
build(deps): update golang docker tag to v1.17.4 (#2674)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 12:21:38 +11:00
renovate[bot]
b7bf9d52b1
build(deps): update dependency @testing-library/jest-dom to v5.16.0 (#2671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 09:37:01 +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
James Elliott
0ab94597df
release: v4.33.0 (#2665) 2021-12-03 18:07:22 +11:00
James Elliott
95a5e326a5
fix(storage): postgres schema hardcoded for tables query (#2667)
This removes the hardcoded schema value from the PostgreSQL existing tables query, making it compatible with the new schema config option.
2021-12-03 17:29:55 +11:00
James Elliott
ec1cc3d64e
ci: skip deploy aur step on master branch (#2668) 2021-12-03 17:10:09 +11:00
James Elliott
a689ffe372
ci: publish authelia-git aur only on releases (#2666) 2021-12-03 15:56:31 +11:00
James Elliott
255aaeb2ad
feat(storage): encrypt u2f key (#2664)
Adds encryption to the U2F public keys. While the public keys cannot be used to authenticate, only to validate someone is authenticated, if a rogue operator changed these in the database they may be able to bypass 2FA. This prevents that.
2021-12-03 11:04:11 +11:00
James Elliott
104a61ecd6
refactor(web): only fetch totp conf if required (#2663)
Prevents the TOTP user config from being requested when the user has not registered or is already authenticated 2FA.
2021-12-02 21:28:16 +11:00
James Elliott
f0119b5c75
docs: update fail2ban example (#2661)
Updates the fail2ban examples to align with new messages.

Fixes #2649.
2021-12-02 17:09:47 +11:00
James Elliott
9045b75344
fix(storage): rebind all queries (#2662)
Fixes an issue in the new storage system. We forgot to rebind a few queries to the PostgreSQL compatible format.
2021-12-02 17:06:04 +11:00
James Elliott
f90ca855e3
feat(storage): postgresql schema and ssl options (#2659)
Adds the schema name and all ssl options for PostgreSQL. Also a significant refactor of the storage validation process.
2021-12-02 16:36:03 +11:00
allcontributors[bot]
252b844b46
docs: add kaysond as a contributor for doc (#2660)
* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-12-02 16:01:29 +11:00
Aram Akhavan
5b3fa1fffb
docs: consistent naming for configuration file (#2626)
* change all instances (file names and docs) of "config.template.yml" to "configuration.template.yml" so its consistent with the expectations of the Dockerfile

* Keep config.template.yml named as is

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* Update index.html

* revert filename changes and add a note about docker

* refactor: apply suggestions from code review

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-12-02 15:50:05 +11:00
James Elliott
a79e4dc592
fix(storage): duo/u2f upsert failure on postgresql (#2658)
This replaces the standard duo_devices upsert with a PostgreSQL specific one and ensures the u2f_devices upsert uses the new unique key for the ON CONFLICT check.
2021-12-02 15:16:45 +11:00
James Elliott
bf9ab360bd
refactor(handlers): utilize referer for auth logging rm/rd (#2655)
This utilizes the referrer query parameters instead of current request query parameters for logging the requested URI and method. Minor performance improvements to header peek/sets.
2021-12-02 13:21:46 +11:00
James Elliott
f3f3b31b12
refactor(storage): totp_configurations table (#2657)
Rename column totp_period to period.
2021-12-02 12:24:10 +11:00
James Elliott
2075e76015
fix(storage): new auth log schema request method length (#2656)
This is a fix to the authentication_logs schema that prevents the VARCHAR from being insufficient for HTTP request methods such as PATCH, DELETE, OPTIONS, CONNECT.
2021-12-02 11:36:04 +11:00
renovate[bot]
6aed9f9561
build(deps): update dependency jest to v27.4.3 (#2651)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 10:14:48 +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
James Elliott
7df242f1e3
refactor: remove ioutil (#2635)
Was deprecated in 1.16 and has more performant options available.
2021-12-02 00:14:15 +11:00
James Elliott
8a12af97ab
refactor: remove previously deprecated options (#2629)
This removes the deprecated logging, host, port, and tls options per our deprecation policy.
2021-12-02 00:01:32 +11:00
James Elliott
ad8e844af6
feat(totp): algorithm and digits config (#2634)
Allow users to configure the TOTP Algorithm and Digits. This should be used with caution as many TOTP applications do not support it. Some will also fail to notify the user that there is an issue. i.e. if the algorithm in the QR code is sha512, they continue to generate one time passwords with sha1. In addition this drastically refactors TOTP in general to be more user friendly by not forcing them to register a new device if the administrator changes the period (or algorithm).

Fixes #1226.
2021-12-01 23:11:29 +11:00
Philipp Staiger
01b77384f9
feat(duo): multi device selection (#2137)
Allow users to select and save the preferred duo device and method, depending on availability in the duo account. A default enrollment URL is provided and adjusted if returned by the duo API. This allows auto-enrollment if enabled by the administrator.

Closes #594. Closes #1039.
2021-12-01 14:32:58 +11:00