spiral
9e4f5d8e40
fix strings for group rename
2021-08-26 11:54:28 -04:00
spiral
4b944e2b20
feat: refactor external input handling code
...
- refactor import/export code
- make import/export use the same JSON parsing as API
- make Patch.AssertIsValid actually useful
2021-08-25 21:43:31 -04:00
spiral
f912805ecc
feat: make group member add/remove response code less confusing; add tests
2021-08-25 19:51:33 -04:00
spiral
82544cf9ce
tweak: don't expose hidden channel count in pk;permcheck
2021-08-25 15:58:55 -04:00
Alyx
c7fcf60fbf
feat: add checking for Use External Emoji permissions in pk;permcheck
2021-08-25 15:04:08 -04:00
spiral
b46561cb0a
refactor: move some commands out of Misc
2021-08-25 14:36:13 -04:00
spiral
603123777d
add limits to switch members and proxy tag length
2021-08-25 13:42:08 -04:00
spiral
52efb3c70a
fix: don't check for useless permission when deleting command messages
...
this allows for deleting command messages in DMs, where the bot does not have manage messages permissions
and just in general in channels where it doesn't have those permissions as well
2021-08-25 12:43:33 -04:00
spiral
87676c2045
fix: show correct command suggestion to edit server tag
2021-08-25 12:33:24 -04:00
spiral
0d583a2a6b
fix: fetch guild settings for server tag in system card
2021-08-25 12:30:42 -04:00
Ske
41427db178
Use a proper user agent when fetching images
2021-08-23 22:53:58 +02:00
spiral
4c97a9daf6
hopefully a fix for #384
2021-08-15 00:50:31 -04:00
Ske
b5ce541440
Avoid spamming failed proxy checks in edit handler logs
2021-08-12 02:52:42 +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
Ske
4c17ee3d89
Fix proxying in channels without message history + reduce proxy latency
2021-08-08 21:56:24 +02:00
Ske
1720a28af2
Fix system card lookup in DMs
2021-08-08 15:31:03 +02: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
65cb937e07
feat: show relevant display option for chosen sort property in full list
2021-08-05 17:49:55 -04:00
spiral
2807906d79
feat: show display options in short member list
2021-08-05 17:48:31 -04:00
spiral
c27cbeed01
remove some unused/legacy code
2021-08-04 01:39:41 -04:00
spiral
9fd4f327e0
refactor: clean up message logging
2021-08-04 00:41:51 -04:00
spiral
b9f73cadb7
feat: proxy debug command
...
Co-authored-by: Spectralitree <72747870+Spectralitree@users.noreply.github.com>
2021-08-03 21:06:14 -04:00
spiral
25f96dd920
Fix Discord merging webhook messages with same username
...
Closes #33 .
2021-08-03 13:44:22 -04:00
spiral
9d4006b056
Add server-specific system tag
2021-08-02 17:22:06 -04:00
spiral
28bcb35bb2
fix cache error on system messages
2021-08-02 16:18:39 -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
rladenson
1290594211
Removed a duplicate line of code
2021-08-02 00:05:10 -04:00
spiral
1cb4bc9287
Expose git version in 'pk;stats' and '/v1/meta'
2021-08-01 15:22:23 -04: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
2bb8c084c9
add missing ) in debug string
2021-08-01 12:32:40 -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
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
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
c2b6e0eeed
Add groups to pk;admin
2021-07-08 10:04:05 -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
a03b5a0c95
Add NuGet lock files
...
Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com>
2021-07-08 09:04:20 -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
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
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
spiral
8cbb2424d7
Throw "no registered switches" error also with frontpercent
2021-06-16 08:56:52 -04:00
spiral
272a3430a6
move message length check *after* proxy members check
2021-06-14 11:31:14 -04:00
spiral
c75451a572
add temporary info message about increased message character limit
2021-06-12 14:45:21 +00:00
Ske
9e9eaa7450
Replace ping link embed with jump button
2021-06-11 18:17:08 +02:00
Ske
ae82bb4168
Updates to Elastic logging
2021-06-10 14:21:05 +02:00
Ske
ae9ed0f4ee
Store stard status in the database
2021-06-10 12:52:47 +02:00
Ske
26dc69e5a4
Add support for Twilight gateway queue
2021-06-09 16:22:10 +02:00
Ske
d61f61fead
Add basic support for multi-node clustering
2021-06-09 14:49:12 +02:00
Ske
8740230c3d
Add a few utility admin commands
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 19:37:44 +02:00
Ske
288ec60e02
Remove hardcoded shard count override
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 10:21:58 +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
Astrid
549877c816
Merge pull request #342 from Spectralitree/fixgroupiconprivacy
...
Fix looking up private group icons
2021-05-30 16:55:28 +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
Spectralitree
06c0e05396
fix looking up private group descriptions
2021-05-24 21:18:57 +02:00
Spectralitree
5a649d7751
Fix looking up private group icons
2021-05-24 21:05:27 +02:00
Astrid
74128ee4c4
Merge pull request #327 from spiralw/fix/msg-edit-dm
...
Fix error when trying to edit message in DM without link
2021-05-08 21:38:33 +02:00
spiral
239afd9b10
Fix error when trying to edit message in DM without link
2021-05-07 22:31:43 +01:00
spiral
1f0c75d677
Add logging message edits
2021-05-07 17:35:09 +01:00
Ske
dbde8c07ad
Fix a few more compiler warnings
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-07 10:56:15 +02:00
Ske
dd2c669cd2
Fix some compiler warnings
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-07 10:48:19 +02:00
Spectralitree
b1c7fbd2df
Add color to frontpercent embed ( #307 )
...
* Add color to frontpercent embed
* don't pass color as a separate argument
Co-authored-by: Astrid <mail+github@astr.cc>
2021-05-07 10:40:57 +02:00
Astrid
411cbdcd58
Merge pull request #316 from spiralw/feat/checkpatch
...
API patch improvements
2021-05-07 10:39:22 +02:00
Astrid
d719303053
Merge pull request #311 from Spectralitree/rawdisplaynames
...
Add raw display name printing
2021-05-07 10:37:54 +02:00
Mikaela Szekely
6395872f2d
allow pk;system proxy to take a server ID
...
So people can disable proxying in a server without outing themselves :)
2021-05-06 10:19:15 -06:00
Ske
3d624b39e4
Add message editing command
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 12:33:30 +02:00
Ske
33cabff359
Clean up autoproxy timeout command code
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 10:34:53 +02:00
Astrid
75630e5546
Merge pull request #312 from spiralw/feat/sub-hour-latch-timeout
...
Add support for sub-hour latch timeout
2021-05-03 10:29:50 +02:00
Ske
aa2a234f8d
Fix permission error on message edit handler
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 10:29:22 +02:00
Ske
65387bfea4
Loosen regex for normalizing route path logging
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 09:24:18 +02:00
Astrid
2e09382fa7
Merge pull request #313 from spiralw/feat/new-member-avatar
...
feat: add avatar to member via attachment on 'pk;member new' command
2021-05-03 09:19:59 +02:00
Astrid
48bd0940d3
Merge pull request #323 from spiralw/patch-2
...
misc patches
2021-05-02 00:14:17 +02:00
spiral
653c7b22bd
remove random console log
2021-05-01 19:32:37 +01:00
spiral
517abf7ff1
feat: show member color in reply embed
2021-05-01 19:20:00 +01:00
spiral
cf93b8b3cc
fix: don't try matching commands if there is nothing to match
2021-05-01 19:18:04 +01:00