Commit Graph

96 Commits

Author SHA1 Message Date
Eliot Whalan 4ecfbd0c88 Escape and unescape title 2016-06-24 15:45:52 +10:00
Eliot Whalan 49b352b19a Fixup missing return value 2016-06-24 15:33:14 +10:00
Eliot Whalan dc1ad54fa3 Add title support 2016-06-24 15:32:20 +10:00
Eliot Whalan da55f3847c Add title 2016-06-24 15:24:15 +10:00
Eliot Whalan 5e25d4cc88 Add clone paste handler 2016-06-24 12:59:29 +10:00
Eliot Whalan ac2eb12dfb Add download button 2016-06-24 12:17:23 +10:00
Eliot Whalan 36675bc4ff Add content headers 2016-06-24 12:10:54 +10:00
Eliot Whalan 0c8ff3ea04 Fixup download handler 2016-06-24 12:05:14 +10:00
Eliot Whalan 98ded1615a Add download handler 2016-06-24 11:46:50 +10:00
Eliot Whalan cb27aab401 Correct template name 2016-06-24 11:24:24 +10:00
Eliot Whalan a31b02e352 Add index.html to template cache 2016-06-24 11:22:48 +10:00
Eliot Whalan a3d5f547d3 Cache templates 2016-06-24 11:16:58 +10:00
Eliot Whalan e1f18e7ef0 Revert to fprintf 2016-06-24 11:06:29 +10:00
Eliot Whalan 7b7995dcab Add missing handler functions 2016-06-24 11:04:26 +10:00
Eliot Whalan a778ffdd33 Move from fprintf to write 2016-06-24 11:01:23 +10:00
Eliot Whalan 8da5425ada Introduce clone and download functions 2016-06-24 08:11:30 +10:00
Eliot Whalan 552dffe453 Add home to struct 2016-06-23 21:00:46 +10:00
Eliot Whalan 82d977eb85 Add more buttons and add row div 2016-06-23 20:59:12 +10:00
Eliot Whalan e49ddf6cef Add noclasses variable to pygments 2016-06-23 20:47:45 +10:00
Eliot Whalan b692b2fba8 Fixup incorrecr variable 2016-06-23 20:43:59 +10:00
Eliot Whalan 5c9c3ef187 Try syntax highlighting 2016-06-23 20:41:45 +10:00
Eliot Whalan 673e6ceb4e Reintroduce textarea 2016-06-23 20:19:48 +10:00
Eliot Whalan 2bdada3d66 Bring back print statement part 2 2016-06-23 20:15:13 +10:00
Eliot Whalan b4ee4a69c3 Make body string type 2016-06-23 19:58:29 +10:00
Eliot Whalan f5d8e82b98 Remove full page option and textarea 2016-06-23 19:24:18 +10:00
Eliot Whalan a005f48a1b Rework syntax highlighting 2016-06-23 19:21:37 +10:00
Eliot Whalan c30471c8bf Fix up struct error 2016-06-23 19:11:40 +10:00
Eliot Whalan f447299214 Add raw link 2016-06-23 19:10:36 +10:00
Eliot Whalan c63d5027af Redirect traffic to the stylized paste page 2016-06-23 19:06:24 +10:00
Eliot Whalan 0f156c1789 Correct file name 2016-06-23 19:00:53 +10:00
Eliot Whalan 4ddc5c59f5 Template bug fix 2016-06-23 19:00:17 +10:00
Eliot Whalan 97b99b06df Remove plain/text header 2016-06-23 18:59:05 +10:00
Eliot Whalan b6973eddb0 Correct asset file name 2016-06-23 18:57:00 +10:00
Eliot Whalan 0c3417b1c7 Add raw paste view 2016-06-23 18:40:20 +10:00
Eliot Whalan 7f6ae1bcc7 Fix up empty paste bug 2016-06-23 14:57:07 +10:00
Eliot Whalan b866d1a700 Remove unused variable 2016-06-23 14:01:29 +10:00
Eliot Whalan df1930fd7c Remove unused variable 2016-06-23 14:00:59 +10:00
Eliot Whalan 4152ed5eaa fixup deletion handler more 2016-06-23 14:00:27 +10:00
Eliot Whalan 6612a72e9f Fix deletion function 2016-06-23 13:58:15 +10:00
Eliot Whalan 30ef779b14 Add missing slash 2016-06-23 13:55:09 +10:00
Eliot Whalan 15c0a93ced Fixup deletion link 2016-06-23 13:53:08 +10:00
Eliot Whalan dbf677ccf8 Remove br tag 2016-06-23 13:51:59 +10:00
Eliot Whalan 68fb6aeebc remove pointless information in html response 2016-06-23 13:51:07 +10:00
Eliot Whalan 6660ecf1b6 Fix spacing in html response type 2016-06-23 13:49:52 +10:00
Eliot Whalan a53c3b814b Correct html error 2016-06-23 13:46:36 +10:00
Eliot Whalan 11e59f31b6 Add html output type 2016-06-23 13:45:00 +10:00
Eliot Whalan 2d827f5b64 Declare url outside of if else statement 2016-06-23 13:22:57 +10:00
Eliot Whalan e4138172af Add missing slash 2016-06-23 13:20:48 +10:00
Eliot Whalan 2b6d33bda0 Add lang handling 2016-06-23 13:19:50 +10:00
Eliot Whalan 6abfd68c13 Add missing slashes and tidy stuff up 2016-06-23 11:46:50 +10:00