patchon
b877650e3d
Initial commit of Pastebin fork
...
This commit is quite big rewrite and individual commits for each feature is
unfortunately not available. This fork introduces quite a lot of new features,
and possibly while doing so, some bugs as well. Nonetheless the features
introduced are listed below.
- Support for multiple database backends (sqlite3, postgresql and mysql are now
supported). Configurations options like dbname/tablename/ports/adresses/etc.
are supported as well.
- Support for dynamically adding lexers (languages) and styles (themes) from
pygments. This means no manual configuration depending on where the
installation is done. There is however a way of adding "prioritized" lexers.
This feature can be nice to use sine pygments now days support hundreds of
languages, some more common than others. Simply add the "display name" for
each lexer you want to prioritize in the file 'assets/prio-lexers' and they
will show up first in the list when the user selects languages.
- Support for changing styles and lexers directly from the webgui on the fly
(no reload of the page, just content update).
- Support for row-highlightning (on/off) and rownumbers (show/hide).
- Support for showing information about when paste expires.
- Support for goo.gl-shortener.
- Extreme debugging.
2016-12-19 19:43:37 +01:00
Eliot Whalan
a70027b1bd
Merge branch 'master' of https://github.com/ewhal/Pastebin
2016-10-26 15:13:17 +10:00
Eliot Whalan
61a1916c51
Fix up syntax highlighting page issue
2016-10-26 15:12:52 +10:00
Eliot Whalan
3537c53866
Update README.md
2016-10-20 10:29:31 +10:00
Eliot Whalan
210c2c7bdc
Update README.md
2016-10-20 10:27:54 +10:00
Eliot Whalan
589527439a
Update README.md
2016-10-20 10:25:33 +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
09f311a012
Update README.md
2016-08-26 14:36:37 +10:00
Eliot Whalan
b2a8b4d240
Fix up html templates again
2016-08-10 19:18:24 +10:00
Eliot Whalan
1b6b8c2c59
Fix up api endpoint examples
2016-08-10 19:15:50 +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
ea7c00855f
Update forms
2016-08-10 18:46:04 +10:00
Eliot Whalan
b7e1a556be
Improve api
2016-08-10 18:45:15 +10:00
Eliot Whalan
8f7528cbc6
Update readme
2016-07-20 08:36:25 +10:00
Eliot Whalan
d4c3fcc41f
Add config file parsing
2016-07-20 08:34:20 +10:00
Eliot Whalan
25c3304b78
Merge branch 'master' of github.com:ewhal/Pastebin
2016-07-20 07:13:51 +10:00
Eliot Whalan
1f7b3992b0
Add configuration file
2016-07-20 07:13:34 +10:00
Eliot Whalan
c9f1646033
Update README.md
2016-07-18 07:33:26 +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
402b16fe18
Update makefile
2016-07-15 15:13:59 +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
ba1ae34465
Update travis ci
2016-07-15 14:27:11 +10:00
Eliot Whalan
00e041a843
Fix up expiry options
2016-07-15 13:48:58 +10:00
Eliot Whalan
6ddd2b06d2
Try fixing up duration parsing again
2016-07-15 13:13:50 +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
bb5d97afe6
Merge branch 'master' of github.com:ewhal/Pastebin
2016-07-14 15:47:07 +10:00
Eliot Whalan
95b3034486
Update docus
2016-07-14 15:46:29 +10:00
Eliot Whalan
db6197b17b
Update README.md
2016-07-14 13:21:20 +10:00
Eliot Whalan
e59e2c443b
Update makefile
2016-07-14 12:09:25 +10:00
Eliot Whalan
a1311ce1b5
More updates to readme
2016-07-14 12:04:03 +10:00
Eliot Whalan
1157ca415a
Rename LICENSE file
2016-07-14 11:57:22 +10:00
Eliot Whalan
17c41cdaf4
Rename LICENSE file
2016-07-14 11:57:07 +10:00
Eliot Whalan
6093913ec6
Update readme
2016-07-14 11:53:57 +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
c8ecc0c312
Reorder forever to be at the bottom
2016-07-12 07:15:36 +10:00
Eliot Whalan
7a020e9c9a
Use log package
2016-07-10 12:24:09 +10:00