martylukyy
74eea79215
feat(database): SQLite database backups ( #1756 )
...
* feat(database): SQLite database backups
* feat(database): do not produce SQL injections
* feat(database): retain all backups if 0 or less
refactor(database): specify database driver in func names
* refactor(database): return early on cleanup
* refactor(database): do not call cleanup func if max backups set to 0
* refactor(database): backup retention behavior
* feat(database): improve logging
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-11-12 19:14:45 +01:00
soup
b4f0d60b9b
chore: add missing license headers ( #1811 )
...
* chore: add missing license headers
* missing license in test files
2024-11-06 21:37:42 +01:00
ze0s
40fe3e9f54
fix(indexers): delete feed with indexer ( #1810 )
...
* fix(indexers): delete feed in one go
* fix(indexers): sort imports
* refactor(feeds): db methods for find
2024-11-06 20:48:46 +01:00
ze0s
59c5858bf0
fix(releases): update size after actions run ( #1809 )
2024-11-06 18:55:00 +01:00
Kyle Sanderson
f4c2aef38c
fix(indexers): BTFiles size parsing ( #1805 )
...
* fix(indexers): btfiles size
* fix: revert btfiles definition tests
* fix(release): strip comma of torrentSize string before parse
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2024-11-06 14:13:27 +01:00
ze0s
63b8519bd9
fix(filters): trim user input ( #1784 )
2024-10-23 17:42:48 +02:00
ze0s
8f2398a627
fix(filters): lint warning variable naming ( #1783 )
...
* fix(filters): variable naming
* fix(filters): variable naming
2024-10-23 17:31:49 +02:00
Kyle Sanderson
f89ea9e2ff
feat(filters): sanitize description ( #1781 )
...
feat(filters): sanitize description
2024-10-23 16:44:00 +02:00
ze0s
f029de233f
feat(filters): improve rejection handling ( #1776 )
...
* feat(filters): improve rejection handling
* fix(filters): rejection tests
* fix(filters): size check error rejection
2024-10-20 22:58:55 +02:00
ze0s
ca2d956e02
fix(notifications): disable notification and events have no effect ( #1754 )
...
fix(notifications): disable notificatio nand events
2024-10-06 14:12:01 +02:00
Kyle Sanderson
e9cd6b0049
fix(sanitize): improve handling for newline tabs etc ( #1733 )
...
* fix(sanitize): filter properly \t,,, / etc
* jesus christ.
* bah. probably helps if a human reads the tests.
* k done.
* should be safe now?
* edna?
* real life man
2024-09-19 16:44:19 +02:00
Kyle Sanderson
e9f8730ca0
feat(filters): wildcard slice matching optimizations ( #1716 )
...
* chore(tests): add more test cases
* chore(tests): add code comments for matching patterns
* chore(tests): fix typos
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-09-14 11:31:26 +02:00
martylukyy
e56bf1f8fc
feat(notifications): Telegram set sender ( #1723 )
...
feat(notifications): add conditional sender payload for telegram
2024-09-14 11:03:42 +02:00
Kyle Sanderson
c3824f3519
chore(tests): correct typos ( #1715 )
2024-09-12 08:19:27 +02:00
ze0s
fd90020400
feat(releases): show indexer name instead of identifier ( #1706 )
...
* feat(releases): show indexer name instead of identifier
* feat(releases): remove log in Cell
* feat(releases): update Dashboard recent releases
* fix(releases): db tests
* fix(releases): remove unused code
* fix(releases): remove more unused code
* fix(releases): remove even more unused code
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-09-03 14:57:48 +02:00
ze0s
d380c0b178
fix(macros): TorrentHash
empty ( #1699 )
...
fix(macros): TorrentHash empty
2024-09-02 15:44:36 +02:00
Kyle Sanderson
982f7ddf68
refactor(wildcard): optimize and add caching ( #1634 )
...
* fix(wildcard): avoid excessive allocations every loop
* are you going to Scarborough Fair?
* ruby ruby ruby ruby
* ride on, little murphy
* shirley?
* to the moon
* reggie are you there?
* code 99
* my doctorate is in Art History
* helps to be consistent
* tidy
* slow and steady gets the clam
* oysters were better anyway
* DIAL TONE
2024-09-02 11:18:14 +02:00
ze0s
bc0f4cc055
feat: add support for proxies to use with IRC and Indexers ( #1421 )
...
* feat: add support for proxies
* fix(http): release handler
* fix(migrations): define proxy early
* fix(migrations): pg proxy
* fix(proxy): list update delete
* fix(proxy): remove log and imports
* feat(irc): use proxy
* feat(irc): tests
* fix(web): update imports for ProxyForms.tsx
* fix(database): migration
* feat(proxy): test
* feat(proxy): validate proxy type
* feat(proxy): validate and test
* feat(proxy): improve validate and test
* feat(proxy): fix db schema
* feat(proxy): add db tests
* feat(proxy): handle http errors
* fix(http): imports
* feat(proxy): use proxy for indexer downloads
* feat(proxy): indexerforms select proxy
* feat(proxy): handle torrent download
* feat(proxy): skip if disabled
* feat(proxy): imports
* feat(proxy): implement in Feeds
* feat(proxy): update helper text indexer proxy
* feat(proxy): add internal cache
2024-09-02 11:10:45 +02:00
ze0s
34d6e0cf60
fix(diagnostics): profiling config flags ( #1637 )
2024-08-29 13:21:01 +02:00
Kyle Sanderson
cc0cca9f0d
refactor(http): implement bufio ( #1604 )
...
* fix: misc http fixes
* feat(io): implement bufio around syscalls
* peek-a-boo
* this can't be right.
* you better be wearing a helmet
* jesus christ.
* refactor(notifications): check err on non-ok status
* fix(notifications): add missing name method
* refactor(indexer): api clients
* fix(indexer): ptp test
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2024-08-29 08:51:20 +02:00
ze0s
d13b421c42
refactor(http): api key cache handling ( #1632 )
2024-08-28 16:51:03 +02:00
ze0s
0d53f7e5fc
feat(download-clients): rtorrent support Digest Auth ( #1596 )
...
* feat(download-clients): rtorrent support basic auth
* feat(download-client): implement new auth logic
* fix(download-client): tests store
* chore(deps): update go-rtorrent to v1.11.0
2024-08-28 12:21:56 +02:00
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
Kyle Sanderson
65d25c56c9
feat(diagnostics): add pprof profiling ( #1627 )
...
* feat(tracing): enable tracing
* of course the squash didn't work.
* gah. always nice when there's 40 csets.
* might as well.
* refactor: tracing to diagnostics
* feat: add note about the magic methods from pprof
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2024-08-27 11:00:30 +02:00
ze0s
abfac05b66
fix(releases): retry action missing external indexer identifier ( #1612 )
...
* fix(releases): retry action missing external identifier
* fix(actions): arrs set fallback indexer identifier
2024-08-11 20:39:11 +02:00
Alejo Gaitán
8f995006b1
fix(indexers): OPS log score parsing ( #1592 )
...
* fix(parsing): OPS Missing %
The message from OPS Announce does not contain a % sign and that seemed to break it. This is probably not the best fix but it is something.
* fix(parsing): Join Tags and Remove Unnecessary Char Replacement
Forgot to join tags before parsing, and removed an unnecessary char replacement that was not needed.
* fix(parsing): Added Regex for 0-100
I forgot to check for all score values, also added the regex import
* feat: add test cases for OPS log score parsing
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2024-07-17 00:39:29 +02:00
MagiX13
5e88d08b35
feat(macros): add missing variables ( #1541 )
...
* Add all macros
* feat(macros): add month day and others
---------
Co-authored-by: MagiX <magix_debian@scheins.info>
Co-authored-by: ze0s <ze0s@riseup.net>
2024-05-15 21:14:40 +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
0016228d89
feat(indexers): add External Identifier to map with ARR indexers ( #1534 )
...
* feat(indexers): add External Identifier to map with ARR indexers
* fix: web build
* fix: tests
* feat: set identifier for manual processing
2024-05-04 12:37:01 +02:00
ze0s
9832076d7e
fix(indexers): irc baseurl override for links ( #1537 )
2024-05-04 10:59:47 +02:00
ze0s
3202c6043d
feat(indexers): update release baseurl on update ( #1532 )
2024-05-03 11:32:56 +02:00
soup
19e129e55f
feat(releases): delete based on age/indexer/status ( #1522 )
...
* feat(releases): delete based on age/indexer/status
* fix: sanitize releaseStatuses
* swap to RMSC
* add AgeSelect component
* improve texts
* refactor: streamline form layout
* improve text
* remove a paragraph
* improved UX
explaining the options, better error handling
* reinstate red border
* fix: labels to match other similar labels for selects
- improved contrast for the word "required" in desc
- added red asterisk to required select
* minor text improvement to warning
* fix: delete-button vertical alignment
* feat: cleanup queries
* feat: cleanup delete
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2024-05-03 11:32:20 +02:00
s0up4200
56ef3a5402
feat(actions): qBittorrent add first-last piece priority ( #1517 )
...
* feat(actions): qBittorrent add first/last piece priority
* removed accidental change
* fix: scanrow order
* fix: spaces vs tabs
* bump(deps): upgrade go-qbittorrent to v1.9.0
* fix(test): add missing colon
* fix(database): sqlite remove duplicate
2024-04-18 14:47:36 +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
b181231b12
feat(macros): add Artists ( #1493 )
2024-04-08 11:02:10 +02:00
martylukyy
6045ef7c10
feat(filters): add sources and codecs ( #1470 )
...
* feat(filters): add AHDTV to sources and sort alphabetically
feat(filters): add MPEG-2 to codecs and sort alphabetically
* feat(filters): add release parsing test for MPEG-2
2024-03-24 10:41:24 +01:00
ze0s
be05ffba73
feat(irc): manually re-process announces ( #1419 )
...
* fix(releases): add manual processing
* feat(irc): add re-process button to channel msg
* feat(irc): add missing client method
* feat(web): change reprocess icon placement
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-03-19 18:23:43 +01:00
ze0s
f619501d0d
fix(releases): create custom TEMPDIR if not exists ( #1428 )
...
* fix(releases): create custom TEMPDIR if not exists
* fix(releases): create temp err handling
2024-02-26 14:19:47 +01:00
ze0s
2bf5993f05
feat(macros): add Tags ( #1429 )
2024-02-26 13:43:39 +01:00
martylukyy
ff8af1338f
fix(indexers): PTFiles freeleech parsing ( #1422 )
...
fix(releases): freeleech parsing
2024-02-22 14:41:27 +01:00
Brandon Beck
3c40c7bba8
feat(macros): add FilterID ( #1416 )
2024-02-20 16:35:00 +01:00
ze0s
51a7f71372
fix(filters): OPS and RED split Artist and Album ( #1398 )
...
* fix(filters): OPS and RED parse and match Artist and Album
* fix(filters): rls raw
2024-02-12 14:16:16 +01: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
Brandon Beck
90272188ca
feat(macros): add Type ( #1394 )
2024-02-08 14:39:49 +01:00
ze0s
5328078b32
fix(filters): RED and OPS lossless parsing and filtering ( #1373 )
...
* fix(filters): RED and OPS lossless parsing and filtering
* fix(filters): logscore and EP parsing
* fix(filters): tests
* fix(filters): tests
* feat(definitions): RED parse title variable
* feat(indexers): setup indexer to filter tests
* feat(indexers): tests and improve parsing
* feat(indexers): improve tests
2024-01-28 22:03:25 +01:00
Vince Villamora
16bf2a52fd
feat(macros): add Group ( #1378 )
2024-01-26 16:26:18 +01:00
ze0s
fffd5bbf56
feat(indexers): GGn improve release name parsing ( #1366 )
...
* feat(indexers): GGn improve IRC parsing
* chore: organize imports
2024-01-24 17:58:46 +01:00
luckyboy
a86258aaa7
feat(filters): implement min and max seeders/leechers filtering for Torznab feeds ( #1342 )
...
* feat(filter):implement min and max seeders/leechers filtering
* chore: go fmt and reorder fields
---------
Co-authored-by: ze0s <ze0s@riseup.net>
2024-01-12 17:08:18 +01:00
ze0s
9992675971
feat(releases): show details in list view ( #1337 )
...
* feat(releases): show details in list view
* fix(releases): activitytable columns type
* fix(releases): incognito mode
* feat(releases): move details button
* do we wanna truncate?
* fix(web): release column width at full size
---------
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-01-02 21:53:38 +01:00