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

30 commits

Author SHA1 Message Date
Eggbertx
12350cc33f Add warning when migrating a SQLite database in-place 2025-01-25 13:01:52 -08:00
Eggbertx
5d782c4eab Add clarification to migrator comments 2025-01-10 16:44:19 -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
eb06047055 Use more context/timeout queries in gochan-migrate, start using zerolog 2024-10-13 13:43:08 -07:00
Eggbertx
e12b2fb982 Add migration stuff for filter tables 2024-08-10 20:01:33 -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
2a49de7575 Audit potential bugs pointed out by Deepsource 2024-02-07 15:15:56 -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
Eggbertx
ada23ffed8 Print a separate string if the database was updated instead of migrated 2023-04-07 15:11:02 -07:00
Eggbertx
17c28e5ebe Move database schema updating to gochan-migration 2023-04-07 14:34:28 -07:00
Eggbertx
29f54a6064 parse command line flags in gochan-migration before loading config 2023-03-29 09:35:46 -07:00
Eggbertx
aba84ceed2 Use router package instead of GET parameter for manage pages 2023-01-04 15:33:50 -08:00
Eggbertx
813b194f27 Start readding postgresql and sqlite support broken by deprecation fixing 2022-12-13 12:44:16 -08:00
Eggbertx
ffcf4a1e61 remove logging from gcsql except where necessary (it should be done elsewhere) 2022-09-03 14:51:37 -07:00
Eggbertx
35a4dfc7b1 Don't use gclog for gochan-migrate 2022-08-14 14:27:58 -07:00
Eggbertx
5bfbeabf13 Fix a bunch of large value copies as suggested by deepsource 2022-05-12 11:28:15 -07:00
Eggbertx
42a80fec64 Start using transactions in gochan-migrate 2022-03-06 10:28:31 -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
74b5c38fe6 Don't automatically move the files
This may eventually change so files can be moved or copied in the future
2022-02-10 17:11:10 -08:00
Eggbertx
64123e8e6b Add stuff for migrating boards to gochan-migration 2022-02-09 10:32:36 -08:00
Eggbertx
c388ef3984 Reopen gochan-migration development 2022-02-07 18:28:27 -08:00
Eggbertx
636fe77e01 Put gochan's migration tool on indefinite hiatus.
RIP gochan-migrate :(
2021-12-18 18:49:22 -08:00
Eggbertx
c0c84209ef Add some tables for migrating pre-2021 databases 2021-08-15 22:19:51 -07:00
Eggbertx
dfdb926d71 Add partially refactored configuration changes 2021-07-11 11:51:29 -07:00
Eggbertx
e9cbd89e18 Add dedicated chan migration packages 2021-06-24 16:41:26 -07:00
comraderat
91661fc4b4 Fix version check
Remove temp code
2020-06-19 16:16:47 +02:00
Eggbertx
d51506b2f3 Make gcsql.GetCompleteDatabaseVersion return an int flag instead of a bunch of booleans
Also isolate SQL host address if it is encased in tcp()
2020-06-16 13:31:47 -07:00
comraderat
225bb518c0 Move migration logic to cmd/gochan-migration 2020-06-13 21:47:43 +02:00
Eggbertx
40c1f48186 Fix json tag, Printf usage, add initial gochan-migration stuff
TODO: make gochan-migration actually useful
2020-06-12 11:01:28 -07:00