Eggbertx
|
7a0cbb06e3
|
Make LICENSE a symbolic link to cmd/gochan-installer/license.txt to avoid potential build issues
|
2025-07-19 19:49:48 -07:00 |
|
Eggbertx
|
ccad76ff28
|
Use constants for environment variables, check GOCHAN_CONFIG value before standard gochan.json locations
|
2025-06-26 10:10:17 -07:00 |
|
Eggbertx
|
7a4d28d3d9
|
Refactor command line initialization and logging error handling
|
2025-05-08 16:34:11 -07:00 |
|
Eggbertx
|
d923c73000
|
Rework command line staff management commands and password handling, update logging initialization options, and bump version to 4.2.0 in preparation for upcoming release
|
2025-05-07 14:51:57 -07:00 |
|
Eggbertx
|
0b0987efad
|
Refactor FuzzyTime.Match to simplify time comparison logic
|
2025-04-24 20:20:36 -07:00 |
|
Eggbertx
|
6cf305d38c
|
Clean up ban form to use blank duration for permaban
|
2025-04-24 20:18:27 -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
|
67bbb4125c
|
refactor captcha handling, simplify HTML template testing with goquery
|
2025-03-29 20:19:45 -07:00 |
|
Eggbertx
|
a47e03def4
|
Add text formatting classes and update report handling logic to dismissing in bulk
|
2025-03-28 21:55:15 -07:00 |
|
Eggbertx
|
faf1457c36
|
Remove mostly unused Verbose config field, add LogLevel
|
2025-03-25 21:55:21 -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
|
3b12039f38
|
Add warning event to gcutil.LogRequest, improve error messages
|
2025-03-07 23:14:27 -08:00 |
|
Eggbertx
|
b0e88c551d
|
Return error in InitConfig instead of exiting outright if something goes wrong
|
2025-03-03 17:16:48 -08:00 |
|
Eggbertx
|
caaeef2942
|
Don't fail a test if the current directory is /vagrant (assumed to be testing in a VM)
|
2025-03-02 13:41:12 -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
|
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
|
64e1e6e15a
|
Fix PanicIfNotTest and GoToGochanRoot
|
2024-12-23 09:19:05 -08:00 |
|
Eggbertx
|
eb06047055
|
Use more context/timeout queries in gochan-migrate, start using zerolog
|
2024-10-13 13:43:08 -07:00 |
|
Eggbertx
|
d56a6a22e7
|
Properly set up error logging event in LogRequest
|
2024-09-07 17:53:10 -07:00 |
|
Eggbertx
|
37ef5428f7
|
Start adding building tests
|
2024-05-31 16:37:33 -07:00 |
|
Eggbertx
|
98eb2c4429
|
Add configuration setting for staff session time, use context/timeout for session creation
|
2024-05-30 11:39:24 -07:00 |
|
Eggbertx
|
f4a3908aa7
|
Simplify generating zerolog info and error events for requests
|
2024-04-19 13:45:57 -07:00 |
|
Eggbertx
|
c9a8cb8780
|
Use pointer receiver for testutil.MockResponseWriter
|
2024-03-31 00:02:33 -07:00 |
|
Eggbertx
|
dc454d1bc1
|
Move some test utility functions to testutil
|
2024-03-30 22:07:38 -07:00 |
|
Eggbertx
|
71313947da
|
use table driven test for gcutil_test.go
|
2024-03-27 22:13:55 -07:00 |
|
Eggbertx
|
e5bbcc6493
|
Use subtests for IP range testing
|
2024-03-26 22:21:33 -07:00 |
|
Eggbertx
|
f16fa39770
|
Use t.Setenv instead of os.Setenv
|
2024-03-13 10:37:15 -07:00 |
|
Eggbertx
|
b0a19402a8
|
Add some more tests to gcutil, remove some unused functions
|
2024-03-13 10:34:13 -07:00 |
|
Eggbertx
|
def421a176
|
Fix IP subnet range testing, properly check IP length
|
2024-03-12 13:17:57 -07:00 |
|
Eggbertx
|
80f2b98147
|
Improve performance on gcutil.ParseIPRange for IPv6
|
2024-03-08 12:44:53 -08:00 |
|
Eggbertx
|
12ce2a71be
|
Audit security issues pointed out by Deepsource
|
2024-02-07 15:01:19 -08:00 |
|
Eggbertx
|
d892e77b3b
|
Avoid deferring calls to Close() if it may return an error
|
2024-02-06 12:30:18 -08:00 |
|
Eggbertx
|
52eb3e2135
|
Move log closing to end of defer func
|
2024-01-24 10:37:28 -08:00 |
|
Eggbertx
|
b3e7af65f7
|
Add configurable ISO code to MMDB, optionally get IP from env for debugging
|
2024-01-12 15:00:32 -08:00 |
|
Eggbertx
|
57693ba549
|
Replace IP field of IPBan with RangeStart and RangeEnd
|
2023-12-28 23:06:44 -08:00 |
|
Eggbertx
|
84ae85628f
|
Add LogTime function and don't log expires or appealAt values if ban is permanent or can't be appealed, respectively
|
2023-12-28 15:40:17 -08:00 |
|
Eggbertx
|
28963eb813
|
Add IP Range parsing, start working on adding range bans
|
2023-12-28 00:36:24 -08:00 |
|
Eggbertx
|
8e9543970a
|
Remove "Verbosity" config field and rename "DebugMode" to "Verbose" for enabling command line output on errors
|
2023-12-27 17:07:33 -08:00 |
|
Eggbertx
|
a8436c5ee4
|
Fix some issues reported by DeepSource
|
2023-12-19 14:33:40 -08:00 |
|
Eggbertx
|
9688082339
|
Move Lua plugin loaders to their respective gochan packages
|
2023-10-24 16:27:27 -07:00 |
|
Eggbertx
|
0fd9a3a812
|
Use stdout instead of stderr for multiwriter
|
2023-10-23 10:33:53 -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
|
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
|
a0c0466725
|
Make thumbnail extension determining more dynamic, move to uploads pkg
|
2023-07-14 11:04:46 -07:00 |
|
Eggbertx
|
51832082a9
|
Use testify assertions in test functions
|
2023-06-09 10:15:41 -07:00 |
|
Eggbertx
|
5be67fe29d
|
Move topbar into its own template file so that it can be overridden
resolves #39
|
2023-05-23 08:47:27 -07:00 |
|
deepsource-autofix[bot]
|
1d92be6f63
|
refactor: unused parameter should be replaced by underscore
Unused parameters in functions or methods should be replaced with `_`
(underscore) or removed.
|
2023-05-22 15:57:55 +00:00 |
|
Eggbertx
|
ef5a9f49c3
|
Add webp, zip, pdf uploading support
|
2023-04-26 13:10:38 -07:00 |
|