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

190 commits

Author SHA1 Message Date
Eggbertx
5c4e200631 Implement in-place announcement migration 2025-01-26 17:01:27 -08:00
Eggbertx
d3c985bd50 Implement staff and ban migration in place, and the respective tests 2025-01-26 16:24:45 -08:00
Eggbertx
f0f0f055da Add post migration in place 2025-01-25 17:46:55 -08:00
Eggbertx
cec68cb29b Implement in-place board migration 2025-01-25 13:34:33 -08:00
Eggbertx
12350cc33f Add warning when migrating a SQLite database in-place 2025-01-25 13:01:52 -08:00
Eggbertx
65d4dee673 Add alter statements for in-place board migration 2025-01-25 11:41:26 -08:00
Eggbertx
e2b5883e51 Start implementing in-place migration for pre2021 2025-01-19 15:04:03 -08:00
Eggbertx
b966604d1d Avoid using Select * in SQL queries, normalize some view columns 2025-01-12 14:01:36 -08:00
Eggbertx
625aadb0d0 Update TestPre2021Migration with proper assertion 2025-01-10 17:37:27 -08:00
Eggbertx
5d782c4eab Add clarification to migrator comments 2025-01-10 16:44:19 -08:00
Eggbertx
175710b43b Add announcement migration 2025-01-05 17:23:18 -08:00
Eggbertx
4f9f1e0d3f Add migrating pre-2021 name/file bans to filters 2025-01-05 16:01:17 -08:00
Eggbertx
01d7a722a5 Properly migrate ban staff ID 2025-01-05 15:37:46 -08:00
Eggbertx
7cb3100140 Implement pre-2021 staff migration to new DB 2025-01-05 15:18:11 -08:00
Eggbertx
1dc22b6571 Add stubs for pre-2021 staff migration 2025-01-05 14:11:11 -08:00
Eggbertx
a34a1f1d57 Add board ban migration and verify that no invalid bans were migrated 2025-01-03 23:39:45 -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
7cddc3e43e Make pre-migration /test/ have board id 3, make sure no deleted threads were migrated 2025-01-03 21:14:16 -08:00
Eggbertx
95460e91d6 Add thread post migration for pre2021 2025-01-02 23:15:23 -08:00
Eggbertx
c80970c10e Migrate thread data to new threads table 2025-01-02 22:28:29 -08:00
Eggbertx
d19f0eebe3 Move board migration testing for pre2021 to a separate file 2025-01-02 20:36:19 -08:00
Eggbertx
00fbd8f6c3 Add TestMigrateBoardsInPlace 2025-01-02 20:31:55 -08:00
Eggbertx
4699417370 Start adding stuff for testing migrating pre-2021 DB in place 2025-01-02 20:03:26 -08:00
Eggbertx
6d48a1948a Fully migrate and update board and section data to new DB for pre-2021 2025-01-02 19:51:38 -08:00
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