Commit Graph

26 Commits

Author SHA1 Message Date
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