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

1903 commits

Author SHA1 Message Date
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
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
0dcffa06df Make createThread function public 2025-01-02 21:31:41 -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
2e91aeb0a4 Merge branch 'master' into pre2021-migration-update 2024-12-31 16:30:53 -08:00