1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-29 17:16:23 -07:00
Commit graph

737 commits

Author SHA1 Message Date
Eggbertx
6fbfb731bd Sort template list before it is returned 2023-12-21 16:58:53 -08:00
Eggbertx
7e07e24f16 Add template loading to the templates manage action 2023-12-21 15:55:29 -08:00
Eggbertx
a8436c5ee4 Fix some issues reported by DeepSource 2023-12-19 14:33:40 -08:00
Eggbertx
b252e65ba7 Make templates private, accessible via template filename 2023-12-19 13:32:25 -08:00
Eggbertx
4c73891ff5 Add template override page (doesn't do anything yet) 2023-12-10 20:46:08 -08:00
Eggbertx
edd2c30d32 Use the default style set in the boards table before checking board.json 2023-12-08 15:29:04 -08:00
Eggbertx
2e5e56b142 Add webPathDir template function (appends a trailing slash) 2023-12-07 12:11:58 -08:00
Eggbertx
5980283218 Add MaxMind GeoIP loading 2023-12-06 14:54:51 -08:00
Eggbertx
78fe84ad7f Add some more info to gochan.example.json for DB stuff 2023-12-05 11:57:52 -08:00
Eggbertx
735470081c Add JSON support to Lua and IPHub plugin 2023-10-27 17:03:13 -07:00
Eggbertx
79b5eb9996 Simplify table key alias checking 2023-10-26 10:54:31 -07:00
Eggbertx
a417d49df9 Replace http lua library with just a client for significantly smaller binary size 2023-10-25 13:52:31 -07:00
Eggbertx
9688082339 Move Lua plugin loaders to their respective gochan packages 2023-10-24 16:27:27 -07:00
Eggbertx
b0c6f2bd98 Move staff argument in ban_ip out of table 2023-10-24 15:38:13 -07:00
Eggbertx
1dabea35df Add ban_ip lua function 2023-10-24 15:22:41 -07:00
Eggbertx
0fd9a3a812 Use stdout instead of stderr for multiwriter 2023-10-23 10:33:53 -07:00
Eggbertx
9a8cd64d2d Move Akismet checking to plugin 2023-10-20 16:49:46 -07:00
Eggbertx
8f9e64eb8e Add http requests and await/async to Lua plugins 2023-10-19 11:54:12 -07:00
Eggbertx
08fc8d5507 Remove unnecessary log hook 2023-10-19 11:42:01 -07:00
Eggbertx
b3a57f50a8 Add non-RPC changes to master 2023-10-19 11:33:21 -07:00
Eggbertx
b80c8b3f76 Add announcement functionality 2023-09-03 16:48:42 -07:00
Eggbertx
d5e614b664 Remove unused manage_config.html template and function, add manage_announcements.html 2023-09-03 00:48:12 -07:00
Eggbertx
13f97233a8 Refactor duration error checking to use errors from durationutil pkg 2023-08-30 11:20:24 -07:00
Eggbertx
c07d610ee5 Move duration parsing string to a separate repo 2023-08-28 12:33:43 -07:00
Eggbertx
cf11d1a490 Show bans in descending order 2023-08-18 08:55:27 -07:00
Eggbertx
cc76b25a8d Move SQL driver imports to gcsql package, add SQL connection time limits
7cf5482876/README.md (important-settings)
2023-08-18 08:33:50 -07:00
Eggbertx
e580c6529e Document Lua plugin functions, bump version to 3.8.0 2023-08-09 11:57:50 -07:00
Eggbertx
de2815c653 Add PDF handling plugin 2023-07-14 17:53:46 -07:00
Eggbertx
686c6fc004 Make OPs use the correct thumbnail 2023-07-14 17:53:26 -07:00
Eggbertx
53d5c877ed Print stack trace in MakePost to stdout if recover returns non-nil 2023-07-14 16:45:51 -07:00
Eggbertx
fb2e68c767 Remove no longer used request and writer args from file ban functions 2023-07-14 16:43:44 -07:00
Eggbertx
a0c0466725 Make thumbnail extension determining more dynamic, move to uploads pkg 2023-07-14 11:04:46 -07:00
Eggbertx
b0e81aac99 Don't depend on each file handler function to get file size 2023-07-14 08:38:21 -07:00
Eggbertx
cfbe7a8ffb Make upload extensions registerable by plugins 2023-07-13 09:01:28 -07:00
Eggbertx
4078197b8d Move upload handling to subpackage 2023-07-12 14:20:41 -07:00
Eggbertx
c573e26399 Add fixthumbnails manage function 2023-07-12 10:56:03 -07:00
Eggbertx
6c0926b4ec Set release strings to 3.7.0 for new release 2023-06-24 12:47:14 -07:00
Eggbertx
4264b8eeec Set Content-Type header to application/json when a post is submitted 2023-06-22 10:46:04 -07:00
Eggbertx
7c116dafc6 Backend: Return JSON when post is submitted via QR
Frontend: request thread and trigger update from returned JSON
2023-06-16 12:06:26 -07:00
Eggbertx
36ce238dff Remove extraneous prints 2023-06-16 09:54:52 -07:00
Eggbertx
a073aa49f3 Add dropdown item to ban post IP 2023-06-16 09:29:38 -07:00
Eggbertx
af4572ea5c Prevent error when scanning filename if filename is NULL 2023-06-16 08:52:10 -07:00
Eggbertx
9ae29a93cf Clean up front page recnet posts query 2023-06-16 08:42:17 -07:00
Eggbertx
8014aaf4fb Prevent post from still being inserted if an error was encountered during upload 2023-06-15 13:45:32 -07:00
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
7f07139430 Add manage page for viewing the main log (non-access) 2023-06-14 14:37:45 -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