1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-28 12:16:22 -07:00
Commit graph

211 commits

Author SHA1 Message Date
Eggbertx
013c05676d Record spoilerthread field when creating thread 2025-04-22 15:19:40 -07:00
Eggbertx
3dc45fef53 Add spoilered column and migration, update tests in gctemplates to use goquery to not have to test against really big strings 2025-04-13 01:18:55 -07:00
Eggbertx
556de0d4ac Show secure tripcodes 2025-04-06 16:07:37 -07:00
Eggbertx
4c0ce122ad Add is_secure_tripcode column to posts and update gochan-migration to add it 2025-04-06 15:08:46 -07:00
Eggbertx
ce53ad299c Update edit page to handle adding new embed/upload 2025-04-05 16:18:11 -07:00
Eggbertx
1bea3a7e1c Add check for embed before deleting post files 2025-03-31 23:10:05 -07:00
Eggbertx
67bbb4125c refactor captcha handling, simplify HTML template testing with goquery 2025-03-29 20:19:45 -07:00
Eggbertx
47afdd0ca8 Use zerolog for logging to console (with few exceptions) for consistency 2025-03-29 14:04:43 -07:00
Eggbertx
48fb11a199 Treat recent posts with embed as if they have no thumbnail/upload on front page 2025-03-29 12:59:16 -07:00
Eggbertx
045311f675 Use UploadPath for embedded media URL, refer to it as "media" instead of "video" (since audio could be embedded as well) 2025-03-16 13:16:29 -07:00
Eggbertx
4929366f82 Update templates with embed stuff, add example URL matchers 2025-03-15 23:52:13 -07:00
Eggbertx
2facfe68fc Don't insert upload in AttachEmbed, since it gets inserted later 2025-03-15 22:28:51 -07:00
Eggbertx
309c8cede9 Add more testing stuff, start splitting up embed matching and rendering 2025-03-15 21:33:25 -07:00
Eggbertx
653bb2c020 Add embed matching to config 2025-03-13 12:39:10 -07:00
Eggbertx
23b5d3c0fb Implement embed matchers for URL validation and embedding templates 2025-03-10 23:49:19 -07:00
Eggbertx
8fe4c25938 Check for NSFW tags and show an error if they are not allowed on the board (or site) 2025-03-09 14:14:35 -07:00
Eggbertx
a8207b77d7 Update test cases with spoiler images enabled 2025-03-09 13:32:57 -07:00
Eggbertx
54a6f25476 Add hash tag block 2025-03-09 01:35:43 -08:00
Eggbertx
9a1784dbbe Show error if spoilered file is uploaded on a board (or site) that doesn't allow it 2025-03-08 19:00:25 -08:00
Eggbertx
e27d020d54 Implement lockdown mode, re-add message length checking 2025-03-07 23:23:26 -08:00
Eggbertx
3b12039f38 Add warning event to gcutil.LogRequest, improve error messages 2025-03-07 23:14:27 -08:00
Eggbertx
82099a76a7 Use CookieMaxAge when making a post 2025-03-03 20:58:05 -08:00
Eggbertx
1df4fb2efc Add board cooldowns doc comments, clean up geoip comments, and (almost) finish implementing gochan-gendoc 2025-03-02 14:48:12 -08:00
Eggbertx
0ec52bfdf1 Improve dice roll parsing 2025-02-19 17:10:57 -08:00
Eggbertx
0244811a7f Fix more deepsource issues 2025-02-18 20:33:33 -08:00
Eggbertx
74f9e415b4 Fix deepsource issues 2025-02-18 19:50:41 -08:00
Eggbertx
5a7695e98f Fixed referer checking, added more testing for server and serverutil packages 2025-02-10 21:41:21 -08:00
Eggbertx
e65d363a84 Implement dice rolling 2025-02-09 17:38:15 -08:00
Eggbertx
d5ac9bff11 Refactor, replace use of interface{} with any, fix register_handler args not being usd 2025-02-09 15:54:33 -08:00
Eggbertx
5bc47e003d Add function to lua for setting custom bbcode tags 2025-02-09 15:32:57 -08:00
Eggbertx
30c1c1c037 Rename all preload.go to lua.go and preload_test.go to lua_test.go 2025-02-09 12:47:37 -08:00
Eggbertx
f1a0e123f6 Remove unused parameters in message formatter init function 2025-02-07 23:01:20 -08:00
Eggbertx
5d98639daa Add hide block bbcode 2025-02-07 16:26:35 -08:00
Eggbertx
a31a001764 Add spoiler bbcode tag 2025-02-07 16:14:04 -08:00
Eggbertx
1463bbaa63 Update post handler, use EnableCyclicThreads instead of CyclicThreadNumPosts for validation 2025-01-19 12:27:24 -08:00
Eggbertx
09c059edd2 Change naming convention from cyclical to cyclic, as the latter is more acurate 2025-01-19 11:58:18 -08:00
Eggbertx
0b175ef2e5 Fully implement cyclical threads 2025-01-12 16:26:49 -08:00
Eggbertx
d0241f3a09 Prune posts in cyclical threads 2025-01-12 14:52:06 -08:00
Eggbertx
b966604d1d Avoid using Select * in SQL queries, normalize some view columns 2025-01-12 14:01:36 -08:00
Eggbertx
442319e77a Use fmt.Errorf and %w for unwrappable errors 2025-01-10 17:33:19 -08:00
Eggbertx
7c417e6b7c Fix bug with videos getting tripped by the image fingerprint matcher 2024-11-23 11:19:47 -08:00
Eggbertx
232107389c Fix file path for fingerprinting video thumbnails 2024-11-21 10:54:20 -08:00
Eggbertx
1f7e75417e Update versions for v4 release 2024-10-13 23:18:29 -07:00
Eggbertx
f1a5acc9e4 Add ability to make stickied, locked, and cyclical threads to backend code 2024-09-08 15:46:09 -07:00
Eggbertx
9eda27d38b Clean up MakePost 2024-09-07 23:42:22 -07:00
Eggbertx
a9e6652986 Remove excess println call 2024-09-07 21:03:07 -07:00
Eggbertx
dcc6f5cd4e Apply filters and wordfilters to post editing 2024-09-07 21:02:11 -07:00
Eggbertx
3f740d1edc Handle pre-upload filtering 2024-09-07 18:39:36 -07:00
Eggbertx
bfbca50f81 Make handle if any updateable from the filter page 2024-09-07 14:36:47 -07:00
Eggbertx
9875b011df Re-add incoming-upload event trigger 2024-09-07 00:54:30 -07:00