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 |
|
Eggbertx
|
c64103c6b5
|
Add report dismissal and ability to block reports for a post
Currently, only the admin is allowed to block reports
|
2022-07-27 11:19:03 -07:00 |
|
Eggbertx
|
c64d7b16e8
|
Move internal report creation code to gcsql
Also insert the report's timestamp into the report audit table
|
2022-07-26 11:31:13 -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
|
5bfbeabf13
|
Fix a bunch of large value copies as suggested by deepsource
|
2022-05-12 11:28:15 -07:00 |
|
Eggbertx
|
1a104391ec
|
Redirect to referer on report submission
|
2022-04-05 21:51:08 -07:00 |
|
Eggbertx
|
1848e2f073
|
Add function for handling reports
(still needs a lot of work)
|
2022-03-20 23:01:18 -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 |
|