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

29 commits

Author SHA1 Message Date
Eggbertx
10e0da4492 Add future-proof functions using struct for context, tx, etc 2025-02-05 17:32:10 -08:00
Eggbertx
9ca424f4da Ad test for pre2021 ban migration and start adding implementation 2025-01-03 23:21:16 -08:00
Eggbertx
84c101e865 Clean up some no longer used code 2024-08-25 17:30:18 -07:00
Eggbertx
ce293d3e24 replace is_regex in filters with more string matching options (substring, regex, exact match) 2024-08-24 15:37:34 -07:00
Eggbertx
8be391ba5c Add timeouts to ban and board SQL operations 2024-05-31 11:37:09 -07:00
Eggbertx
1032042472 Fix changes suggested by sqlclosecheck 2024-05-24 16:10:07 -07:00
Eggbertx
692602402c replace hacky interfaceSlice function in gcsql with []any{...} 2024-05-24 14:19:50 -07:00
Eggbertx
90b98c76de Create event for reloading board and section arrays 2024-03-13 14:58:22 -07:00
Eggbertx
7580c965dc Properly handle ban_ip for file bans 2024-02-19 17:36:00 -08:00
Eggbertx
4d187a27c8 Add fingerprinting stuff to file bans form 2024-02-18 16:42:27 -08:00
Eggbertx
121959fa15 Convert DBPREFIXposts.ip and DBPREFIXreports.ip to VARBINARY 2024-01-01 13:30:32 -08:00
Eggbertx
204ae9506f Update ban page and ban submission to accomodate ranges 2023-12-31 18:02:42 -08:00
Eggbertx
57693ba549 Replace IP field of IPBan with RangeStart and RangeEnd 2023-12-28 23:06:44 -08:00
Eggbertx
cf11d1a490 Show bans in descending order 2023-08-18 08:55: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
4f843d5431 (Re)add next and previous page links
Add not-yet-used function to remove old threads that are past the board's limit
Also add functions to simplify querying with transactions
2023-01-18 12:35:40 -08:00
Eggbertx
e87915ecb9 Use more transactions, and replace getNextFreeID with getLatestID 2022-12-24 12:25:23 -08:00
Eggbertx
f38a648f52 Replace references to filename and username wildcard with regex 2022-12-08 08:29:49 -08:00
Eggbertx
598c5a04ff Add name ban manage page 2022-12-06 16:52:16 -08:00
Eggbertx
17a326bc17 Make appeals work 2022-11-29 13:10:40 -08:00
Eggbertx
e6fca7e4c6 Add ability to create new filename and file checksum bans with new api 2022-11-20 16:05:48 -08:00
Eggbertx
5b8c0110af Make file ban deletion work 2022-11-18 16:57:23 -08:00
Eggbertx
adb032d2ed readd filename banning page
Related to issue #28
2022-11-18 16:47:25 -08:00
Eggbertx
9d9a978e68 Add ban deactivateion, with auditing, related to issue #28 and issue #31 2022-11-18 15:42:58 -08:00
Eggbertx
bfac3ef93c Make ban adding (sorta) work again 2022-11-17 16:32:28 -08:00
Eggbertx
34688190e2 Update IP ban interface for new gcsql API 2022-11-16 15:11:55 -08:00
Eggbertx
585c54c772 Add file checksum verification/ban 2022-11-07 16:37:53 -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
b69536b772 Add IP ban checking function 2022-11-02 16:26:15 -07:00