Commit Graph

20 Commits

Author SHA1 Message Date
mgdigital
f70352f4c5
Upgrade golangci-lint and enable more rules (#421) 2025-05-10 23:31:23 +01:00
mgdigital
4a45981b5b
stricter linting rules (#409) 2025-03-23 23:36:50 +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
mgdigital
8598f77519
Add batch reprocessing queue job and 0.9.0 upgrade hook (#267) 2024-06-08 08:39:06 +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
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
2fff99d139
Windows fixes: Implement Windows Socket interface and recover from socket read error (#203)
* Implement the `Socket` interface on Windows (#144)

* Use build constraints for `Socket` implementations

* implement `Socket` interface on Windows

---------

Co-authored-by: mgdigital <mgdigital@users.noreply.github.com>

* Ignore transient WSA error

* Update ignoreReadFromError

* Refactor

* Add missing import

---------

Co-authored-by: djdv <ddvpublic@Gmail.com>
2024-03-11 10:26:30 +00:00
mgdigital
49f49f19a9
Add word to CSAM filter (#159)
* Allow regex tokens from multi-word phrases

* Add word to CSAM list
2024-02-21 17:15:31 +00:00
mgdigital
a3f0436ac3
Check for "\x00" (#139) 2024-02-16 18:24:20 +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
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
mgdigital
5d74cf6c81
Lazy instantiation for services with side effects (#98) 2024-01-06 12:40:11 +00:00
mgdigital
b199474a81
Add client suffix to DHT node ID (#77)
* Use DHT client ID with suffix

* Remove unwanted warn logs
2023-11-28 18:16:54 +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
1f6bd96b83
Add checkers to reject crawled torrents based on criteria (#46) 2023-11-06 17:34:53 +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