Commit Graph

26 Commits

Author SHA1 Message Date
mgdigital
f70352f4c5
Upgrade golangci-lint and enable more rules (#421) 2025-05-10 23:31:23 +01:00
mgdigital
8c4a5c3566
Upgrade Go to 1.23.6 (#383)
Some checks failed
Checks / lint (push) Has been cancelled
Checks / test (push) Has been cancelled
Checks / generated (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (ruby) (push) Has been cancelled
* Upgrade go to 1.23.6
2025-02-09 14:05:12 +00:00
mgdigital
1b3ca02368
Housekeeping (#382)
* Fix serve-webui task

* Use go-viper mapstructure library everywhere

* Upgrade go modules
2025-02-09 13:51:24 +00:00
mgdigital
1d0034cfd3
Housekeeping (#366) 2025-01-08 22:47:01 +00:00
mgdigital
065db85537
Upgrade go libs (#318)
* Upgrade go libs

* Fix video3D
2024-10-15 07:08:21 +01:00
mgdigital
309e3b892b
Webui revamp (#280)
Some checks are pending
Checks / lint (push) Waiting to run
Checks / test (push) Waiting to run
Checks / generated (push) Waiting to run
CodeQL / Analyze (go) (push) Waiting to run
CodeQL / Analyze (ruby) (push) Waiting to run
2024-10-14 17:04:28 +01:00
dependabot[bot]
8a2d3b4125
Bump github.com/vektah/gqlparser/v2 from 2.5.11 to 2.5.14 (#274)
Bumps [github.com/vektah/gqlparser/v2](https://github.com/vektah/gqlparser) from 2.5.11 to 2.5.14.
- [Release notes](https://github.com/vektah/gqlparser/releases)
- [Commits](https://github.com/vektah/gqlparser/compare/v2.5.11...v2.5.14)

---
updated-dependencies:
- dependency-name: github.com/vektah/gqlparser/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mgdigital <mgdigital@users.noreply.github.com>
2024-06-13 16:09:10 +01:00
mgdigital
8598f77519
Add batch reprocessing queue job and 0.9.0 upgrade hook (#267) 2024-06-08 08:39:06 +01:00
mgdigital
f7b1f11fa8
Parallel search strategies (#264)
For querying search result items, we try 2 strategies:
- the default strategy is always tried, and is usually the most performant
- for certain searches where items are filtered to a small number of results, and ordered with a limit, the default strategy can be very slow, so we try a CTE strategy, with order and limit on a materialized view of the complete results, and we put it in a race with the default strategy
2024-05-30 09:26:34 +01:00
mgdigital
d9ad409ea7
Upgrade dependencies (#250)
* Upgrade go deps

* Update npm deps

* Add webui codegen

* Refactor check action

* Rebuild web UI

* Fix linting error
2024-04-30 18:19:13 +01:00
dependabot[bot]
e5bdce2b52
Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4 (#218)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.2 to 5.5.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.5.2...v5.5.4)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mgdigital <mgdigital@users.noreply.github.com>
2024-04-23 23:46:36 +01:00
dependabot[bot]
a712ee2e57
Bump golang.org/x/net from 0.20.0 to 0.23.0 (#239)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mgdigital <mgdigital@users.noreply.github.com>
2024-04-23 21:03:48 +01:00
mgdigital
c16f76130c
Classifier rewrite (#213)
The classifier has been re-implemented and now uses a DSL allowing for full customisation. Several bugs have also been fixed.

- Closes https://github.com/bitmagnet-io/bitmagnet/issues/182
- Closes https://github.com/bitmagnet-io/bitmagnet/issues/70
- Closes https://github.com/bitmagnet-io/bitmagnet/issues/68
- Hopefully fixes https://github.com/bitmagnet-io/bitmagnet/issues/126
2024-04-21 16:24:10 +01:00
mgdigital
1053209612
Replace TMDB client with custom implementation (#168)
- Replace TMDB client with custom implementation (the previous client caused problems due to not using the Go context convention and imposing its own timeout)
- Check TMDB API key validity on startup
- Fall back to default TMDB API key when configured key is invalid
- Don't continue calling TMDB after receiving a 401

Fixes https://github.com/bitmagnet-io/bitmagnet/issues/157
2024-02-23 14:38:32 +00:00
mgdigital
978eecd9ee
Upgrade go to 1.22 (#136) 2024-02-16 11:55:57 +00:00
mgdigital
c8e1960363
Remove Redis dependency and move message queue to Postgres (#131) 2024-02-13 11:19:22 +00:00
mgdigital
c73e061a53
Upgrade dependencies (#112)
* Upgrade gqlgen

* Upgrade go-enum

* Upgrade anacrolix packages

* Upgrade validator

* Upgrade misc modules

* Upgrade mockery

* Upgrade goose

* Upgrade gorm packages

* Upgrade health-go

* Upgrade godeltaprof

* Upgrade asynq/x

* Upgrade misc packages

* Upgrade misc packages

* Use any instead of interface

* Add go-version to setup-go
2024-01-24 17:55:14 +00:00
mgdigital
329be027a9
Disable Gorm easer plugin which sometimes causes zero results (#101)
* Disable gorm cache easer

* Upgrade gorm gen
2024-01-09 12:15:23 +00:00
mgdigital
6358b27bc6
Search query string rework (#96)
- `search_string` field is removed
- text search vector for `content` and `torrent_contents` is generated in code with improvements in normalisation and tokenisation
- the slow `LIKE` query is removed from text search
- a query DSL is implemented which translates the input search string to a Postgres tsquery
- a CLI command (`reindex`) is provided for updating the tsv for pre-existing records
- the unused `tsv` and `search_string` fields are removed from the `torrents` table

See https://github.com/bitmagnet-io/bitmagnet/issues/89
2024-01-07 11:51:40 +00:00
dependabot[bot]
c054e6b464
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#91)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 16:58:46 +00:00
mgdigital
32dc0bf6ec
Remove asynqmon (#93) 2023-12-22 09:00:40 +00:00
mgdigital
9f87f4a429
Downgrade asynqmon (#92) 2023-12-21 17:39:02 +00:00
mgdigital
85bf13bc6a
Deletion (#75)
- Add a stable bloom filter, stored in the database, for blocked and deleted torrents
- Add GraphQL mutations for blocking and deleting torrents
- Add web UI for bulk actions (tagging and deleting)
- Some minor cosmetic web UI tweaks
- Move database operations to dao package
2023-11-28 17:54:49 +00:00
mgdigital
ec95f7cc3a
Observability enhancements (#67) 2023-11-18 18:58:02 +00:00
mgdigital
070f38120b
DHT responder: Implement BEP5 & BEP51 (#21)
- Address https://github.com/bitmagnet-io/bitmagnet/issues/11 with BEP5 & BEP51 implementations
- Reimplement DHT crawler around new routing table
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/45
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/42
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/39
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/37
- Make bootstrap nodes configurable: https://github.com/bitmagnet-io/bitmagnet/issues/27
- Add profiling tools to Docker image
2023-11-06 16:41:08 +00:00
Mike Gibson
e7327343f0 Initial commit (#1) 2023-10-04 21:04:26 +01:00