Eggbertx
|
525c5953d9
|
Properly migrate board and sections, and have board point to correct section
|
2025-01-02 17:00:25 -08:00 |
|
Eggbertx
|
beb048716e
|
Move setup functionality in test to a separate function
|
2025-01-01 17:58:09 -08:00 |
|
Eggbertx
|
90986e58b8
|
Add pre2021 section migration
|
2025-01-01 14:53:10 -08:00 |
|
Eggbertx
|
b34a956baa
|
Start adding pre-2021 testing
|
2025-01-01 14:52:43 -08:00 |
|
Eggbertx
|
8b994dce57
|
Consolidate board fields in pre-2021 migration struct and use equivalent gcsql.Board fields
|
2025-01-01 11:55:44 -08:00 |
|
Eggbertx
|
3d15c272e9
|
Include stack trace in MigrateBoards recovery log, replace old stuff in IsMigrated with common.TableExists
|
2024-12-31 17:16:25 -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
|
81270067d5
|
If deleting a post's file returns a not found error, log it but don't show the error
|
2024-12-14 16:39:35 -08:00 |
|
Eggbertx
|
d41127a1df
|
Update post/thread/file deletion query scan parameters
|
2024-11-23 11:27:11 -08:00 |
|
Eggbertx
|
98a279d039
|
Add docker compose file for sqlite3 DB
|
2024-11-07 12:11:47 -08:00 |
|
Eggbertx
|
184d7a1701
|
Fix syntax errors in view reset file
|
2024-10-18 16:30:02 -07:00 |
|
Eggbertx
|
7a3130635a
|
Reset views on gochan startup
|
2024-10-18 13:05:37 -07:00 |
|
Eggbertx
|
018c1eef96
|
Add more views
|
2024-10-15 09:55:41 -07:00 |
|
Eggbertx
|
7eabd5bfd8
|
Split filter migration back into their own methods and separate transactions
|
2024-10-13 21:47:12 -07:00 |
|
Eggbertx
|
f65ac476a2
|
Handle recover in migration defer functions and properly capture return error
|
2024-10-13 20:41:50 -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
|
9586535edc
|
Add fixes to gochan-migration
|
2024-09-18 22:17:30 -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
|
dcc6f5cd4e
|
Apply filters and wordfilters to post editing
|
2024-09-07 21:02:11 -07:00 |
|
Eggbertx
|
26dcb34edf
|
Apply suggestions made by DeepSource
|
2024-08-30 23:08:01 -07:00 |
|
Eggbertx
|
ec63cf0ac9
|
Improve error handling during post formatting
|
2024-08-26 21:16:03 -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
|
35860a8a6d
|
Implement file fingerprint, filename, and checksum banning via filter conditions
|
2024-08-17 16:26:11 -07:00 |
|
Eggbertx
|
e812ef0b0a
|
Add stuff to migrate wordfilters to filter tables
|
2024-08-11 10:12:59 -07:00 |
|
Eggbertx
|
e3a4efd9c0
|
Add function to get all filters, add IsActive filter property
|
2024-08-11 00:08:57 -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
|
b26146f301
|
refactor usage of SystemCriticalConfig to SQLConfig where appropriate
|
2024-05-04 15:31:08 -07:00 |
|
Eggbertx
|
a725dd6b86
|
Add BeginContextTx
|
2024-05-04 14:45:06 -07:00 |
|
Eggbertx
|
bece29d440
|
Refactor connection function signatures to use config.SQLConfig, start adding context usage to gcsql
|
2024-05-01 17:32:19 -07:00 |
|
Eggbertx
|
3cd4539738
|
Clean up post deletion, simplify deletion error reporting
|
2024-04-28 21:46:06 -07:00 |
|
Eggbertx
|
399bcdd1c8
|
Fix file-only delete SQL, don't include files of checked OPs in file-only mode
|
2024-04-28 21:08:11 -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
|
0d8533e99f
|
Use waitgroup for file deletion
|
2024-04-21 13:46:37 -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
|
4917fdf3da
|
Separate template functions
|
2024-03-26 17:49:22 -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
|
0d68fc78cf
|
Add fingerprinting table update to gochan-migrate
|
2024-02-12 13:52:00 -08:00 |
|
Eggbertx
|
2a49de7575
|
Audit potential bugs pointed out by Deepsource
|
2024-02-07 15:15:56 -08:00 |
|
Eggbertx
|
12ce2a71be
|
Audit security issues pointed out by Deepsource
|
2024-02-07 15:01:19 -08:00 |
|
Eggbertx
|
e61d1e50c6
|
Handle SetupGeoIP if not set
|
2024-02-06 22:03:31 -08:00 |
|
Eggbertx
|
72a1795c11
|
skipcq: CRT-D0011 (call to os.Exit made in function using defer)
|
2024-02-06 12:40:53 -08:00 |
|
Eggbertx
|
f62e2a506f
|
Remove redundant defer
|
2024-02-06 12:34:30 -08:00 |
|
Eggbertx
|
d892e77b3b
|
Avoid deferring calls to Close() if it may return an error
|
2024-02-06 12:30:18 -08:00 |
|