Commit graph

8 commits

Author SHA1 Message Date
Joe Ma
63578bcf9d
Use xml-js over xml2js lib
Add Go button in paste modal (frontend)

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
2024-02-05 20:10:39 +08:00
Joe Ma
2f67469ef5
Use GetObjectAttributes to get object size (large_paste)
Fix CORS handling

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
2024-02-04 19:23:09 +08:00
Joe Ma
8623fb74d9
Fix x-paste-read-limit handling when using Paste API v2
Fix raw/download option being ignored

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
2024-01-31 03:48:28 +08:00
Joe Ma
19c9c69a78
Add URL redirection support
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
2022-10-13 01:26:26 +08:00
Joe Ma
fb3f8d1ef1
Add support to generate QR code for paste link 2022-09-11 19:05:18 +08:00
Joe Ma
d1c43280d5
Add description text and file size check to paste.html
Add x-pass header to authentication method

Add size to paste info

Prefix the custom header key with x-

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
2022-06-05 16:01:03 +08:00
Joe Ma
1ec2a9f7f0
Add Content-Type header to response
Support auto-detection of MIME types based on filename extension

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
2022-06-03 01:49:19 +08:00
Joe Ma
44036f4092
Initial commit 2022-06-01 02:11:52 +08:00