Commit Graph

1579 Commits

Author SHA1 Message Date
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
2bb8c084c9
add missing ) in debug string 2021-08-01 12:32:40 -04:00
spiral
3d2435eb2e
move database utils to Database/Utils, create DatabaseMigrator 2021-08-01 11:13:32 -04:00
spiral
d633cd4906
Hotfix for missing Discord API endpoint to edit thread webhook message
See https://github.com/discord/discord-api-docs/issues/3519
2021-07-28 02:23:01 -04:00
spiral
762158e857
Update different system error in MessageEdit 2021-07-28 02:19:37 -04:00
spiral
43017c1522
Correctly log errors from gateway event enrichers 2021-07-28 02:09:52 -04:00
spiral
def39b7bc5
fix interactions in DMs 2021-07-28 01:55:06 -04:00
spiral
a8727f474b
Allow any linked account to edit/delete messages sent by the same system
Closes #375.
2021-07-27 11:39:37 -04:00
spiral
52a7a015cd
Document Vortex log cleanup 2021-07-27 10:36:02 -04:00
spiral
620fb5be36
Add Vortex log cleanup 2021-07-24 12:02:06 -04:00
Starshine System
74140b5994
Message info embed improvements (#374)
- Fetch the user if there's no member object, so users who left the server don't show up as deleted
- Order roles by position (so potential staff roles show up first and aren't cut off)
2021-07-19 01:02:27 -04:00
spiral
9d344a4ef9
Add confirmation when editing a message from DMs
Closes #373.
2021-07-17 20:39:12 -04:00
Ske
1f2b9f998d Preliminary support for APIv9 and threads 2021-07-15 12:41:19 +02:00
spiral
0e7bcb993e
Fix markdown formatting for privacy subject errors 2021-07-15 02:06:35 -04:00
spiral
7179e2dd1b
remove incorrect command aliases 2021-07-14 20:50:06 -04:00
spiral
8992cf8a3f
use context utils in Admin.cs 2021-07-14 19:59:22 -04: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
16639f4f56
Fix link to js library 2021-07-13 23:47:12 -04:00
spiral
d17e93e8b0
add API libraries to docs 2021-07-13 23:06:51 -04:00
spiral
30d1bf6926
Fix WarnOnConflict
postgres doesn't like 'value = null' for some reason
Closes #223.
2021-07-13 02:31:06 -04:00
spiral
afd8983abe
fix the rest of the conditionals 2021-07-08 12:45:59 -04:00
spiral
a8e6a53404
! 2021-07-08 10:57:53 -04:00
spiral
902bad110c
Add missing flags to docs 2021-07-08 10:34:13 -04:00
spiral
c2b6e0eeed
Add groups to pk;admin 2021-07-08 10:04:05 -04:00
spiral
889e1a8331
Don't kill the gateway session when trying to resume
Sending a close code of 1000 or 1001 invalidates gateway sessions.
Instead, we use close code 1005 (no error specified)
2021-07-08 09:19:44 -04: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
dd020d8aa8
Update license in openapi.yaml 2021-07-08 09:07:45 -04:00
spiral
a03b5a0c95
Add NuGet lock files
Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com>
2021-07-08 09:04:20 -04:00
spiral
b82dad2b9f
api: correctly parse 'null' privacy as public 2021-07-06 18:07:17 -04:00
spiral
799d6fa300
Fix wording 2021-07-02 17:59:27 -04:00
spiral
ab6ab127dd
move Context#PromptYesNo to buttons 2021-07-02 06:40:40 -04:00
spiral
2b15815825
listen for text response in YesNoPrompt interactive 2021-07-02 06:35:25 -04:00
spiral
af801e2b01
properly encode custom emojis in emoji API routes 2021-07-01 01:59:04 -04:00
Astrid
6455c5fc5f
Merge pull request #364 from zoemartin01/fix/reply-mentions
Fix mentions in replies being cut off
2021-06-28 21:59:43 +02:00
Astrid
b4330d8210
Merge pull request #362 from spiralw/patch/frontpercent
patch frontpercent
2021-06-28 21:59:37 +02:00
Zoe Martin
131ee8d87c
fix: improved url regex 2021-06-25 15:14:30 +02:00
Zoe Martin
e9da1a80b7
fix: issues with urls being cut in half at the end of replies and "…" unnecessarily being appended at the end 2021-06-25 15:05:25 +02:00
Zoe Martin
d1c6794330
fix: inserting closing angle bracket in reply when not present in original issue 2021-06-25 13:15:25 +02:00
Zoe Martin
2aac97d2a0
fix: extended fix for emotes being cut off in replies to all mentions 2021-06-25 12:54:49 +02:00
Zoe Martin
b156f6a9cb
fix: emotes being cut off in replies 2021-06-25 12:34:44 +02:00
spiral
c727a71161
Add "flat" front history view (percentages add up to 100%) 2021-06-21 11:30:38 -04:00
spiral
bc32943824
fix timespan when removing no-fronters 2021-06-21 10:52:06 -04:00
Astrid
0dfea56d83
Merge pull request #359 from spiralw/fix/frontpercent
Throw "no registered switches" error also with frontpercent
2021-06-21 15:25:29 +02:00
Astrid
a2146ba748
Merge pull request #361 from spiralw/feat/api-meta
Add /v1/meta API endpoint
2021-06-21 15:24:27 +02:00
spiral
deedb61d41
Add /v1/meta endpoint (shows shard state) 2021-06-21 09:19:47 -04:00
spiral
8cbb2424d7
Throw "no registered switches" error also with frontpercent 2021-06-16 08:56:52 -04:00
Astrid
57f3215651
Merge pull request #356 from spiralw/fix-cache-webhooks
Fix gateway event enricher crashing on webhook messages
2021-06-15 16:52:45 +02:00
spiral
272a3430a6
move message length check *after* proxy members check 2021-06-14 11:31:14 -04:00
spiral
c46177f2f5
Check if user is webhook in PermissionsFor 2021-06-14 09:57:58 -04:00