1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-27 03:16:24 -07:00
Commit graph

84 commits

Author SHA1 Message Date
Eggbertx
ef5a9f49c3 Add webp, zip, pdf uploading support 2023-04-26 13:10:38 -07:00
Eggbertx
f0c13f21ba Make image metadata stripping (via exiftool) work 2023-04-15 10:43:00 -07:00
Eggbertx
d33b64cf95 remove tick printing in temp cleaner 2023-04-14 13:32:17 -07:00
Eggbertx
522783e103 Clean up temp post cleaner 2023-04-14 12:41:06 -07:00
Eggbertx
4420011125 Fix thumbnailing for very very short videos 2023-04-14 12:17:09 -07:00
Eggbertx
423dd25713 Correct extensions for video uploads (missing period at beginning) 2023-04-14 08:46:24 -07:00
Eggbertx
eef1599024 Organize thumbnailing-specific functions into their own source file 2023-04-14 08:28:23 -07:00
Eggbertx
623e2f4352 Add a list of events for reference.
Also have it trigger an event when an upload is written to the disk and log warnings if an event recovers from panic()
2023-04-13 15:15:29 -07:00
Eggbertx
1968cb77d2 Fix postref hyperlinks being formatted incorrectly 2023-04-13 10:50:19 -07:00
Eggbertx
0ec36c2840 un-disable the code bbcode tag 2023-02-11 14:36:25 -08:00
Eggbertx
91783c5837 Move router initialization to a new, server package, make serverutil a subpackage
This allows for more flexibility
2023-01-06 14:38:35 -08:00
Eggbertx
78feba0994 Add skipcq for some deepsource issues that are there for a reason 2023-01-04 23:40:35 -08:00
Eggbertx
43d941c837 Replace all usage of webroot template variable with webPath function 2023-01-04 23:13:59 -08:00
Eggbertx
f3add8bb89 Use more standardized file modes 2022-12-31 17:29:57 -08:00
Eggbertx
76a4f92e18 Make config.Username useful (applies given username ownership to files) 2022-12-31 01:51:14 -08:00
Eggbertx
820f5b993b Fix thread upload deletion 2022-12-24 20:53:56 -08:00
Eggbertx
8b29c4b0e0 fix cookie encoding/decoding 2022-12-24 16:15:09 -08:00
Eggbertx
e87915ecb9 Use more transactions, and replace getNextFreeID with getLatestID 2022-12-24 12:25:23 -08:00
Eggbertx
51d475c48a Prevent QR OPs from slipping through the captcha cracks 2022-12-20 15:08:08 -08:00
Eggbertx
9e13eae658 Add configuration option to only require CAPTCHA test for new threads 2022-12-20 14:29:27 -08:00
Eggbertx
202ded163a Reject post if it is missing both an upload and a comment 2022-12-20 13:37:54 -08:00
Eggbertx
6e81fc3b98 Add configuration option to require a file for new threads
(Wasn't this here before at some point?)
2022-12-20 13:33:33 -08:00
Eggbertx
89457e47f7 Replace internal self-generated captcha tests with hcaptcha 2022-12-20 13:13:08 -08:00
Eggbertx
c180fec5eb Escape invalid bytes in cookies 2022-12-20 10:30:20 -08:00
Eggbertx
f7ca807144 Add ability to replace file uploads 2022-12-17 16:30:52 -08:00
Eggbertx
bd69e27bea Use the correct cooldown config fields 2022-12-14 12:41:25 -08:00
Eggbertx
d1f7769cc7 More postgres fixes (building, deletion) 2022-12-13 16:23:16 -08:00
Eggbertx
ff32f13bf5 Fix cooldown checking for databases without any posts 2022-12-08 13:19:03 -08:00
Eggbertx
f38a648f52 Replace references to filename and username wildcard with regex 2022-12-08 08:29:49 -08:00
Eggbertx
8edb0cfeb4 Show an error if the post has a banned filename, checksum, or name 2022-12-06 07:58:51 -08:00
Eggbertx
17a326bc17 Make appeals work 2022-11-29 13:10:40 -08:00
Eggbertx
7e5a78fa8c Make IP ban page template compatible with new API 2022-11-29 12:06:08 -08:00
Eggbertx
c943cdef6a Get the internal thread and treat threadid as op, properly attach upload to post 2022-11-28 17:04:41 -08:00
Eggbertx
6c2931db65 More de-deprecation stuff, also improve error logging 2022-11-28 12:29:15 -08:00
Eggbertx
4fdd9cfdf1 Fix issue with it not responding to post requests 2022-11-23 10:12:28 -08:00
Eggbertx
34688190e2 Update IP ban interface for new gcsql API 2022-11-16 15:11:55 -08:00
Eggbertx
b16fdc81b8 Fix building errors for de-deprecation 2022-11-09 10:15:37 -08:00
Eggbertx
f5337896b2 Finish migrating posting/post.go 2022-11-07 16:56:50 -08:00
Eggbertx
585c54c772 Add file checksum verification/ban 2022-11-07 16:37:53 -08:00
Eggbertx
379e846daf Add filename and username banning, add more de-deprecation stuff to posting/post.go 2022-11-07 12:56:51 -08:00
Eggbertx
912bde25af Make post formatting functions comaptible with de-deprecated code 2022-11-01 08:13:09 -07:00
Eggbertx
45e2a76473 Add top post code, post insertion code, and captcha de code
TODO: revisit captcha to make it less clunky
2022-10-31 12:50:08 -07:00
Eggbertx
e789b08492 de-deprecate pkg/building 2022-10-31 12:41:17 -07:00
Eggbertx
fb71d95b5f Make thread moving work 2022-09-28 10:25:10 -07:00
Eggbertx
d2c5015714 Replace deprecated ioutil imports 2022-09-08 15:45:29 -07:00
deepsource-autofix[bot]
f639fdde6d
Fix unused method receiver 2022-09-04 21:57:01 +00:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
9107269a39 Upgrade Go version in vagrant and Docker, readd sqlite3 for real this time
requires intervention for vagrant to add the updated Go repo
2022-08-30 11:30:59 -07:00
Eggbertx
fbfc2a1435 Properly check the post cooldown 2022-08-18 16:48:21 -07:00
Eggbertx
fc47afafb5 Add link back to staff dashboard 2022-08-01 16:08:57 -07:00