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

23 commits

Author SHA1 Message Date
Eggbertx
305b557e41 Refactor threads table, rename cyclical attribute to cyclic for consistency 2025-05-02 11:47:01 -07:00
Eggbertx
83f8601334 Refactor thread and post data structures to include IsSpoilered and update related queries and templates (still a WIP) 2025-04-21 17:10:42 -07:00
Eggbertx
3dc45fef53 Add spoilered column and migration, update tests in gctemplates to use goquery to not have to test against really big strings 2025-04-13 01:18:55 -07:00
Eggbertx
556de0d4ac Show secure tripcodes 2025-04-06 16:07:37 -07:00
Eggbertx
4c0ce122ad Add is_secure_tripcode column to posts and update gochan-migration to add it 2025-04-06 15:08:46 -07:00
deepsource-autofix[bot]
39fdc0566f
refactor: fix unused method receiver
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep 
the same method signature, omit the receiver name or '_' as it is unused.
2025-02-19 04:05:57 +00:00
Eggbertx
10e0da4492 Add future-proof functions using struct for context, tx, etc 2025-02-05 17:32:10 -08:00
Eggbertx
cbd1dd8a99 Start changing migrating to have "in-place" migration rename boards to be recreated and populated 2025-02-02 15:26:33 -08:00
Eggbertx
f0f0f055da Add post migration in place 2025-01-25 17:46:55 -08:00
Eggbertx
7cb3100140 Implement pre-2021 staff migration to new DB 2025-01-05 15:18:11 -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
c80970c10e Migrate thread data to new threads table 2025-01-02 22:28:29 -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
0d0aca83af Add gcsql.GetSectionFromName and start overhaul of pre2021 migration 2024-12-31 15:36:20 -08:00
Eggbertx
b69536b772 Add IP ban checking function 2022-11-02 16:26:15 -07:00
deepsource-autofix[bot]
f639fdde6d
Fix unused method receiver 2022-09-04 21:57:01 +00:00
Eggbertx
35a4dfc7b1 Don't use gclog for gochan-migrate 2022-08-14 14:27:58 -07:00
Eggbertx
42a80fec64 Start using transactions in gochan-migrate 2022-03-06 10:28:31 -08:00
Eggbertx
d0a6341bf6 Add support for sql.Tx transactions to gcsql 2022-02-24 17:26:29 -08:00
Eggbertx
8840693a8b Add function to check if Pre2021 migration is already complete
(still need to do kusaba x and tinyboard)
2022-02-19 14:55:45 -08:00
Eggbertx
69fb7c9d31 Move post migration methods a separate file 2022-02-17 22:45:47 -08:00