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

1782 commits

Author SHA1 Message Date
Eggbertx
df63133d97 Update test strings for filters and filter_conditions table provisioning 2024-09-07 16:08:20 -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
9875b011df Re-add incoming-upload event trigger 2024-09-07 00:54:30 -07:00
Eggbertx
9551c35f83 Update database ERD with handle_if_any 2024-09-06 15:41:12 -07:00
Eggbertx
b1df0bf80a Add "handle if any" functionality to matching filters 2024-09-05 18:49:20 -07:00
Eggbertx
26dcb34edf Apply suggestions made by DeepSource 2024-08-30 23:08:01 -07:00
Eggbertx
556b6e27e4
Merge pull request #107 from gochan-org/dependabot/npm_and_yarn/frontend/webpack-5.94.0
Bump webpack from 5.89.0 to 5.94.0 in /frontend
2024-08-30 22:28:39 -07:00
dependabot[bot]
edeaf4044d
Bump webpack from 5.89.0 to 5.94.0 in /frontend
Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 05:26:31 +00: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
671379b834 Use different class for filter hits 2024-08-28 21:54:10 -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
acdd34c76f Update post dropdown to replace removed tools with filter creation page 2024-08-26 21:56:32 -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
82bf2942c6 Add information on regular expression syntax to the filter page 2024-08-25 17:46:31 -07:00
Eggbertx
84c101e865 Clean up some no longer used code 2024-08-25 17:30:18 -07:00
Eggbertx
ec8ce785aa Update ERD with renamed column 2024-08-25 17:23:36 -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
a50845ee87 Fix SQL query not correctly separating wordfilters 2024-08-24 16:18:21 -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
dbc9702b6d Fix DoPostFiltering using post ID instead of board ID 2024-08-23 17:17:46 -07:00
Eggbertx
6a7296b4f6 Update tests with new filter schema 2024-08-21 17:24:47 -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
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