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
c5aa7a438d Merge branch 'master' into staff-rank-update 2025-02-24 17:28:09 -08:00
Eggbertx
1339f58a66 Add defer to gochan.js script tag, add option to open external links in new tab 2025-02-22 11:35:03 -08:00
Eggbertx
41fa1f6280 Migrate SCSS, replace usage of @import with @use
https://sass-lang.com/documentation/breaking-changes/import/
2025-02-22 10:41:54 -08:00
Eggbertx
0ec52bfdf1 Improve dice roll parsing 2025-02-19 17:10:57 -08:00
Eggbertx
282f32c88d Bump build version for v4.1 release 2025-02-18 20:49:43 -08:00
Eggbertx
0244811a7f Fix more deepsource issues 2025-02-18 20:33:33 -08:00
Eggbertx
74d592ef21
Merge pull request #115 from gochan-org/deepsource-autofix-15f1b8b6
refactor: fix unused method receiver
2025-02-18 20:06:45 -08: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
60cd1c7bc3
Merge pull request #114 from gochan-org/deepsource-autofix-c4f08c54
refactor: unused parameter should be replaced by underscore
2025-02-18 20:00:11 -08:00
deepsource-autofix[bot]
c842ca53f5
refactor: unused parameter should be replaced by underscore
Unused parameters in functions or methods should be replaced with `_`
(underscore) or removed.
2025-02-19 03:57:55 +00:00
Eggbertx
74f9e415b4 Fix deepsource issues 2025-02-18 19:50:41 -08:00
Eggbertx
5ae229d61e Add LoadPlugins test 2025-02-18 13:16:07 -08:00
Eggbertx
aba2c68221 Use h1 instead of div for lightbox title, footer element instead of div#footer 2025-02-18 12:59:20 -08:00
Eggbertx
9bdf9d58d9 Update NPM packages 2025-02-18 12:34:51 -08:00
Eggbertx
e0ee76bce1 Add Lua tests for url module provider 2025-02-18 11:56:09 -08:00
Eggbertx
5a7695e98f Fixed referer checking, added more testing for server and serverutil packages 2025-02-10 21:41:21 -08:00
Eggbertx
d61e3c62c2 Before showing delete lightbox, check if it was just the file 2025-02-09 17:53:08 -08:00
Eggbertx
dfb9fc045c Add dice roll styling 2025-02-09 17:45:43 -08:00
Eggbertx
e65d363a84 Implement dice rolling 2025-02-09 17:38:15 -08:00
Eggbertx
d5ac9bff11 Refactor, replace use of interface{} with any, fix register_handler args not being usd 2025-02-09 15:54:33 -08:00
Eggbertx
5bc47e003d Add function to lua for setting custom bbcode tags 2025-02-09 15:32:57 -08:00
Eggbertx
30c1c1c037 Rename all preload.go to lua.go and preload_test.go to lua_test.go 2025-02-09 12:47:37 -08:00
Eggbertx
c944df2da1 Add cover flag and Go plugin building to Go workflow 2025-02-07 23:19:35 -08:00
Eggbertx
4a9acae8a8
Create go.yml 2025-02-07 23:07:08 -08:00
Eggbertx
f1a0e123f6 Remove unused parameters in message formatter init function 2025-02-07 23:01:20 -08:00
Eggbertx
e6afeeaf5b Add smooth hide block toggling, and the option to disable it 2025-02-07 23:00:34 -08:00
Eggbertx
eb59ef1f1e Add hide block open/close animations 2025-02-07 22:36:24 -08:00
Eggbertx
83c82cba41 Fix bunkerchan dropdown colors 2025-02-07 16:56:29 -08:00
Eggbertx
21a05e5d25 Add hidden block toggling button 2025-02-07 16:35:12 -08:00
Eggbertx
5d98639daa Add hide block bbcode 2025-02-07 16:26:35 -08:00
Eggbertx
a31a001764 Add spoiler bbcode tag 2025-02-07 16:14:04 -08:00
Eggbertx
7ceda2b218 Fully refactor all (or at least most) uses of ExecSQL, QuerySQL, and QueryRowSQL, QueryContextSQL, etc with their replacement functions 2025-02-05 23:32:12 -08:00
Eggbertx
10e0da4492 Add future-proof functions using struct for context, tx, etc 2025-02-05 17:32:10 -08:00
Eggbertx
a38a519e4e Fix database locked error in announcement migration 2025-02-02 15:35:57 -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
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