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

1768 commits

Author SHA1 Message Date
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
9298aa42c3 Return error if section doesn't exist while updating 2025-02-02 15:07:47 -08:00
Eggbertx
fcb61cac57 Use separate function to validate pre2021 migration results 2025-01-26 22:35:35 -08:00
Eggbertx
2f39e9d7cc Add tests for announcement migration 2025-01-26 17:12:23 -08:00
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
5a8a74b7ed Merge branch 'master' into pre2021-migration-update 2025-01-24 16:37:35 -08:00
Eggbertx
d48cec2f2b More CSS style adjustments 2025-01-19 23:49:01 -08:00
Eggbertx
3dc6f3494e Adjust theme colors 2025-01-19 22:40:13 -08:00
Eggbertx
baa4a10389 Add option to increase line height 2025-01-19 21:16:16 -08:00
Eggbertx
e2b5883e51 Start implementing in-place migration for pre2021 2025-01-19 15:04:03 -08:00
Eggbertx
1463bbaa63 Update post handler, use EnableCyclicThreads instead of CyclicThreadNumPosts for validation 2025-01-19 12:27:24 -08:00
Eggbertx
07cf2e58bc Add clarification to failing cyclic test message 2025-01-19 12:18:05 -08:00
Eggbertx
88f645e017 Fix Selenium cyclic thread test 2025-01-19 12:12:31 -08:00
Eggbertx
6fee340532 Fix failing test cases 2025-01-19 12:06:50 -08:00
Eggbertx
09c059edd2 Change naming convention from cyclical to cyclic, as the latter is more acurate 2025-01-19 11:58:18 -08:00
Eggbertx
3c33792284 Add cyclic thread Selenium test 2025-01-19 11:41:11 -08:00
Eggbertx
72afa2ac83 Hide options box if cyclical threads aren't enabled 2025-01-18 12:58:03 -08:00
Eggbertx
2af46eb9be Add some post tests 2025-01-12 21:30:23 -08:00
Eggbertx
17fa8470c4 Check if cyclical threads are enabled 2025-01-12 16:33:43 -08:00
Eggbertx
0c48086ba0 Add config option for enabling/disabling cyclical thread creation 2025-01-12 16:33:11 -08:00
Eggbertx
db2edb8638 Update test 2025-01-12 16:30:47 -08:00
Eggbertx
0b175ef2e5 Fully implement cyclical threads 2025-01-12 16:26:49 -08:00
Eggbertx
d0241f3a09 Prune posts in cyclical threads 2025-01-12 14:52:06 -08:00
Eggbertx
b966604d1d Avoid using Select * in SQL queries, normalize some view columns 2025-01-12 14:01:36 -08:00
Eggbertx
e7e9a360f9 Add serverError type to be used by error serving functions to set the HTTP status code 2025-01-12 14:00:06 -08:00
Eggbertx
74d8136f26 Re-add upload.PostID and upload.FileOrder assignment 2025-01-11 14:39:21 -08:00
Eggbertx
2e40dafd84 remove deprecated dlvLoadConfig, show global variables in dlv debug session 2025-01-11 14:08:42 -08:00
Eggbertx
625aadb0d0 Update TestPre2021Migration with proper assertion 2025-01-10 17:37:27 -08:00
Eggbertx
442319e77a Use fmt.Errorf and %w for unwrappable errors 2025-01-10 17:33:19 -08:00
Eggbertx
5d782c4eab Add clarification to migrator comments 2025-01-10 16:44:19 -08:00
Eggbertx
22eff8d1d7 Update JS board events test 2025-01-08 15:41:12 -08:00
Eggbertx
1704bbe959 Update failing board test cases 2025-01-08 15:03:10 -08:00
Eggbertx
7b6860c4f8
Merge pull request #113 from onihilist/master
Link for updating board or thread
2025-01-08 14:53:21 -08:00
onihilist
ab42c1332b Add update thread button 2025-01-07 12:24:11 +01:00
onihilist
9e61ef2730 Add update board button 2025-01-07 12:01:18 +01:00
Eggbertx
ea20cc408f Add cmd directory to test 2025-01-05 17:28:48 -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
b0635b15f6 Organize .gitignore, add stuff to SQLite test db 2025-01-05 13:58:48 -08:00
Eggbertx
3faec688cc Make function for registering components and Post.NextFileOrder public 2025-01-05 13:57:44 -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