Commit Graph

1930 Commits

Author SHA1 Message Date
spiral
0419ced0d2
feat: store shard status in Redis 2022-01-22 03:52:52 -05:00
spiral
22faa47d00
refactor: make Help.cs content static 2022-01-22 03:22:15 -05:00
spiral
df6a6fcf12
refactor: don't DI IDatabase and ModelRepository into bot command classes 2022-01-22 03:05:01 -05:00
spiral
89c44a3482
feat: cache Discord DM channels in database 2022-01-22 02:47:47 -05:00
spiral
ddbf0e8691
Revert "feat: remove 2000-character limit for proxied messages"
This reverts commit 7cc2aab1f0.
2022-01-21 18:24:55 -05:00
spiral
31a129dabf
fix: check HasNext after matching message in EditMessage, use PKSyntaxError instead of PKError 2022-01-21 17:10:00 -05:00
spiral
4a739c2d61
feat: better error reporting settings 2022-01-21 00:10:51 -05:00
spiral
f9aba1f129
feat: move a couple of commands to MatchToggle 2022-01-21 00:00:54 -05:00
spiral
e42002b754
fix: add missing return in pk;debug proxy 2022-01-21 00:00:26 -05:00
spiral
aad9f04b6f
feat: add 'enabled' phrasing and MatchFlag to MatchToggle, clean up 2022-01-20 23:59:04 -05:00
spiral
84529f6f32
fix: put Serilog event ID / shard ID in same scope as Sentry error ID 2022-01-20 23:38:58 -05:00
spiral
7aae41c080
feat: clean up log cleanup
- fix Carl-bot's user ID
- remove Logger#6278 (has been offline since 2020)
- remove webhook name checks, and rely on application ID instead
- add premium version of some bots
2022-01-20 23:37:32 -05:00
spiral
c6e4c862b8
feat: update Discord status only on identify
See <https://github.com/discord/discord-api-docs/issues/4073#issuecomment-1016762755>

We still update status when restarting cluster, because it doesn't really matter if the session dies in that case (we're already restarting / going to reidentify)
2022-01-20 05:52:40 -05:00
spiral
b586ef5d0a
feat: add true/false to MatchToggle 2022-01-20 05:24:28 -05:00
spiral
9f7c47b78e
feat(api): separate private endpoints from public API versioning 2022-01-19 19:29:51 -05:00
spiral
eb4f53c69e
refactor: remove asp.net versioning 2022-01-19 19:25:04 -05:00
spiral
1626e0f548
feat: better command parsing for pk;config 2022-01-19 18:59:44 -05:00
spiral
426d753827
feat: tweak durations in Redis gateway ratelimiter 2022-01-19 18:01:42 -05:00
spiral
db3d436ef5
fix: update target schema version in DatabaseMigrator 2022-01-19 17:59:53 -05:00
spiral
c7851f6f5a
fix: merge system/group frontpercent code, fix flags 2022-01-19 17:59:01 -05:00
spiral
bf122f1046
feat: update command help for pk;autoproxy 2022-01-19 17:40:27 -05:00
spiral
d19242b89d
feat: add 'sa' alias to serveravatar command 2022-01-19 17:23:10 -05:00
rladenson
c62b9c2d40
feat: add -with-displayname flag to lists 2022-01-19 17:21:37 -05:00
spiral
2e17522de6
refactor: reorganize a few lines in Misc.cs 2022-01-19 17:18:31 -05:00
spiral
a16903037f
fix: don't try to re-send stickers and activity invites 2022-01-14 23:22:12 -05:00
spiral
2639989183
fix git merge from #412 2022-01-14 23:16:10 -05:00
rladenson
f3869dbcbe
feat: rework group list into member list 2022-01-14 22:30:02 -05:00
spiral
0afe031284
fix build error in Misc.cs 2022-01-14 21:51:43 -05:00
spiral
6d1fd0e267
fix: fix crash in API v1 when message.System is null 2022-01-14 19:47:12 -05:00
spiral
f08524ee19
fix: don't leak the existence of private info in lists (#412) 2022-01-14 19:44:44 -05:00
spiral
50a24f03a7
refactor: only pass shard ID to event handlers instead of full shard object 2022-01-14 18:39:03 -05:00
spiral
bf80dd0988
refactor: don't get user from cache in ReactionAdded 2022-01-14 15:29:15 -05:00
spiral
8e119d0d42
refactor: don't pass through channel ID to LogMessage 2022-01-14 15:12:10 -05:00
spiral
df9e7c3eb9
fix: correctly check log blacklist for messages edited outside the target guild 2022-01-14 15:11:42 -05:00
spiral
7cc2aab1f0
feat: remove 2000-character limit for proxied messages 2022-01-14 15:08:39 -05:00
spiral
d58cc216c0
fix: unbreak error reporting for @mention prefix 2022-01-14 15:05:46 -05:00
spiral
47e15e3acb
feat: add a couple missing Discord types 2022-01-13 12:28:44 -05:00
spiral
dfc9f8fcfb
feat: add cluster ID to Serilog enricher 2022-01-13 12:28:08 -05:00
spiral
a507883dda
fix: add CheckOwnGroup in Random.GroupMember 2022-01-13 12:27:00 -05:00
spiral
2aead40449
feat: add Redis identify ratelimiter 2022-01-13 12:26:25 -05:00
spiral
8aa2b0b7aa
fix(docs): consistency: use 'boolean' everywhere instead of 'bool' 2022-01-11 09:57:47 -05:00
spiral
56c3d6057e
feat(docs): document nullability of system/member keys in message object 2022-01-11 09:55:37 -05:00
spiral
e73af85e5c
fix typo in migration 2022-01-11 09:46:20 -05:00
spiral
34df19c551
fix: don't delete rows from messages table when the associated member is deleted 2022-01-11 09:43:55 -05:00
spiral
54830fd264
feat: add ProBot log cleanup 2022-01-11 08:13:01 -05:00
Spectralitree
93f1158d33 fix: display correct color when looking up other systems' groups 2022-01-09 13:21:22 +01:00
spiral
22feedd5dc
Revert "feat: query identify ratelimiter when identifying instead of when connecting websocket"
This reverts commit 5627fa9864.
2022-01-08 09:08:32 -05:00
spiral
e4bd8b4c9f
fix: respect group icon privacy in JSON models 2022-01-08 09:00:57 -05:00
spiral
6eda5c4229
feat: only run migrations in single-process mode 2022-01-07 14:26:41 -05:00
spiral
39c8590bce
refactor: move ExtractNodeIndex to BotConfig.Cluster class 2022-01-07 14:25:08 -05:00