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 |
|
Eggbertx
|
423dd25713
|
Correct extensions for video uploads (missing period at beginning)
|
2023-04-14 08:46:24 -07:00 |
|
Eggbertx
|
34cab06311
|
Add ability to update thread attributes from manage page
|
2023-02-02 11:12:39 -08:00 |
|
Eggbertx
|
78feba0994
|
Add skipcq for some deepsource issues that are there for a reason
|
2023-01-04 23:40:35 -08:00 |
|
Eggbertx
|
f3add8bb89
|
Use more standardized file modes
|
2022-12-31 17:29:57 -08:00 |
|
Eggbertx
|
07a4b22396
|
Write to standard output if debug mode is enabled
|
2022-11-10 12:27:57 -08:00 |
|
Eggbertx
|
5154aa93cc
|
Pass Error and info events to manage action callback functions
|
2022-11-10 12:18:13 -08:00 |
|
Eggbertx
|
b16fdc81b8
|
Fix building errors for de-deprecation
|
2022-11-09 10:15:37 -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
|
2c3429256f
|
Separate access info into separate log file
|
2022-09-18 15:32:07 -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
|
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
|
8e706a313c
|
Make template for recent posts page
Also make manage page h1 headers automatic
|
2022-01-29 23:47:13 -08:00 |
|
Eggbertx
|
62a31e651e
|
Add utility function for getting file parts
|
2021-12-15 23:42:07 -08:00 |
|
Eggbertx
|
d94d79a7d1
|
Replace gcutil shims with calls to gcutil functions
|
2021-04-21 17:03:00 -07:00 |
|