* 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>
* 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>
* 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
* 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>
* 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
* flip to npm
* try pnpm
* nothing good started with p anyway
* I want to go outside.
* Split out deps and build
* 30 seconds on the fetch, reintroduce the p
* lock it in
* flip lock file to pnpm
* nuke yarn.lock
* kirby no longer has yarn
* flip goreleaser to v4, was using node12.
* snapshots don't have tags
* Update README.md
* pin offline dockerfile
* Delete .yarnrc.yml
* Delete web/.yarn directory
* fix: update scripts
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* feat(notification): send Telegram messages to a specific topic of a group
* Convert settings.Topic to integer once and reuse it as part of the
telegramSender struct.
* feat(notifications): add migrations for topic
* fix(notifications): find null string
* fix(notifications): form initial values
---------
Co-authored-by: ze0s <ze0s@riseup.net>
* feat/check-content-type-torrent-download
* check for text/html instead
* check for status codes above 308
* refactor
* make sure < 499 goes to content-type check
* fix content header check by accounting for charset
* retry on 404
* change to errors.New for 404
* make use of verbs
* handle http errors as cases
* check contentType with strings.Contains instead
* adjust message for unauthorized and forbidden
---------
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>