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

183 commits

Author SHA1 Message Date
Eggbertx
c7fa173d3a Add more views 2024-10-17 12:36:26 -07:00
Eggbertx
605972bd86 Properly handle multiple gochan databases in MySQL/Postgres, use wrapper for "Get posts with this IP" JSON request 2024-09-20 23:13:44 -07:00
Eggbertx
5074320f60 Add cyclical icon 2024-09-09 16:47:35 -07:00
Eggbertx
f1a5acc9e4 Add ability to make stickied, locked, and cyclical threads to backend code 2024-09-08 15:46:09 -07:00
Eggbertx
d13e9c4725 Add query filter helper function, add functions for getting only non-upload and only upload filters 2024-09-07 17:54:01 -07:00
Eggbertx
6c1ecc7b61 Add indicator of number of filter hits on Hits link 2024-09-07 15:55:34 -07:00
Eggbertx
ec92e056fd Add button to clear hits for a filter (admin only) 2024-09-07 15:40:37 -07:00
Eggbertx
bfbca50f81 Make handle if any updateable from the filter page 2024-09-07 14:36:47 -07:00
Eggbertx
26dcb34edf Apply suggestions made by DeepSource 2024-08-30 23:08:01 -07:00
Eggbertx
641d46d822 Fix manage router group not showing login page 2024-08-30 21:54:51 -07:00
Eggbertx
930250c694 Move filterFields and filterActionsMap to filters.go 2024-08-29 16:13:31 -07:00
Eggbertx
0abf5b6a35 Add cancel button when building a filter from a post, use html/template.HTML array for filter hits for verbatim rendering instead of a textarea 2024-08-28 21:50:39 -07:00
Eggbertx
b4c905e770 Separate manage filters callback into helper functions, add ability to build filter from post data 2024-08-26 21:47:41 -07:00
Eggbertx
ec63cf0ac9 Improve error handling during post formatting 2024-08-26 21:16:03 -07:00
Eggbertx
cea738adb1 Fix POST requests not working on manage pages, don't reject the post if filter action = log 2024-08-25 17:20:21 -07:00
Eggbertx
69c8cc4765 Add filter hits page, refactor manage action resolving to use the router 2024-08-25 16:59:25 -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
38c4107b15 Fix condition double-sending 2024-08-19 16:34:48 -07:00
Eggbertx
a7744d6d88 Add condition for if a filter staff ID is null 2024-08-19 09:54:02 -07:00
Eggbertx
824bdf04cd Add boards column to filter table 2024-08-19 09:30:15 -07:00
Eggbertx
bd5a61f216 Make showing only active filters the default 2024-08-19 09:18:14 -07:00
Eggbertx
2e857f9370 Populate filter page when edit link is clicked and parse submitted filter data 2024-08-18 23:06:40 -07:00
Eggbertx
35860a8a6d Implement file fingerprint, filename, and checksum banning via filter conditions 2024-08-17 16:26:11 -07:00
Eggbertx
8d072de374 Fix wordfilter enabling, disabling, and editing 2024-08-11 16:29:38 -07:00
Eggbertx
74716d19d4 Replace board dirs text input box with checkboxes 2024-08-11 15:48:41 -07:00
Eggbertx
d40e561287 Start migrating wordfilter struct and usage 2024-08-11 13:59:58 -07:00
Eggbertx
cc4b7c64fb Simplify where clause adding for active filter 2024-08-11 08:55:28 -07:00
Eggbertx
506dd0db42 Add getting filters by board dir 2024-08-11 01:00:05 -07:00
Eggbertx
fa56d500b8 Add filter enabling/disabling 2024-08-11 00:40:45 -07:00
Eggbertx
09b42624d0 Clean up formatting for management tables, set new conditions to the name field 2024-08-10 13:59:18 -07:00
Eggbertx
6b3d8e8aeb Start adding filter mgmt page and some more ERD updates 2024-08-10 01:14:21 -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
1032042472 Fix changes suggested by sqlclosecheck 2024-05-24 16:10:07 -07:00
Eggbertx
3547b3117e Use proper "Go-like" names for file modes
Try to create log dir if it doesn't exist
2024-05-17 10:57:23 -07:00
Eggbertx
d314ade60e Get all affected posts and files, including replies to checked thread OPs 2024-04-28 20:20:31 -07:00
Eggbertx
d9c5b29166 Don't return error in GetStaffFromRequest if no rows were returned (let calling func handle it) 2024-04-21 14:46:58 -07:00
Eggbertx
2de3ecfe7c Merge branch 'master' into refactor-util-concurrency 2024-04-21 14:35:29 -07:00
Eggbertx
6e166b6b70 rename manage.getCurrentFullStaff to manage.GetStaffFromRequest 2024-04-21 14:26:23 -07:00
Eggbertx
fa56348d9d start /util refactor 2024-04-19 14:03:10 -07:00
Eggbertx
f4a3908aa7 Simplify generating zerolog info and error events for requests 2024-04-19 13:45:57 -07:00
Eggbertx
8464c2447c Fix template issues with pointer/non-pointer receivers 2024-03-27 11:13:31 -07:00
Eggbertx
bd6992cb87 Make zerolog error Event usage more consistent (Caller on the same line as Err) 2024-03-18 12:41:03 -07:00
Eggbertx
c2d834c712 Remove nil dereference 2024-03-16 20:22:46 -07:00
deepsource-autofix[bot]
1fa89846fc
refactor: unused parameter should be replaced by underscore
Unused parameters in functions or methods should be replaced with `_`
(underscore) or removed.
2024-02-28 17:45:52 +00:00
Eggbertx
026537d549 Make post dropdown option for fingerprint ban work 2024-02-19 20:47:11 -08:00
Eggbertx
7580c965dc Properly handle ban_ip for file bans 2024-02-19 17:36:00 -08:00
Eggbertx
7a37003be2 Move fingerprinting/SQL work to uploads package 2024-02-19 16:58:40 -08:00
Eggbertx
96c2c2bffe Add on-demand fingerprinting function available to mods 2024-02-19 15:55:12 -08:00
Eggbertx
4d187a27c8 Add fingerprinting stuff to file bans form 2024-02-18 16:42:27 -08:00
Eggbertx
d5db071447 Move staff options to staffinfo callback 2024-02-18 15:09:46 -08:00