ze0s
861f30c144
fix(actions): reject if client is disabled ( #1626 )
...
* fix(actions): error on disabled client
* fix(actions): sql scan args
* refactor: download client cache for actions
* fix: tests client store
* fix: tests client store and int conversion
* fix: tests revert findbyid ctx timeout
* fix: tests row.err
* feat: add logging to download client cache
2024-08-27 19:45:06 +02:00
kenstir
4fceccd611
feat(filters): support daily shows ( #1462 )
...
* feat(database): Add month, day columns to release table
* feat(database): Add month, day columns to postgres release table
* feat(filters): support daily show format
* feat(filters): check smart episode daily
* fix(tests): rss
* feat(filters): add daily shows elements to form
* enhancement(web): minimize html in MoviesAndTV tab
* feat(filters): smart episode check proper and repack
* feat(filters): smart episode do not allow multiple latest
* feat(filters): smart episode check group with repack
* feat(filters): smart episode allow multiple current releases
---------
Co-authored-by: s0up4200 <soup@r4tio.dev>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-05-15 16:38:10 +02:00
ze0s
3c3b47fa10
feat(macros): add IndexerName
( #1511 )
...
* feat(macros): add IndexerName
* fix: tests
* fix: tests
2024-04-16 17:35:17 +02:00
ze0s
da53230077
feat(filters): validate existence of external exec cmd ( #1501 )
...
* feat(filters): check external cmd exists
* fix: imports
* Update internal/domain/filter.go
---------
Co-authored-by: s0up4200 <soup@r4tio.dev>
2024-04-12 13:56:57 +02:00
martylukyy
1a23b69bcf
feat(web): move from react-router to @tanstack/router ( #1338 )
...
* fix(auth): invalid cookie handling and wrongful basic auth invalidation
* fix(auth): fix test to reflect new HTTP status code
* fix(auth/web): do not throw on error
* fix(http): replace http codes in middleware to prevent basic auth invalidation
fix typo in comment
* fix test
* fix(web): api client handle 403
* refactor(http): auth_test use testify.assert
* refactor(http): set session opts after valid login
* refactor(http): send more client headers
* fix(http): test
* refactor(web): move router to tanstack/router
* refactor(web): use route loaders and suspense
* refactor(web): useSuspense for settings
* refactor(web): invalidate cookie in middleware
* fix: loclfile
* fix: load filter/id
* fix(web): login, onboard, types, imports
* fix(web): filter load
* fix(web): build errors
* fix(web): ts-expect-error
* fix(tests): filter_test.go
* fix(filters): tests
* refactor: remove duplicate spinner components
refactor: ReleaseTable.tsx loading animation
refactor: remove dedicated `pendingComponent` for `settingsRoute`
* fix: refactor missed SectionLoader to RingResizeSpinner
* fix: substitute divides with borders to account for unloaded elements
* fix(api): action status URL param
* revert: action status URL param
add comment
* fix(routing): notfound handling and split files
* fix(filters): notfound get params
* fix(queries): colon
* fix(queries): comments ts-ignore
* fix(queries): extract queryKeys
* fix(queries): remove err
* fix(routes): move zob schema inline
* fix(auth): middleware and redirect to login
* fix(auth): failing test
* fix(logs): invalidate correct key
* fix(logs): invalidate correct key
* fix(logs): invalidate correct key
* fix: JSX element stealing focus from searchbar
* reimplement empty release table state text
* fix(context): use deep-copy
* fix(releases): empty state and filter input warnings
* fix(releases): empty states
* fix(auth): onboarding
* fix(cache): invalidate queries
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-02-12 13:07:00 +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
Kyle Sanderson
3234f0d919
refactor(http): implement shared transport and clients ( #1288 )
...
* fix(http): flip to a shared transport and clients
* nice threads
* that is terrible
* fake uri for magnet
* lazy locking
* why bother with r's
* flip magic params to struct
* refactor(http-clients): use separate clients with shared transport
* refactor(http-clients): add missing license header
* refactor(http-clients): defer and fix errors
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2023-12-29 23:49:22 +01:00
soup
6e12654f6a
feat(filters): show enabled and disabled actions in list view ( #1304 )
...
* feat(filters): reflect enabled actions
* dont store release unless enabled action found
* store the release after the delay
* add new parameter to FindByFilterID method
2023-12-17 21:18:26 +01:00
Frederick Robinson
365055fbe1
refactor(filters): move rejections from release to filter ( #1272 )
...
* refactor: size check
* refactor(filters): checkfilter rejections from release to filter
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2023-12-01 18:04:23 +01:00
Frederick Robinson
8d3921fd3b
feat(filters): validate filter size ( #1263 )
...
* update comments
* refactor, fail on malformed size constraints
* refactor validation, add failing test
* unify in ReleaseSizeOkay, refactor test
* validate filter limit parseability
* logging improvement
* refactor. more clear, explicit parsing step
* inline, add log
* comment tweak
* pass error with more info
* tweak parsedSizeLimits interface
2023-11-20 18:41:53 +01:00
Steven Kreitzer
c5fb92ccf4
fix(filters): external webhook remove jitter ( #1254 )
...
* fix(filters): external webhook remove jitter
* fix: migrations
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2023-11-17 17:05:29 +01:00
Kyle Sanderson
92659bca5f
fix(filters): external webhooks improve defaults ( #1227 )
...
* fix(external actions): retry
* mods
* wrap in bufio
2023-10-30 22:18:43 +01:00
Steven Kreitzer
2080136669
feat(filters): external webhook retry on status codes ( #1206 )
...
* feat: external filter retry status codes
* chore: go mod tidy
* fix(database): migrations
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-27 17:37:57 +02:00
ze0s
3755881c40
feat(filters): log external filter exec cmd output ( #1029 )
2023-08-28 23:52:52 +02:00
ze0s
ea35ef7fe8
fix(filters): replace newline with comma ( #1052 )
2023-08-18 00:46:56 +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
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
ze0s
8925266104
feat(indexers): add API support for Orpheus to fetch size ( #944 )
...
* feat(indexers): add API support for Orpheus
* feat(filters): add ops to AdditionalSizeCheck
2023-05-21 16:55:10 +02:00
ze0s
43ccf404da
fix(filters): duplicate missing actions ( #943 )
2023-05-17 18:59:19 +02:00
ze0s
c1746dc7d6
fix(webhooks): increase timeout ( #902 )
...
* fix(webhooks): increase timeout
* feat: mockindexer add dummy webhook endpoint
2023-05-02 21:44:38 +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
ze0s
ef3445cbed
fix(releases): max downloads per hour ( #883 )
...
* fix(releases): max downloads per hour
* refactor: release processing
* compare apples to apples (#884 )
* from rocketships back to apples
* Update internal/database/filter.go
* cast me to the
* keep your eye on the case
---------
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2023-04-29 21:52:49 +02:00
ze0s
f3cfeed8cd
feat(indexers): test API from settings ( #829 )
...
* refactor(indexers): test api clients
* feat(indexers): test api connection
* fix(indexers): api client tests
* refactor: indexer api clients
* feat: add Toasts for indexer api tests
* fix: failing red tests
2023-04-15 23:34:27 +02:00
ze0s
ca196f0bf1
feat(releases): support magnet links ( #730 )
...
* feat(releases): support magnet links
* feat(feeds): support magnet links
* feat(actions): log messages
* fix: component warning
* fix: check hasprefix instead of hassuffix for magnet
* feat(release): resolve magnet uri from link
* fix(actions): deluge use magnet uri
* fix(macros): add `MagnetURI` var
* fix(actions): run magnet resolving before macros
* feat(feeds): set download type on creation
2023-02-28 22:16:10 +01:00
ze0s
38795be9ea
feat(filters): smart episode ( #563 )
...
* feat(filters): initial smart episode
* feat(smart-episode): pseudo-logic
* feat(filters): check releases
* feat(filters): update logic
* feat(web): smart episode (#562 )
* add frontend part for smart episode feature
* change description for smart episode help text
* fix wording
* feat(filters): smart-episode logic
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: xoaaC <35452459+xoaaC@users.noreply.github.com>
2022-12-14 19:07:04 +01:00
Kyle Sanderson
2d8f7aeb4e
feat(releases): retry failed downloads ( #491 )
...
* feat(download): implement parsing and retry
* feat: retry torrent file downloads
* refactor: error handling downloadtorrentfile
* feat: add tests for download torrent file
* build: add runs-on self-hosted
* build: add runs-on self-hosted
2022-10-19 21:52:31 +02:00
ze0s
f5faf066a9
feat(filters): improve list view with filtering ( #465 )
2022-09-22 11:54:17 +02:00
ze0s
bbb8d2fe6e
fix(actions): cross platform watch dir file handling ( #458 )
...
* chore: update deps
* fix(actions): cross-platform file handling
* fix(qbittorrent): unrelated failing test
2022-09-10 20:31:46 +02:00
Kyle Sanderson
c7b372ee4e
feat(actions): implement TorrentDataRawBytes macro ( #444 )
...
* feat(action): implement TorrentDataRawBytes
* better citizen
* feat(filters): external support TorrentDataRawBytes macro
* feat(actions): exec add TorrentDataRawBytes macro
* feat(actions): exec add TorrentDataRawBytes macro
2022-08-31 15:03:02 +02:00
ze0s
3a334121f7
feat(filters): support partial update ( #409 )
2022-08-15 15:54:34 +02:00
ze0s
9508cbb46c
feat(actions): qbit add options content layout and skip hash check ( #393 )
...
* feat(actions): qbit content layout and skip hash check
* feat(actions): qbit options
2022-08-02 18:06:45 +02:00
ze0s
d56693cd33
feat(filters): add external script and webhook checks
2022-07-23 15:19:28 +02:00
Ludvig Lundgren
0e88117702
feat(logging); improve messages and errors ( #336 )
...
* feat(logger): add module context
* feat(logger): change errors package
* feat(logger): update tests
2022-07-05 13:31:44 +02:00
Ludvig Lundgren
91b094f4f4
feat(confg): reload on save and refactor logging ( #275 )
...
* feat(confg): reload on save
* refactor(logging): rework
2022-05-20 09:27:01 +02:00
Ludvig Lundgren
e6c151a029
feat: improve release parsing and filtering ( #257 )
...
* feat(releases): improve parsing
* refactor: extend filtering add more tests
* feat: improve macro
* feat: add and remove fields
* feat: add freeleech percent to bonus
* feat: filter by origin
2022-04-30 13:43:51 +02:00
Ludvig Lundgren
9e5b7b0aa5
fix(indexer): panic on size check via api ( #239 )
...
* fix(indexer): panic on size check via api
* feat(indexer): add mock api
2022-04-12 16:45:46 +02:00
Ludvig Lundgren
a3854ecd59
refactor: filter and action flow ( #225 )
...
* refactor: fitler and action flow
* fix: save release before filters
* feat: add action client to notifications
* feat: improve filter check logging
2022-04-09 21:20:26 +02:00
Ludvig Lundgren
3185832708
feat: add postgres support ( #215 )
...
* feat: add postgres support and refactor
* feat: improve releases find
* fix: autobrrctl create user
2022-04-02 19:24:23 +02:00
Ludvig Lundgren
4a9d8b54be
feat(indexers): add cookie support ( #205 )
2022-03-26 16:12:30 +01:00
Ludvig Lundgren
cb6cbb83d5
feat(filters): duplicate ( #168 )
2022-03-06 16:08:07 +01:00
Ludvig Lundgren
a18e2bc09d
refactor: download torrent files ( #144 )
...
* refactor: download torrent file
* refactor: remove return struct
* chore: remove unused method
2022-02-17 19:08:29 +01:00
Ludvig Lundgren
bcc9fad509
fix: handle file download failure ( #132 )
...
* fix: handle file download error
* fix: return error on fail to download
2022-02-09 20:09:57 +01:00
Ludvig Lundgren
26f558859a
fix: blank page loading filters ( #107 )
...
* fix(filters): load indexers separate
* feat: add ctx to filter related db methods
2022-02-03 21:58:41 +01:00
Ludvig Lundgren
00bc8298ac
feat(filters): add music filters ( #91 )
...
* feat(filters): add music filters
* feat: improve parsing and filtering
* feat: add red api support
2022-01-19 18:50:04 +01:00
Ludvig Lundgren
2ea2293745
Feature: Get size by api for ptp btn and ggn ( #66 )
...
* chore: add package
* feat: get size by api for ptp and btn
* feat: download and parse torrent if not api
* feat: bypass tls check and load meta from file
* fix: no invite command needed for btn
* feat: add ggn api
* feat: imrpove logging
* feat: build request url
* feat: improve err logging
2022-01-05 23:52:29 +01:00
Ludvig Lundgren
ae1f14d0a4
Feature: Improve filtering and release parsing ( #56 )
...
* feat: match against orig and cleaned rel
* feat: add more release parse tests
* feat: filter check tags
* feat: improve filter tag parsing
* refactor: simplify tag split and trim
* fix(indexers): use releasetags for milkie
* fix: properly replace spaces in string
* feat: better source check
* feat: extract releasetags
2022-01-01 21:50:38 +01:00
Ludvig Lundgren
48155e5f82
fix: filter list toggle ( #55 )
2021-12-27 16:10:15 +01:00
Ludvig Lundgren
e1ef47e09a
fix: store filter actions ( #54 )
2021-12-27 15:14:39 +01:00
Ludvig Lundgren
7177e48c02
Feature: Save releases ( #36 )
...
* chore: tidy deps
* refactor: database migration
* refactor: store release
* refactor: save release
* chore: add packages
* feat(web): show stats and recent releases
* refactor: simply filter struct
* feat: add eventbus
* chore: cleanup logging
* chore: update packages
2021-11-24 23:18:12 +01:00