Jimmy Tang
4a50d1b19f
Make highlighter script work with python3 and log a better error than
...
just the exit code when the highlighter fails
2016-12-19 13:37:36 +00:00
Patrik Martinsson
825fffe502
Initial commit of pastebin fork
...
It's quite big rewrite and indivdual commits are not available since
its so big. Introducing features like,
- Support for multiple database backends and configurations like
dbname/tablename/ports/adresses/etc.
- Support for dynamically adding languages and lexers from pygments,
autodetection of language is also supported.
- Support for changing styles (and languages) on the fly, also row-highlightning
and rownumbers.
- Support for showing information about when paste expires.
- Support for goo.gl-shortener.
- Extreme debugging =)
- Probably added a few bugs in there as well =)
2016-12-18 15:12:24 +01:00
Eliot Whalan
cb3ba3044a
Fix up syntax highlighting page issue
2016-10-26 15:12:52 +10:00
Eliot Whalan
a1e19c2966
Solve incorrect import path for duration
...
https://github.com/ewhal/Pastebin/issues/4
2016-10-14 20:15:53 +10:00
Eliot Whalan
ea2e485638
Declare previously undeclared variable
2016-08-10 19:12:42 +10:00
Eliot Whalan
9a0d625da4
Fix up previous error
2016-08-10 19:11:48 +10:00
Eliot Whalan
7d9133008a
Remove unneeded variable
2016-08-10 19:01:30 +10:00
Eliot Whalan
13fa84be3a
Fix up incorrect variable name
2016-08-10 18:57:28 +10:00
Eliot Whalan
b99c59b130
Improve api
2016-08-10 18:45:15 +10:00
Eliot Whalan
b534c2e4e3
Add config file parsing
2016-07-20 08:34:20 +10:00
Eliot Whalan
951bb8f2c5
Add configuration file
2016-07-20 07:13:34 +10:00
Eliot Whalan
e55c76a654
Rename package to main
2016-07-17 11:36:55 +10:00
Eliot Whalan
8d3a6bcd35
Rename hash to sha1
2016-07-16 09:42:24 +10:00
Eliot Whalan
0734ad5189
Revert "update reademe and use flags"
...
This reverts commit 07a5f9e32b
.
2016-07-15 15:11:35 +10:00
Eliot Whalan
3a8b83f434
update reademe and use flags
2016-07-15 15:05:51 +10:00
Eliot Whalan
1dbd948eec
Add fallthrough
2016-07-15 14:42:51 +10:00
Eliot Whalan
65624b1874
Reintroduce duration function
2016-07-15 14:42:14 +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
47a9084942
Update docus
2016-07-14 15:46:29 +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
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
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