Commit Graph

1822 Commits

Author SHA1 Message Date
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
83212b4bb2 Don't override maximum pool size from connection string 2021-08-24 11:22:41 +02:00
Ske
1aa4cbf3d8 Use docs-compliant user agent again 2021-08-23 22:55:21 +02:00
Ske
41427db178 Use a proper user agent when fetching images 2021-08-23 22:53:58 +02:00
spiral
55c56c4e58
oops, actually check guild permissions as well in channel EveryonePermissions 2021-08-15 01:04:04 -04:00
spiral
4c97a9daf6
hopefully a fix for #384 2021-08-15 00:50:31 -04:00
spiral
4761804082
add channel-specific EveryonePermissions 2021-08-15 00:38:37 -04:00
Ske
0b0ea5af1c Only hang shard startup until sending identify 2021-08-12 09:05:02 +02:00
Ske
8de6960335 Add HTTP timeout/retry to Twilight rate limiter 2021-08-12 08:59:48 +02: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
50776980e5
fix: use correct git commit abbrev 2021-08-08 16:19:31 -04:00
spiral
e058d05224
fix: catch the correct exception in Paginate 2021-08-08 16:10:55 -04:00
spiral
11bd66e8d8
refactor: move JsonModelExt to PluralKit.Core (in individual model/patch files) 2021-08-08 16:10:53 -04:00
spiral
26c18d2f48
refactor: move modeltypes to own folder, move IDs to file of respective type 2021-08-08 16:10:51 -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
Ske
ffe7400539 Fix system tags defaulting to off on servers with no per-guild settings 2021-08-08 15:28:21 +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
d8458c0846
docs(api): clarify the term 'nullable' 2021-08-03 20:11:02 -04:00
spiral
348b87f64d
docs: name is not nullable in API models 2021-08-03 20:06:08 -04:00
spiral
34a1470d1f
fix shard fetch order 2021-08-03 18:57:10 -04:00
spiral
25f96dd920
Fix Discord merging webhook messages with same username
Closes #33.
2021-08-03 13:44:22 -04:00
dependabot[bot]
c691adf8c9 Bump prismjs from 1.23.0 to 1.24.1 in /docs
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.1)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 17:34:30 -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
7681978435 Handle null avatar URLs (the other place too) 2021-08-02 12:22:28 +02: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
ebf6933440
add more information about non-logger bots with PluralKit support 2021-08-01 16:29:56 -04:00
spiral
1a0486f038
Add crosslink to the bots with support list
Co-authored-by: panley01 <52224740+panley01@users.noreply.github.com>
2021-08-01 16:26:11 -04:00
spiral
2ac5436d00
fix docker builds 2021-08-01 15:32:58 -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
3d2435eb2e
move database utils to Database/Utils, create DatabaseMigrator 2021-08-01 11:13:32 -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