autobrr/internal/domain
soup 28f0b878e1
feat(releases): torrent file downloads improve error handling (#950)
* improve content type check
checks if torrent file is a valid torrent file when content-type is text/html

* optimize content type check and file handling

* attempt to write tests

* small changes to error messages

* fix: download file content type checks

---------

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-06-14 19:55:34 +02:00
..
testdata feat(releases): retry failed downloads (#491) 2022-10-19 21:52:31 +02:00
action.go feat(releases): replay actions (#932) 2023-05-15 21:30:04 +02:00
api.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
client.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
client_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
config.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
event.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
feed.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
filter.go feat(filters): add support for feed description (#922) 2023-05-13 19:33:18 +02:00
filter_test.go fix(filters): handle empty tag_match_logic by defaulting to ANY (#910) 2023-05-06 16:11:34 +02:00
indexer.go feat(indexers): add API support for Orpheus to fetch size (#944) 2023-05-21 16:55:10 +02:00
indexer_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
irc.go feat(irc): view announces per channel (#948) 2023-05-21 15:51:40 +02:00
macros.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
macros_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
notification.go feat(notification): Telegram add support for topics in groups (#894) 2023-05-07 17:30:07 +02:00
release.go feat(releases): torrent file downloads improve error handling (#950) 2023-06-14 19:55:34 +02:00
release_test.go feat(releases): torrent file downloads improve error handling (#950) 2023-06-14 19:55:34 +02:00
releasetags.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
releasetags_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
user.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00