Eggbertx
|
8e9543970a
|
Remove "Verbosity" config field and rename "DebugMode" to "Verbose" for enabling command line output on errors
|
2023-12-27 17:07:33 -08:00 |
|
Eggbertx
|
138b41bf0a
|
Don't check GeoIP (to be fixed in the next release)
|
2023-12-27 12:01:02 -08:00 |
|
Eggbertx
|
5980283218
|
Add MaxMind GeoIP loading
|
2023-12-06 14:54:51 -08:00 |
|
Eggbertx
|
d2ace418fa
|
Move default configuration values to a struct
|
2023-05-10 14:06:40 -07:00 |
|
Eggbertx
|
9f7d5ad3ac
|
Add function for checking default values with generics
|
2023-04-03 14:20:28 -07:00 |
|
Eggbertx
|
637c357bf3
|
rename struct ErrInvalidValue to InvalidValueError, remove unused function GochanConfig.ToMap()
Also check exiftool path in ValidateValues if relevant settings are set
|
2023-03-19 16:23:39 -07:00 |
|
Eggbertx
|
3d430e7d83
|
Remove the no-longer-used PostsPerThreadPage setting
|
2023-01-09 09:05:18 -08:00 |
|
Eggbertx
|
0548752661
|
Exit if logs weren't opened correctly, also add error checking for uid and gid
|
2022-12-31 17:57:43 -08:00 |
|
Eggbertx
|
f3add8bb89
|
Use more standardized file modes
|
2022-12-31 17:29:57 -08:00 |
|
Eggbertx
|
76a4f92e18
|
Make config.Username useful (applies given username ownership to files)
|
2022-12-31 01:51:14 -08:00 |
|
Eggbertx
|
9e13eae658
|
Add configuration option to only require CAPTCHA test for new threads
|
2022-12-20 14:29:27 -08:00 |
|
Eggbertx
|
3b131e1399
|
make RecentPostsWithNoFile work, incrase default recent posts to 12
|
2022-12-17 11:05:48 -08:00 |
|
Eggbertx
|
bd69e27bea
|
Use the correct cooldown config fields
|
2022-12-14 12:41:25 -08:00 |
|
Eggbertx
|
07a4b22396
|
Write to standard output if debug mode is enabled
|
2022-11-10 12:27:57 -08:00 |
|
Eggbertx
|
2c3429256f
|
Separate access info into separate log file
|
2022-09-18 15:32:07 -07:00 |
|
Eggbertx
|
d2c5015714
|
Replace deprecated ioutil imports
|
2022-09-08 15:45:29 -07:00 |
|
Eggbertx
|
ee61fcb30f
|
Replace gclog/gzlog with structured logging via zerolog
|
2022-09-04 14:27:14 -07:00 |
|
Eggbertx
|
5b5d5ab3ec
|
Replace sqlmock with sqlite3 for unit testing gcsql package
|
2022-09-01 22:42:06 -07:00 |
|
Eggbertx
|
9107269a39
|
Upgrade Go version in vagrant and Docker, readd sqlite3 for real this time
requires intervention for vagrant to add the updated Go repo
|
2022-08-30 11:30:59 -07:00 |
|
Eggbertx
|
c97aa9fdc7
|
Remove .log from end of log paths
|
2022-07-18 16:40:24 -07:00 |
|
Eggbertx
|
bc8e30828a
|
Add function for getting the path relative to the site's WebRoot
|
2022-07-18 12:34:43 -07:00 |
|
Eggbertx
|
6dea1fab31
|
Update build.py and gochan to better follow the FHS
NOTE NOTE NOTE NOTE NOTE: You may need to update your configuration
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
|
2022-04-03 16:02:07 -07:00 |
|
Eggbertx
|
fd880d411d
|
add UpdateFromMap
|
2021-07-16 19:12:25 -07:00 |
|
Eggbertx
|
50c58a91ec
|
Add config defaults
|
2021-07-11 18:12:02 -07:00 |
|
Eggbertx
|
dfdb926d71
|
Add partially refactored configuration changes
|
2021-07-11 11:51:29 -07:00 |
|
Eggbertx
|
d94d79a7d1
|
Replace gcutil shims with calls to gcutil functions
|
2021-04-21 17:03:00 -07:00 |
|
Eggbertx
|
cb7913398c
|
Make config loading more flexible and powerful
Improve value validation, allow for defaults and set critical fields
|
2021-03-02 17:42:07 -08:00 |
|
Eggbertx
|
d1292bd9fe
|
refactor/reorganize gochan's source code into subpackages
Also use Go version 1.11 in vagrant for module support
|
2020-04-29 17:44:29 -07:00 |
|