825fffe502
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 =)
17 lines
388 B
JSON
17 lines
388 B
JSON
{
|
|
"address": "http://localhost:9999",
|
|
"dbhost": "",
|
|
"dbname": "pastebin.db",
|
|
"dbtable": "pastebin",
|
|
"dbtype": "sqlite3",
|
|
"dbport": "",
|
|
"dbuser":"",
|
|
"dbpassword":"",
|
|
"displayname": "MyCompany",
|
|
"listenaddress": "localhost",
|
|
"listenport": "9999",
|
|
"shorturllength": "5",
|
|
"highlighter":"./highlighter-wrapper.py",
|
|
"googleAPIKey":"insert-if-you-want-goo.gl/addr"
|
|
}
|