Commit Graph
53 Commits
Author SHA1 Message Date
whoswhip 270a296817 normalize mime types; application/octet-stream returns an attachment 2026-11-14 16:11:51 -05:00
whoswhip d84b6433f5 fix placeholder faq 2026-11-14 15:20:12 -05:00
whoswhip 503631764a fix dnd 2026-11-14 15:18:44 -05:00
whoswhip a44052ae6e add clarification in readme 2026-11-14 14:55:02 -05:00
whoswhip f1c996058e readmeeee 2026-11-14 14:50:35 -05:00
whoswhip c4222a16b2 id length selection in upload 2026-11-14 14:39:21 -05:00
whoswhip 507ff7359c last accessed at!!! 2026-11-14 14:25:13 -05:00
whoswhip 2e63dcbf31 faq page; put uploads; config 2026-11-13 22:40:33 -05:00
whoswhip 882e6cafa3 contributing section 2026-11-13 21:25:24 -05:00
whoswhip 422a51d4d0 move rendering funcs to handlers.go; use the render function on upload response 2026-11-13 21:17:43 -05:00
whoswhip 80e0efe3c4 simplify static page rendering; fix qt discovery 2026-11-13 21:15:56 -05:00
whoswhip 91667e3a10 todooo 2026-11-13 21:03:32 -05:00
whoswhip 16642c53f3 use file extension
even if there is no file extension no extra will be added (like a period .) because {{.FileExtension}} includes the "."
2026-11-13 14:54:47 -05:00
whoswhip a0519784ed improve content caching header + csp 2026-11-13 13:17:35 -05:00
whoswhip 979970aa0d upload content 2026-11-13 13:09:28 -05:00
whoswhip 0f5b85a063 cache control header on content endpoint 2026-11-13 13:09:15 -05:00
whoswhip 3f78e3b85b tos and privacy (these are probably shit)
also implemented random paste placeholder text, got bored and dont feel like implementing real features
2026-11-12 23:30:35 -05:00
whoswhip 2c342f63b3 every file sharing service needs qts
honestly this code might be kind of shit, and it needs to used on the other page(s) as well but im too lazy, fixed a styling issue with the upload result page though
2026-11-12 22:30:36 -05:00
whoswhip 28d0600153 upload metadata table on upload page 2026-11-12 21:45:19 -05:00
whoswhip 41aaf5006f add drag and drop 2026-11-12 21:35:54 -05:00
whoswhip 350bf1842f upload page after uploading 2026-11-12 21:14:41 -05:00
whoswhip 59c156f6ac site header template; site links to tos, privacy, faq, and this repo 2026-11-12 20:24:36 -05:00
whoswhip 490f010999 add return type query on upload, will eventually use to have an after upload page 2026-11-12 19:13:37 -05:00
whoswhip 505cb7f757 style the home page, get rid of nojs pages
instead of having dedicated nojs pages, i will instead just use javascript to enhance the already existing pages
2026-11-12 18:33:15 -05:00
whoswhip 3664963fe8 todododoodododood 2026-11-12 14:37:22 -05:00
whoswhip 99bebfe044 add misc goals 2026-11-11 16:56:38 -05:00
whoswhip d62d00ce6e include static pages, update goals 2026-11-11 14:11:00 -05:00
whoswhip af7310f8de nojs folder in templates, plan to use javascript on main version 2026-11-11 12:55:15 -05:00
whoswhip 8904f64133 expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry 2026-11-10 22:31:05 -05:00
whoswhip 1b636ef51a fuck. list expiries + accept post form expiry 2026-11-10 22:26:08 -05:00
whoswhip 9bda8bc93d implement expiry!!!
oh my fucking GOD bro, i've seen expiry SO SO SO much it idek if i've been spelling it right at this point, please let me be done with this
2026-11-10 22:15:20 -05:00
whoswhip 3a336b79c8 return file extension on upload; strip extension when returning upload 2026-11-10 21:12:34 -05:00
whoswhip a59c32e503 deletion endpoints 2026-11-10 19:57:52 -05:00
whoswhip 0407cf39fa more todo 2026-11-10 18:35:22 -05:00
whoswhip 2f6e477f66 update todo 2026-11-10 18:33:13 -05:00
whoswhip 3cddec9aff use gabriel-vasile/mimetype for mime type detection 2026-11-10 18:33:01 -05:00
whoswhip 75a346c5f9 load .env 2026-11-10 14:54:13 -05:00
whoswhip 6181bd2e4d add a redirect query for no javascript 2026-11-10 14:46:28 -05:00
whoswhip 121fa30a04 update permalink to include comments 2026-11-10 13:42:50 -05:00
whoswhip c1f512de4e add mimetype to readme todo 2026-11-10 13:42:23 -05:00
whoswhip 4751899357 content endpoint 2026-11-10 13:37:46 -05:00
whoswhip 77e28c42d2 return delete token
this somehow didnt end up in the previous commit??
2026-11-10 13:14:44 -05:00
whoswhip 4c25a66f0f delete token & upload response struct to return delete token and sha256 as hex 2026-11-10 12:05:33 -05:00
whoswhip 33b1b579d6 add comment to replace mime type detector 2026-11-10 11:47:06 -05:00
whoswhip be5ed4673d fixes from last night 2026-11-10 05:36:24 -05:00
whoswhip 0fac520a0f todo 2026-11-10 05:35:55 -05:00
whoswhip fc45fe8bd7 cleanup; return on error; content-type failure is bad request 2026-11-08 21:33:47 -05:00
whoswhip 673c039d1c process & save upload 2026-11-08 21:18:53 -05:00
whoswhip 1c99c5dd11 database, config, home page, start of upload endpoint 2026-11-08 19:25:52 -05:00
whoswhip 729d332a61 remove old goal section and new line about customization 2026-11-08 09:31:03 -05:00
whoswhip bc493704b5 oops! antother typo 2026-11-07 21:17:42 -05:00
whoswhip 78f35c74c7 oopsies! fix typo 2026-11-06 20:37:20 -05:00
whoswhip e1adedc32d init 2026-11-06 18:56:26 -05:00