Commit Graph

129 Commits

Author SHA1 Message Date
spiral
d5adcaf76c
fix(bot): ignore "out of shared memory" postgres error 2022-12-10 16:50:43 +00:00
spiral
2fea773d7e
fix(bot): validate url in pk;import 2022-12-06 10:15:20 +00:00
spiral
2602763e25
feat(bot): don't send internal error messages for some errors that should be on sentry 2022-12-03 11:57:43 +00:00
spiral
c77da49d30
chore(bot): raise Discord embed description character limit
short lists should (hopefully) have line breaks less often now
2022-09-22 17:19:18 +00:00
spiral
cfd9dff6c5
feat(bot): tag cluster ID in sentry events 2022-06-21 11:11:47 -04:00
spiral
f0b5749d5c
feat(bot): clean up / paginate help command 2022-06-14 19:05:15 -04:00
spiral
aa896de3af
fix: ignore nirn-proxy timeouts in IsOurProblem 2022-04-20 10:45:35 -04:00
spiral
7afba4ea95
chore: code cleanup (mostly whitespace / remove unused imports) 2022-03-30 04:36:22 -04:00
spiral
56155782c3
fix: don't crash if user tries to add a reaction on a page before the reactions are done filling up
this is kinda a hacky fix since it just ignores the user input, but it's the best that can be done until Paginate is moved to interactions (buttons)
2022-03-30 03:06:21 -04:00
spiral
ca108813b7
fix: don't spam errors when postgres is restarting 2022-03-19 21:57:58 -04:00
spiral
ae543b9c18
feat: fetch from REST instead of cache for cross-cluster lookups 2022-03-09 20:06:53 -05:00
spiral
32a73eef09
feat: update to Discord API v10 2022-02-26 16:28:20 -05:00
spiral
375758206e
fix: show correct name in entityReference when base name is private 2022-02-05 09:26:14 -05:00
rladenson
f3869dbcbe
feat: rework group list into member list 2022-01-14 22:30:02 -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
dfc9f8fcfb
feat: add cluster ID to Serilog enricher 2022-01-13 12:28:08 -05:00
spiral
455830a2b5
feat: public/private lookup flags, consistency 2021-12-06 00:32:54 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
7a5ba8246e
refactor: cache own user ID in IDiscordCache
- remove Cluster.User
- remove Cluster.Application (it was only being used as an alternative to Cluster.User for some reason)
- move Bot.PermissionsIn to DiscordCacheExtensions
2021-11-21 19:42:35 -05:00
spiral
0efaab6d95
refactor: don't use 'out' in IDiscordCache methods
this change is required for async cache (.NET doesn't support async ref/out params)
2021-11-18 13:11:02 -05:00
spiral
e7f36eb31f
feat: async cache
this breaks logging bot permissions to Sentry.

we haven't had a need to check those recently (permissions issues were because of broken cache), so this is fine for now
this should be re-added in the future though
2021-11-17 20:41:02 -05:00
spiral
45258d519e
feat: allow proxying in guild voice channels 2021-11-17 15:55:54 -05:00
spiral
e5c74edd85
feat: ignore database timing out 2021-11-09 01:31:42 -05:00
spiral
be443caccf
fix: off-by-one error in switching list pages 2021-11-07 12:24:06 -05:00
rladenson
b1bd563dad
feat: jump to page (#401) 2021-11-04 05:52:49 -04:00
spiral
8d02af7b94
refactor: move GroupAddRemoveResponseService into GroupMemberUtils
(it's not a service)
2021-10-31 01:11:10 -04:00
Katrix
b998636cbe
feat: add -raw flag to pk;msg (#399) 2021-10-29 16:42:10 -04:00
spiral
13fa78987c
fix: accept channel ID in MatchChannel 2021-10-29 13:04:41 -04:00
spiral
f785fa1204
feat: add HttpRequestException to IsOurProblem 2021-09-29 21:51:54 -04:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
spiral
f912805ecc
feat: make group member add/remove response code less confusing; add tests 2021-08-25 19:51:33 -04:00
Ske
41427db178 Use a proper user agent when fetching images 2021-08-23 22:53:58 +02:00
spiral
8f15065507
fix: don't check file size for banners 2021-08-08 17:44:30 -04:00
spiral
e058d05224
fix: catch the correct exception in Paginate 2021-08-08 16:10:55 -04:00
spiral
a5a39cba0a
fix: correctly check banner image size (don't) 2021-08-06 21:41:27 -04:00
spiral
b8bd53f3c0
fix: correctly check avatar size 2021-08-06 21:41:18 -04:00
spiral
c27cbeed01
remove some unused/legacy code 2021-08-04 01:39:41 -04:00
spiral
e144571904
Add banner (large) image 2021-08-02 13:46:12 -04:00
Ske
eb142a81fa Handle null avatar URLs 2021-08-02 12:20:53 +02:00
spiral
dcc15dc847
Move mediaproxy URL rewriting to ProxyService
This shows full size avatars in API / cards.

Also, rewrite URLs currently stored with media.discordapp.net "back" to
cdn.discordapp.com before sending them to users.
2021-08-01 12:51:54 -04:00
spiral
def39b7bc5
fix interactions in DMs 2021-07-28 01:55:06 -04:00
Ske
1f2b9f998d Preliminary support for APIv9 and threads 2021-07-15 12:41:19 +02:00
spiral
5d8c16e480
clean up compiler warnings 2021-07-14 19:50:10 -04:00
Astrid
467d0746bd
Merge pull request #368 from spiralw/feat/yes-no-buttons
Use buttons for all yes/no prompts
2021-07-14 18:26:00 +02:00
spiral
e620e30c10
Fix channel checks missing GuildNews
The log channel / logclean checks are left as-is; hopefully nobody is
using an announcements channel for their logs?
2021-07-08 09:17:35 -04:00
spiral
ab6ab127dd
move Context#PromptYesNo to buttons 2021-07-02 06:40:40 -04:00
Ske
ae82bb4168 Updates to Elastic logging 2021-06-10 14:21:05 +02:00
Ske
41f1c58a9f Merge branch 'new-shard-handler' 2021-06-08 10:20:59 +02:00
Ske
118f2d49a6 WIP new shard implementation 2021-06-08 10:19:54 +02:00
Ske
4bd2d06b0b Add basic interactivity framework 2021-05-30 16:45:45 +02:00