Patrik Martinsson
eba04233d2
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
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
ea7c00855f
Update forms
2016-08-10 18:46:04 +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
68205953c4
fix up expiry
2016-07-15 13:06:25 +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
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
Felix Yan
671412631f
Add missing name for paste body field on clone page
...
The `name="p"` part is present in index but not the clone page. Without the change I am getting "Empty paste" when submitting any paste from the clone page.
2016-06-29 11:12:06 -05:00
Eliot Whalan
9825058fef
Revert "Fix up css for syntax page"
...
This reverts commit 5afb1564ce .
2016-06-28 22:54:41 +10:00
Eliot Whalan
14e7df342d
Revert "Try again"
...
This reverts commit 7658c76460 .
2016-06-28 22:54:34 +10:00
Eliot Whalan
7658c76460
Try again
2016-06-28 22:53:35 +10:00
Eliot Whalan
5afb1564ce
Fix up css for syntax page
2016-06-28 22:51:33 +10:00
Eliot Whalan
f562758f35
Fix up padding
2016-06-26 18:18:14 +10:00
Eliot Whalan
efddd09b10
Remove guess language option
2016-06-26 06:51:34 +10:00
Eliot Whalan
21f613177b
Add expiry input
2016-06-25 08:24:56 +10:00
Eliot Whalan
630ed5403d
Make pages adjust automatically
2016-06-24 16:50:51 +10:00
Eliot Whalan
725cd30069
Try automatic resizing of elements
2016-06-24 16:40:17 +10:00
Eliot Whalan
986a0fcd16
move functions up one scope
2016-06-24 16:38:45 +10:00
Eliot Whalan
62fc210f95
Try onload resizing with jquery
2016-06-24 16:37:21 +10:00
Eliot Whalan
704e1444e4
Fixup syntax box
2016-06-24 16:26:43 +10:00
Eliot Whalan
6919cb597b
Add page onload
2016-06-24 16:25:32 +10:00
Eliot Whalan
a25fbd518a
Add jquery resizing to all pages
2016-06-24 16:22:06 +10:00
Eliot Whalan
ef5704be63
try another query autosizing thing
2016-06-24 16:18:27 +10:00
Eliot Whalan
0fa8968498
Add jquery-autogrow
2016-06-24 16:14:36 +10:00
Eliot Whalan
b13d7d2035
Add sytle resize to text area
2016-06-24 16:05:39 +10:00
Eliot Whalan
282e9712da
Add placeholder text
2016-06-24 15:55:49 +10:00
Eliot Whalan
ad232fa642
Remove margin-right from buttons
2016-06-24 15:47:31 +10:00
Eliot Whalan
e3ac34ada2
Add title support to all pages and make it clearer
2016-06-24 15:39:12 +10:00
Eliot Whalan
5fa15802d6
Add title
2016-06-24 15:24:15 +10:00
Eliot Whalan
a09e2db02c
Fix lack of print function in clone page
2016-06-24 13:01:31 +10:00
Eliot Whalan
4471eba47a
Add clone paste handler
2016-06-24 12:59:29 +10:00
Eliot Whalan
e9fe27ea2d
Add download button
2016-06-24 12:17:23 +10:00
Eliot Whalan
8dc7a3f7d1
Add home to struct
2016-06-23 21:00:46 +10:00
Eliot Whalan
07180d93fb
Add more buttons and add row div
2016-06-23 20:59:12 +10:00
Eliot Whalan
3d22aa63fd
Try syntax highlighting
2016-06-23 20:41:45 +10:00
Eliot Whalan
2d8aa75257
Reintroduce textarea
2016-06-23 20:19:48 +10:00
Eliot Whalan
d0f5ffda69
Bring back print statement part 2
2016-06-23 20:15:13 +10:00
Eliot Whalan
c4cd7911ba
Bring back print statement
2016-06-23 20:13:58 +10:00
Eliot Whalan
51862f92b5
Remove printf
2016-06-23 19:56:56 +10:00
Eliot Whalan
7d61be0b42
remove more html
2016-06-23 19:27:06 +10:00
Eliot Whalan
4acda57bd3
Remove full page option and textarea
2016-06-23 19:24:18 +10:00
Eliot Whalan
0ecfffe397
Relocate raw button
2016-06-23 19:15:28 +10:00
Eliot Whalan
b182a75670
Make submit button a link
2016-06-23 19:12:51 +10:00
Eliot Whalan
e1cfe96676
Add raw link
2016-06-23 19:10:36 +10:00
Eliot Whalan
80224ddb98
Make redirect default page behaviour
2016-06-23 19:07:10 +10:00
Eliot Whalan
b6f08fd243
Increase textarea size
2016-06-23 19:03:58 +10:00