Commit Graph

828 Commits

Author SHA1 Message Date
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
spiral
1e5ba5f985
feat: case-insensitive "text" keyword matching for proxy tags 2021-05-01 19:17:35 +01:00
Ske
478857e8c6 Format guild count in activity properly
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-29 11:14:04 +02:00
spiral
e6bfc6c374
Fix error on paginate timeout when missing permissions 2021-04-26 03:44:02 +01:00
Astrid
752cd5dbfd
Merge pull request #317 from spiralw/feat/fronters-only
Add flag to remove 'no fronter' item on frontpercent card
2021-04-22 18:35:24 +02:00
Astrid
fbe895b9bf
Merge pull request #314 from starshine-sys/main
add "author" subcommand to pk;msg
2021-04-22 18:34:11 +02:00
spiral
dfa25b77c7
Add flag to remove 'no fronter' item on frontpercent card 2021-04-22 01:18:41 +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
85615b3f68
fix error message on invalid guild ID 2021-04-19 21:38:03 +01:00
Starshine System
58a51ee9d2
add "author" subcommand to pk;msg 2021-04-14 17:06:44 +02:00
spiral
d3e3cb0abc
feat: add avatar to member via attachment on 'pk;member new' command 2021-04-14 13:56:41 +01:00
spiral
8219aaa5bd
Add support for sub-hour latch timeout (just use ParsePeriod) 2021-04-13 14:55:46 +01:00
Spectralitree
e016229be5 Add raw display name printing 2021-04-13 11:25:05 +02:00
Ske
a2d2036851 Fix nullability for embeds
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-13 04:11:53 +02:00
spiral
a5ad16780c
Fix matching Discord Stable links (oops) 2021-04-09 10:51:24 +01:00
Spectralitree
7010becd32 Add group front percentages (fixing Git history)
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-06 12:58:50 +02:00
Spectralitree
29561662ab Fix typo in system color 2021-04-06 12:27:39 +02:00
Astrid
34458bd373
Merge pull request #304 from spiralw/fix/link-matching
Fix matching canary/ptb Discord links
2021-04-06 11:32:17 +02:00
spiral
9d17c130c5
Fix matching canary/ptb Discord links 2021-04-05 02:39:14 +01:00
spiral
d6cb2db621
Check for reaction permissions before adding reactions 2021-04-01 21:58:48 +01:00
Spectralitree
c764f922ec Add color field to embeds 2021-03-28 19:22:45 +02:00
Spectralitree
2898b3989a Add color to all lists 2021-03-28 19:22:31 +02:00
Spectralitree
8da5c94b1c even more branch fixing 2021-03-28 12:22:19 +02:00
Spectralitree
5a9671559a more... branch fixing 2021-03-28 12:21:06 +02:00
Spectralitree
1e876ce283 more branch fixing 2021-03-28 12:20:01 +02:00
Spectralitree
e7cfd85bd5 I messed up the branches oops 2021-03-28 12:15:21 +02:00
Spectralitree
3603d52e9e Add group and system colors 2021-03-28 12:02:41 +02:00
Spectralitree
1b791fd7f9 Merge branch 'main' of https://github.com/Spectralitree/PluralKit into main 2021-03-27 23:41:24 +01:00
spiral
66e483be6f
Fix NullReferenceError when HasValue is true but Value is null 2021-03-25 18:02:44 +00:00
Astrid
ffae424a6c
Merge pull request #292 from dev-kittens/fix/edit-replies
Fix handling replies in edited messages
2021-03-22 10:20:11 +01:00
spiral
0acadee803
don't cache the full message 2021-03-22 07:17:10 +00:00
spiral
a7189fab8c
Fix handling replies in edited messages 2021-03-22 07:07:33 +00:00
Ske
3471f7f28c Fix error when proxying duplicate pings 2021-03-21 23:05:56 +01:00
spiral
01ea0d9971
Add 'pk;msg <id|link> delete' 2021-03-21 09:45:26 +00:00
Ske
cddecb7558 Upgrade exception filter 2021-03-18 20:16:28 +01:00
Ske
3196f60093 Fix error on DMing with no permission 2021-03-18 11:38:28 +01:00
Ske
4ee0c13d62 Fix error on @ everyone 2021-03-18 11:34:35 +01:00
Ske
13e3289c26 Add config option for max shard concurrency 2021-03-18 09:47:58 +01:00
Spectralitree
9d80b7b141 Add group front percentages
Also add a title to the system frontpercent embed, and tweak the footer
2021-02-09 23:36:43 +01:00
Ske
ef9b69a997 Fix some grammar in group member add/remove 2021-02-01 14:26:51 +01:00
Ske
ccd12df996 Fix removing original reaction 2021-01-31 17:56:44 +01:00
Ske
557ec4234e Fix fetching messages we can't access 2021-01-31 17:56:33 +01:00
Ske
ef614d07c3 Do the Big Rename 2021-01-31 16:16:52 +01:00
Ske
80c572f594 Fix various bugs and regressions 2021-01-31 16:02:34 +01:00
Ske
8785354a2b Remove D#+ dependency :))))) 2021-01-31 15:04:37 +01:00
Ske
35433b0d82 Convert a few more things 2021-01-31 15:03:11 +01:00
Ske
b48a77df8d Convert periodic stat collector 2021-01-31 14:59:45 +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
0c1bb6cc6a Convert message update handler 2021-01-31 14:42:28 +01:00
Ske
d56e878c28 Converted shard and logclean service 2021-01-30 01:07:43 +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
e0cc74a712 Don't attempt to create a reply embed when message fetching fails 2021-01-14 03:22:04 +01:00
spiral
44fa097900
Force PNG image format (remove animations in embeds) 2020-12-28 04:47:14 +00:00
Ske
f18a78b59c Ignore broken pipe and dropped connection exceptions 2020-12-26 13:18:31 +01:00
Ske
9079f1c59c Port the DM stuff 2020-12-25 13:58:45 +01:00
Ske
a2c8cbb560 Add DM support 2020-12-25 13:19:35 +01:00
Ske
2e0c30eb5d Port some more commands, mostly for embeds 2020-12-25 12:56:46 +01:00
Ske
50b8685e44 Clarify timeout overflow message 2020-12-24 22:27:03 +01:00
Ske
4e67c79154 Fix autoproxy timeout message 2020-12-24 19:42:04 +01:00
Ske
ad921e17e3 Fix autoproxy timeout overflow 2020-12-24 19:41:46 +01:00
Ske
47b16dc51b Port more things! 2020-12-24 14:52:44 +01:00
Ske
f6fb8204bb Add embed builder, some more ported classes 2020-12-23 02:19:02 +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
Ske
c3f6becea4 Fix truncated spoiler tags in replies 2020-12-21 03:16:48 +01:00
Ske
4e5d02e1a4 Reformat replies 2020-12-20 16:58:52 +01:00
Ske
97f5ab94c1 Update soulscream formatting 2020-12-20 12:16:23 +01:00
Ske
e2d76fe809 Fix reply formatting on mobile 2020-12-20 12:16:14 +01:00
Ske
96ba511026 Secret soulscreams, because I'm bored 2020-12-20 11:52:35 +01:00