Commit Graph

38 Commits

Author SHA1 Message Date
Patrik Martinsson
eba04233d2 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
61a1916c51
Fix up syntax highlighting page issue 2016-10-26 15:12:52 +10:00
Eliot Whalan
eaf9d37e68
Solve incorrect import path for duration
https://github.com/ewhal/Pastebin/issues/4
2016-10-14 20:15:53 +10:00
Eliot Whalan
1bef4c8c83
Declare previously undeclared variable 2016-08-10 19:12:42 +10:00
Eliot Whalan
92bdcca42d
Fix up previous error 2016-08-10 19:11:48 +10:00
Eliot Whalan
51848b0d54
Remove unneeded variable 2016-08-10 19:01:30 +10:00
Eliot Whalan
7bbd887e52
Fix up incorrect variable name 2016-08-10 18:57:28 +10:00
Eliot Whalan
b7e1a556be
Improve api 2016-08-10 18:45:15 +10:00
Eliot Whalan
d4c3fcc41f
Add config file parsing 2016-07-20 08:34:20 +10:00
Eliot Whalan
1f7b3992b0
Add configuration file 2016-07-20 07:13:34 +10:00
Eliot Whalan
9a73530524
Rename package to main 2016-07-17 11:36:55 +10:00
Eliot Whalan
8e6780b3ac
Rename hash to sha1 2016-07-16 09:42:24 +10:00
Eliot Whalan
7888af82e6
Revert "update reademe and use flags"
This reverts commit 07a5f9e32b.
2016-07-15 15:11:35 +10:00
Eliot Whalan
07a5f9e32b
update reademe and use flags 2016-07-15 15:05:51 +10:00
Eliot Whalan
edf3f836e8
Add fallthrough 2016-07-15 14:42:51 +10:00
Eliot Whalan
fa91a2fa81
Reintroduce duration function 2016-07-15 14:42:14 +10:00
Eliot Whalan
9c87dbabed
Remove uncessary variable 2016-07-15 13:09:19 +10:00
Eliot Whalan
68205953c4
fix up expiry 2016-07-15 13:06:25 +10:00
Eliot Whalan
8c26aa72c0
Remove durationfromexpiry function 2016-07-15 12:41:42 +10:00
Eliot Whalan
5ae8540ad7
Use parseduration 2016-07-15 12:39:20 +10:00
Eliot Whalan
fcee4082ac
Rewrite DurationFromExpiry function 2016-07-15 12:12:09 +10:00
Eliot Whalan
fe6e5f15e6
Replace hash with sha1 2016-07-15 10:19:45 +10:00
Eliot Whalan
435ab89dfb
fix up godoc package name error 2016-07-14 15:52:18 +10:00
Eliot Whalan
95b3034486
Update docus 2016-07-14 15:46:29 +10:00
Eliot Whalan
04b7fcea81
Fix cli uploads 2016-07-12 18:33:19 +10:00
Eliot Whalan
3cddbf7c90
Make api more restful 2016-07-12 10:50:44 +10:00
Eliot Whalan
7a020e9c9a
Use log package 2016-07-10 12:24:09 +10:00
Eliot Whalan
312e7452a0
Force default to be text/plain 2016-07-09 14:44:48 +10:00
Eliot Whalan
0f510852f8
Force raw to be text/plain 2016-07-09 14:40:48 +10:00
Eliot Whalan
9e71bc7039
Force raw to be plain/text 2016-07-09 14:26:01 +10:00
Eliot Whalan
951361c25e
More comments, rename package to main and roothandler 2016-07-04 14:17:17 +10:00
Eliot Whalan
b2839aacfa
Document more code 2016-07-04 12:52:23 +10:00
Eliot Whalan
01e0959200
Fix up golint errors 2016-07-04 12:31:01 +10:00
Eliot Whalan
601a5d6ee1
Fix up golint errors 2016-07-04 12:29:59 +10:00
Eliot Whalan
741511897c
Reduce code for handling titles 2016-07-04 10:38:12 +10:00
Eliot Whalan
2d4d7034b0
Start writing documentation 2016-07-04 10:19:57 +10:00
Eliot Whalan
67e267d149
Rename package to pastebin 2016-07-04 10:06:47 +10:00
Eliot Whalan
321f189852
Rename main.go to pastebin.go 2016-07-04 10:06:24 +10:00