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

40 commits

Author SHA1 Message Date
Eggbertx
94f2deadec Add more comments to config struct fields, rename ListenIP to ListenAddress and SiteDomain to SiteHost, since they are more accurate. 2025-03-02 12:44:42 -08:00
Eggbertx
74f9e415b4 Fix deepsource issues 2025-02-18 19:50:41 -08:00
Eggbertx
5ae229d61e Add LoadPlugins test 2025-02-18 13:16:07 -08:00
Eggbertx
e0ee76bce1 Add Lua tests for url module provider 2025-02-18 11:56:09 -08:00
Eggbertx
5a7695e98f Fixed referer checking, added more testing for server and serverutil packages 2025-02-10 21:41:21 -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
ce468fa1da Add config and config preload tests 2024-05-17 13:45:32 -07:00
Eggbertx
fd75f46f02 Update gcplugin test expected value 2024-02-27 21:04:46 -08:00
Eggbertx
39908d74c6 Set up lua GeoIP handler registration and Cloudflare GeoIP header example plugin 2024-01-22 16:48:20 -08:00
Eggbertx
b252e65ba7 Make templates private, accessible via template filename 2023-12-19 13:32:25 -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
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
b3a57f50a8 Add non-RPC changes to master 2023-10-19 11:33:21 -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
a0c0466725 Make thumbnail extension determining more dynamic, move to uploads pkg 2023-07-14 11:04:46 -07:00
Eggbertx
6c0926b4ec Set release strings to 3.7.0 for new release 2023-06-24 12:47:14 -07:00
Eggbertx
8b42d4102e Don't double-log if an event recovered from a panic 2023-06-12 08:50:45 -07:00
Eggbertx
51832082a9 Use testify assertions in test functions 2023-06-09 10:15:41 -07:00
Eggbertx
6a7f938d04 Add support for native Go plugins 2023-06-02 15:16:47 -07:00
Eggbertx
adff364ee3 Make the db_scan_rows plugin function work 2023-04-27 08:57:13 -07:00
Eggbertx
4216751847 Add db_query() and db_scan_rows() to plugin system (still in progress) 2023-04-22 16:32:32 -07:00
Eggbertx
90065cf8fa Add lua functions for getting configuration, registering manage page, and loading/parsing templates 2023-01-06 20:13:58 -08:00
Eggbertx
05e01c6366 Add a simple event system and the ability for lua plugins to register and trigger events 2023-01-05 21:31:28 -08:00
Eggbertx
d0e59b4580 Update gcplugin package for new API, use luar to pass zerolog logs to VM 2022-12-30 15:27:19 -08:00
Eggbertx
c38816b5df Properly create plugins table on startup, close Lua state on end 2022-12-29 16:58:49 -08:00
Eggbertx
6567da3300 Add de-deprecation stuff (will not build yet) 2022-10-11 14:26:31 -07:00
Eggbertx
2c3429256f Separate access info into separate log file 2022-09-18 15:32:07 -07:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
703cd41c9c add config.SetVersion call to gcplugin.TestStructPassing 2022-06-01 15:33:46 -07:00
Eggbertx
7e87a9ec10 Test value modification with gcplugin.TestStructPassing 2022-06-01 15:05:26 -07:00
Eggbertx
a8ed56983f Remove unnecessary userdata object from gcplugin.TestStructPassing() 2022-06-01 14:39:52 -07:00
Eggbertx
495399eae7 Add simple plugin loader
(though it doesn't do anything useful yet)
2022-06-01 14:17:27 -07:00