Commit graph

105 commits

Author SHA1 Message Date
dependabot[bot]
ee68a265ae
Bump jandelgado/gcov2lcov-action from v1.0.7 to v1.0.8 (#24)
Bumps [jandelgado/gcov2lcov-action](https://github.com/jandelgado/gcov2lcov-action) from v1.0.7 to v1.0.8.
- [Release notes](https://github.com/jandelgado/gcov2lcov-action/releases)
- [Changelog](https://github.com/jandelgado/gcov2lcov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jandelgado/gcov2lcov-action/compare/v1.0.7...2477d9ec11814a9326e7fdde8d315783d163edb7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 09:26:02 +01:00
Antonio Navarro Perez
6a50c17cf2
Update deps (#23)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-16 19:20:17 +01:00
Antonio Navarro Perez
7869a40955 Add platforms to docker build process.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-14 17:19:07 +01:00
Antonio Navarro Perez
a74f0956a7 Update docker description
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-14 16:44:10 +01:00
Antonio Navarro Perez
0a4438b1ad
Docker image (#22)
- Config file now is inside a config folder by default, to make easier
docker integration.
- File not found errors now are debug log outputs.
- Added dependabot integration for github action versions.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-14 16:28:50 +01:00
Antonio Navarro Perez
8882d80232
Add coveralls (#21)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-14 14:00:56 +01:00
Antonio Navarro Perez
2b33ec5f25
Allow others fuse option. (#19)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-13 12:06:33 +01:00
Antonio Navarro Perez
bd81446da6
Create FUNDING.yml 2020-11-09 20:21:03 +01:00
Antonio Navarro Perez
0d7f74717b
Support multiple file access (#17)
Implement a file handler to keep track of files, making possible have several of them open.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-09 19:37:15 +01:00
Antonio Navarro Perez
ab7d379408
Improve info when config is reloaded. (#16)
- Using toasts as message outputs (still a lot of room for improvement)

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-09 11:33:19 +01:00
Antonio Navarro Perez
0e2288565d
Reload server and edit configuration. (#15)
The first iteration for config editor and server reload from the web interface.
2020-11-08 18:19:25 +01:00
Antonio Navarro Perez
56d32fd1f4
Compile windows without cgo (#14) 2020-11-01 17:24:08 +01:00
Antonio Navarro Perez
1614af438e
Build on several platforms (#13)
- Added a GitHub workflow to compile distribyted on linux, macOS and windows.
- Fixed some problems on storage when running on windows.
- Added more documentation about how to use on windows.
- Now on every build, artifacts are generated and can be downloaded for testing before a release.
- Only cross-compiling arm-7 for now.

Fixes #6 

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-01 12:23:39 +01:00
Stephen Smith
21f4a5f1da
fix: Don't clobber gopath except for the target that uses the var (#11)
It seems to me that setting gopath would be undesirable since most people should have it set from setting up golang. This just moves those vars into go-compile so that it doesn't bother those who are just building a binary. It might be better to have it only set GOPATH if unset, or move it to .bashrc and friends.
2020-10-28 19:11:37 +01:00
Antonio Navarro Perez
16ad7d6f3e
Fix codecov shield on README 2020-10-28 11:59:03 +01:00
Antonio Navarro Perez
ca4ceb1af8 Fix release github action
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:57:47 +02:00
Antonio Navarro Perez
11702839e1 Update dependencies and fix Makefile
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:44:45 +02:00
Antonio Navarro Perez
2ed2dd941d
Merge pull request #3 from distribyted/remove-compile-from-pr-tests
Remove compile step from PR tests
2020-10-18 20:35:17 +02:00
Antonio Navarro Perez
f8068cde52 Remove compile step from PR tests
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:30:43 +02:00
Antonio Navarro Perez
7ad77aebaa
Merge pull request #2 from distribyted/cgofuse 2020-10-18 20:27:34 +02:00
Antonio Navarro Perez
d72d77092b Fix cross-compiling with go 1.15.x
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:14:32 +02:00
Antonio Navarro Perez
f5038291b8 go mod tidy
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 11:48:33 +02:00
Antonio Navarro Perez
45f10e2f81 Refactoring and first steps to make multi OS compatible.
- Using cgofuse to be compatible with multiple OSes
- Refactor to make possible better testing
- Add a bunch of tests
- Add code coverage

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 11:39:59 +02:00
Antonio Navarro Perez
89af681694 Add gif with demo
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-08-12 13:14:30 +02:00
Antonio Navarro Perez
a6d7f598ba
Fix broken links on README 2020-08-03 19:44:08 +02:00
Antonio Navarro Perez
a243f50516 Merge pull request #1 from distribyted/improve-readme
Improve readme file

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-08-03 11:28:21 +02:00
Antonio Navarro Perez
9538285e0a Improve readme file
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-08-03 11:24:04 +02:00
Antonio Navarro Perez
f6d7a5fff2 Improve binary names and output logs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-08-02 21:38:53 +02:00
Antonio Navarro Perez
f6539aab06
Update release.yml
change release action version to latest one
2020-08-02 21:22:37 +02:00
Antonio Navarro Perez
9bf784ccf0
Create release.yml
Add release workflow
2020-08-02 21:21:18 +02:00
Antonio Navarro Perez
5470c4c5d3
Update test.yaml
Build binary too
2020-08-02 20:33:59 +02:00
Antonio Navarro Perez
ef595ed0c9 Add simple README file
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-31 11:02:06 +02:00
Antonio Navarro Perez
ad90c43203 Remove logs from torrent client
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-28 10:46:30 +02:00
Antonio Navarro Perez
6cf36858f4
Merge pull request #1 from ajnavarro/add-license-1
Create LICENSE
2020-07-28 10:45:15 +02:00
Antonio Navarro Perez
ffdffe589d
Create LICENSE 2020-07-28 10:43:38 +02:00
Antonio Navarro Perez
c9e72986a9 Add github actions for tests
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-27 12:23:53 +02:00
Antonio Navarro Perez
18b0d52b3f Add Makefile
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-27 12:19:35 +02:00
Antonio Navarro Perez
b9bb9a8fe0 Update dependencies
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-27 11:21:50 +02:00
Antonio Navarro Perez
256b1bd205 Improve folder umount
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-27 11:20:19 +02:00
Antonio Navarro Perez
11d501cd51 Implement logrus, fix httpFs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-14 13:55:08 +02:00
Antonio Navarro Perez
b59def4718 Change color depending of torrent seeders and piece size.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-15 11:14:28 +02:00
Antonio Navarro Perez
b8392c4c50 Remove previous POCs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-13 12:15:46 +02:00
Antonio Navarro Perez
401a79379f Add piece size to web interface.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-09 12:06:12 +02:00
Antonio Navarro Perez
59ce273e25 Improve example config file
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-07 12:55:06 +02:00
Antonio Navarro Perez
92a219e9c8 Improve permissions, close files and lazy metadata loading.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-07 12:52:00 +02:00
Antonio Navarro Perez
ae4be076f9 Remove worker pool.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-03 11:15:01 +02:00
Antonio Navarro Perez
40eefbf008 Implement zip explode first iteration
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-03 11:03:13 +02:00
Antonio Navarro Perez
1e46df7dd7 Add solarized styles
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-05-21 18:45:46 +02:00
Antonio Navarro Perez
9f6d1d713a Add peers and seeders on routes page.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-05-21 18:45:29 +02:00
Antonio Navarro Perez
ecd524ed3c First functional web interface version.
- Simplify by now all html and javascript.
- Added a simple interface using go templates and plain javascript.
- Improved REST interface for the use case.
- Changed some properties into the config file to make it suitable for
future use cases.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-05-18 19:42:23 +02:00