patchon
5a0b1f5d4d
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
83021f4a2d
Merge branch 'master' of https://github.com/ewhal/Pastebin
2016-10-26 15:13:17 +10:00
Eliot Whalan
cb3ba3044a
Fix up syntax highlighting page issue
2016-10-26 15:12:52 +10:00
Eliot Whalan
45ae9f2d44
Update README.md
2016-10-20 10:29:31 +10:00
Eliot Whalan
e7cbd71170
Update README.md
2016-10-20 10:27:54 +10:00
Eliot Whalan
91f9aa56f0
Update README.md
2016-10-20 10:25:33 +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
7f2f0b357f
Update README.md
2016-08-26 14:36:37 +10:00
Eliot Whalan
c6b7814de1
Fix up html templates again
2016-08-10 19:18:24 +10:00
Eliot Whalan
80fe735ba0
Fix up api endpoint examples
2016-08-10 19:15:50 +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
eee90fc3ad
Update forms
2016-08-10 18:46:04 +10:00
Eliot Whalan
b99c59b130
Improve api
2016-08-10 18:45:15 +10:00
Eliot Whalan
e89eae4262
Update readme
2016-07-20 08:36:25 +10:00
Eliot Whalan
b534c2e4e3
Add config file parsing
2016-07-20 08:34:20 +10:00
Eliot Whalan
44b2bbc1b9
Merge branch 'master' of github.com:ewhal/Pastebin
2016-07-20 07:13:51 +10:00
Eliot Whalan
951bb8f2c5
Add configuration file
2016-07-20 07:13:34 +10:00
Eliot Whalan
e3000a732d
Update README.md
2016-07-18 07:33:26 +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
33653ff943
Update makefile
2016-07-15 15:13:59 +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
eb3cbb4406
Update travis ci
2016-07-15 14:27:11 +10:00
Eliot Whalan
7792941262
Fix up expiry options
2016-07-15 13:48:58 +10:00
Eliot Whalan
29d7fdf116
Try fixing up duration parsing again
2016-07-15 13:13:50 +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
4eb9ba2cea
Merge branch 'master' of github.com:ewhal/Pastebin
2016-07-14 15:47:07 +10:00
Eliot Whalan
47a9084942
Update docus
2016-07-14 15:46:29 +10:00
Eliot Whalan
49f1c1b382
Update README.md
2016-07-14 13:21:20 +10:00
Eliot Whalan
69faa3d86c
Update makefile
2016-07-14 12:09:25 +10:00
Eliot Whalan
13eeaed8ce
More updates to readme
2016-07-14 12:04:03 +10:00
Eliot Whalan
5ac5cf1c91
Rename LICENSE file
2016-07-14 11:57:22 +10:00
Eliot Whalan
8b946b0fdf
Rename LICENSE file
2016-07-14 11:57:07 +10:00
Eliot Whalan
9e71a863e5
Update readme
2016-07-14 11:53:57 +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
1ac4e9da64
Reorder forever to be at the bottom
2016-07-12 07:15:36 +10:00
Eliot Whalan
280fa3d021
Use log package
2016-07-10 12:24:09 +10:00