mutantmonkey
7a38b6e0df
Rework storage backends to integrate metadata
6 years ago
mutantmonkey
5f4f16e08b
Add file ETag support ( fix #138 ) ( #152 )
6 years ago
mutantmonkey
10938a3e0b
Remove Google URL shortener ( fix #146 ) ( #150 )
6 years ago
Thor77
5d8a0ef605
Serve file directly for curl and wget user agents ( #145 )
* Serve file directly for curl and wget user agents
Fix #127
* Add test for get with wget user agent
* Add -nodirectagents flag
to disable serving files directly for wget/curl user agents
* Fix TestPutAndGetCLI failing for Go 1.5
It failed because it doesn't include the Content-Type header for every
response.
6 years ago
mutantmonkey
b7fadd9676
Add linx-cleanup tool
This doesn't completely fix #116 , but it makes setting up a cron job to
do cleanup much more pleasant.
8 years ago
mutantmonkey
93d37002dd
remove unnecessary file processing in display.go
There is no need to open the file here; nothing is done with the header
after it is read.
9 years ago
Atrox
027f5cce42
Add ability to short urls for uploaded content ( #85 )
Add ability to short urls for uploaded content
9 years ago
andreimarcu
47a1aa6396
Infer sitename from Host if empty
9 years ago
mutantmonkey
fcd18eceec
use abstracted storage for flexibility
I moved the storage functionality into the StorageBackend interface,
which is currently only implemented by LocalfsBackend.
9 years ago
andreimarcu
5dcfca5f74
Order matters no. 2
9 years ago
andreimarcu
7c1a4640db
Order matters!
9 years ago
andreimarcu
10d30df81f
Fix out of bounds error
9 years ago
andreimarcu
07aaad2cd8
Match more text mimetypes
9 years ago
andreimarcu
294e8d8be2
Better text detection
9 years ago
andreimarcu
c77f8285d4
Fix/implement .story
9 years ago
andreimarcu
6e33fe6ac8
Metadata holds mimetype, sha256sum, archiveFiles
10 years ago
andreimarcu
d05f0b645b
Display contents of common archives. Fixes #34
10 years ago
andreimarcu
edfb80daac
Markdown display handler. Fixes #33
10 years ago
andreimarcu
9640e2c7ce
Tests + fixes
10 years ago
George Burgess IV
1e421e07cd
swap to using time types instead of ints
10 years ago
andreimarcu
d40803f165
More verbose errors
10 years ago
andreimarcu
d55cf33a5d
Add support for pastebin display
10 years ago
andreimarcu
0efcbbb480
Requesting display url with accept json. Fixes #9
10 years ago
andreimarcu
02f86da3c7
Display expiry and size info
10 years ago
andreimarcu
2255716c7d
switch to mimemagic to avoid cgo
10 years ago
andreimarcu
56e305bfcc
go.rice now serves static and template files
10 years ago
andreimarcu
c32a698cbc
upload expiry/barename respect, random fixes
10 years ago
andreimarcu
935db7c618
Fixed pdf/audio
10 years ago
andreimarcu
d98b63e8bd
Performance improvements, custom 404+500, -nologs, PUT uploads fix
10 years ago
andreimarcu
acb124b7fb
Add template globals, disable template caching while debug
10 years ago
Jacob Melton
2cf3f14477
Add basic video support
Additionally use filePath instead of absPath, and fileName instead of
filename.
10 years ago
andreimarcu
2dbe318b18
Initial commit
10 years ago