Commit Graph

11 Commits

Author SHA1 Message Date
Andrei Marcu c61db30f9f Tests: Fix image torrent test 2020-03-12 13:44:28 -07:00
mutantmonkey 5d9a93b1e2 Add S3 backend (#156) 2019-01-24 23:33:11 -08:00
Andrei Marcu c746f70c10 Allow changing the "selif" path name 2019-01-14 14:55:27 -08:00
mutantmonkey fcd18eceec use abstracted storage for flexibility
I moved the storage functionality into the StorageBackend interface,
which is currently only implemented by LocalfsBackend.
2016-06-08 20:18:31 -07:00
mutantmonkey 47670af185 Infer site URL from host and headers
We can use the Host property of the request and the X-Forwarded-Proto to
infer the site URL. To reduce complexity, the path is not inferred, and
it is assumed that linx-server is running at /. If this is not the case,
the site URL must be manually configured; this is no different than it
was before.
2016-06-04 18:34:22 -07:00
andreimarcu cb8b8800ba Cleanup vim artifacts 2015-10-04 18:24:13 -04:00
mutantmonkey 199289a58d change CreateTorrent to createTorrent
After some discussion, I decided it was probably best to not export this
after all.
2015-10-01 22:33:30 -07:00
mutantmonkey 31aa0d666b add torrent test for binary data 2015-09-29 20:13:14 -07:00
mutantmonkey df09b005de use oopsHandler instead of panicking on error 2015-09-29 08:41:42 -07:00
mutantmonkey b81477c1d3 fix go vet complaint in torrent_test.go 2015-09-28 23:04:20 -07:00
mutantmonkey 091225b9e4 add torrent support
This change adds an option to download files with BitTorrent. A webseed
is provided in the torrent file to bootstrap the swarm.
2015-09-28 22:58:14 -07:00