Commit graph

686 commits

Author SHA1 Message Date
Kyle Sanderson
98df0c9040
chore(build): enable CodeQL (#1026)
* Create codeql.yml

* setup pnpm

* sq.Eq{"ras.status": params.Filters.PushStatus}

* enable extended and quality

* fix: code scanning alert #58 #57

https://github.com/autobrr/autobrr/security/code-scanning/58
https://github.com/autobrr/autobrr/security/code-scanning/57

* fix: linting issues for code scanning 60, 59, 56

https://github.com/autobrr/autobrr/security/code-scanning/60
https://github.com/autobrr/autobrr/security/code-scanning/59
https://github.com/autobrr/autobrr/security/code-scanning/56

---------

Co-authored-by: Fabricio Silva <hi@fabricio.dev>
2023-09-26 21:24:59 +02:00
ze0s
a78a5d1bf8
fix(indexers): API get torrent check for nil body (#1146) 2023-09-26 20:33:36 +02:00
Adam Lau
657c966ecb
feat(notifications): Telegram display file size (#1148) 2023-09-26 20:32:51 +02:00
martylukyy
1900bf7742
fix(indexers): SubsPlease parse line pattern (#1152) 2023-09-26 20:27:21 +02:00
ze0s
d3ca3e59c0
feat(web): show more app info (#1145)
* feat(web): add app info

* database type used
* application binary path
* config path

* feat(web): label colors light theme

* feat(web): truncate long fields
2023-09-22 22:05:14 +02:00
ze0s
2eed1b3e90
feat(indexers): add TorrentHR (#1144)
* Add torrenthr definition

* add nickserv fields
change id
change url to use https

* fix help string and re-organize settings

---------

Co-authored-by: Flupster <esptidus@gmail.com>
2023-09-22 21:31:15 +02:00
ze0s
58ca0a9d60
feat(notifications): Pushover add size (#1143) 2023-09-22 19:14:13 +02:00
ze0s
664e5413b6
fix(http): do not send null for empty arrays (#1134) 2023-09-22 18:35:27 +02:00
Kyle Henfrey
8694b04876
feat(indexers): add Bemaniso (#1140)
* add bemaniso definition

* fix infourl location

* fix regex and add auth_key setting

* typo

* add releaseTags and tests

* fixing my mistakes

* fixing my oversights v2

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-09-22 18:34:56 +02:00
Kyle Henfrey
ccd823e118
feat(indexers): IRC do not require auth for irc.rizon.net (#1137)
* remove nickserv fields
add tests to subsplease
add infourl to subsplease

* re-add nickserv but set not required

* re-add rss since SubsPlease has RSS on site

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-09-22 18:31:37 +02:00
martylukyy
a145ebe45c
feat(indexers): add ReeFflix (#1127)
feat(indexers): add reelflix
2023-09-19 18:15:36 +02:00
Kyle Sanderson
28b13d6d24
fix(releases): improve search keyword specifiers (#1106)
fix(search): improve keyword specifiers.
2023-09-11 13:34:52 +02:00
Fabricio Silva
6a4d96f988
feat(config): check for updates reading from config (#1038)
* go indent linting

* getLatest endpoint follows config.CheckForUpdates

* Revert "getLatest endpoint follows config.CheckForUpdates"

This reverts commit 495fabad13b1a96aa83ce50792f5725e9b51061a.

* getLatestRelease follows config.check_for_updates

* revert: rename data - less changes to conflict

* fixup: revert: rename data - less changes to conflict

* change queryFn to arrow function
2023-09-10 16:59:59 +02:00
ze0s
cbf668e87c
feat(logs): show full log event (#1096)
* feat(logs): show all extra fields in UI

* feat(logs): init log level as debug then trace
2023-09-10 12:28:10 +02:00
Kyle Sanderson
0cd560d7f3
fix(releases): use case-insensitive searching (#1092)
* fix(web/search): use case-insensitive searching for releases

* to the moon
2023-09-09 12:33:07 +02:00
ze0s
5b01aa14b7
feat(indexers): DigitalCore support tags (#1090) 2023-09-08 23:13:11 +02:00
ze0s
1a48316233
fix(irc): merge with existing network (#1085)
* fix(irc): merge with existing network

* fix(irc): log format wrong type
2023-09-07 17:48:07 +02:00
Kyle Sanderson
a97574f64a
feat(notifications): add Size to Discord notification (#1075)
* feat(discord): add Size to notification.

* adjust positioning

* add additional fields
2023-09-03 16:40:48 +02:00
ze0s
0d3e10f094
feat(downloadclient): set downloadClientId for arr clients (#1081)
feat(downloadclient): arrs set downloadClientId
2023-09-03 15:34:55 +02:00
ze0s
1bfbe38335
feat(macros): add SizeString DownloadURL and InfoURL (#1080)
* feat(macro): add new variables

* SizeString
* DownloadURL
* InfoURL

* feat(macro): add new test cases
2023-09-03 13:27:47 +02:00
ze0s
a6d789ee44
feat(feeds): show next run (#1074) 2023-09-02 23:06:21 +02:00
ze0s
6fd8626507
feat(feeds): add scheduled cleanup (#1073)
* refactor(feeds): make feed scheduling more robust

* feat(feeds): add daily cleanup job

* removes feed cache older than 30 days

* fix(feeds): fmt wrong type
2023-09-02 22:44:28 +02:00
sigma2017
dbaaed0e50
fix(indexers): update iPlay IRC port (#1062)
Update iplay.yaml

Port changed due to botnet attack
2023-09-01 21:45:43 +02:00
ze0s
b6de7144e0
feat(feeds): clear feed cache (#1071) 2023-09-01 21:39:39 +02:00
ze0s
3755881c40
feat(filters): log external filter exec cmd output (#1029) 2023-08-28 23:52:52 +02:00
Devin Buhl
f234caec08
feat(indexers): support improved ANT announce (#1063)
fix: update regex for ant irc announcements
2023-08-28 23:13:29 +02:00
martylukyy
d335d01ad1
fix(indexers): remove nickserv options for AlphaRatio (#1053)
fix(indexers): remove nickserv options for alpharatio
2023-08-28 23:12:54 +02:00
soup
603312cebe
fix(indexers): MTV announce regex pattern (#1054) 2023-08-28 23:09:18 +02:00
ze0s
ea35ef7fe8
fix(filters): replace newline with comma (#1052) 2023-08-18 00:46:56 +02:00
ze0s
668e1dbc35
fix(actions): missing data on retry (#1051)
* fix(actions): missing data on retry

* fix(releases): add missing field in get

* fix(actions): wrong field in scan
2023-08-18 00:20:15 +02:00
ze0s
3e244fac10
fix(filters): store and update with no external filters (#1049)
* fix(filters): store and update

* fix(filters): bad fmt var

* fix(filters): store expect status

* fix(filters): store expect status

* fix(filters): external filter always rejected
2023-08-17 21:42:43 +02:00
ze0s
dde0d0ed61
feat(filters): add support for multiple external filters (#1030)
* feat(filters): add support for multiple ext filters

* refactor(filters): crud and check

* feat(filters): add postgres migrations

* fix(filters): field array types

* fix(filters): formatting

* fix(filters): formatting

* feat(filters): external webhook improve logs
2023-08-15 23:07:39 +02:00
Mavyre
db209319da
fix(indexers): IRC URL for Sharewood (#1035)
* Changed IRC URL for Sharewood Indexer

* Changed sharewood announcer case
2023-08-13 17:49:43 +02:00
ze0s
cb4c29d9f4
fix(releases): bad postgres fk migration (#1022)
fix(releases): postgres fk migration
2023-07-22 23:51:57 +02:00
soup
e6f32596a1
fix(releases): delete older than X (#993)
* fix(release): DeleteOlder func for zero duration

resolves a bug in the `DeleteOlder` function where recent 24-hour data wasn't deleted when set to `delete everything`. We now correctly set the olderThanTimestamp to a future date when duration is zero, ensuring complete deletion of all records.

* fix(releases): delete older

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-07-22 14:49:28 +02:00
ze0s
56d3603505
fix(filters): could not delete with postgres (#1021)
* fix(filters): could not delete with postgres

* fix(migrations): add actions constraint to base schema
2023-07-21 20:40:46 +02:00
ze0s
1637c6209d
fix(downloadclient): could not delete (#1020)
* fix(downloadclient): could not delete client

* fix(downloadclient): postgres fix tx options
2023-07-21 20:17:39 +02:00
Kyle Sanderson
fb4652f9cf
fix(indexers): danishbytes update irc (#1013)
fix(irc): update danishbytes
2023-07-15 19:36:15 +02:00
soup
2dd89ec711
fix(indexers): nebulance regex pattern (#1015) 2023-07-15 19:33:15 +02:00
ze0s
c361f23139
feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
Kyle Sanderson
5cdf68bc77
fix(logs): release rejections cap line length at 1KB (#997)
* fix(debug/release/rejection): cap line length at 1KB from unlimited

* flip to a call limit

* dont die on bad metainfo parse

* death is here to stay, for now.
2023-07-02 13:58:40 +02:00
Kyle Sanderson
90b5cc9351
feat(transmissionbt): implement reannounce and max active rules (#708)
* feat(transmissionbt): feature parity with qBit

* Update transmission.go

* feat(actions): transmission re-announce

* build(goreleaser): update archive name replacement

* feat(actions): transmission max active downloads check

* build(goreleaser): update archive name replacement

* build(goreleaser): remove archive files none

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-07-01 22:51:57 +02:00
ze0s
bc823f98a4
fix(actions): replay watch dir and exec cmd (#1000)
fix(actions): replay watch dir and exec
2023-06-26 19:00:58 +02:00
soup
1fbf3c828e
feat(filter): add rejection on invalid size set (#991)
* feat(filter): add rejection on invalid size set

* return false
2023-06-19 18:44:34 +02:00
Fabricio Silva
8721ab65ce
fix(irc): urlencode SSEKey for SSE streams (#990)
apply RFC4648 to base64 sseKey to fix urlEncoding
2023-06-17 14:44:20 +02:00
ze0s
ecc84f5f2d
fix(irc): view channel history (#987)
fix(irc): irc monitor channels

* base64 sse stream key
2023-06-15 23:17:26 +02:00
ze0s
2af0021ce6
fix(irc): panic when creating indexer with irc (#986)
fix(irc): store channel panic
2023-06-15 18:47:47 +02:00
ze0s
1f8804154e fix(releases): download file follow redirects (#950) 2023-06-14 21:58:56 +02:00
ze0s
2677c16ff8
feat(irc): add bouncer/znc support (#951)
* feat(irc): add initial bouncer support

* feat(irc): add bouncer fields to irc update form

* fix: make fields optional

* feat(db): add migrations
2023-06-14 21:06:28 +02:00
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