Commit Graph

2540 Commits

Author SHA1 Message Date
pulchra mentis
adaddb579e
Implement media resizing using Discord media cache (#470)
* Implement media resizing using Discord media cache
Improve performance by offloading image scaling to Discord
Only apply the resizing to images stored in the Discord CDN
Set the format of the resized images to WebP for improved performance

* Implemented suggestion for improved regex
2022-08-17 21:50:36 +02:00
Jake Fulmine
7aa4d49a97 fix(dashboard): swap svelte-autosize for svelte-textarea-autoresize 2022-08-17 21:40:10 +02:00
spiral
3a7e8422af
fix: better documentation for pk;config 2022-08-15 10:05:29 +02:00
Iris System
1ea37696e3 fix(bot): check bot perms for UseExternalEmojis instead of @/everyone 2022-08-05 09:42:01 +12:00
the iris system
fcd1ec486e
fix(bot): filter out non-rich Discord embeds in reproxy (#476) 2022-07-19 20:34:43 -04:00
spiral
62a57bc818
fix: don't try to register messages to redis if the redis connection isn't configured 2022-07-17 00:30:05 +02:00
spiral
5a6bf84af6
feat(dashboard): add polyfill for String.prototype.replaceAll 2022-07-14 19:46:50 +02:00
spiral
d17cb80db4
refactor(dashboard): use bootstrap tooltip on shard status page 2022-07-14 19:40:12 +02:00
spiral
f864498392
fix: scheduled tasks runner docker build 2022-07-14 19:00:01 +02:00
spiral
1825a00248
feat: add elasticsearch tracing subscriber
create lib/pk_core
2022-07-10 01:15:03 -04:00
spiral
5097eb9ce2
refactor: move scheduled_tasks service to services/ folder 2022-07-10 01:13:35 -04:00
Jake/Rads
371d677af1 Merge branch 'main' of https://github.com/PluralKit/PluralKit 2022-07-07 19:53:27 +02:00
Jake/Rads
d7aeb70918 feat(dashboard): more list sorting options 2022-07-07 19:53:24 +02:00
spiral
0bd9f757fd
chore: remove unused beta bot workflow 2022-07-05 15:37:57 -04:00
spiral
303ef71805
refactor: move dockerfiles to package folders 2022-07-05 15:37:15 -04:00
spiral
cc0edd3ed8
chore: lint 2022-07-05 14:42:58 -04:00
spiral
6b4f620c7f
Merge branch 'chore/grpc-tools-update' of ssh://github.com/u1f408/pluralkit 2022-07-05 14:41:16 -04:00
Iris System
07e86c4cd5 fix(bot): make reproxy change reply embed color 2022-07-05 12:22:35 +00:00
Iris System
52127d9255 chore: update nuget Grpc.Tools to 2.47.0
The version previously used (2.37.0) is completely broken on
aarch64 Linux, so building the bot just didn't work there.
2022-07-05 11:15:30 +00:00
Jake/Rads
94809fcf19 fix(dasbhoard): don't stretch icons in headers 2022-06-30 16:30:11 +02:00
Jake/Rads
032c601ec3 fix(dashboard): fix deleting items not updating list 2022-06-30 16:24:41 +02:00
Jake/Rads
1bdee69c9b fix(dashboard): include members array on creation 2022-06-30 16:24:20 +02:00
Jake/Rads
ed526eddb1 fix(dashboard): show group colors again 2022-06-28 09:12:07 +02:00
Jake/Rads
5df818e367 feat(dashboard): copy short link from pages 2022-06-28 08:04:19 +02:00
Jake/Rads
380b01c364 fix(dashboard): fix page links from dashboard 2022-06-28 07:51:13 +02:00
Jake/Rads
e33ca27dd5 fix(dashboard): show card colors again! 2022-06-27 21:00:04 +02:00
Jake/Rads
1b941cdf3b fix(dashboard): fix arrow key navigation (again) 2022-06-27 20:32:03 +02:00
Jake/Rads
061c94dab4 fix(dashboard): properly determine page links 2022-06-27 20:31:33 +02:00
Jake/Rads
b99af6a52e fix(dashboard): typo in option 2022-06-27 20:12:58 +02:00
Jake/Rads
98f7a39185 fix(dashboard): fix public profile page links 2022-06-27 17:00:48 +02:00
Jake/Rads
e868b2c5d3 fix(dashboard): card navigation randomly breaking
because svelte randomly sets bind:this in an array to null for an entire page, for reasons I do not know, im just doing it directly with ids
2022-06-27 16:53:52 +02:00
Jake/Rads
239043bc61 fix(dashboard): pass correct list to child 2022-06-27 15:00:41 +02:00
Jake/Rads
3740b294d6 fix(dashboard): put a missing border back 2022-06-27 14:45:59 +02:00
Jake/Rads
7ee5bba14c fix(dashboard): dont use same indexes per page
changing the accordion to individual collapses meant we could implement keyboard navigation between the cards

however, I only handled card collapsing state per-page, which caused an issue where opening one card on one page would open the card with the same index on every page

this fixes that by indexing the cards based on its position in the whole list rather than per-page
2022-06-27 14:45:04 +02:00
Jake/Rads
ce431364a0 fix(dashboard): reuse list component in randomizer 2022-06-27 13:09:13 +02:00
Jake/Rads
64ad9374af fix(dashboard): make default avatars tabindexable for consistency 2022-06-27 13:08:43 +02:00
Jake/Rads
42064c66b0 feat(dashboard): add copy link button 2022-06-27 13:08:19 +02:00
Jake/Rads
6468068ca4 feat(dashboard): reuse list component more thoroughly 2022-06-27 12:08:07 +02:00
Jake/Rads
b70f8d27e7 feat(dashboard): keyboard navigation between list items 2022-06-27 12:08:07 +02:00
spiral
07936ec561
fix(bot): crash in 'pk;ap' command when system has no switches registered 2022-06-27 05:42:23 -04:00
Jake/Rads
42fb75c3a4 fix(dashboard): default to name on "search by" field 2022-06-27 00:31:06 +02:00
Jake/Rads
dac9281887 fix(dashboard): assign list keys based on index and id
which means: no more moving avatars whenever you re-sort the list 🎉
2022-06-27 00:30:46 +02:00
Jake/Rads
9ab6a5ba2e feat(dashboard): randomize member and group lists 2022-06-27 00:28:40 +02:00
spiral
7d11b8c238
fix: build issues 2022-06-26 17:30:12 -04:00
spiral
4bf4197c2a
feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb 2022-06-26 14:19:46 -04:00
Jake/Rads
0c3eeae420 fix(dashboard): actually delete members from list 2022-06-25 22:31:53 +02:00
Jake/Rads
a0d0bc2903 fix(dashboard): fix duplication after member creation
aka: what in the actual world was i doing here
2022-06-25 22:31:23 +02:00
Jake/Rads
191136cd94 feat(dashboard): tweak status page styling 2022-06-24 20:47:00 +02:00
Jake/Rads
43b6792e30 fix(dashboard): fix undefined name after creation 2022-06-24 08:11:10 +02:00
Jake/Rads
f84f7eacdd fix(dashboard): fix crash when searching after member creation 2022-06-24 08:10:11 +02:00