Eggbertx
|
1dabea35df
|
Add ban_ip lua function
|
2023-10-24 15:22:41 -07:00 |
|
Eggbertx
|
d5e614b664
|
Remove unused manage_config.html template and function, add manage_announcements.html
|
2023-09-03 00:48:12 -07:00 |
|
Eggbertx
|
cf11d1a490
|
Show bans in descending order
|
2023-08-18 08:55:27 -07:00 |
|
Eggbertx
|
cc76b25a8d
|
Move SQL driver imports to gcsql package, add SQL connection time limits
7cf5482876/README.md (important-settings)
|
2023-08-18 08:33:50 -07:00 |
|
Eggbertx
|
a0c0466725
|
Make thumbnail extension determining more dynamic, move to uploads pkg
|
2023-07-14 11:04:46 -07:00 |
|
Eggbertx
|
c573e26399
|
Add fixthumbnails manage function
|
2023-07-12 10:56:03 -07:00 |
|
Eggbertx
|
a073aa49f3
|
Add dropdown item to ban post IP
|
2023-06-16 09:29:38 -07:00 |
|
Eggbertx
|
d62520591a
|
Use ServeError instead of ServeErrorPage when handling upload errors
|
2023-06-15 12:15:12 -07:00 |
|
Eggbertx
|
8b42d4102e
|
Don't double-log if an event recovered from a panic
|
2023-06-12 08:50:45 -07:00 |
|
Eggbertx
|
76d6c02045
|
Add password updating
|
2023-06-07 14:18:02 -07:00 |
|
Eggbertx
|
6edca0edee
|
Add error return value to event function
|
2023-06-02 15:16:17 -07:00 |
|
deepsource-autofix[bot]
|
1d92be6f63
|
refactor: unused parameter should be replaced by underscore
Unused parameters in functions or methods should be replaced with `_`
(underscore) or removed.
|
2023-05-22 15:57:55 +00:00 |
|
Eggbertx
|
d2ace418fa
|
Move default configuration values to a struct
|
2023-05-10 14:06:40 -07:00 |
|
Eggbertx
|
623e2f4352
|
Add a list of events for reference.
Also have it trigger an event when an upload is written to the disk and log warnings if an event recovers from panic()
|
2023-04-13 15:15:29 -07:00 |
|
Eggbertx
|
f786ff4269
|
Update board configurations when the board array is reset
|
2023-04-10 08:31:27 -07:00 |
|
Eggbertx
|
b132c54789
|
Update README with more info on gochan-migration and MariaDB/MySQL
Also update the TODO list
|
2023-04-07 15:04:41 -07:00 |
|
Eggbertx
|
17c28e5ebe
|
Move database schema updating to gochan-migration
|
2023-04-07 14:34:28 -07:00 |
|
Eggbertx
|
e14e1f176b
|
Clean up connect.go a little and update version for release
|
2023-03-27 20:11:58 -07:00 |
|
Eggbertx
|
881a87c6b1
|
Fix alter table SQL statement in sqlite3 block
Also, add environment variable for installing mainline MySQL (instead of MariaDB) in vagrant
|
2023-03-27 19:51:34 -07:00 |
|
Eggbertx
|
353b5d7552
|
Alter table to fix MySQL collation wonkyness
|
2023-03-27 16:44:59 -07:00 |
|
Eggbertx
|
d2216d0cdf
|
Add some compatibility fixes caused by unexpected differences between MariaDB and mainline MySQL
|
2023-03-27 15:35:26 -07:00 |
|
Eggbertx
|
f82b9761f8
|
Make stickied threads show up on top
|
2023-02-09 11:25:21 -08:00 |
|
Eggbertx
|
69320d5df4
|
Add lock/unlock option to post dropdown
|
2023-02-08 12:40:36 -08:00 |
|
Eggbertx
|
b8f53cb029
|
Fix thread/top post inconsistency in threadattrs manage page
|
2023-02-03 12:03:12 -08:00 |
|
Eggbertx
|
46452028af
|
Make thread/board locks actually prevent posting
|
2023-02-02 12:25:27 -08:00 |
|
Eggbertx
|
78c510c881
|
Properly show an error message if an invalid board is requested in threadattrs
|
2023-02-02 11:27:33 -08:00 |
|
Eggbertx
|
34cab06311
|
Add ability to update thread attributes from manage page
|
2023-02-02 11:12:39 -08:00 |
|
Eggbertx
|
0f0c9362eb
|
Add thread attributes manage page
|
2023-01-28 15:23:44 -08:00 |
|
Eggbertx
|
7e80580018
|
replace ! operator with = FALSE since some SQL providers don't support !
|
2023-01-24 09:38:26 -08:00 |
|
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
|
64a0f947a7
|
Add event trigger for incoming uploads, and a sample usage in Lua
|
2023-01-06 00:02:15 -08:00 |
|
Eggbertx
|
aba84ceed2
|
Use router package instead of GET parameter for manage pages
|
2023-01-04 15:33:50 -08:00 |
|
Eggbertx
|
a0a3ed46c8
|
Add ./sql/ to search for db initialization files
|
2022-12-29 16:19:15 -08:00 |
|
Eggbertx
|
8b29c4b0e0
|
fix cookie encoding/decoding
|
2022-12-24 16:15:09 -08:00 |
|
Eggbertx
|
e87915ecb9
|
Use more transactions, and replace getNextFreeID with getLatestID
|
2022-12-24 12:25:23 -08:00 |
|
Eggbertx
|
cad707baf6
|
Move board JSON data to separate struct
|
2022-12-20 16:04:47 -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 |
|
Eggbertx
|
ab1cbf8831
|
Properly use sections' hidden attribute
|
2022-12-17 13:01:29 -08:00 |
|
Eggbertx
|
2c54276b51
|
replace some more SQL ints with proper bools
|
2022-12-16 18:08:59 -08:00 |
|
Eggbertx
|
34c03da674
|
Fix created boards not getting the correct ID if a board was deleted
|
2022-12-16 16:17:13 -08:00 |
|
Eggbertx
|
61ea25f12d
|
better handling for timestamps between SQL DBtypes
|
2022-12-15 16:41:05 -08:00 |
|
Eggbertx
|
976d9ad53a
|
Update board in database, fix recent posts error in Postgres
|
2022-12-14 15:40:56 -08:00 |
|
Eggbertx
|
d1f7769cc7
|
More postgres fixes (building, deletion)
|
2022-12-13 16:23:16 -08:00 |
|
Eggbertx
|
813b194f27
|
Start readding postgresql and sqlite support broken by deprecation fixing
|
2022-12-13 12:44:16 -08:00 |
|
Eggbertx
|
ff32f13bf5
|
Fix cooldown checking for databases without any posts
|
2022-12-08 13:19:03 -08:00 |
|
Eggbertx
|
f38a648f52
|
Replace references to filename and username wildcard with regex
|
2022-12-08 08:29:49 -08:00 |
|
Eggbertx
|
598c5a04ff
|
Add name ban manage page
|
2022-12-06 16:52:16 -08:00 |
|
Eggbertx
|
f2c3a6b1ac
|
Update boardsections staff action for new API
|
2022-12-05 16:40:56 -08:00 |
|
Eggbertx
|
dec2609591
|
Make board creation work with new API
|
2022-12-05 16:18:19 -08:00 |
|