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
bece29d440
Refactor connection function signatures to use config.SQLConfig, start adding context usage to gcsql
2024-05-01 17:32:19 -07:00
Eggbertx
0d68fc78cf
Add fingerprinting table update to gochan-migrate
2024-02-12 13:52:00 -08:00
Eggbertx
1deec0e462
Add country and flag columns to DB version 3 schema
2024-01-12 15:51:05 -08:00
Eggbertx
9352f0b611
Fix prefix not being applied in DB update
2024-01-09 21:45:39 -08:00
Eggbertx
0e34698257
Add more Postgres db migration for IP -> INET, split dbtypes into their own files
2024-01-09 13:11:22 -08:00
Eggbertx
121959fa15
Convert DBPREFIXposts.ip and DBPREFIXreports.ip to VARBINARY
2024-01-01 13:30:32 -08:00
Eggbertx
57693ba549
Replace IP field of IPBan with RangeStart and RangeEnd
2023-12-28 23:06:44 -08:00
Eggbertx
28963eb813
Add IP Range parsing, start working on adding range bans
2023-12-28 00:36:24 -08:00
Eggbertx
cc76b25a8d
Move SQL driver imports to gcsql package, add SQL connection time limits
...
7cf5482876/README.md (important-settings)
2023-08-18 08:33:50 -07:00
deepsource-autofix[bot]
79bae10fa1
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.
2023-05-22 22:09:00 +00:00
deepsource-autofix[bot]
1d92be6f63
refactor: unused parameter should be replaced by underscore
...
Unused parameters in functions or methods should be replaced with `_`
(underscore) or removed.
2023-05-22 15:57:55 +00:00
Eggbertx
17c28e5ebe
Move database schema updating to gochan-migration
2023-04-07 14:34:28 -07:00
Eggbertx
b69536b772
Add IP ban checking function
2022-11-02 16:26:15 -07:00
Eggbertx
fb708bb6f3
add some board info functions
2022-10-31 12:43:39 -07:00
Eggbertx
6567da3300
Add de-deprecation stuff (will not build yet)
2022-10-11 14:26:31 -07:00
Eggbertx
d2c5015714
Replace deprecated ioutil imports
2022-09-08 15:45:29 -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
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
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
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
3491a7b7b8
Add methods for handling board, thread, staff, etc migration
2022-02-09 09:10:24 -08:00
Eggbertx
c388ef3984
Reopen gochan-migration development
2022-02-07 18:28:27 -08:00
Eggbertx
9a9e775283
Add some more tables to gochan-migrate pre2021 pkg
2021-08-20 15:55:51 -07: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