Commit Graph

26 Commits

Author SHA1 Message Date
kageru 7c0ac15022
Add trailing newline to response body 2020-10-28 12:23:21 +01:00
kageru 726a25bed7
Fix indentation in meta content tag
Most preview applications render this as html,
which will strip repeated spaces.
By instead emitting  , we can retain the indentation.

Groups of two spaces are replaced with two nbsp because single spaces
(i.e. gaps between words) should still be breaking.
2020-05-27 14:27:31 +02:00
kageru 6cb30eb8bf
Update dependencies 2020-05-27 14:26:01 +02:00
kageru ba66c9260f
fix static font paths 2020-05-03 20:18:13 +02:00
kageru c40dc7bdfc
Include hack as woff font 2020-05-03 20:11:01 +02:00
kageru b3e77e37e0
Fix pastes being centered without JS 2020-04-12 11:01:42 +02:00
kageru fc88a90703
Fix stylesheet order (because that seems to matter) 2020-03-12 11:14:36 +01:00
kageru dfe048bac2
More embed stuff 2020-03-12 10:57:28 +01:00
kageru 8e5becc777
Add meta tags for slack/discord preview 2020-03-12 10:40:25 +01:00
kageru cfffbdccd7
No longer use unsafe for weird CSS selector 2020-03-12 10:34:00 +01:00
kageru 213834c3bb
Fix last commit 2019-10-31 13:04:55 +01:00
kageru 1caaec47bd
Hide scrollbar on pastes 2019-10-31 13:01:18 +01:00
kageru e7014cb654
Add separate parameter for URL template 2019-10-25 22:48:19 +02:00
kageru 15bc0d4ce2 ktlint 2019-09-29 17:18:38 +02:00
kageru f16fea1f49 Refactor GET handling 2019-09-29 17:10:02 +02:00
kageru fbfec69e08 Allow .extension in url 2019-09-29 17:03:44 +02:00
kageru 0f1bd98f49 Handle HEAD requests 2019-09-29 16:20:50 +02:00
kageru facb408e89 Refactor CSS 2019-09-29 15:56:22 +02:00
kageru df6d3e34e8 Use MEDIUMTEXT column type to increase size limit 2019-09-29 13:26:05 +02:00
kageru 5a5084c711 Limit upload size to 64 KiB
Since that’s the limit of a TEXT column in MariaDB, and I don’t want to
deal with blobs.
2019-09-29 11:59:24 +02:00
kageru ede3297808 Document usage on about page 2019-09-29 11:50:14 +02:00
kageru 96c335c41a Add back button on paste page 2019-09-29 10:15:42 +02:00
kageru 4919958d8f Use random strings as URIs 2019-09-29 09:51:15 +02:00
kageru 624320b8b1 Add syntax highlighting and config 2019-09-29 08:17:31 +02:00
kageru 00111efb27
Add web upload 2019-09-22 19:54:12 +02:00
kageru e80c97e450
Initial commit 2019-09-19 22:06:57 +02:00