Eggbertx
|
4f843d5431
|
(Re)add next and previous page links
Add not-yet-used function to remove old threads that are past the board's limit
Also add functions to simplify querying with transactions
|
2023-01-18 12:35:40 -08:00 |
|
Eggbertx
|
3d430e7d83
|
Remove the no-longer-used PostsPerThreadPage setting
|
2023-01-09 09:05:18 -08:00 |
|
Eggbertx
|
90065cf8fa
|
Add lua functions for getting configuration, registering manage page, and loading/parsing templates
|
2023-01-06 20:13:58 -08:00 |
|
Eggbertx
|
91783c5837
|
Move router initialization to a new, server package, make serverutil a subpackage
This allows for more flexibility
|
2023-01-06 14:38:35 -08:00 |
|
Eggbertx
|
64a0f947a7
|
Add event trigger for incoming uploads, and a sample usage in Lua
|
2023-01-06 00:02:15 -08:00 |
|
Eggbertx
|
8cb7179808
|
Fix some leftover missing webPath uses
|
2023-01-05 23:59:55 -08:00 |
|
Eggbertx
|
05e01c6366
|
Add a simple event system and the ability for lua plugins to register and trigger events
|
2023-01-05 21:31:28 -08:00 |
|
Eggbertx
|
6af9f7155f
|
Put fmt.Println initial error reporting before fatal logging,
also only call them if debug mode is not set (because logging is also printed to console if it is)
|
2023-01-05 16:55:27 -08:00 |
|
Eggbertx
|
7a3e598a4f
|
re-add webroot to consts.js building
|
2023-01-05 16:39:08 -08:00 |
|
Eggbertx
|
78feba0994
|
Add skipcq for some deepsource issues that are there for a reason
|
2023-01-04 23:40:35 -08:00 |
|
Eggbertx
|
43d941c837
|
Replace all usage of webroot template variable with webPath function
|
2023-01-04 23:13:59 -08:00 |
|
Eggbertx
|
aba84ceed2
|
Use router package instead of GET parameter for manage pages
|
2023-01-04 15:33:50 -08:00 |
|
Eggbertx
|
d94a0d8fcf
|
Add explanation if Docker boot fails because of missing js dir,
remove Username from gochan.json in Docker since there's no www-data user
|
2023-01-01 15:59:54 -08:00 |
|
Eggbertx
|
c5f126ff45
|
Use proper error message for post deletion and reporting
|
2023-01-01 15:04:16 -08:00 |
|
Eggbertx
|
fca810515a
|
Fix IP search mod tool
|
2023-01-01 13:52:54 -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
|
d0e59b4580
|
Update gcplugin package for new API, use luar to pass zerolog logs to VM
|
2022-12-30 15:27:19 -08:00 |
|
Eggbertx
|
c38816b5df
|
Properly create plugins table on startup, close Lua state on end
|
2022-12-29 16:58:49 -08:00 |
|
Eggbertx
|
a0a3ed46c8
|
Add ./sql/ to search for db initialization files
|
2022-12-29 16:19:15 -08:00 |
|
Eggbertx
|
c66bf29954
|
Bump version for hotfix release
|
2022-12-25 11:08:25 -08:00 |
|
Eggbertx
|
f4e5f5da99
|
Shrink original filenames client-side on page load and when a new post is added
|
2022-12-25 00:52:19 -08:00 |
|
Eggbertx
|
23d3cea759
|
Improve postbox for mobile displays, remove no longer used threadlinks-top from css
|
2022-12-24 23:58:43 -08:00 |
|
Eggbertx
|
e4218beda3
|
Move return, catalog, and scroll top links to subtitle
related to issue #42, the links can cut into the postbox
|
2022-12-24 23:35:08 -08:00 |
|
Eggbertx
|
d538014c3b
|
Show error message if post submitted via QR returned an error, fix thread updating
|
2022-12-24 23:33:31 -08:00 |
|
Eggbertx
|
820f5b993b
|
Fix thread upload deletion
|
2022-12-24 20:53:56 -08:00 |
|
Eggbertx
|
8b29c4b0e0
|
fix cookie encoding/decoding
|
2022-12-24 16:15:09 -08:00 |
|
Eggbertx
|
324c21abda
|
get rid of duplicate sql files
|
2022-12-24 14:40:36 -08:00 |
|
Eggbertx
|
3aba10b3b1
|
Set DebugMode to true by default for vagrant
|
2022-12-24 12:36:58 -08:00 |
|
Eggbertx
|
e87915ecb9
|
Use more transactions, and replace getNextFreeID with getLatestID
|
2022-12-24 12:25:23 -08:00 |
|
Eggbertx
|
34d50970db
|
Have selenium tests delete /seleniumtesting/ at the end of the test
|
2022-12-22 14:22:31 -08:00 |
|
Eggbertx
|
ec34ff9f4a
|
Make naming conventions in templates more consistent with Go conventions
|
2022-12-22 12:58:18 -08:00 |
|
Eggbertx
|
d371c1289d
|
Properly order posts
|
2022-12-21 15:47:18 -08:00 |
|
Eggbertx
|
0362645e2c
|
Add filename to recentPost struct
|
2022-12-21 15:34:22 -08:00 |
|
Eggbertx
|
cad707baf6
|
Move board JSON data to separate struct
|
2022-12-20 16:04:47 -08:00 |
|
Eggbertx
|
f333f7ae61
|
Add captcha copying to QR
|
2022-12-20 15:45:44 -08:00 |
|
Eggbertx
|
51d475c48a
|
Prevent QR OPs from slipping through the captcha cracks
|
2022-12-20 15:08:08 -08:00 |
|
Eggbertx
|
f1133e99f5
|
Reduce the amount of memory for vagrant
|
2022-12-20 15:01:32 -08:00 |
|
Eggbertx
|
9e13eae658
|
Add configuration option to only require CAPTCHA test for new threads
|
2022-12-20 14:29:27 -08:00 |
|
Eggbertx
|
202ded163a
|
Reject post if it is missing both an upload and a comment
|
2022-12-20 13:37:54 -08:00 |
|
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
|
a49077a646
|
Add new Captcha config to sample configuration
|
2022-12-20 13:18:29 -08:00 |
|
Eggbertx
|
89457e47f7
|
Replace internal self-generated captcha tests with hcaptcha
|
2022-12-20 13:13:08 -08:00 |
|
Eggbertx
|
c180fec5eb
|
Escape invalid bytes in cookies
|
2022-12-20 10:30:20 -08:00 |
|
Eggbertx
|
0113d972d4
|
Remove need for SQL grouping (pain in the ass in Postgres)
|
2022-12-20 09:28:22 -08:00 |
|
Eggbertx
|
8a73e1aa13
|
Use raw message text in recent post query
|
2022-12-17 17:38:56 -08:00 |
|
Eggbertx
|
92924db1eb
|
Fix deleted uploads not being unlinked when the post is edited
|
2022-12-17 17:28:31 -08:00 |
|
Eggbertx
|
f7ca807144
|
Add ability to replace file uploads
|
2022-12-17 16:30:52 -08:00 |
|
Eggbertx
|
51f00a7983
|
Fix post editing
|
2022-12-17 13:34:00 -08:00 |
|