Eggbertx
|
fa56d500b8
|
Add filter enabling/disabling
|
2024-08-11 00:40:45 -07:00 |
|
Eggbertx
|
e3a4efd9c0
|
Add function to get all filters, add IsActive filter property
|
2024-08-11 00:08:57 -07:00 |
|
Eggbertx
|
d2b44f0e12
|
Add filter method for getting its associated board IDs
|
2024-08-10 22:21:05 -07:00 |
|
Eggbertx
|
9c3e0c9a7b
|
Remove not all that necessary struct (table is only used as a relation between a filter and boards)
|
2024-08-10 22:20:11 -07:00 |
|
Eggbertx
|
32c11ed337
|
Add filter structs and some functions for them
|
2024-08-10 21:55:58 -07:00 |
|
Eggbertx
|
e12b2fb982
|
Add migration stuff for filter tables
|
2024-08-10 20:01:33 -07:00 |
|
Eggbertx
|
09b42624d0
|
Clean up formatting for management tables, set new conditions to the name field
|
2024-08-10 13:59:18 -07:00 |
|
Eggbertx
|
6b3d8e8aeb
|
Start adding filter mgmt page and some more ERD updates
|
2024-08-10 01:14:21 -07:00 |
|
Eggbertx
|
96405ffb8c
|
Add allowed non-standard filetypes to consts template
|
2024-08-03 17:05:55 -07:00 |
|
Eggbertx
|
b85b91c04d
|
Don't write file thumbnail if spoiler (otherwise it overwrites /spoiler.png)
Also add spoilering for videos and non-video non-image uploads
|
2024-07-29 21:05:03 -07:00 |
|
Eggbertx
|
34d1eec0c1
|
Fix failing build tests
|
2024-07-26 00:06:16 -07:00 |
|
Eggbertx
|
879aca5f42
|
Use timeout with query for getting recent posts
|
2024-06-13 12:23:25 -07:00 |
|
Eggbertx
|
37ef5428f7
|
Start adding building tests
|
2024-05-31 16:37:33 -07:00 |
|
Eggbertx
|
9fe6df52ee
|
Add public function to gcsql for SQL mock access
|
2024-05-31 14:43:35 -07:00 |
|
Eggbertx
|
8be391ba5c
|
Add timeouts to ban and board SQL operations
|
2024-05-31 11:37:09 -07:00 |
|
Eggbertx
|
f5e7084263
|
Add timeouts to board SQL operations
|
2024-05-30 13:51:31 -07:00 |
|
Eggbertx
|
519c27b200
|
Add context to reports, use transactions for audit tables
|
2024-05-30 13:34:13 -07:00 |
|
Eggbertx
|
be77ec64f9
|
Add SQL timeout wrapper functions
|
2024-05-30 13:16:13 -07:00 |
|
Eggbertx
|
b2b58213e2
|
Add timeouts to staff account db operations
|
2024-05-30 11:54:53 -07:00 |
|
Eggbertx
|
98eb2c4429
|
Add configuration setting for staff session time, use context/timeout for session creation
|
2024-05-30 11:39:24 -07:00 |
|
Eggbertx
|
64724001a1
|
Use contexts with timeout for appeals and wordfilters
|
2024-05-30 11:09:24 -07:00 |
|
Eggbertx
|
f72435ec8d
|
Fix error log being written to even if there were no errors
|
2024-05-29 12:13:20 -07:00 |
|
Eggbertx
|
4613bea216
|
Fix bad connection error caused by prematurely closed statement
|
2024-05-24 16:54:40 -07:00 |
|
Eggbertx
|
1032042472
|
Fix changes suggested by sqlclosecheck
|
2024-05-24 16:10:07 -07:00 |
|
Eggbertx
|
27a0142864
|
Replace nil with background context in tests
|
2024-05-24 14:20:41 -07:00 |
|
Eggbertx
|
692602402c
|
replace hacky interfaceSlice function in gcsql with []any{...}
|
2024-05-24 14:19:50 -07:00 |
|
Eggbertx
|
48fc697f8e
|
Use timeout+context in getting all boards and goroutine in building multiple boards
|
2024-05-24 14:02:13 -07:00 |
|
Eggbertx
|
b334cda25d
|
use timeout saved in gcdb struct instead of checking config
|
2024-05-24 13:59:14 -07:00 |
|
Eggbertx
|
8b9d7bf7aa
|
Add database optimization for Postgres and SQLite
|
2024-05-23 21:27:14 -07:00 |
|
Eggbertx
|
ce468fa1da
|
Add config and config preload tests
|
2024-05-17 13:45:32 -07:00 |
|
Eggbertx
|
7824c86aea
|
Add version tests
|
2024-05-17 12:45:15 -07:00 |
|
Eggbertx
|
3547b3117e
|
Use proper "Go-like" names for file modes
Try to create log dir if it doesn't exist
|
2024-05-17 10:57:23 -07:00 |
|
Eggbertx
|
caea5ee77e
|
Add tests for QueryRowContextSQL
|
2024-05-04 18:22:30 -07:00 |
|
Eggbertx
|
0055756555
|
Test preparation timeout
|
2024-05-04 17:18:47 -07:00 |
|
Eggbertx
|
124683f037
|
Add context usage for querying and executing SQL
|
2024-05-04 16:50:44 -07:00 |
|
Eggbertx
|
b26146f301
|
refactor usage of SystemCriticalConfig to SQLConfig where appropriate
|
2024-05-04 15:31:08 -07:00 |
|
Eggbertx
|
a725dd6b86
|
Add BeginContextTx
|
2024-05-04 14:45:06 -07:00 |
|
Eggbertx
|
e4c088babf
|
Apply configured default SQL timeout
|
2024-05-01 17:36:13 -07:00 |
|
Eggbertx
|
bece29d440
|
Refactor connection function signatures to use config.SQLConfig, start adding context usage to gcsql
|
2024-05-01 17:32:19 -07:00 |
|
Eggbertx
|
cd08541e04
|
Move SQL configuration to a separate struct
|
2024-05-01 17:23:10 -07:00 |
|
Eggbertx
|
d314ade60e
|
Get all affected posts and files, including replies to checked thread OPs
|
2024-04-28 20:20:31 -07:00 |
|
Eggbertx
|
d9c5b29166
|
Don't return error in GetStaffFromRequest if no rows were returned (let calling func handle it)
|
2024-04-21 14:46:58 -07:00 |
|
Eggbertx
|
2de3ecfe7c
|
Merge branch 'master' into refactor-util-concurrency
|
2024-04-21 14:35:29 -07:00 |
|
Eggbertx
|
6e166b6b70
|
rename manage.getCurrentFullStaff to manage.GetStaffFromRequest
|
2024-04-21 14:26:23 -07:00 |
|
Eggbertx
|
fa56348d9d
|
start /util refactor
|
2024-04-19 14:03:10 -07:00 |
|
Eggbertx
|
f4a3908aa7
|
Simplify generating zerolog info and error events for requests
|
2024-04-19 13:45:57 -07:00 |
|
Eggbertx
|
ccd56dbf72
|
Fix templatetests_test package name
|
2024-04-16 12:38:08 -07:00 |
|
Eggbertx
|
1d81a1ee40
|
Use PARAM_ATON replacer in GetBuildablePostsByIP
|
2024-04-16 10:40:49 -07:00 |
|
Eggbertx
|
7a65a68dd6
|
Add board page tests
|
2024-04-10 11:17:26 -07:00 |
|
Eggbertx
|
9c4f88c61a
|
Add escaping string test for consts.js
|
2024-04-02 12:33:12 -07:00 |
|