Andrei Marcu
6ce2bd6b9f
Display pages: Add OpenGraph tags for media
2020-05-14 01:12:24 -07:00
Andrei Marcu
7212cd6555
Highlight.js: Update and add languages
2020-03-12 16:35:50 -07:00
Viktor Oreshkin
b63274ad01
allow limiting access by passwords ( fix #194 )
2020-02-17 18:02:47 +03:00
Andrei Marcu
cde964ffe0
Hide filename input when force random is on
2019-01-26 02:12:49 -08:00
mutantmonkey
5d9a93b1e2
Add S3 backend ( #156 )
2019-01-24 23:33:11 -08:00
Andrei Marcu
b731e17c1e
Cosmetic tweaks & fixes
2019-01-16 02:27:05 -08:00
Andrei Marcu
e506304b84
Return direct URL in json responses
2019-01-14 15:28:32 -08:00
Andrei Marcu
1fb92ffce3
Fix bug where using curl with json headers would return the file instead
2019-01-14 15:28:28 -08:00
mutantmonkey
5f4f16e08b
Add file ETag support ( fix #138 ) ( #152 )
2019-01-08 20:28:01 -08:00
mutantmonkey
10938a3e0b
Remove Google URL shortener ( fix #146 ) ( #150 )
2019-01-08 11:56:32 -08:00
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.
2018-11-07 10:13:27 -08:00
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.
2017-05-01 21:27:28 -07:00
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.
2016-07-07 19:34:53 -07:00
Atrox
027f5cce42
Add ability to short urls for uploaded content ( #85 )
...
Add ability to short urls for uploaded content
2016-06-15 08:42:57 -07:00
andreimarcu
47a1aa6396
Infer sitename from Host if empty
2016-06-14 23:21:39 -07: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
andreimarcu
5dcfca5f74
Order matters no. 2
2015-12-04 00:19:33 -05:00
andreimarcu
7c1a4640db
Order matters!
2015-12-02 14:58:48 -05:00
andreimarcu
10d30df81f
Fix out of bounds error
2015-11-12 01:04:05 -05:00
andreimarcu
07aaad2cd8
Match more text mimetypes
2015-10-28 15:55:56 -04:00
andreimarcu
294e8d8be2
Better text detection
2015-10-28 15:21:54 -04:00
andreimarcu
c77f8285d4
Fix/implement .story
2015-10-15 12:24:23 -04:00
andreimarcu
6e33fe6ac8
Metadata holds mimetype, sha256sum, archiveFiles
2015-10-07 22:45:34 -04:00
andreimarcu
d05f0b645b
Display contents of common archives. Fixes #34
2015-10-07 16:45:41 -04:00
andreimarcu
edfb80daac
Markdown display handler. Fixes #33
2015-10-07 15:00:42 -04:00
andreimarcu
9640e2c7ce
Tests + fixes
2015-10-07 03:00:03 -04:00
George Burgess IV
1e421e07cd
swap to using time types instead of ints
2015-10-05 23:50:20 -07:00
andreimarcu
d40803f165
More verbose errors
2015-10-04 12:47:20 -04:00
andreimarcu
d55cf33a5d
Add support for pastebin display
2015-09-30 12:06:23 -04:00
andreimarcu
0efcbbb480
Requesting display url with accept json. Fixes #9
2015-09-29 23:24:17 -04:00
andreimarcu
02f86da3c7
Display expiry and size info
2015-09-29 19:00:16 -04:00
andreimarcu
2255716c7d
switch to mimemagic to avoid cgo
2015-09-28 21:41:07 -04:00
andreimarcu
56e305bfcc
go.rice now serves static and template files
2015-09-28 20:46:58 -04:00
andreimarcu
c32a698cbc
upload expiry/barename respect, random fixes
2015-09-28 00:25:57 -04:00
andreimarcu
935db7c618
Fixed pdf/audio
2015-09-27 23:07:15 -04:00
andreimarcu
d98b63e8bd
Performance improvements, custom 404+500, -nologs, PUT uploads fix
2015-09-25 12:00:14 -04:00
andreimarcu
acb124b7fb
Add template globals, disable template caching while debug
2015-09-24 23:21:42 -04:00
Jacob Melton
2cf3f14477
Add basic video support
...
Additionally use filePath instead of absPath, and fileName instead of
filename.
2015-09-24 22:47:37 -04:00
andreimarcu
2dbe318b18
Initial commit
2015-09-24 01:44:49 -04:00