97 Commits
Author SHA1 Message Date
whoswhip f132bf1b62 todd 2026-12-05 21:58:17 -05:00
whoswhip 14939090d5 show inf when displaying storage limit and there is no limit 2026-12-05 16:40:42 -05:00
whoswhip f943f4d95d more todo
basically need to show something other than 0 on the homepage when
displaying the storage limit
2026-12-05 16:26:21 -05:00
whoswhip c5636c9160 max total storage usage implemented!
code may be a bit messy but....

also implemented a storage usage stat (that can be toggled in .env) that
shows on the home page, you can also enable the total limit to show as
well

eventually i need to implement clearing old unfinished uploads both on
startup, admin actions, and cleaning up on upload failure
2026-12-05 16:24:57 -05:00
whoswhip a1ebd905df admin goals 2026-12-04 15:08:00 -05:00
whoswhip 922cfd47e8 add another misc goal 2026-12-04 15:00:04 -05:00
whoswhip 7810b637c3 fix: upload file button being disabled in certain cases
if you upload something then go back to the home page using the browser back button it would still show it's being uploaded/disabled
2026-12-04 14:50:37 -05:00
whoswhip a2c58df0fe grammar 2026-12-04 11:22:11 -05:00
whoswhip 93758142f6 improve readme, remove plans for cloudflare auth 2026-12-04 11:20:50 -05:00
whoswhip 975ca4f6ed db performance 2026-11-24 13:29:27 -05:00
whoswhip 0dc689d1a6 fix block asn superfluous write header calls by returning after errors 2026-11-23 09:00:34 -05:00
whoswhip 993b6317a5 exclude asn blocking on asset routes; properly fallback title status number 2026-11-22 22:13:39 -05:00
whoswhip 1834abc719 asn blocking!!!!! 2026-11-22 22:08:12 -05:00
whoswhip 41ba8dfb90 forgot one 2026-11-22 19:37:16 -05:00
whoswhip e2c40301e1 mark more as finished and reorganize 2026-11-22 19:36:29 -05:00
whoswhip 26fe94ca45 ratelimiting!!!! 2026-11-22 19:07:55 -05:00
whoswhip 80a5ae1f69 okay idk why i did that, revert the names 2026-11-22 16:30:43 -05:00
whoswhip d62dacfae5 readme, change options for admin panel 2026-11-22 13:55:00 -05:00
whoswhip 8730b968b5 switch pow to argon2id 2026-11-22 13:52:29 -05:00
whoswhip 80ad8a62ae improve faq+privacy policy; rename pow and access tracker intialize functions to just New
since they are in their own package now
2026-11-22 13:03:48 -05:00
whoswhip 8fc87ab200 improve dnd; prevent large files early on upload 2026-11-21 19:28:44 -05:00
whoswhip 67849def05 moved to web, forgot to exclude in gitignore 2026-11-21 18:05:30 -05:00
whoswhip 18b1172f93 admin panel details 2026-11-21 16:36:01 -05:00
whoswhip e5a2f47f47 organize project
took me a bit to figure out how to do this properly, but i believe it's improved my understanding of how go works
2026-11-21 16:18:30 -05:00
whoswhip 741b91b637 forgot the word but pages 2026-11-21 15:33:39 -05:00
whoswhip 2f27f8bd4f remove test report option 2026-11-21 10:19:15 -05:00
whoswhip 123e47596b page on failure 2026-11-20 21:57:06 -05:00
whoswhip 6650d0d1c2 readddd 2026-11-20 21:33:28 -05:00
whoswhip 5c2427b096 reports!!!! and PoW!!!!!!!
this has taken quite a while (8 ish hours) but reports and proof of work challenges are completely implemented

the proof of work challenges are bit iffy and could be gpu accelerated which is bad, so i plan to eventually switch to something memory hard like argon2id

references used for pow:
https://dev.to/ratmd/simple-proof-of-work-in-javascript-3kgm
https://anubis.techaro.lol/docs/design/how-anubis-works
https://anubis.techaro.lol/docs/design/why-proof-of-work

as well as some other posts or repos found when searching
2026-11-20 21:31:37 -05:00
whoswhip ee03411154 raadwadwa 2026-11-20 00:43:49 -05:00
whoswhip 181b2b0270 cascade delete, and prevent report creation from creating nonexistent uploads 2026-11-19 12:46:04 -05:00
whoswhip f43cca319e start on reports, uuidv7 for id 2026-11-19 10:58:33 -05:00
whoswhip dc3b66cc58 organize 2026-11-18 17:13:44 -05:00
whoswhip a58d9af781 glob parse templates 2026-11-18 16:51:47 -05:00
whoswhip 89e9de8a37 todo 2026-11-18 15:39:07 -05:00
whoswhip ae8de04599 mark filter mime types as done in todoooo! 2026-11-15 20:18:54 -05:00
whoswhip 21aef3f4f7 update .env.example to include more executables 2026-11-15 12:57:05 -05:00
whoswhip 2a315a68fc finish banned mime types 2026-11-15 12:15:02 -05:00
whoswhip e1e0c8042e .env.example, addr config, working on banned mime types 2026-11-15 11:22:50 -05:00
whoswhip 93da714ed0 opengraph; proper max size labels 2026-11-14 20:03:52 -05:00
whoswhip 53b0aac403 qtify other pages + fixed position on qts
working on showing the max upload size, just figuring out how to make it look good and where to position it.

there's probably a better way to include qts in all of these pages without having to pass all of these variables
2026-11-14 17:39:00 -05:00
whoswhip ee454661cc api section in faq; brighter code background 2026-11-14 17:10:54 -05:00
whoswhip f33236a6fe add info handler 2026-11-14 17:02:17 -05:00
whoswhip 40246c9ad5 add license 2026-11-14 16:39:47 -05:00
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