Eggbertx
|
c784cd99e3
|
Add legacy geoip plugin example, update dependencies
|
2024-05-24 13:42:39 -07:00 |
|
Eggbertx
|
8b9d7bf7aa
|
Add database optimization for Postgres and SQLite
|
2024-05-23 21:27:14 -07:00 |
|
Eggbertx
|
9917a82308
|
Merge remote-tracking branch 'origin/master' into db-timeouts
|
2024-05-23 17:29:20 -07:00 |
|
Eggbertx
|
230e3bf403
|
Add exempt issue labels to stale action
|
2024-05-23 17:27:07 -07:00 |
|
Eggbertx
|
7dfadd8335
|
Merge pull request #100 from KAE-Ame/patch-1
Post hiding
|
2024-05-23 17:19:37 -07:00 |
|
KAE-Ame
|
5900527843
|
fixs post hiding
|
2024-05-24 00:33:43 +10: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
|
3cd4539738
|
Clean up post deletion, simplify deletion error reporting
|
2024-04-28 21:46:06 -07:00 |
|
Eggbertx
|
399bcdd1c8
|
Fix file-only delete SQL, don't include files of checked OPs in file-only mode
|
2024-04-28 21:08:11 -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
|
0d8533e99f
|
Use waitgroup for file deletion
|
2024-04-21 13:46:37 -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
|
15bd7b7455
|
Merge pull request #99 from gochan-org/dependabot/go_modules/golang.org/x/net-0.23.0
Bump golang.org/x/net from 0.22.0 to 0.23.0
|
2024-04-19 13:28:41 -07:00 |
|
dependabot[bot]
|
aafaf48236
|
Bump golang.org/x/net from 0.22.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-19 13:24:19 +00:00 |
|
Eggbertx
|
ccd56dbf72
|
Fix templatetests_test package name
|
2024-04-16 12:38:08 -07:00 |
|
Eggbertx
|
fdf892bec2
|
Update version number for release
|
2024-04-16 10:58:36 -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 |
|
Eggbertx
|
e446f2a5d7
|
Add tests for banpage.html template
|
2024-04-02 11:33:13 -07:00 |
|
Eggbertx
|
e44dc78ae5
|
Add templatetests package and start testing templates
|
2024-04-01 17:17:43 -07:00 |
|
Eggbertx
|
6191f971c3
|
Add base SQL test for InitTemplates
|
2024-04-01 12:38:49 -07:00 |
|
Eggbertx
|
e1650ab3e3
|
Add public function for creating sqlmock-based tests in other packages
|
2024-04-01 11:27:41 -07:00 |
|
Eggbertx
|
c9a8cb8780
|
Use pointer receiver for testutil.MockResponseWriter
|
2024-03-31 00:02:33 -07:00 |
|
Eggbertx
|
56dbc38164
|
Add minifier tests
|
2024-03-30 23:44:01 -07:00 |
|
Eggbertx
|
dc454d1bc1
|
Move some test utility functions to testutil
|
2024-03-30 22:07:38 -07:00 |
|
Eggbertx
|
3d19f9a088
|
Clean up unused code from events pkg
|
2024-03-30 18:17:09 -07:00 |
|
Eggbertx
|
14f3b5a48b
|
Add lua tests for events
|
2024-03-30 18:14:35 -07:00 |
|
Eggbertx
|
45ba890280
|
Refactor gcsql tests to clean them up a bit
|
2024-03-30 17:25:19 -07:00 |
|
Eggbertx
|
521296ed29
|
Add test for ApproveAppeal
|
2024-03-30 16:25:37 -07:00 |
|
Eggbertx
|
bcfa5f4269
|
Add GetAppeals tests
|
2024-03-30 13:29:02 -07:00 |
|
Eggbertx
|
cf19943008
|
remove testdata dir from gcsql as it's no longer needed (using sqlmock now)
|
2024-03-30 12:09:17 -07:00 |
|
Eggbertx
|
ab1606b035
|
Add provisioning tests for Postgres and SQLite3
|
2024-03-30 12:02:15 -07:00 |
|
Eggbertx
|
beca22cbf6
|
start breaking up long mock query lines
|
2024-03-29 16:52:56 -07:00 |
|
Eggbertx
|
1ef35975dc
|
Add basic test for buildNewDatabase("mysql")
|
2024-03-29 16:44:41 -07:00 |
|
Eggbertx
|
84aa7978be
|
Handle error returned by setupDBConn
|
2024-03-29 09:51:23 -07:00 |
|