Commit graph

820 commits

Author SHA1 Message Date
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
Fabricio Silva
6c2f3a4b2b
fix(web): set theme before app loads (#1017)
* chore(web): toggle classList instead of add and remove

* fix(web): set theme before the app loads
2023-07-21 18:00:34 +02:00
Kyle Sanderson
daa4bf9a0f
chore(deps): update build and packages (#1009)
* chore: update golang deps

* bump node and golang

* update node

* tell that to mel gibson.

* build: update go version

* chore: update deps

* chore: go mod tidy

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-07-21 18:00:03 +02:00
Fabricio Silva
c7ec93722b
chore(web): relocations and cleanups (#957)
* delete manifest (vite-plugin-pwa generates it)

* fix upper case letter on screen components

* fix imports of screens components missing upper case

* remove default export from Base.tsx

* move RegexPlayground to settings import

* replace some relative path imports

* remove React and ununsed imports

* small alignments on vite.config.ts

* move Dashboard and Releases to screens

* move filters/index.tsx to filters/index.ts

* remove default export from APIKeyAddForm

* remove default export from FilterAddForm

* organize imports and exports for the router

* add .vscode workspace to gitignore

* some touchs on .gitignore file

* fix some eslint rules
2023-07-21 17:33:51 +02:00
martylukyy
72bb2ddadb
feat(web): fullscreen view for irc announce logs (#994)
* fullscreen view for announce logs

* cleanup functions and classes

* some css touches

---------

Co-authored-by: Fabricio Silva <hi@fabricio.dev>
2023-07-21 17:24:43 +02:00
martylukyy
2358ea143e
fix(web): view button alignment in irc settings (#1011)
fix view button alignment in irc settings
2023-07-15 19:37:04 +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
Fabricio Silva
8d20d2cf39
feat(web): improve irc view (#989)
* inherit font-size

* inherit cursor-pointer and bubble click event

* improve react keys using ids instead of array position

* fix scrollbar corner not being transparent

* change irc view height calculation

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-07-02 14:21:01 +02:00
Fabricio Silva
a5e05284d0
chore(web): add ignore pattern to eslint for the unused-vars rule (#965)
* allow eslint ununsed vars and params if starts with _

* comment rests of unused code on Irc.tsx

* fix some eslint warn about unused code
2023-07-02 14:19:03 +02:00
Fabricio Silva
32ffc875b0
feat(web): use svg logo instead of png (#970)
* add fonts files to workbox

* remove logo.png and touches manifest assets

* install vite-plugin-svgr to import svg as react components

* move logo.svg from public to src

* replace logo.png to logo.svg

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-07-02 14:17:10 +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
ze0s
12f49b7b6c
chore: update pkg (#999)
* anacrolix/torrent
* others via go mod tidy
2023-06-26 18:34:03 +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
c587c07b36
chore(web): update package.json and pkgs (#988)
* upgrade pnpm to 8.6.2

* remove devDependencies from package.json

* upgrade vite to 4.3.9
2023-06-17 14:49:21 +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
Viktor Elofsson
3d9839d234
feat(downloadclients): Porla support preset (#978)
* Correctly omit download/upload limits

* Prefix JWT correctly

* Allow setting Porla preset
2023-06-14 19:51:34 +02:00
martylukyy
956225c108
feat(indexers): add freeleech support for TS (#983)
add freeleech to regex and vars for new TS announce format
2023-06-14 19:44:06 +02:00
Benno
84c7120d08
feat(indexers): add TorrentSectorCrew (#982)
* added torrentsectorcrew indexer

* fix filename, uncomment rss

* refine help text
other minor changes

* refine help text - take 2

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-06-14 19:42:42 +02:00
Mavyre
cecdda2ed9
feat(indexers): add Sharewood (#968)
* Add Sharewood indexer

* Changed Passkey help sharewood.yaml

Co-authored-by: soup <s0up4200@pm.me>

* Update sharewood.yaml

Added help about incompatible SASL default authentication

---------

Co-authored-by: soup <s0up4200@pm.me>
2023-06-04 16:18:08 +02:00
soup
295d6f0362
fix(indexers): update MTV irc network for consistency (#971) 2023-06-04 16:12:28 +02:00
Kyle Sanderson
314b5da8cc
fix(indexers): enthralled IRC network (#967)
* fix(indexers): enthralled IRC network

* fix: update network name

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-06-04 16:11:42 +02:00
Kyle Sanderson
76387d16f6
fix(web/pwa): do not intercept api route (#952)
* fix(PWA): Don't intercept /api route

* remove proxy

* revert proxy

* actual revert

* Delete setupProxy.js
2023-05-24 13:11:08 +02:00
Kyle Sanderson
6c27c6e3ba
chore(logs): remove warning text saying no scrollback (#953)
* chore(logs): remove warning text saying no scrollback

* Update Logs.tsx

* tab tab tab goes the trolley
2023-05-24 13:01:44 +02:00
Kyle Sanderson
5a61b406b0
fix(irc): log only validated messages (#954)
* fix(irc): flip spam to trace

* Update handler.go
2023-05-24 13:00:35 +02:00
Kyle Sanderson
b1eae6e980
build: goreleaser parallel builds (#956)
* chore(goreleaser): parallel builds

* 8 seems like a good number

* 99 problems but a goreleaser... is one.

* fine?

* fine.

* Update release.yml

* Windows??

* bill

* flip to zip on Windows

* 4 minutes to zstd on windows... mac should be faster.

* long switch for clarity

* revert none hack

* flip web to mac

* bad touch

* mac web is a loss

* add zip
2023-05-24 12:56:12 +02:00
Fabricio Silva
e63719a57d
fix(build): missing concat EOL on Dockerfile (#955) 2023-05-23 12:10:55 +02:00
soup
f774831d76
feat(releases): delete older than x (#924)
* feat: delete releases older than x

* check timestamp

* incomplete front end changes

commiting changes from codespace to not lose them

* change to dropdown with options

* using int comparisons to avoid nightmares

* Revert "using int comparisons to avoid nightmares"

This reverts commit dc55966a73e9f6ad79ed28c3a3e0dbe0e35448a6.

* suggestions by stacksmash76

come back to discord @stacksmash76

* Curves - a touch of warmth in our pixel realm

* replace inline css with tailwind

* remove unnecessary comment

* align label with dropdown
changed first paragraph to something more sensible

* change font weight for duration label

* padding changes

* nitpicky

* merged divs where possible

* small adjustments for light theme

* attempt to fix for postgres

* refactor: split into component and add confirmation modal

also restyle component

* fix: go fmt

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-05-21 18:39:28 +02:00
Fabricio Silva
1f76aa38f4
build(web): use pnpm from corepack (#935)
* feat(web): use pnpm packageManager on package.json

* build(web): add frozen-lockfile to Makefile

* build(docker): use the same node version as Docker image

* build(docker): enable corepack

* build(makefile): use --dir instead of cd for pnpm
2023-05-21 17:05:53 +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
Kyle Sanderson
8bef297841
fix(http): set ReadHeaderTimeout to mitigate Slowloris (#946)
* fix(http): add header timeout for connections

* fix: add import

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-05-21 16:27:07 +02:00
ze0s
ccabe96bdf
feat(irc): view announces per channel (#948)
* feat(irc): add sse to handler

* feat(irc): view and send irc messages per network

* refactor(irc): use id as handlerkey

* refactor(irc): use id as handlerkey

* feat(web): add irc context

* refactor: create sse stream per network channel

* fix(irc): remove non-working wildcard callback handler

* feat: use fork of sse

* chore(deps): update ergo/irc-go to v0.3.0

* fix: clean irc msg before sse publish

* feat: add view channel button

* feat: styling improvements

* feat: show time
2023-05-21 15:51:40 +02:00
Fabricio Silva
bbfcf303ef
chore(web): add svg logo (#947) 2023-05-19 18:39:47 +02:00
DirectorX
762abef31e
fix(indexers): hebits use full category (#945)
fix(indexers): hebits fix pattern for category

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2023-05-19 18:38:39 +02:00
ze0s
43ccf404da
fix(filters): duplicate missing actions (#943) 2023-05-17 18:59:19 +02:00
ze0s
e40d11aaa9
chore(deps): update autobrr/go-deluge to v1.0.1 (#942)
chore(deps): update autobrr/go-deluge v1.0.1
2023-05-17 18:46:08 +02:00
Kyle Sanderson
4298f39c82
chore(deps): update autobrr/go-qbittorrent (#939)
* fix(i686): statically assign qbit 64bit width ints

* pin to latest push

* chore: update to tag

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-05-17 18:39:31 +02:00
ze0s
d31866b03e
fix(config): env var prefix clashing in k8s (#937)
* fix: log config error

* fix: add extra underscore to env prefix

* fix: config revert

* chore: add web/.gitkeep

* chore: fix web/dist/.gitkeep

* fix: add extra underscore to env prefix
2023-05-16 00:46:28 +02:00
ze0s
6898ad8315
feat(releases): replay actions (#932)
* feat(releases): replay actions

* feat(releases): replay actions component

* fix: update filter actions

* fix: select filter_id from ras
2023-05-15 21:30:04 +02:00
ze0s
97333d334f
fix(auth): too restrictive session handling (#933) 2023-05-15 19:09:06 +02:00
Raymond Ha
71ffbe0e43
build: use pnpm in Makefile (#931)
* chore(build): Use pnpm in Makefile

* 🏃‍♂️

* fix: add back gitkeep

---------

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: ze0s <ze0s@riseup.net>
2023-05-14 19:13:19 +02:00
DirectorX
38242a8ca6
fix(indexers): Hebits infourl (#930)
fix(indexers): hebits fix infourl
2023-05-14 13:17:24 +02:00