Commit Graph

19 Commits

Author SHA1 Message Date
andreimarcu
22818d86ce Implement hotlink protection 2015-09-29 19:28:10 -04:00
Matt Hazinski
51ccc2f6a4 Add delete method 2015-09-28 23:46:43 -04:00
andreimarcu
ae1933c93b go.rice needs string literal 2015-09-28 21:58:50 -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
5f78fe6619 Added tests for uploads 2015-09-28 16:02:03 -04:00
andreimarcu
8c50d4322f Added support for testing, removed uuid requirement 2015-09-28 12:30:21 -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
Matt Hazinski
a10b838f4d Add preliminary metadata support 2015-09-27 22:43:41 -04:00
andreimarcu
674c4be3e3 Never accept PRs without testing again 2015-09-26 07:50:33 -04:00
Matt Hazinski
11cb55232a Make filesDir if it does not exist 2015-09-25 22:03:23 -04:00
andreimarcu
9b0385bf6f Check if file exists and increment filename 2015-09-25 12:47:55 -04:00
andreimarcu
d98b63e8bd Performance improvements, custom 404+500, -nologs, PUT uploads fix 2015-09-25 12:00:14 -04:00
andreimarcu
8caae56b39 json response + imported old drag and drop uploader 2015-09-25 00:58:38 -04:00
andreimarcu
acb124b7fb Add template globals, disable template caching while debug 2015-09-24 23:21:42 -04:00
andreimarcu
d869599da7 Bare /static support, some css/templates import 2015-09-24 16:04:51 -04:00
andreimarcu
52b7e594f3 cleanup imports 2015-09-24 02:08:44 -04:00
andreimarcu
2dbe318b18 Initial commit 2015-09-24 01:44:49 -04:00