mutantmonkey
82edabd036
change -b flag to -bind
This is for consistency with Goji's default flag and is more clear.
9 years ago
mutantmonkey
a09297389b
create our own mux instead of using goji default
This is a better way to do things since we were customizing middleware
and everything anyway. It's also necessary in order to avoid pulling in
the default Goji -bind flag: https://github.com/zenazn/goji/issues/47
9 years ago
andreimarcu
62443e984d
API documentation. Fixes #30
9 years ago
andreimarcu
639d519712
Configurable maximum upload file size. Fixes #35
9 years ago
andreimarcu
9b07728ddb
Added https option + graceful shutdown
9 years ago
George Burgess IV
12551d12b3
housekeeping
9 years ago
George Burgess IV
4330d605e3
Clean up logging on start
9 years ago
andreimarcu
ce73598f12
Document csp flags
9 years ago
mutantmonkey
ad9d712a3a
add a file blacklist and add robots.txt
Fixes #26
9 years ago
mutantmonkey
e030c07f94
allow unsafe-inline for style-src for now
This is used for the upload progress bar. Hopefully we can find a better
solution in the future for this.
9 years ago
mutantmonkey
5e7e96af01
add support for some security headers
This commit adds support for Content-Security-Policy and
X-Frame-Options using the ContentSecurityPolicy middleware.
9 years ago
andreimarcu
1e1c8caa53
Add /favicon.ico route
9 years ago
andreimarcu
8f7b47f572
Support remote uploads
9 years ago
andreimarcu
52cc3b4dff
Add fastcgi support and static cache headers
9 years ago
andreimarcu
ba73f4adf3
Fix static directory listing recursion
9 years ago
andreimarcu
2f5bf2cd65
Added pasteHandler and paste upload
9 years ago
andreimarcu
22818d86ce
Implement hotlink protection
9 years ago
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.
9 years ago
Matt Hazinski
51ccc2f6a4
Add delete method
9 years ago
andreimarcu
ae1933c93b
go.rice needs string literal
9 years ago
andreimarcu
2255716c7d
switch to mimemagic to avoid cgo
9 years ago
andreimarcu
56e305bfcc
go.rice now serves static and template files
9 years ago
andreimarcu
5f78fe6619
Added tests for uploads
9 years ago
andreimarcu
8c50d4322f
Added support for testing, removed uuid requirement
9 years ago
andreimarcu
c32a698cbc
upload expiry/barename respect, random fixes
9 years ago
andreimarcu
935db7c618
Fixed pdf/audio
9 years ago
Matt Hazinski
a10b838f4d
Add preliminary metadata support
9 years ago
andreimarcu
674c4be3e3
Never accept PRs without testing again
9 years ago
Matt Hazinski
11cb55232a
Make filesDir if it does not exist
9 years ago
andreimarcu
9b0385bf6f
Check if file exists and increment filename
9 years ago
andreimarcu
d98b63e8bd
Performance improvements, custom 404+500, -nologs, PUT uploads fix
9 years ago
andreimarcu
8caae56b39
json response + imported old drag and drop uploader
9 years ago
andreimarcu
acb124b7fb
Add template globals, disable template caching while debug
9 years ago
andreimarcu
d869599da7
Bare /static support, some css/templates import
9 years ago
andreimarcu
52b7e594f3
cleanup imports
9 years ago
andreimarcu
2dbe318b18
Initial commit
9 years ago