Commit Graph

369 Commits

Author SHA1 Message Date
bcdedce006
remove unused dotfiles 2024-07-25 17:45:28 +02:00
47f4f46e65
default.nix: add option for static build 2024-07-25 17:32:35 +02:00
eeeaa00de6
simplify gitignore 2024-07-25 16:52:01 +02:00
394e181bb3
update version number 2024-07-25 16:44:24 +02:00
014a5390ed
remove "compiled on" string
It makes compiling more complicated and unreproducible binaries.
2024-07-25 16:42:11 +02:00
d6d0a22ece
update README after the project archival 2024-07-25 16:39:55 +02:00
894ae1f30e
replace Makefile with a Nix package 2024-07-25 16:39:55 +02:00
57919f27b5
remove docker 2024-07-25 15:37:27 +02:00
06d864d49f
fix error with sqlite ≥ 3.34
Since sqlite 3.34[1] deleting a record in a fts5 table that doesn't
exist became an error. The resuls it that adding a torrent "corrupts"
the database and magnetico fails with this error:

    Could not add new torrent to the database.
    tx.Exec (INSERT OR REPLACE INTO torrents) database disk image is malformed

The problem can be simply avoided by setting modified_on = discovered_on
when inserting the torrent, instead of updating it afterwards with a
trigger.

[1]: 86f477edaa
2024-07-25 13:46:36 +02:00
1c826851b1
fix build with go > 1.21 2024-07-25 13:46:10 +02:00
Michał Gątkowski
828e230d3b Minor fixes related to searching 2022-08-10 14:06:10 +02:00
Michał Gątkowski
7ff7dc4b06 Fix comment 2022-08-10 01:17:25 +02:00
Michał Gątkowski
f69836ad09 Fix sorting by relevance 2022-08-10 01:04:29 +02:00
Michał Gątkowski
08fd243a20 Fix loading more torrents in conjunction with sorting ( default sorting is broken for now ) 2022-08-10 00:11:00 +02:00
Michał Gątkowski
615734fd14 Fix disabled 'load more results' button 2022-08-10 00:08:20 +02:00
IreuN
1e8bccfc92
Merge pull request #1 from ireun/dependabot/go_modules/go.uber.org/zap-1.22.0
Bump go.uber.org/zap from 1.21.0 to 1.22.0
2022-08-09 16:03:09 +02:00
dependabot[bot]
f75a1a0066
Bump go.uber.org/zap from 1.21.0 to 1.22.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 23:32:55 +00:00
Michał Gątkowski
573b5622c8 Remove no-ops 2022-08-09 00:41:16 +02:00
IreuN
65a3285057
PostgreSQL is now fully supported 2022-08-09 00:35:53 +02:00
IreuN
6a298b4a0f
PostgreSQL is now fully supported 2022-08-09 00:32:37 +02:00
Michał Gątkowski
af03f4c17d Merge remote-tracking branch 'origin/master' 2022-08-08 18:25:15 +02:00
Michał Gątkowski
c69ffc8085 Update Github actions 2022-08-08 18:24:30 +02:00
IreuN
bca322c6d7
Create dependabot.yml 2022-08-08 02:25:28 +02:00
Michał Gątkowski
57bbdffcb4 Fix SA1015 2022-08-08 01:57:28 +02:00
Michał Gątkowski
975df8a010 Migrate staticcheck - cleanup 2022-08-08 01:43:10 +02:00
Michał Gątkowski
923edab9bb Migrate staticcheck 2022-08-08 01:32:19 +02:00
Michał Gątkowski
4329242c30 Migrate staticcheck 2022-08-08 01:25:30 +02:00
Michał Gątkowski
b88b3f5de8 Refactor postgres search 2022-08-08 01:16:45 +02:00
Michał Gątkowski
30b4976381 Add go.sum to repo 2022-08-08 01:14:29 +02:00
Michał Gątkowski
3112103f53 Add go.sum to repo 2022-08-08 01:12:46 +02:00
Michał Gątkowski
7eb9bd7e29 Migrate to go:embed from go-bindata 2022-08-08 01:05:13 +02:00
Michał Gątkowski
bba53a8be6 Support for ascending/descending sorting, refactor 2022-08-07 23:34:26 +02:00
Michał Gątkowski
2838a3cc2a Improve PostgreSQL serach a little 2022-08-07 23:27:32 +02:00
Michał Gątkowski
c1f5815b4b Improve PostgreSQL serach a little 2022-08-07 22:14:26 +02:00
Michał Gątkowski
82ca499e32 Little comment fix 2022-08-06 19:31:20 +02:00
Michał Gątkowski
540ceaf023 Merge remote-tracking branch 'origin/master' 2022-08-06 19:29:46 +02:00
Michał Gątkowski
3e1d2bd16e Implemented dynamic query ( without reloading page ) and basic sort ( only by size, date, no_files - descending ) 2022-08-06 19:29:31 +02:00
IreuN
ff6530c2dc
Fix link 2022-08-06 17:04:52 +02:00
IreuN
d17111d783
Update screenshots 2022-08-06 17:01:36 +02:00
Michał Gątkowski
9f9b189c3d Bump pgx to v4.17.0 2022-08-06 16:00:11 +02:00
Michał Gątkowski
503fe1b8ec Clean up logs 2022-08-06 15:44:56 +02:00
Michał Gątkowski
e036079a97 Bump dependencies 2022-08-06 14:53:38 +02:00
Michał Gątkowski
bd435d1a13 Improve authentication logs 2022-08-05 22:44:20 +02:00
Michał Gątkowski
53d0ba0410 Clean up logs 2022-08-05 22:39:09 +02:00
Michał Gątkowski
45ffca7f9b Improve loading torrents 2022-08-05 22:38:46 +02:00
Michał Gątkowski
791e53c84f Implemented ( not so great ) search for PostgreSQL 2022-08-05 22:24:55 +02:00
Michał Gątkowski
096777e2da Implemented GetStatistics for postgreSQL 2022-08-05 17:14:33 +02:00
Michał Gątkowski
6be6b0de7e Bump GoLand to 1.19, fix building 2022-08-05 01:18:35 +02:00
Michał Gątkowski
69f67d427e Show exact time of discovery 2022-08-05 01:17:28 +02:00
Michał Gątkowski
fd2ee88e5d QueryTorrents for postgreSQL - fix loading more torrents 2022-08-05 01:16:48 +02:00