Commit Graph

417 Commits

Author SHA1 Message Date
Jacob Melton c22e314d80 Add a check to see if we already hit EOF on Read 2015-09-30 10:58:49 -04:00
andreimarcu 8a1b688b3c Remove error 2015-09-30 00:59:19 -04:00
andreimarcu 2f5bf2cd65 Added pasteHandler and paste upload 2015-09-30 00:56:51 -04:00
andreimarcu fd75607652 Added /paste/ 2015-09-30 00:46:58 -04:00
andreimarcu 751de1d176 Merge branch 'mutantmonkey-torrent' 2015-09-29 23:36:10 -04:00
andreimarcu 5b91993677 Add torrent generation 2015-09-29 23:35:25 -04:00
andreimarcu 0efcbbb480 Requesting display url with accept json. Fixes #9 2015-09-29 23:24:17 -04:00
mutantmonkey 31aa0d666b add torrent test for binary data 2015-09-29 20:13:14 -07:00
mutantmonkey baca561f06 fix torrent creation for binary data and refactor 2015-09-29 20:12:50 -07:00
andreimarcu 2565e85445 Who uses .jpeg anymore? 2015-09-29 22:14:07 -04:00
andreimarcu cf39a98cdd Formatting 2015-09-29 22:12:02 -04:00
Andrei Marcu f1135085c2 Merge pull request #14 from Uncurlhalo/add-mime-detection
Assign extention based on mimetype if empty extension
2015-09-29 22:10:19 -04:00
Jacob Melton 2ef8546864 Add basic MIME detection support 2015-09-29 22:01:55 -04:00
andreimarcu 22818d86ce Implement hotlink protection 2015-09-29 19:28:10 -04:00
andreimarcu 02f86da3c7 Display expiry and size info 2015-09-29 19:00:16 -04:00
mutantmonkey df09b005de use oopsHandler instead of panicking on error 2015-09-29 08:41:42 -07:00
mutantmonkey b81477c1d3 fix go vet complaint in torrent_test.go 2015-09-28 23:04:20 -07:00
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.
2015-09-28 22:58:14 -07:00
andreimarcu 0caadefa06 No need for sudo since we got rid of that library 2015-09-29 00:42:56 -04:00
andreimarcu 738bf25f44 Test deletion key 2015-09-29 00:32:16 -04:00
Andrei Marcu c7e679039a Merge pull request #12 from matthazinski/delete
Add delete method
2015-09-29 00:13:38 -04:00
Matt Hazinski 1064db8577 Remove image from 401 page 2015-09-29 00:03:20 -04:00
andreimarcu e41d80dc96 Updated README and license 2015-09-28 23:46:50 -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 b3f460e417 Change license to AGPL 2015-09-28 18:53:30 -04:00
andreimarcu f0b1a8e47b Cleanup artifacts 2015-09-28 16:17:32 -04:00
andreimarcu 084c267112 Fix go vet complaints and use go 1.5 for travis 2015-09-28 16:12:15 -04:00
andreimarcu 5f78fe6619 Added tests for uploads 2015-09-28 16:02:03 -04:00
andreimarcu ca0754725b Respect filename format 2015-09-28 12:53:07 -04:00
andreimarcu 4599e055e5 Portability 2015-09-28 12:35:11 -04:00
andreimarcu 8c50d4322f Added support for testing, removed uuid requirement 2015-09-28 12:30:21 -04:00
andreimarcu ae451bb974 Added build status to README 2015-09-28 00:41:37 -04:00
andreimarcu bfcc75f2ed Needs libmagic-dev 2015-09-28 00:39:53 -04:00
andreimarcu 68d2cd3e4c Added .travis.yml 2015-09-28 00:34:46 -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
Andrei Marcu d2c7be17c0 Merge pull request #6 from matthazinski/metadata
Add preliminary metadata support
2015-09-27 22:57:12 -04:00
Matt Hazinski a10b838f4d Add preliminary metadata support 2015-09-27 22:43:41 -04:00
andreimarcu 19070b6bfd Added audio and pdf templates 2015-09-27 22:16:50 -04:00
andreimarcu 674c4be3e3 Never accept PRs without testing again 2015-09-26 07:50:33 -04:00
andreimarcu 6ca4579e34 Switch to new uuid repo 2015-09-26 07:47:46 -04:00
Andrei Marcu 819cf396d5 Merge pull request #5 from matthazinski/make_filesdir
Make filesDir if it does not exist
2015-09-25 22:13:54 -04:00
Matt Hazinski 11cb55232a Make filesDir if it does not exist 2015-09-25 22:03:23 -04:00
andreimarcu 2de19e0daa Add irc channel on readme 2015-09-25 21:49:33 -04:00
Andrei Marcu 91eb0b2659 Merge pull request #4 from matthazinski/master
Update .gitignore
2015-09-25 21:35:19 -04:00
Matt Hazinski a8117de38d Update .gitignore 2015-09-25 20:40:39 -04:00
andreimarcu 9b0385bf6f Check if file exists and increment filename 2015-09-25 12:47:55 -04:00