5157105c35
fix: better logging
...
- verbose logging for log channel resolving logic
- don't LOG TOKENS TO THE CONSOLE OR SEQ
- actually log verbose logs to seq
- report open db connections to prometheus
2024-11-27 16:17:11 +01:00
7749c9d9e2
feat: more log context
2024-11-27 15:48:30 +01:00
4047df8610
fix: always get the latest migration even when two are applied at the same time
...
without also ordering by migration_name, two migrations being applied at
the same time *can* (but won't always) result in the *earlier* migration
being returned as the latest one. as our migrations are not idempotent,
this causes the bot to crash on startup (and even if they *were*
idempotent, the code that inserts the new migration name into the
migrations table isn't)
2024-11-27 15:22:29 +01:00
27e77eeaed
feat: slightly more debug logs, enrich message events with extra data
2024-11-26 21:25:10 +01:00
c06376dfda
im stupid and NewsService._isExpired could literally never fire
2024-11-19 20:30:05 +01:00
04d6bc958e
just remove the package lock file
2024-11-19 15:46:24 +01:00
b3c541f743
fix: don't mark cross compiled builds as dirty
2024-11-19 15:43:15 +01:00
48a11be7b7
update to .net 9
2024-11-19 00:11:48 +01:00
e8feedb979
fix: correct name of down migration #5
2024-11-18 21:30:04 +01:00
223f808151
feat: ignore entity commands, actually ignore events when the entity is ignored
2024-11-18 21:26:47 +01:00
4eb5c16451
refactor: change ulong[] to List<ulong> for better ergonomics
2024-11-18 21:02:42 +01:00
e12bd6194b
fix: actually store ignored channels/roles
2024-11-18 20:47:58 +01:00
19d9f33454
feat(dashboard): ignore messages page, remove ignore channel page
2024-11-18 20:26:03 +01:00
0cac964aa6
feat: split ignores into 'ignore messages' and 'ignore entities'
2024-11-18 00:47:27 +01:00
d48ab7e16e
feat: freeze config backup model
...
the database model will probably change in the future, but backups should
keep the same model even when that happens.
2024-11-14 02:45:20 +01:00
cbb07f9cc3
fix: add thousands separator to status
2024-11-14 02:38:11 +01:00
254a50da4d
feat: clear timeouts that never get logged
2024-11-13 15:14:22 +01:00
0564206bf7
fix: disconnect all shards when shard manager restarts, don't fetch old timeouts
2024-11-12 17:25:50 +01:00
492283b9c1
feat: clean webhook cache upon leaving guild
2024-11-08 19:39:36 +01:00
2deac26fc8
chore: clean up unused code
2024-11-08 19:27:39 +01:00
db5d7bb4f8
feat: import/export settings, send backup of settings when leaving guild
2024-11-08 17:12:00 +01:00
e6d68338db
feat: store timeouts in database and log them ending
...
we have to do this because discord doesn't notify us when a timeout
ends naturally, only when a moderator removes it early.
2024-11-05 22:22:12 +01:00
f0fcfd7bd3
feat: replace buttons in /configure-channels with select menu
2024-11-05 16:20:24 +01:00
e7eaa9f13a
remove ".dirty" suffix from builds in working directories with uncommitted changes
...
this is always true when building for linux-x64 on macOS, it seems?
2024-11-05 15:48:23 +01:00
5f24a6aa88
feat: store system UUIDs of banned users per guild
2024-11-05 15:32:53 +01:00
5ac607fd0a
feat: show bot version on startup and in /catalogger ping
2024-10-31 01:26:50 +01:00
a22057b9fa
feat(dashboard): ignored users page
2024-10-31 01:17:44 +01:00
8ed9b4b143
feat: post stats to discord.bots.gg
2024-10-30 14:35:56 +01:00
4b74005110
fix: ignored channels should also apply to ChannelUpdate
2024-10-30 13:52:33 +01:00
c28f987240
fix: add missing option names/descriptions
2024-10-29 22:18:30 +01:00
a34b5479c0
feat: add expiry to create invite command
2024-10-29 22:01:29 +01:00
8f154ce5ae
slightly less verbose logging
2024-10-29 21:32:33 +01:00
dce148b844
colour output to journalctl
2024-10-29 20:24:00 +01:00
ae4d9018ea
fix: don't change status in test mode, fix broken guilds query
2024-10-29 20:19:49 +01:00
87b3281c8d
feat(dashboard): screenshots and text showcasing some unique features
2024-10-29 17:23:43 +01:00
225c162603
fix: fix invite renaming
2024-10-29 15:51:41 +01:00
735c71b6f7
fix typo
2024-10-29 15:34:17 +01:00
8ae4ba722a
fix: don't use Task.WhenAll() in message responders, it breaks ignoring them for some reason
2024-10-29 15:24:32 +01:00
65d286389d
feat(dashboard): add key roles
2024-10-29 14:19:18 +01:00
b52df95b65
feat: ignore user commands
2024-10-29 00:06:39 +01:00
a50a8567dd
feat: import messages from go version
2024-10-28 23:42:57 +01:00
b56a71e105
feat: watchlist commands
2024-10-28 16:25:42 +01:00
56af787e57
fix: don't specify duplicate key_roles in guild repository, let PK API service read strings as numbers
2024-10-28 14:57:05 +01:00
ff92c5f335
excise entity framework from all remaining code
2024-10-28 14:04:55 +01:00
d6c3133d52
fix: don't treat *ALL* messages as ignored
2024-10-28 12:30:15 +01:00
f0511a560c
feat: watchlist repository, remove ef core from all bot code
2024-10-28 02:14:41 +01:00
da4dfae27c
fix: dapper doesn't play nice with List<T>
2024-10-27 23:43:07 +01:00
64b4c26d93
add invite repository to replace ef core
2024-10-27 23:30:02 +01:00
5891f28f7c
feat: exorcise entity framework core from most responders
2024-10-27 23:02:42 +01:00
33b78a7ac5
feat: add config option to run silently (no logs, no commands, but doing everything else needed for logging)
2024-10-25 16:18:27 +02:00