Eggbertx
|
20ba75cd5d
|
Use ServeError instead of ServeErrorPage when handling captcha request errors
|
2023-06-15 13:28:05 -07:00 |
|
Eggbertx
|
d62520591a
|
Use ServeError instead of ServeErrorPage when handling upload errors
|
2023-06-15 12:15:12 -07:00 |
|
Eggbertx
|
b1d182b4eb
|
Treat recover data as string in MakePost log
|
2023-06-15 11:41:19 -07:00 |
|
Eggbertx
|
1276b3524a
|
Add TLD checking plugin
|
2023-06-14 13:31:29 -07:00 |
|
Eggbertx
|
8b42d4102e
|
Don't double-log if an event recovered from a panic
|
2023-06-12 08:50:45 -07:00 |
|
Eggbertx
|
6d22c86df1
|
Add message-pre-format event trigger
|
2023-06-09 15:16:34 -07:00 |
|
Eggbertx
|
0174cbf1ec
|
Delete the post if an issue occured attaching the upload
|
2023-06-05 12:35:11 -07:00 |
|
Eggbertx
|
33371d3e86
|
Recover and log stack trace if panic is called in post or manage handler
|
2023-05-02 14:39:31 -07:00 |
|
Eggbertx
|
ef5a9f49c3
|
Add webp, zip, pdf uploading support
|
2023-04-26 13:10:38 -07: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
|
76a4f92e18
|
Make config.Username useful (applies given username ownership to files)
|
2022-12-31 01:51:14 -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
|
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
|
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
|
f5337896b2
|
Finish migrating posting/post.go
|
2022-11-07 16:56:50 -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
|
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 |
|
Eggbertx
|
ee61fcb30f
|
Replace gclog/gzlog with structured logging via zerolog
|
2022-09-04 14:27:14 -07:00 |
|
Eggbertx
|
fbfc2a1435
|
Properly check the post cooldown
|
2022-08-18 16:48:21 -07:00 |
|
Eggbertx
|
fc882639d2
|
Make wordfilters work, resolves issue #44
|
2022-07-25 10:12:01 -07:00 |
|
Eggbertx
|
84ad96e465
|
Add Board property to MessagePostContainer
|
2022-07-25 09:29:00 -07:00 |
|
Eggbertx
|
9d0c8d4149
|
Fix bug with thumbnails not being created even if image is bigger than a thumbnail
(bug introduced in commit 0415b3066a )
|
2022-06-25 18:20:25 -07:00 |
|
Eggbertx
|
0415b3066a
|
If upload is gif and not bigger than a thumbnail, still create a thumbnail if it's animated
|
2022-06-18 12:49:12 -07:00 |
|
Eggbertx
|
8840693a8b
|
Add function to check if Pre2021 migration is already complete
(still need to do kusaba x and tinyboard)
|
2022-02-19 14:55:45 -08:00 |
|
deepsource-autofix[bot]
|
c68a2ce726
|
Function call can be replaced with helper function
|
2022-02-13 22:06:50 +00:00 |
|
Eggbertx
|
a4149d4c5d
|
Separate post into separate template
|
2022-01-27 21:02:37 -08:00 |
|
Eggbertx
|
9e82333c47
|
(re)add board creation related to issue #51
|
2022-01-16 13:30:33 -08:00 |
|
Eggbertx
|
62a31e651e
|
Add utility function for getting file parts
|
2021-12-15 23:42:07 -08:00 |
|
Eggbertx
|
dfdb926d71
|
Add partially refactored configuration changes
|
2021-07-11 11:51:29 -07:00 |
|
Eggbertx
|
c385a39bec
|
Add config option to set max age for staff cookies
resolves #41
|
2021-03-26 11:10:05 -07:00 |
|
Eggbertx
|
2382b30af1
|
Move minifier functions to serverutil package
gcutil should only be used for stuff that doesn't require configuration
|
2021-03-25 14:42:46 -07:00 |
|
Eggbertx
|
8ccd217ff0
|
Add mp4 support
|
2021-03-24 11:44:50 -07:00 |
|
Eggbertx
|
cb7913398c
|
Make config loading more flexible and powerful
Improve value validation, allow for defaults and set critical fields
|
2021-03-02 17:42:07 -08:00 |
|
Eggbertx
|
e375750e97
|
Replace strings.ReplaceAll with strings.Replace for compatibility
|
2020-07-27 18:19:56 -07:00 |
|
Eggbertx
|
55317504a1
|
Fix anti-patterns pointed out by DeepSource
But not the switch fallthroughs/expression lists, there's no benefit
|
2020-07-09 15:54:31 -07:00 |
|