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

1892 commits

Author SHA1 Message Date
Eggbertx
54a6f25476 Add hash tag block 2025-03-09 01:35:43 -08:00
Eggbertx
774885d0fd Add spoiler checking to postbox template 2025-03-08 19:03:16 -08:00
Eggbertx
9a1784dbbe Show error if spoilered file is uploaded on a board (or site) that doesn't allow it 2025-03-08 19:00:25 -08:00
Eggbertx
ed00bbfa70
Merge pull request #120 from gochan-org/update-config-docs
Auto-update config.md
2025-03-07 23:27:02 -08:00
Eggbertx
1cb0cfb004 Automatically update configuration documentation 2025-03-08 07:25:27 +00:00
Eggbertx
8ec6b64b1b Merge branch 'audit-config-fields' 2025-03-07 23:24:57 -08:00
Eggbertx
e27d020d54 Implement lockdown mode, re-add message length checking 2025-03-07 23:23:26 -08:00
Eggbertx
3b12039f38 Add warning event to gcutil.LogRequest, improve error messages 2025-03-07 23:14:27 -08:00
Eggbertx
7b86650733 Move Lockdown fields to BoardConfig 2025-03-07 16:48:34 -08:00
Eggbertx
6911682d84 Redirect to manage action (if specified) on login 2025-03-07 16:13:57 -08:00
Eggbertx
a1268163f5 Don't show board option column on structs with their own table 2025-03-03 21:06:42 -08:00
Eggbertx
3044dfd39c
Merge pull request #118 from gochan-org/update-config-docs
Auto-update config.md
2025-03-03 20:59:03 -08:00
Eggbertx
266901da81 Automatically update configuration documentation 2025-03-04 04:58:27 +00:00
Eggbertx
82099a76a7 Use CookieMaxAge when making a post 2025-03-03 20:58:05 -08:00
Eggbertx
b0e88c551d Return error in InitConfig instead of exiting outright if something goes wrong 2025-03-03 17:16:48 -08:00
Eggbertx
ba4f536ce5 Move CaptchaConfig fields into their own section 2025-03-03 16:17:30 -08:00
Eggbertx
c1f474f553 Switch to BSD 3 clause license 2025-03-02 17:37:03 -08:00
Eggbertx
afe14e8904 Fix spacing in config.md 2025-03-02 17:25:31 -08:00
Eggbertx
7ffd712354
Merge pull request #117 from gochan-org/update-config-docs
Auto-update config.md
2025-03-03 01:19:49 +00:00
Eggbertx
54f29d2a45 Automatically update configuration documentation 2025-03-03 01:18:57 +00:00
Eggbertx
b9ca2dd8e7 Finish adding documentation comments for config struct fields 2025-03-02 17:18:34 -08:00
Eggbertx
716a53728a
Merge pull request #116 from gochan-org/update-config-docs
Auto-update config.md
2025-03-03 01:02:37 +00:00
Eggbertx
d92341e435 Automatically update configuration documentation 2025-03-03 01:00:21 +00:00
Eggbertx
cd82fba22f Add PostConfig documentation 2025-03-02 16:59:56 -08:00
Eggbertx
ea3060b4cf Move gochan-cfgdoc out of the gochan repo when cloning it 2025-03-02 16:57:31 -08:00
Eggbertx
173546b401 Add more documentation (and test documentation updater) 2025-03-02 16:53:29 -08:00
Eggbertx
ecd73b92b0 Added logging to check step 2025-03-02 16:49:55 -08:00
Eggbertx
94501850e5 Add update-docs.yml 2025-03-02 16:46:43 -08:00
Eggbertx
46b638feca Move documentation generator to a separate repo 2025-03-02 15:19:20 -08:00
Eggbertx
1df4fb2efc Add board cooldowns doc comments, clean up geoip comments, and (almost) finish implementing gochan-gendoc 2025-03-02 14:48:12 -08:00
Eggbertx
caaeef2942 Don't fail a test if the current directory is /vagrant (assumed to be testing in a VM) 2025-03-02 13:41:12 -08:00
Eggbertx
e4d2b51456 Make the deprecated fields ListenIP and SiteDomain empty if they are used as an alias 2025-03-02 12:57:22 -08:00
Eggbertx
94f2deadec Add more comments to config struct fields, rename ListenIP to ListenAddress and SiteDomain to SiteHost, since they are more accurate. 2025-03-02 12:44:42 -08:00
Eggbertx
f27deaad34 Start adding more config struct field comments for documentation 2025-02-26 00:53:06 -08:00
Eggbertx
1df8f289eb re-add documentation generator 2025-02-26 00:19:50 -08:00
Eggbertx
46a692767c Validate updated rank value 2025-02-25 22:55:25 -08:00
Eggbertx
b2c5a2d737 Clean up staff edit page 2025-02-25 22:47:42 -08:00
Eggbertx
2993d6daae Close a topbar dropdown menu (if opened) when anything in the body is clicked 2025-02-25 22:06:56 -08:00
Eggbertx
db99e146e4 Prevent autocomplete on staff management page 2025-02-25 20:02:50 -08:00
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