Commit Graph

232 Commits

Author SHA1 Message Date
Eliot Whalan eb3cbb4406 Update travis ci 2016-07-15 14:27:11 +10:00
Eliot Whalan 7792941262 Fix up expiry options 2016-07-15 13:48:58 +10:00
Eliot Whalan 29d7fdf116 Try fixing up duration parsing again 2016-07-15 13:13:50 +10:00
Eliot Whalan 8e211a36a3 Remove uncessary variable 2016-07-15 13:09:19 +10:00
Eliot Whalan e86b94784d fix up expiry 2016-07-15 13:06:25 +10:00
Eliot Whalan 99bcfa067f Remove durationfromexpiry function 2016-07-15 12:41:42 +10:00
Eliot Whalan 277cfdefff Use parseduration 2016-07-15 12:39:20 +10:00
Eliot Whalan 5242324a60 Rewrite DurationFromExpiry function 2016-07-15 12:12:09 +10:00
Eliot Whalan 20e636620d Replace hash with sha1 2016-07-15 10:19:45 +10:00
Eliot Whalan f1ba785e38 fix up godoc package name error 2016-07-14 15:52:18 +10:00
Eliot Whalan 4eb9ba2cea Merge branch 'master' of github.com:ewhal/Pastebin 2016-07-14 15:47:07 +10:00
Eliot Whalan 47a9084942 Update docus 2016-07-14 15:46:29 +10:00
Eliot Whalan 49f1c1b382 Update README.md 2016-07-14 13:21:20 +10:00
Eliot Whalan 69faa3d86c Update makefile 2016-07-14 12:09:25 +10:00
Eliot Whalan 13eeaed8ce More updates to readme 2016-07-14 12:04:03 +10:00
Eliot Whalan 5ac5cf1c91 Rename LICENSE file 2016-07-14 11:57:22 +10:00
Eliot Whalan 8b946b0fdf Rename LICENSE file 2016-07-14 11:57:07 +10:00
Eliot Whalan 9e71a863e5 Update readme 2016-07-14 11:53:57 +10:00
Eliot Whalan 5565d878f7 Fix cli uploads 2016-07-12 18:33:19 +10:00
Eliot Whalan a2503d4b98 Make api more restful 2016-07-12 10:50:44 +10:00
Eliot Whalan 1ac4e9da64 Reorder forever to be at the bottom 2016-07-12 07:15:36 +10:00
Eliot Whalan 280fa3d021 Use log package 2016-07-10 12:24:09 +10:00
Eliot Whalan 7e02cd4ecd Force default to be text/plain 2016-07-09 14:44:48 +10:00
Eliot Whalan 9194c440ae Force raw to be text/plain 2016-07-09 14:40:48 +10:00
Eliot Whalan 005cdfac12 Force raw to be plain/text 2016-07-09 14:26:01 +10:00
Eliot Whalan 58052b5a9f More comments, rename package to main and roothandler 2016-07-04 14:17:17 +10:00
Eliot Whalan 676fac4b2e Document more code 2016-07-04 12:52:23 +10:00
Eliot Whalan ef58257857 Update readme 2016-07-04 12:33:43 +10:00
Eliot Whalan 2b856ba39c Fix up golint errors 2016-07-04 12:31:01 +10:00
Eliot Whalan 24bb024c18 Fix up golint errors 2016-07-04 12:29:59 +10:00
Eliot Whalan 3e92d60ad1 Reduce code for handling titles 2016-07-04 10:38:12 +10:00
Eliot Whalan 55fc7e2e9c Start writing documentation 2016-07-04 10:19:57 +10:00
Eliot Whalan 7a8cd0d657 Rename package to pastebin 2016-07-04 10:06:47 +10:00
Eliot Whalan 54c3d864e8 Rename main.go to pastebin.go 2016-07-04 10:06:24 +10:00
Eliot Whalan 34b1065736 Reduce code for lang 2016-07-04 10:04:37 +10:00
Eliot Whalan 9d97f561c2 Change db.close to defer db.close 2016-07-04 10:03:22 +10:00
Eliot Whalan cf42af990a Save function return response struct 2016-07-04 10:02:06 +10:00
Eliot Whalan d87b462b1d Create paste duratation function 2016-07-04 09:59:31 +10:00
Eliot Whalan b5ece561b5 Merge pull request #1 from felixonmars/patch-1
Add missing name for paste body field on clone page
2016-06-30 07:47:37 +10:00
Felix Yan 6b18baf7c6 Add missing name for paste body field on clone page
The `name="p"` part is present in index but not the clone page. Without the change I am getting "Empty paste" when submitting any paste from the clone page.
2016-06-29 11:12:06 -05:00
Eliot Whalan 0c252c3c4b Revert "Fix up css for syntax page"
This reverts commit 5afb1564ce.
2016-06-28 22:54:41 +10:00
Eliot Whalan 9fa1fa73fe Revert "Try again"
This reverts commit 7658c76460.
2016-06-28 22:54:34 +10:00
Eliot Whalan 69c66a7557 Try again 2016-06-28 22:53:35 +10:00
Eliot Whalan 3ff9dd740d Fix up css for syntax page 2016-06-28 22:51:33 +10:00
Eliot Whalan 032f910981 Fixup missing variable name 2016-06-28 10:56:44 +10:00
Eliot Whalan 45f160e1f1 Improve variable names 2016-06-28 08:10:20 +10:00
Eliot Whalan 8796dfe73b Make id and delkey required for sql query 2016-06-28 08:07:55 +10:00
Eliot Whalan f45c5396b7 Remove setup function call 2016-06-27 08:11:24 +10:00
Eliot Whalan 73bbfb2f14 Revert "Only open db once"
This reverts commit c698f36a86.
2016-06-27 08:09:34 +10:00
Eliot Whalan 91782a7ef5 Fix incorrect db 2016-06-27 07:51:00 +10:00