32 Commits

Author SHA1 Message Date
James Mills
773a608ba6 Fix import paths 2021-07-13 08:31:38 +10:00
Tai Groot
1d522cc054 Add delete functionality (#13) 2021-04-21 07:25:57 +10:00
Tai Groot
12afabdad2 Enables returning url for "Accept: text/plain" (#14)
* Update dependencies and go compile target version

* Adds deletion support to the server

* Add form around delete button

* Add support for returning the url in curl

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2021-04-20 23:22:10 +10:00
Tai Groot
5ade7a0642 Fix pb utility (#16)
* Update dependencies and go compile target version

* Adds deletion support to the server

* Add form around delete button

* Add support for returning the url in curl

* remove -config option for now

* Upload as form value instead of file

* remove dependencies from go mod

* update to README re: new curl usage
2021-04-20 23:20:39 +10:00
Tai Groot
1c454dc629 Update dependencies and go compile target version (#10) 2021-04-13 12:45:44 +10:00
James Mills
c01a326d26 Update .gitignore 2021-04-09 21:41:50 +10:00
James Mills
93cce3bc87 Fix paste handler and uuid collision (Fixes #9) 2021-04-09 21:35:57 +10:00
Aleksey Lobanov
10645aa3a5 docker: Multistage Docker build (#6)
Reducing image size approximately from 341MB to 16MB
2020-12-06 20:54:16 +10:00
Tai Groot
ead67c221f updates dockerfile to work with latest golang, adds .dockerignore, fixes CI (#4)
* adds support for https://github.com/golang/go/issues/32479

* updated dockerfile to work with latest golang, added .dockerignore
2020-10-15 16:41:45 +10:00
James Mills
f72073e6ef Convert tabs to spaces when displaying 2019-07-11 22:59:40 +10:00
James Mills
d6539016d4 Fix Drone CI config 2019-07-11 22:42:44 +10:00
James Mills
648e899e9f Add Drone CI config 2019-07-11 22:26:21 +10:00
James Mills
434b89e3cc Fix install instructions 2019-07-11 22:17:05 +10:00
James Mills
d9f9e77b6b Improve README 2019-07-11 22:13:25 +10:00
James Mills
fd6a5615f0 Fix Makefile 2019-07-11 22:11:33 +10:00
James Mills
5cab47c0e5 Switch to Go11Modules 2019-07-11 22:11:33 +10:00
James Mills
eaa9f9d205 Set theme jekyll-theme-hacker 2019-04-13 13:50:06 +10:00
James Mills
e81328c53e Fixed POST handler 2018-05-17 14:51:39 -07:00
James Mills
25bcbac05f Fixed LICENSE 2017-07-11 01:03:54 -07:00
James Mills
4471d00714 Updated README 2017-07-09 13:36:19 -07:00
James Mills
acf25c9389 Updated README 2017-07-09 13:17:16 -07:00
James Mills
f8b5ce3e9c Shorten the view URI to /p/... 2017-07-09 11:25:50 -07:00
James Mills
52802aff70 Removed some cruft 2017-07-09 10:18:41 -07:00
James Mills
0069622991 Fixed index template name 2017-07-09 10:09:10 -07:00
James Mills
b14f88c8d0 Ooops 2017-07-09 01:58:01 -07:00
James Mills
3e081f0aa0 Refacted, new look and raw download feature 2017-07-09 01:57:21 -07:00
James Mills
47ef82966c Fixed config tests 2017-07-06 22:42:04 -07:00
James Mills
89269b7aad Added metrics, stats and logging 2017-07-06 01:33:31 -07:00
James Mills
84159c33bf Add a CLI tool for easily interacting with pastebin 2017-07-04 01:37:59 -07:00
James Mills
61b79025e8 Support content negotation for text/html and text/plain 2017-07-03 01:46:08 -07:00
James Mills
43a32970d3 Repsect -expiry configuration 2017-07-02 23:57:32 -07:00
James Mills
3c42d7d878 Initial Commit 2017-07-02 23:42:34 -07:00