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

315 commits

Author SHA1 Message Date
Eggbertx
0b175ef2e5 Fully implement cyclical threads 2025-01-12 16:26:49 -08:00
Eggbertx
d0241f3a09 Prune posts in cyclical threads 2025-01-12 14:52:06 -08:00
Eggbertx
b966604d1d Avoid using Select * in SQL queries, normalize some view columns 2025-01-12 14:01:36 -08:00
Eggbertx
74d8136f26 Re-add upload.PostID and upload.FileOrder assignment 2025-01-11 14:39:21 -08:00
Eggbertx
442319e77a Use fmt.Errorf and %w for unwrappable errors 2025-01-10 17:33:19 -08:00
Eggbertx
3faec688cc Make function for registering components and Post.NextFileOrder public 2025-01-05 13:57:44 -08:00
Eggbertx
9ca424f4da Ad test for pre2021 ban migration and start adding implementation 2025-01-03 23:21:16 -08:00
Eggbertx
ee0b91059f Add pre-2021 post upload migration 2025-01-03 22:01:16 -08:00
Eggbertx
95460e91d6 Add thread post migration for pre2021 2025-01-02 23:15:23 -08:00
Eggbertx
0dcffa06df Make createThread function public 2025-01-02 21:31:41 -08:00
Eggbertx
0d0aca83af Add gcsql.GetSectionFromName and start overhaul of pre2021 migration 2024-12-31 15:36:20 -08:00
Eggbertx
75d5b32cdc Start working on making it possible to migrate old imageboard DB in place 2024-12-29 17:49:05 -08:00
Eggbertx
478e8a1abe Add rank updating for admins 2024-12-14 22:17:45 -08:00
Eggbertx
7c417e6b7c Fix bug with videos getting tripped by the image fingerprint matcher 2024-11-23 11:19:47 -08:00
Eggbertx
f593f70bad Return all post IDs in v_top_post_board_dir 2024-11-21 10:35:54 -08:00
Eggbertx
98a279d039 Add docker compose file for sqlite3 DB 2024-11-07 12:11:47 -08:00
Eggbertx
e7ddcf1418 Remove old pre-view column reference and comment unused function 2024-10-20 01:13:23 -07:00
Eggbertx
658ee0f41d Fix some issues with views (not getting the expected data, columns not matching, etc) 2024-10-20 01:01:13 -07:00
Eggbertx
7a3130635a Reset views on gochan startup 2024-10-18 13:05:37 -07:00
Eggbertx
c7fa173d3a Add more views 2024-10-17 12:36:26 -07:00
Eggbertx
1f7e75417e Update versions for v4 release 2024-10-13 23:18:29 -07:00
Eggbertx
7eabd5bfd8 Split filter migration back into their own methods and separate transactions 2024-10-13 21:47:12 -07:00
Eggbertx
8d98bc39df Move filter migration out of common 2024-10-13 20:30:38 -07:00
Eggbertx
eb06047055 Use more context/timeout queries in gochan-migrate, start using zerolog 2024-10-13 13:43:08 -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
52adfc0847 Move some building.Post fields to gcsql.Post to reduce reusage 2024-09-20 15:47:21 -07:00
Eggbertx
2bf5160202 Log error if one was returned by boardPageFile.Close, use struct instead of map for boards.json 2024-09-18 23:20:55 -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
9eda27d38b Clean up MakePost 2024-09-07 23:42:22 -07:00
Eggbertx
dcc6f5cd4e Apply filters and wordfilters to post editing 2024-09-07 21:02:11 -07:00
Eggbertx
3f740d1edc Handle pre-upload filtering 2024-09-07 18:39:36 -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
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
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
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
ec63cf0ac9 Improve error handling during post formatting 2024-08-26 21:16:03 -07:00
Eggbertx
84c101e865 Clean up some no longer used code 2024-08-25 17:30:18 -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
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