1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-02 10:56:25 -07:00
Commit graph

1706 commits

Author SHA1 Message Date
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
092d03ff0c Clean up filter hit JSON 2024-08-17 17:19:40 -07:00
Eggbertx
35860a8a6d Implement file fingerprint, filename, and checksum banning via filter conditions 2024-08-17 16:26:11 -07:00
Eggbertx
83bc642674 Update init SQL files and schema diagram now that the wordfilter table is no longer necessary 2024-08-12 12:31:12 -07:00
Eggbertx
4802c837fb Clean up duplicate code in filters 2024-08-11 18:59:59 -07:00
Eggbertx
b9f1dac00d Remove debugging text 2024-08-11 16:37:37 -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
bf8fc7a7ba Exclude wordfilters from regular filter queries (still included when getting a single filter) 2024-08-11 10:47:39 -07:00
Eggbertx
e812ef0b0a Add stuff to migrate wordfilters to filter tables 2024-08-11 10:12:59 -07:00
Eggbertx
a87c1b2438 Update non-regex filter fields in frontend 2024-08-11 08:58:06 -07:00
Eggbertx
cc4b7c64fb Simplify where clause adding for active filter 2024-08-11 08:55:28 -07:00
Eggbertx
9c1c03c7d2 Replace text box for board limiting with dropdown 2024-08-11 08:40:19 -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
e3a4efd9c0 Add function to get all filters, add IsActive filter property 2024-08-11 00:08:57 -07:00
Eggbertx
38deb284c0 Add is_active to filter table 2024-08-11 00:01:45 -07:00
Eggbertx
d2b44f0e12 Add filter method for getting its associated board IDs 2024-08-10 22:21:05 -07:00
Eggbertx
9c3e0c9a7b Remove not all that necessary struct (table is only used as a relation between a filter and boards) 2024-08-10 22:20:11 -07:00
Eggbertx
32c11ed337 Add filter structs and some functions for them 2024-08-10 21:55:58 -07:00
Eggbertx
844abc198c Fix filter board migration for name and filename bans (hopefully) 2024-08-10 20:43:39 -07:00
Eggbertx
8dd15e07f1 Don't drop the deprecated tables 2024-08-10 20:39:27 -07:00
Eggbertx
e12b2fb982 Add migration stuff for filter tables 2024-08-10 20:01:33 -07:00
Eggbertx
c7f15e3d25 Fix typo in sql init files 2024-08-10 17:56:09 -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
befaf3ae23 Replace condition add/remove buttons with links, move add link to end of conditions 2024-08-10 13:15:06 -07:00
Eggbertx
5c2577f089 Don't change text when switching between reject and ban 2024-08-10 12:48:39 -07:00
Eggbertx
14e2985cca Fix "All boards" checkbox not disabling other board checkboxes, improve action dropdown text 2024-08-10 12:43:38 -07:00
Eggbertx
dea282ae9b Remove checkbox for boolean conditions 2024-08-10 12:37:27 -07:00
Eggbertx
6b3d8e8aeb Start adding filter mgmt page and some more ERD updates 2024-08-10 01:14:21 -07:00
Eggbertx
a0fa938669 re-add wordfilter table (with board table) to ERD 2024-08-09 23:26:05 -07:00
Eggbertx
269efd40d0 Update ERD with planned filter diagram updates 2024-08-09 21:44:42 -07:00
Eggbertx
3d6ca6db45 update database relationship diagram 2024-08-09 20:57:28 -07:00
Eggbertx
6a6a61f44e Rename devtools directory to tools, add get_js.py to download JS 2024-08-09 18:16:10 -07:00
Eggbertx
7307e2c6a4 Fix DeepSource complaints 2024-08-03 17:44:50 -07:00
Eggbertx
a82b0a1024 Add QR support for browse button replacement 2024-08-03 17:31:16 -07:00
Eggbertx
96405ffb8c Add allowed non-standard filetypes to consts template 2024-08-03 17:05:55 -07:00
Eggbertx
662cca0273 Add clipboard uploading to the static post form 2024-08-03 13:28:06 -07:00
Eggbertx
4770bf6cab Add margin to deleted file box 2024-07-31 10:07:45 -07:00
Eggbertx
840f70b92c Add functions for new upload field 2024-07-30 17:23:46 -07:00
Eggbertx
562e7e97b0 Properly return spoiler thumbnails to their original size when the expanded image is clicked 2024-07-29 21:43:56 -07:00
Eggbertx
b85b91c04d Don't write file thumbnail if spoiler (otherwise it overwrites /spoiler.png)
Also add spoilering for videos and non-video non-image uploads
2024-07-29 21:05:03 -07:00
Eggbertx
8bc9c225e2 Add default spoiler image 2024-07-29 18:50:41 -07:00
Eggbertx
34d1eec0c1 Fix failing build tests 2024-07-26 00:06:16 -07:00
Eggbertx
5f3337579b
Merge pull request #103 from gochan-org/dependabot/go_modules/golang.org/x/image-0.18.0
Bump golang.org/x/image from 0.16.0 to 0.18.0
2024-06-26 15:49:59 -07:00