Eggbertx
|
6e81fc3b98
|
Add configuration option to require a file for new threads
(Wasn't this here before at some point?)
|
2022-12-20 13:33:33 -08:00 |
|
Eggbertx
|
89457e47f7
|
Replace internal self-generated captcha tests with hcaptcha
|
2022-12-20 13:13:08 -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
|
6567da3300
|
Add de-deprecation stuff (will not build yet)
|
2022-10-11 14:26:31 -07: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
|
3fa042167e
|
Add sqlmock driver and schema initialization
|
2022-08-28 19:26:03 -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
|
495399eae7
|
Add simple plugin loader
(though it doesn't do anything useful yet)
|
2022-06-01 14:17:27 -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
|
03e74ea8a4
|
Use constants for version comparison
|
2022-02-01 21:03:07 -08:00 |
|
Eggbertx
|
2b4e1bfc51
|
Replace sql.Drivers call with manual array
add GochanConfig testing property that prevents writing if true
|
2022-02-01 16:41:05 -08:00 |
|
Eggbertx
|
a4149d4c5d
|
Separate post into separate template
|
2022-01-27 21:02:37 -08:00 |
|
Eggbertx
|
bb9d4be884
|
Add home link to top and bottom board lists
|
2021-09-01 12:46:26 -07:00 |
|
Eggbertx
|
c15c173d9d
|
Use built-in driver list to check if config has a valid DBtype
|
2021-08-24 10:57:29 -07:00 |
|
Eggbertx
|
9c75b85eb3
|
Add configuration documentation, finish cfg refactoring
|
2021-08-01 22:44:53 -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
|
c385a39bec
|
Add config option to set max age for staff cookies
resolves #41
|
2021-03-26 11:10:05 -07:00 |
|
Eggbertx
|
2382b30af1
|
Move minifier functions to serverutil package
gcutil should only be used for stuff that doesn't require configuration
|
2021-03-25 14:42:46 -07:00 |
|
Eggbertx
|
8ccd217ff0
|
Add mp4 support
|
2021-03-24 11:44:50 -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
|
e375750e97
|
Replace strings.ReplaceAll with strings.Replace for compatibility
|
2020-07-27 18:19:56 -07:00 |
|
Eggbertx
|
a69b6748c7
|
Remove SQLite support due to instability
|
2020-06-15 11:27:14 -07:00 |
|
comraderat
|
092aa8aede
|
Removed any reference to board.html
Board.html used to be a symbolic link to 1.html.
Now uses 1.html directly verywhere, fixing a bug where the board
couldnt rebuild
|
2020-05-27 20:50:49 +02:00 |
|
Eggbertx
|
19466dd8eb
|
Properly log config issues if value isn't set and msg != ""
|
2020-05-09 09:26:54 -07: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 |
|