Commit Graph

123 Commits

Author SHA1 Message Date
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
Eliot Whalan 8f9a335488 Add missing slash 2016-06-23 11:43:40 +10:00
Eliot Whalan 4d1dd0a2a1 Create assets folder 2016-06-23 11:42:13 +10:00
Eliot Whalan 90f50948b8 Add asset handling 2016-06-23 11:37:58 +10:00
Eliot Whalan 166fbc804c Add static file serving 2016-06-23 11:25:12 +10:00
Eliot Whalan 52efd00f02 Add index page 2016-06-23 11:06:52 +10:00
Eliot Whalan be553d6609 Remove roothandler 2016-06-23 11:02:59 +10:00
Eliot Whalan 387d5f313b Rework to include form values 2016-06-23 11:00:33 +10:00
Eliot Whalan 0af4b7ad6b Correct deletion and syntax highlighing handling 2016-06-23 09:58:28 +10:00
Eliot Whalan 20fd1e7a44 Add pygments error handling 2016-06-23 09:55:08 +10:00
Eliot Whalan 7a19f86efe Try new url layout 2016-06-22 21:41:36 +10:00
Eliot Whalan be778751c1 Correct help url 2016-06-20 22:30:21 +10:00
Eliot Whalan ad2997d6d7 Add newline to delete reference 2016-06-19 17:56:22 +10:00
Eliot Whalan e583625c45 Add deletion key reference 2016-06-19 17:55:03 +10:00
Eliot Whalan 62f8f95525 Fix typo 2016-06-19 17:50:10 +10:00
Eliot Whalan 2e76f4c5b1 Add how to 2016-06-19 17:37:53 +10:00
Eliot Whalan 3c35238103 Add delete paste handling 2016-06-19 16:59:19 +10:00
Eliot Whalan 451f93977b Fix url variable location scope 2016-06-19 16:50:56 +10:00
Eliot Whalan d06d2046eb Fix missing comma 2016-06-19 16:50:00 +10:00
Eliot Whalan f7b2f47038 Correct return list 2016-06-19 16:49:22 +10:00
Eliot Whalan 05c3600bd8 Add pointer reference to database query results 2016-06-19 16:47:10 +10:00
Eliot Whalan 75155c5a31 Fix incorrect query 2016-06-19 16:45:52 +10:00
Eliot Whalan 9be88f83c2 Add dupe paste checking 2016-06-19 16:44:46 +10:00
Eliot Whalan 39edfebcdf Fix double package import 2016-06-19 16:39:56 +10:00
Eliot Whalan b39e67e2fb Change all databases to mysql 2016-06-19 16:31:36 +10:00
Eliot Whalan cce40aa67c Replace sqlite with mysql 2016-06-19 16:27:54 +10:00
Eliot Whalan 84e7f7e95c Add xml response 2016-06-19 16:17:28 +10:00
Eliot Whalan d9ccc888ec Add json output 2016-06-19 16:16:08 +10:00
Eliot Whalan 606b277e2e break up handlers 2016-06-19 14:36:00 +10:00
Eliot Whalan ab4bc10eaa Fix conflicting messages 2016-06-19 12:10:38 +10:00
Eliot Whalan 103ba4d6a2 Add sql no row handling 2016-06-19 11:57:35 +10:00
Eliot Whalan bfdb8c815a Remove filesystem saving and add sqlite support 2016-06-19 11:48:57 +10:00
Eliot Whalan 2f66eb58b5 Correct config info 2016-06-19 10:22:56 +10:00
Eliot Whalan 866417bc46 Fix incorrect header removal length 2016-06-19 10:17:35 +10:00
Eliot Whalan 2e92f21e24 Revert "Make syntax highlighting optional"
This reverts commit d597f04562.
2016-06-15 14:56:51 +10:00
Eliot Whalan 7bcd035ffe Make syntax highlighting optional 2016-06-15 14:32:51 +10:00
Eliot Whalan c28006cc84 Fix up error handling 2016-06-11 13:33:29 +10:00
Eliot Whalan a8b31ce373 Add line numbers 2016-06-11 13:16:31 +10:00
Eliot Whalan 2e3b194bcd Add in syntax highlighting 2016-06-11 13:09:28 +10:00
Eliot Whalan 9f9f6665f1 Modify variable names 2016-06-11 12:31:03 +10:00
Eliot Whalan 1c83f69879 Add proper error handling 2016-06-11 12:22:22 +10:00
Eliot Whalan e7c0922d7f Modify pastehandler to allow for shorter query urls 2016-06-11 12:13:37 +10:00
Eliot Whalan e197051c6e Remove fmt 2016-06-11 11:26:12 +10:00
Eliot Whalan 6abd70061d Add global constants 2016-06-11 11:22:19 +10:00
Eliot Whalan e328415343 Add GET request page 2016-06-11 00:29:22 +10:00
Eliot Whalan a32b275cd5 Fix up minor bugs and add more features 2016-06-11 00:17:27 +10:00
Eliot Whalan e17249cbe6 Setup simple webserver and get basic paste saving working 2016-06-10 23:56:42 +10:00