Commit Graph

45 Commits

Author SHA1 Message Date
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 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 eee90fc3ad Update forms 2016-08-10 18:46:04 +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 e86b94784d fix up expiry 2016-07-15 13:06:25 +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 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 2ea5a9d7bc Remove guess language option 2016-06-26 06:51:34 +10:00
Eliot Whalan 4d8ef07f48 Add expiry input 2016-06-25 08:24:56 +10:00
Eliot Whalan f80d779b28 Make pages adjust automatically 2016-06-24 16:50:51 +10:00
Eliot Whalan 46d46f70cd try another query autosizing thing 2016-06-24 16:18:27 +10:00
Eliot Whalan c131c0d6a9 Add jquery-autogrow 2016-06-24 16:14:36 +10:00
Eliot Whalan 4d8a90a606 Add sytle resize to text area 2016-06-24 16:05:39 +10:00
Eliot Whalan ead0a0c4fe Add placeholder text 2016-06-24 15:55:49 +10:00
Eliot Whalan d446219b7d Add title support to all pages and make it clearer 2016-06-24 15:39:12 +10:00
Eliot Whalan da55f3847c Add title 2016-06-24 15:24:15 +10:00
Eliot Whalan 1da1dfe53d Make redirect default page behaviour 2016-06-23 19:07:10 +10:00
Eliot Whalan e02fb51fe0 Increase textarea size 2016-06-23 19:03:58 +10:00
Eliot Whalan e493eb8996 Remove broken autosizing 2016-06-23 16:18:00 +10:00
Eliot Whalan b4b6c152bc Add autogrowing text box 2016-06-23 16:09:07 +10:00
Eliot Whalan 6369d37d7f Finish up the form 2016-06-23 16:03:36 +10:00
Eliot Whalan 3a48dd389b More form groups 2016-06-23 15:44:50 +10:00
Eliot Whalan 676cb46e20 inline forms 2016-06-23 15:43:19 +10:00
Eliot Whalan 0f858d84f9 Fix incorrect container end div 2016-06-23 15:40:22 +10:00
Eliot Whalan bdddf8632c Fix missing </div> 2016-06-23 15:32:50 +10:00
Eliot Whalan 2109654db7 Make button and options a row 2016-06-23 15:20:24 +10:00
Eliot Whalan 22c6de2adf Reduce well 2016-06-23 15:14:22 +10:00
Eliot Whalan bf89ade95f Adjust js script tag location 2016-06-23 15:13:04 +10:00
Eliot Whalan 473adc831a Init material design js 2016-06-23 15:09:28 +10:00
Eliot Whalan 11e59f31b6 Add html output type 2016-06-23 13:45:00 +10:00
Eliot Whalan 424ebb7915 Fixup newline and add well to textarea 2016-06-23 13:36:47 +10:00
Eliot Whalan 69b017614d Add information 2016-06-23 13:34:56 +10:00
Eliot Whalan ad4ada443e Add lang option 2016-06-23 12:52:02 +10:00
Eliot Whalan 6ec831d9aa Remove well 2016-06-23 12:44:08 +10:00
Eliot Whalan e2377749be More elements 2016-06-23 12:41:41 +10:00
Eliot Whalan 56e5c7baf8 Replace input with button 2016-06-23 12:34:34 +10:00
Eliot Whalan f1d5f5df53 Add header 2016-06-23 12:32:54 +10:00
Eliot Whalan 9e0d913b3b Adjust html further 2016-06-23 12:29:18 +10:00
Eliot Whalan f284efd17a Adjust html 2016-06-23 12:26:51 +10:00
Eliot Whalan fde40383d0 Add cdn 2016-06-23 12:25:40 +10:00
Eliot Whalan 6abfd68c13 Add missing slashes and tidy stuff up 2016-06-23 11:46:50 +10:00