Commit graph

680 commits

Author SHA1 Message Date
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
Kyle Sanderson
6d78e1e0a4
fix(vite): update code for updated dependencies (#1043)
* how do I shoot web??

* black rabbit feedback + update deps
2023-08-13 17:47:31 +02:00
Kyle Sanderson
82ffd3645b
ci: dependabot back-off scheduled runs (#1042) 2023-08-10 21:31:57 +02:00
dependabot[bot]
dc8ad9c813
build(deps): bump the chore-dependabot-github group with 1 update (#1032)
Bumps the chore-dependabot-github group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action).

- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: chore-dependabot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 00:25:11 +02:00
Kyle Sanderson
01beb6bc00
chore(deps): bump go packages (#1039)
ci: bump golang manually.
2023-08-07 00:20:32 +02:00
Kyle Sanderson
58b294e3cf
ci: enable dependabot (#1028)
* Create dependabot.yml

* flip day + time

* add gomod

* pnpm web

* huzzah - the walrus is here

* lines lines lines

* do you want to climb a mountain

* singing spock

* I'M IN SPACE

* what's a little / among friends
2023-08-04 00:04:32 +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
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