Commit Graph

276 Commits

Author SHA1 Message Date
Santiago Castro f3fe728d41 Fix broken Markdown headings 2017-04-18 01:54:09 -03:00
Eliot Whalan 391ef53716
Fix up more minor issues 2017-02-05 14:35:37 +10:00
Eliot Whalan 52db5b1364
fix up another minor typo 2017-02-05 14:32:20 +10:00
Eliot Whalan 03e2f3a298
fix up minor typo 2017-02-05 14:30:33 +10:00
Eliot Whalan 663046d830
fix up minor js issue 2017-02-05 14:29:46 +10:00
Eliot Whalan 6d49719f00
fix up typos 2017-02-05 14:20:00 +10:00
Eliot Whalan a9278183e4
Add check to user key 2017-02-05 14:17:38 +10:00
Eliot Whalan 073edf820b
Add accounts 2017-02-05 14:02:32 +10:00
Eliot Whalan 8c153440cf
Add accounts schema 2017-02-02 16:53:51 +10:00
Eliot Whalan 095802f288 Merge pull request #8 from jcftang/master
Make highlighter script work with python3
2016-12-20 07:11:41 +10:00
Eliot Whalan c8af94296e Merge pull request #9 from patchon/master
Initial commit of Pastebin fork
2016-12-20 07:09:50 +10:00
Eliot Whalan 76b64b0702 Merge branch 'master' into master 2016-12-20 07:02:49 +10:00
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
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
Eliot Whalan a7ea8be053 Fix small font size 2016-12-19 15:09:07 +10:00
Eliot Whalan 14d4a2c503 Merge pull request #7 from patchon/master
Initial commit of pastebin fork
2016-12-19 11:33:08 +10: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 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