Commit Graph

1273 Commits

Author SHA1 Message Date
Lawrence, Rendall 05fe8e113a Update README 2022-04-14 12:23:13 +03:00
Lawrence, Rendall 57d9c8e78e clear store error in responseHook if ErrResourceDoesNotExist appear 2022-04-14 01:52:52 +03:00
Lawrence, Rendall 781fa9440f (done) replace redigo with go-redis
* replace redis keys with RawString encoded values (delete SerializedPeer)
* merge peers got from pre-hools with store data
2022-04-14 01:13:18 +03:00
Lawrence, Rendall 1fcddf5102 (WIP) replace redigo with go-redis 2022-04-13 01:12:00 +03:00
Lawrence, Rendall c9e0af8b1e fix lint errors 2022-04-12 21:48:54 +03:00
Lawrence, Rendall 64eaf9d733 Fix lint gosec and ifshort issues 2022-04-12 18:51:03 +03:00
Lawrence, Rendall 554ae6fcd6 Reformat comments 2022-04-12 18:32:17 +03:00
Lawrence, Rendall 1e5330ea7e Fix default branch in actions configurations 2022-04-12 18:13:34 +03:00
Lawrence, Rendall c1956d68f6 Remove YAML/MD lint configs, reformat stdlib imports 2022-04-12 18:10:51 +03:00
SOT-TECH ec49168db9 Merge pull request #4 from sot-tech/dependabot/github_actions/nosborn/github-action-markdown-cli-3.0.1
build(deps): bump nosborn/github-action-markdown-cli from 2.0.0 to 3.0.1
2022-04-12 17:39:48 +03:00
SOT-TECH ec4f711aa7 Merge pull request #6 from sot-tech/dependabot/github_actions/golangci/golangci-lint-action-3
build(deps): bump golangci/golangci-lint-action from 2 to 3
2022-04-12 17:39:25 +03:00
SOT-TECH e744c5a4de Merge pull request #5 from sot-tech/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-04-12 17:37:24 +03:00
dependabot[bot] 4a62fbc465 build(deps): bump golangci/golangci-lint-action from 2 to 3
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 14:36:11 +00:00
dependabot[bot] 859f88eae3 build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 14:36:11 +00:00
SOT-TECH 4159802640 Merge pull request #3 from sot-tech/dependabot/github_actions/actions/setup-go-3
build(deps): bump actions/setup-go from 2 to 3
2022-04-12 17:35:32 +03:00
dependabot[bot] e18fed307a build(deps): bump nosborn/github-action-markdown-cli from 2.0.0 to 3.0.1
Bumps [nosborn/github-action-markdown-cli](https://github.com/nosborn/github-action-markdown-cli) from 2.0.0 to 3.0.1.
- [Release notes](https://github.com/nosborn/github-action-markdown-cli/releases)
- [Commits](https://github.com/nosborn/github-action-markdown-cli/compare/v2.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: nosborn/github-action-markdown-cli
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 14:25:06 +00:00
dependabot[bot] 47d51a556b build(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 14:25:03 +00:00
Širhoe Biazhkovič c7edbb52f2 Merge commits 129aac230aa..828edb8fd8b from https://github.com/chihaya/chihaya 2022-04-12 15:58:14 +03:00
Lawrence, Rendall c858576f76 Update dependencies 2022-03-08 14:10:04 +03:00
Lawrence, Rendall a68bfc3376 Reconcile branch 'master' of https://github.com/chihaya/chihaya 2022-01-03 13:16:41 +03:00
Jimmy Zelinskie dc34044973 Merge pull request #544 from chihaya/dependabot/go_modules/github.com/spf13/cobra-1.2.1
build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1
2022-01-02 14:54:27 -05:00
Lawrence, Rendall d20b2fb64b Minor fix: preallocate arrays with known size 2021-12-28 21:01:15 +03:00
Lawrence, Rendall fa4c7c49ad Add ping route for http listener 2021-12-21 16:36:38 +03:00
Lawrence, Rendall 4dbbb4ad83 Rename to MoChi 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 5a1ac73a3d Update dependencies, fix invalid directory config parse 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič d438ad58fe Test v2 hashes with qbt 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič e7c5263dd7 Fix approval hook build 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 04f1a9efb9 Reformat code 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 360ac9d08d Add man to exported functions/fields 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 0a5ac35c4d Fix e2e execution, append 2to1 hash in approvals, update dependencies 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič dd0a455a4a Fix invalid http frontend listen call 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 239a642bfc Fix varinterval panic if request IH is not provided 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 9122aefdd7 Fix storage tests
* reformat sources #JR1356
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič beb4736b86 Implement simple PGDC methods for storage
* sanitize code a little
* move e2e build to 'e2e' tag
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 566d99fcd7 Gegin work on shared store for handlers 2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič af1cbc543c Don't return error while converting hash to v1
Mark clientapproval as broken because of incorrect client_id parsing
2021-12-21 15:24:25 +03:00
Širhoe Biazhkovič 2f092bad45 Initial torrentV2 hash support 2021-12-21 15:24:11 +03:00
Širhoe Biazhkovič 823b92fe83 Disable prometheus fot in-memory store if period set to 0 2021-10-20 17:16:11 +03:00
Širhoe Biazhkovič 25879a0f3a Sanitize hash sums in modules 2021-09-05 19:51:21 +03:00
Širhoe Biazhkovič d0e13b3273 Change containter builder struct to func 2021-09-05 18:22:10 +03:00
Širhoe Biazhkovič 114e8c0f06 Fix invalid time serialization 2021-09-05 18:16:10 +03:00
Širhoe Biazhkovič 2fcc536e87 Fix utests 2021-09-05 17:44:11 +03:00
Širhoe Biazhkovič 20f1a99ec2 Fix utests 2021-09-05 17:32:31 +03:00
Širhoe Biazhkovič cb4ac3c7f8 Remove zeebo/bencode dependency because of anacrolix/torrent usage 2021-09-05 16:17:21 +03:00
Širhoe Biazhkovič 8580bb37e0 WIP Add support for custom torrents' approval storages
* migrate torrentapproval to list storage
* add initial support for torrent file storage (watch directory with fsnotify)
* replace frontend/http/bencode package with github.com/zeebo/bencode module
* sanitize code (fix warnings)

TODO:
* parse torrent files to get hashes,
* watch directory event types

DON'T use for now
2021-09-04 01:49:01 +03:00
Jimmy Zelinskie d57c348b6c Merge pull request #545 from jzelinskie/dependabot-labels
.github: specify labels for dependabot PRs
2021-08-23 18:00:12 -04:00
Jimmy Zelinskie 9c44135610 .github: specify labels for dependabot PRs 2021-08-20 01:04:26 -04:00
dependabot[bot] 8bf717fa4e build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 08:16:10 +00:00
Jimmy Zelinskie c1f523e855 Merge pull request #539 from chihaya/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
build(deps): bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
2021-07-02 13:16:32 -04:00
dependabot[bot] 7498ef3f4a build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 08:16:57 +00:00