Commit Graph

281 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
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
Ske
1f2b9f998d Preliminary support for APIv9 and threads 2021-07-15 12:41:19 +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
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
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
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
spiral
1f0c75d677
Add logging message edits 2021-05-07 17:35:09 +01: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
Ske
3d624b39e4 Add message editing command
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 12:33:30 +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
spiral
dfa25b77c7
Add flag to remove 'no fronter' item on frontpercent card 2021-04-22 01:18:41 +01:00
Ske
a2d2036851 Fix nullability for embeds
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-13 04:11:53 +02: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
c764f922ec Add color field to embeds 2021-03-28 19:22:45 +02:00
Spectralitree
8da5c94b1c even more branch fixing 2021-03-28 12:22:19 +02:00
Spectralitree
1e876ce283 more branch fixing 2021-03-28 12:20:01 +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
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
4ee0c13d62 Fix error on @ everyone 2021-03-18 11:34:35 +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
557ec4234e Fix fetching messages we can't access 2021-01-31 17:56:33 +01:00
Ske
80c572f594 Fix various bugs and regressions 2021-01-31 16:02:34 +01:00
Ske
b48a77df8d Convert periodic stat collector 2021-01-31 14:59:45 +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
9079f1c59c Port the DM stuff 2020-12-25 13:58:45 +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
df243d4220 Add info embed to proxied replies 2020-12-20 11:38:26 +01:00
Astrid
07cd753247
Merge pull request #255 from dev-kittens/feat/group-random
Add random command for groups
2020-12-08 12:20:45 +01:00
spiral
51278532d1
Add support for GiselleBot log cleanup 2020-11-24 00:02:36 -05:00
spiral
45b87bd132
Move group card embed to EmbedService 2020-11-22 11:57:54 -05:00
Ske
e24b5e3529 Add logging/metrics for error *messages* 2020-11-16 10:07:57 +01:00
Ske
c0c4871f0b Fix cache error using log channel 2020-11-15 15:07:20 +01:00
Ske
27c9e54f17 Delete proxied message if the trigger message gets deleted by other means 2020-11-15 14:34:49 +01:00
Ske
634173e205 Update to D#+ 4.0.0-rc1 2020-11-15 13:53:31 +01:00
Astrid
d844f41059
Merge pull request #244 from dev-kittens/patch-2
[accessibility] add newline between linked accounts in system card
2020-11-15 13:13:23 +01:00