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

1768 commits

Author SHA1 Message Date
Eggbertx
3167b97db4 Update announcements table style 2024-03-18 12:55:09 -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
Eggbertx
90b98c76de Create event for reloading board and section arrays 2024-03-13 14:58:22 -07:00
Eggbertx
be3cd50c08 Move flag attaching to separate function 2024-03-13 13:58:36 -07:00
Eggbertx
4b5ea350eb Start moving template functions to their respective packages 2024-03-13 13:41:15 -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
2d0b758a14 Use CSS on tables instead of border HTML attribute, standardize table headers 2024-03-08 14:50:28 -08:00
Eggbertx
ed38e6a6e8 Fix plugin building bug in build.py 2024-03-08 12:48:01 -08:00
Eggbertx
80f2b98147 Improve performance on gcutil.ParseIPRange for IPv6 2024-03-08 12:44:53 -08:00
Eggbertx
9029163c40 Update configuration documentation with GeoIP and fingerprinting 2024-03-05 22:09:14 -08:00
Eggbertx
d74479298c Update plugin API documentation 2024-03-05 21:54:15 -08:00
Eggbertx
cc5f1ec07f Clean up build.py some more, bump version to 3.10 2024-03-05 21:37:45 -08:00
Eggbertx
852dc8dc09 Remove unnecessary fingerprint fmt.Println call, 2024-03-05 21:17:48 -08:00
Eggbertx
4c5a0a1dd3 move skipcq line to appease Deepsource 2024-03-05 21:03:20 -08:00
Eggbertx
5c97822a0f Do security audits 2024-03-05 21:01:27 -08:00
Eggbertx
7f2fe50749 Don't use shell=True in subprocess.Popen 2024-03-05 20:47:40 -08:00
Eggbertx
3fd198ff8b Remove unnecessary comment 2024-03-04 16:13:18 -08:00
Eggbertx
0f36a300c4 Add ip2location GeoIP plugin 2024-03-04 15:37:34 -08:00
Eggbertx
422235d42c Add empty default cases 2024-03-04 13:57:14 -08:00
Eggbertx
6211b66403 Fix impossible condition 2024-03-04 13:55:03 -08:00
Eggbertx
c9ccb53d89 Make settings auto-save except for custom CSS and JS 2024-02-28 13:37:44 -08:00
Eggbertx
5f449e11f6 Remove unused canFingerprint function 2024-02-28 10:37:51 -08:00
Eggbertx
a49dc81230 Increase size of textareas in settings 2024-02-28 10:33:02 -08:00
Eggbertx
001cb9b611 Add custom JS to new script tag instead of calling eval, use ?? instead of || 2024-02-28 10:21:23 -08:00
Eggbertx
4fd7f91346
Merge pull request #97 from gochan-org/deepsource-autofix-47d28657
refactor: unused parameter should be replaced by underscore
2024-02-28 09:46:15 -08: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
fd75f46f02 Update gcplugin test expected value 2024-02-27 21:04:46 -08:00
Eggbertx
1681957147 fix dropdown fingerprint 2024-02-27 20:55:20 -08:00
Eggbertx
8404e3834e Add image and video thumbnail fingerprint checking on post attempt 2024-02-27 20:47:12 -08:00
Eggbertx
a102fe355e Use block display for staffmenu items 2024-02-24 17:53:12 -08:00
Eggbertx
54901cc6a3 Remove .bmp extension from ImageExtensions, since it isn't used 2024-02-23 13:50:15 -08: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
f250a5a356 Add flag and country to base post query 2024-02-19 17:05:56 -08:00
Eggbertx
7a37003be2 Move fingerprinting/SQL work to uploads package 2024-02-19 16:58:40 -08:00
Eggbertx
6be85e960a Remove Println from FingerprintFile 2024-02-19 15:58:11 -08:00
Eggbertx
96c2c2bffe Add on-demand fingerprinting function available to mods 2024-02-19 15:55:12 -08:00
Eggbertx
97a98ce124 Add fingerprint options to dropdown 2024-02-18 17:10:19 -08:00
Eggbertx
4d187a27c8 Add fingerprinting stuff to file bans form 2024-02-18 16:42:27 -08:00
Eggbertx
b93905bdc8 Add fingerprinting options, merge actions and staff info requests 2024-02-18 15:41:41 -08:00
Eggbertx
d5db071447 Move staff options to staffinfo callback 2024-02-18 15:09:46 -08:00
Eggbertx
c5e44eb915 Make post info use a struct for safer typing, add staff-specific options JSON 2024-02-18 14:48:06 -08:00
Eggbertx
0795a0a8a8 Merge fingerprinting package into uploads package 2024-02-14 15:18:11 -08:00
Eggbertx
5e7a648e37 Start adding ahash fingerprinting support 2024-02-12 15:22:58 -08:00
Eggbertx
0d68fc78cf Add fingerprinting table update to gochan-migrate 2024-02-12 13:52:00 -08:00
Eggbertx
75fd0bd668 Add fingerprinting attributes, update ERD 2024-02-12 13:38:17 -08:00
Eggbertx
2a49de7575 Audit potential bugs pointed out by Deepsource 2024-02-07 15:15:56 -08:00