Commit graph

41 commits

Author SHA1 Message Date
Chance
38b09ea4d5
docs(installers): move Whatbox to one-click Installer section (#2091)
Remove Whatbox from Installation Scripts and add to One-click Installers with a blurb about their custom expert mode
2025-06-10 19:49:17 +02:00
ze0s
fe4f385a22
feat(database): connect postgres via socket and read config from env _FILE secrets (#2061)
* feat(database): connect postgres via socket

* feat(config): read env var secrets from file

* docs: explain env var secrets

* refactor: generate postgres dsn
2025-05-05 21:15:24 +02:00
soup
024371e4eb
feat(auth): add option to disable built-in login when using OIDC (#1908)
* feat(auth): disable built-in login by config

* cleanup config

* fix(web): prevent login form flash by waiting for OIDC config

* refactor(config): standardize OIDC TOML format

- Adds camelCase TOML tags to OIDC config struct while keeping mapstructure tags for backward compatibility
- Updates config template to use camelCase format

* refactor: kyles changes

* refactor: prefix disablebuiltinlogin with oidc

* docs: revert format change

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2025-01-26 15:25:34 +01:00
Antoine
3f8bc0140c
feat(metrics): add metrics server (#1930)
* feat(metrics): add metrics server

* chore: update license headers

* feat(metrics): add optional basic auth

* feat(metrics): add go and process collectors

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
2025-01-25 17:58:18 +01:00
soup
43c28fc0c6
feat(auth): implement auth proxy support with OpenID Connect (#1853)
* feat(auth): implement oidc

* refactor(auth): centralize OIDC state cookie handling

* fix(web): resolve unused error variables in route handlers

* docs(readme): add OIDC authentication feature to list

* fix(auth): improve OIDC cookie handling for reverse proxy setups

The OIDC state cookie's Secure flag is now properly set when running behind a reverse proxy by checking both direct TLS and X-Forwarded-Proto header. This fixes authentication issues in common setups where:

- autobrr runs behind a reverse proxy that terminates HTTPS
- local development environments without TLS
- mixed protocol environments (internal HTTP, external HTTPS)

* fix: use crypt/random if argon2id fails

* feat(auth): show both login options when user exists in db

if user doesn't exist, e.g. canOnboard=true then we only show the OIDC button, since regular login makes no sense in that case

If user does not exist in db and the user wants to create a local user, OIDC needs to be disabled first

* feat(auth): improve OIDC provider initialization with discovery logging

* revert(issuer): do not remove trailing slash

* feat(auth): improve OIDC username resolution with additional claims

* fix(auth): handle OIDC issuer URLs with and without trailing slashes

When initializing the OIDC provider, automatically retry with/without trailing
slash if the first attempt fails.

- First attempts with original issuer URL
- If fails with trailing slash, retries without
- If fails without trailing slash, retries with

* feat(oidc): add gorilla sessions store for secure state management

Add gorilla sessions store to handle encrypted state cookies in OIDC flow,
while removing redundant session validation checks

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>

* fix(auth): prevent duplicate OIDC state cookies for authenticated sessions

Modify OIDC config handler to check for existing authenticated sessions
before setting state cookie. Still returns OIDC enabled status to maintain
UI state, but prevents unnecessary cookie creation for authenticated users.

* feat(oidc): use random secret for temporary state cookies

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>

* feat(auth): add rate limiting to OIDC endpoints

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>

* fix(auth): validate OIDC authorization code presence in callback

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>

* fix(auth): properly handle OIDC session errors

Improve error handling in OIDC login flow by properly handling cookie store
session errors. Return HTTP 500 if session cannot be retrieved instead of
silently continuing with potentially invalid state.

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>

* feat(auth): track and display authentication method for oidc and password logins

* fix: tests

* docs(readme): add environment variable section

* go mod tidy

* chore: log style and errors

---------

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: ze0s <ze0s@riseup.net>
2024-12-19 14:41:31 +01:00
martylukyy
45df8a67ee
fix(docs): update feature requests link and swizzin install link (#1729)
fix(docs): feature request link in README.md
fix(docs): fix swizzin link
2024-09-17 12:01:33 +02:00
soup
6dc4965f22
docs(install): distroless docker builds (#1500)
* chore(readme): add section about distroless docker builds

* Update README.md

* Update README.md

* Update README.md

- one of the maintainers
+ one of the longterm maintainers

* docs: update distroless note to caution

* docs: distroless make warning bold

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-06-20 19:21:44 +02:00
soup
4311341b03
docs: add macos homebrew installation (#1518)
* chore(docs): add macos installation to readme

* Update README.md
2024-04-20 20:54:37 +02:00
ze0s
70018a0133
docs: update installers (#1436) 2024-02-27 12:38:48 +01:00
Sapphire
5e4990decd
docs(installers): update Saltbox instructions (#1410)
Saltbox install 

Autobrr is saltbox app not sandbox app
2024-02-14 12:39:54 +01:00
ze0s
415cf7b6c1
docs: add contribution guide (#1368)
* docs: add CONTRIBUTING.md

* add nodejs version comment
fix frontend start command
add make build command section
capitalization
formatting

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-01-23 17:08:17 +01:00
ze0s
45b522abf8
chore: update license header year (#1332)
* chore: update license header year

* chore: update license header year tsx files

* chore: update license header
2024-01-01 16:21:02 +01:00
soup
f35d10d7c0
docs: add coc to readme (#1268) 2023-11-19 21:31:16 +01:00
soup
e9e59b38b9
docs: readme improvements and additions (#1262)
* docs: improve readme

added a ToC, section for contributing etc.

* docs: merged rss and usenet sections

* docs: fixed dead link to installation guide
2023-11-18 16:23:33 +01:00
martylukyy
8b32b72633
chore(docs): update README.md (#1210)
* chore(docs): update README.md

* add gotify as notification option
2023-10-23 21:48:33 +02:00
stacksmash76
25c3f02c72
fix(filters): importer (#1149)
fix(web): early exit on filter import
chore(readme): add new pic to readme
2023-09-26 20:30:23 +02:00
martylukyy
6e6502996a
docs: update README.md (#925)
fix README.md typos and formulation
2023-05-09 18:25:01 +02:00
Nagy László Zoltán
82c4c9c157
docs: update Saltbox link (#905)
Update Saltbox link in README.md

https://saltbox.dev/ gives 404, even https://github.com/saltyorg/Saltbox about section links to https://docs.saltbox.dev/
2023-05-03 20:53:40 +02:00
ze0s
604c7896bd
chore: add LICENSE GPLv2-or-later (#897)
* chore: add LICENSE

* chore: add LICENSE to README
2023-05-01 16:21:59 +02:00
Nelson Pecora
da5492febb
feat(notifications): add Pushover (#598)
* feat(notifications): add pushover

* add db migration

* fix lint error

* some small corrections

* fixed README

* added missing columns to postgres_migrate.go

* use token for user_key

* refactor(notifications): change priority to int

* fix: only test selected events

---------

Co-authored-by: soup <soup@r4tio.dev>
Co-authored-by: ze0s <ze0s@riseup.net>
2023-04-29 17:07:15 +02:00
KaiserBh
5b75ea39ba
docs: clarify reverse proxy usage (#852)
* docs: fixed.

* Update README.md

Ohh we have it in the docs then it's better to do that yea.

Co-authored-by: soup <soup@r4tio.dev>

* docs: Update README.md

---------

Co-authored-by: soup <soup@r4tio.dev>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-04-23 15:50:11 +02:00
ze0s
2fa75d85d5
docs: update README.md (#814)
Update README with usenet etc.
2023-04-05 21:12:51 +02:00
ze0s
b99bc5b95a
docs: update readme (#627)
* docs: update README
2023-01-06 23:21:06 +01:00
martylukyy
65ab3d4353
docs: build shield (#622)
* fix: build shield

* fix: repo or workflow not found

* fix: subdir for shield not needed
2023-01-06 14:20:27 +01:00
voltron4lyfe
71d0424b61
feat(clients): add Readarr support (#490)
* Add initial Readarr support

* Readarr working with MaM

* feat(clients): readarr add tests
2022-10-14 19:56:42 +02:00
ze0s
853ffdd5b4
build(binaries): add freebsd target (#450)
* build(binaries): add freebsd target

* build(binaries): skip freebsd arm

* build(binaries): update reaadme
2022-09-06 14:03:32 +02:00
ze0s
54d7151894
feat(clients): add rTorrent support (#421) 2022-08-21 21:42:07 +02:00
ze0s
8faacf9eaa docs: increment supported indexers number 2022-08-02 00:17:16 +02:00
Ludvig Lundgren
c0f1037af0
docs: improve readme (#364)
* docs: improve readme

* docs: update feature list
2022-07-20 22:47:34 +02:00
soup
ec2ad57d43
docs: remove deluge built in reannounce as a feature (#280) 2022-05-21 16:20:56 +02:00
soup
754a8d3f82
docs: readme update (#278)
* readme update

* removed tracker list
2022-05-21 09:55:07 +02:00
Ludvig Lundgren
2dbbd9751b
feat(indexers): add mam (#241)
* feat(indexers): add mam

* docs: add mam
2022-04-12 21:11:57 +02:00
F4n4t
f6873e932e
feat(indexers): add tnetwork (#208)
* feat(indexers): add torrentnetwork

* docs: update supported indexers

* fix(indexers): update pattern torrentnetwork
2022-04-02 17:40:30 +02:00
Ludvig Lundgren
2035effbd0
feat(indexers): add Norbits (#151)
* feat(indexers): add norbits

* docs: add norbits
2022-02-27 17:59:07 +01:00
Ludvig Lundgren
9e1b6a62a7
feat(indexers): add revolutiontt (#150)
* feat(indexers): add revolutiontt

* docs: add revott
2022-02-27 16:53:21 +01:00
Ludvig Lundgren
03ca3ed49a
feat(indexers): add danishbytes (#146)
* feat(indexers): add danishbytes

* docs: update supported indexers
2022-02-19 20:23:27 +01:00
Alex
29301aa91d
Indexers: Add HDBits (#95)
* Indexers: Add HDBits

* docs: add hdb
2022-01-23 17:37:19 +01:00
GregTroar
9b34ebc4a7
Indexers: Add TorrentDb (#97)
* feat(indexers): add torrentdb

* docs: add torrentdb to supported indexers
2022-01-23 13:55:04 +01:00
KaiserBh
8ff8e6bbb0
feat(indexers): add animebytes (#87)
* feat: Added support for AB indexer.

* docs: Changed readme to inlcude all the supported trackers.

* feat: improve releasetags parsing and regex
2022-01-16 15:28:01 +01:00
Ludvig Lundgren
3aad067c5e docs: add torrent actions section 2021-08-22 03:17:25 +02:00
Ludvig Lundgren
bc418ff248 docs: add readme 2021-08-11 15:22:06 +02:00