Commit Graph

102 Commits

Author SHA1 Message Date
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
Ske
d7c0592947 Add preliminary support for buttons 2021-05-26 22:27:52 +02:00
Astrid
411cbdcd58
Merge pull request #316 from spiralw/feat/checkpatch
API patch improvements
2021-05-07 10:39:22 +02:00
spiral
e6bfc6c374
Fix error on paginate timeout when missing permissions 2021-04-26 03:44:02 +01:00
spiral
b34ed5c4c0
API patch improvements
- add PatchObject.CheckIsValid
- use transaction when creating member, as to not create a member if the
patch is invalid
- return edited system in `PATCH /s` endpoint
2021-04-21 22:57:19 +01:00
spiral
d6cb2db621
Check for reaction permissions before adding reactions 2021-04-01 21:58:48 +01:00
Spectralitree
2898b3989a Add color to all lists 2021-03-28 19:22:31 +02:00
Ske
3471f7f28c Fix error when proxying duplicate pings 2021-03-21 23:05:56 +01:00
Ske
cddecb7558 Upgrade exception filter 2021-03-18 20:16:28 +01:00
Ske
ef9b69a997 Fix some grammar in group member add/remove 2021-02-01 14:26:51 +01:00
Ske
ef614d07c3 Do the Big Rename 2021-01-31 16:16:52 +01:00
Ske
35433b0d82 Convert a few more things 2021-01-31 15:03:11 +01:00
Ske
227d68a2a4 Convert event destructuring 2021-01-31 14:55:57 +01:00
Ske
5a52abed77 Convert Sentry enrichers 2021-01-31 14:50:10 +01:00
Ske
e06a6ecf85 Remove now-unused DiscordUtils functions 2021-01-31 14:44:37 +01:00
Ske
da9d84a197 Get rid of more D#+ references 2021-01-15 11:29:43 +01:00
Ske
04109a133f Merge branch 'main' into newdiscord 2021-01-15 10:35:20 +01:00
Ske
f18a78b59c Ignore broken pipe and dropped connection exceptions 2020-12-26 13:18:31 +01:00
Ske
47b16dc51b Port more things! 2020-12-24 14:52:44 +01:00
Ske
05334f0d25 Converted enough to send the system card 2020-12-22 16:55:13 +01:00
Ske
a6fbd869be Initial commit, basic proxying working 2020-12-22 13:15:26 +01:00
Astrid
6e39eb7a96
Merge pull request #258 from dev-kittens/feat/member-group
Group improvements
2020-12-08 12:19:56 +01:00
spiral
fde7e4d3cc
Move group add/remove response text logic into MiscUtils 2020-11-22 23:11:34 -05:00
spiral
05f1ee92ea
DRY-ify checking URL length for avatars 2020-11-22 15:43:38 -05:00
Ske
0ac180c4e6 Filter Discord 500s out 2020-11-16 09:05:00 +01:00
Ske
634173e205 Update to D#+ 4.0.0-rc1 2020-11-15 13:53:31 +01:00
Astrid
17c3640fd3
Merge branch 'main' into confirm-clear 2020-10-23 11:14:36 +02:00
dev-kittens
86ed2b1add
Fix -yes flag matching on linking other accounts 2020-10-20 06:33:35 -05:00