Commit Graph

2727 Commits

Author SHA1 Message Date
spiral
5da3c84bce feat(api): block empty user-agents 2023-02-15 12:58:59 -05:00
Ambre Bertucci
95389e8df8
feat(api): allow custom user-agents in cors headers (#520)
Firefox's (correct) CORS implementation considers `User-Agent` as a forbidden header and requires the server to explicitly opt into custom UAs by allowing this header in `Access-Control-Allow-Headers`.

This commit enables CSR apps to correctly communicate which tools they are part of.
2023-02-15 17:42:22 +00:00
spiral
3e76fd8d28 chore: require redis connection for bot 2023-02-12 18:00:05 -05:00
spiral
52c9ca9d0e github pls 2023-02-12 17:59:33 -05:00
spiral
a39d0c8ab6
fix(api): check visibility for group members in groups endpoint 2023-02-12 04:29:11 +00:00
spiral
b904be939a feat(api): log requests as json instead of plaintext 2023-02-11 11:13:46 -05:00
Iris System
51ceb36129 fix(bot): use newly-exposed message ID in Carl-bot logclean 2023-02-08 03:05:08 +13:00
spiral
e6d8c44d72 fix(api): use cache for switch member lookups 2023-02-06 19:33:54 -05:00
spiral
0a58c9a9ed fix: re-enable deleting messages from db (but correctly this time) 2023-02-06 19:31:37 -05:00
Iris System
1c159c37ff fix(bot): wait for database insert before deleting original message
Closes #495

Co-authored-by: spiral <spiral@spiral.sh>
2023-02-05 01:29:41 +13:00
Iris System
3fd16182f0 fix(bot): allow end-of-line space on otherwise empty blockquote line
Fixes #507
2023-02-05 01:20:52 +13:00
IGuessItsBray
6cc479b40b fix(docs): Add CoreBot compatibility (#516) 2023-02-05 00:52:18 +13:00
rladenson
67376be123 feat(bot): change message count sorting (#514) 2023-02-05 00:52:18 +13:00
Jake Fulmine
10af7be278 fix(dashboard): sort by name alphabetically if no theres color 2023-01-21 21:07:55 +01:00
Jake Fulmine
e9f563a1bc tweak(dashboard): add desc character count here too 2023-01-21 20:58:34 +01:00
Jake Fulmine
278104942b fix(dashboard): dont crash when editing member with no description 2023-01-21 20:48:12 +01:00
Jake Fulmine
f22c23c5f1 feat(dashboard): sort/filter by color 2023-01-21 20:47:40 +01:00
Jake Fulmine
65dea53c64 tweak(dashboard): some padding tweaks 2023-01-21 20:16:26 +01:00
Jake Fulmine
293739a0d0 tweak(dashboard): show amount of characters of description input 2023-01-21 20:16:13 +01:00
Jake Fulmine
b670354542 fix(dashboard): fix proxy tags not resetting when exiting out of modal 2023-01-21 19:58:38 +01:00
Jake Fulmine
0b20fd7730 fix(dashboard): improve slow search when sorting by a date field 2023-01-21 19:55:50 +01:00
spiral
b13659817d fix(bot): try fetching messages from database before deleting 2023-01-15 17:34:40 +00:00
spiral
8432f00996 chore: remove plausible analytics entirely 2023-01-15 17:09:13 +00:00
Jake
bf3168460b fix(dashboard): fix twemoji CDN 2023-01-15 09:24:40 +01:00
Jake
4d4852caf6 feat(dashboard): allow embedding as app on iOS 2023-01-15 09:19:24 +01:00
Iris System
683b616a1b fix(bot): make pk;import handle <> wrapped URLs 2023-01-09 04:32:41 +13:00
Iris System
10287d0146 chore: update lockfiles (since dependabot didn't) 2023-01-09 04:31:11 +13:00
dependabot[bot]
59826e1fb2
Merge pull request #505 from PluralKit/dependabot/nuget/PluralKit.Core/Newtonsoft.Json-13.0.2 2023-01-08 06:24:08 +00:00
dependabot[bot]
b5b3560c62
chore(deps): bump Newtonsoft.Json in /PluralKit.Core
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 06:22:50 +00:00
Iris System
631c6027ab feat(bot): allow timestamps in "military time" (HHmm, no colon) 2023-01-08 03:07:22 +13:00
Iris System
25c55df3b3 feat(bot): allow clearing embeds from proxied messages 2023-01-08 03:07:22 +13:00
Oliver
31ff2b7c87 feat(docs): Add Plural.kt to community libraries 2023-01-05 16:08:05 +13:00
spiral
0313b96bc4
fix(dash): don't load plausible script for now 2023-01-04 21:18:01 +00:00
spiral
42905ba3bd
fix(api): fix autoproxy mode check when patching member 2022-12-31 02:22:38 +00:00
spiral
5c0472eb95
fix(api): limit autoproxy member patch to own system 2022-12-31 02:17:26 +00:00
spiral
f0aa48f00a
fix(bot): don't check for permissions when deleting messages in DMs 2022-12-30 00:11:14 +00:00
spiral
757a4ea5e2
fix(bot): fix blargbot log cleanup
closes #467
2022-12-29 01:50:04 +00:00
spiral
9be65d03b1
fix(bot): ignore permission errors trying to delete user messages in DMs 2022-12-29 01:36:02 +00:00
spiral
c91349a1d6
fix(bot): expose PKErrors from message edit proxy handler 2022-12-29 01:34:50 +00:00
spiral
3129f05b0f
fix(bot): show error message when content-type header is missing from avatar url response 2022-12-29 01:21:01 +00:00
spiral
2fe83fc18c
feat: enforce urls to be https instead of http 2022-12-29 00:54:32 +00:00
spiral
e11f4f23ab
chore: remove dead code in DatabaseViewsExt 2022-12-29 00:53:13 +00:00
spiral
0cf0560701
refactor(bot): better way to throw proxy errors received from discord 2022-12-29 00:52:37 +00:00
spiral
d332535ab1
Revert "fix(bot): wait for identify limit on identify instead of shard connect"
This reverts commit 6277d72c9c.
2022-12-24 22:37:04 +00:00
spiral
6277d72c9c
fix(bot): wait for identify limit on identify instead of shard connect 2022-12-21 05:47:13 +00:00
spiral
d04f3cf1ad
fix(stats): fix table name in get_message_count 2022-12-17 01:23:12 +00:00
spiral
6c7abeb3de
feat(web-proxy): add plausible.pluralkit.me 2022-12-16 22:24:06 +00:00
spiral
91f5e7c8f6
fix(bot): quick fix for timescaledb issues 2022-12-15 01:40:37 +00:00
spiral
de2cc5474d
fix(ci): use correct path for web-proxy GH action 2022-12-15 01:15:55 +00:00
spiral
b5c1197f81
feat(docs): changelog new member model keys 2022-12-15 01:12:10 +00:00