Commit Graph

1445 Commits

Author SHA1 Message Date
Ske
17c8b7b765 Properly retry client creation on failure 2019-08-12 04:42:16 +02:00
Ske
5b13c1b100 Cache the entire webhook client rather than just the token 2019-08-12 04:32:01 +02:00
Ske
1b32cd8b6d Log webhook send progress 2019-08-12 04:16:17 +02:00
Ske
c68ce1bdd3 Log gateway latency to console 2019-08-12 04:05:22 +02:00
Ske
aa04d2055e Avoid deleting messages from the store if they're not webhooks 2019-08-12 03:51:54 +02:00
Ske
423d23faf7 Cache account lookup in memory when proxying 2019-08-12 03:48:08 +02:00
Ske
5aa47278cb Revert "Attempt to speed up Docker building"
This reverts commit f5c5291877.
2019-08-12 02:44:48 +02:00
Ske
c94c6c1c41 Increase maximum connection pool size to 1000 2019-08-12 02:34:59 +02:00
Ske
213db91ade Report database query stats as tags 2019-08-12 02:33:56 +02:00
Ske
f5c5291877 Attempt to speed up Docker building 2019-08-12 02:33:28 +02:00
Ske
99ec3cd355 Instrument and log database queries 2019-08-12 02:05:30 +02:00
Ske
ea476d4051 Yield event handlers to task queue before handling 2019-08-12 01:15:55 +02:00
Ske
a689d61788 Collect webhook response time and shard latency 2019-08-12 00:57:23 +02:00
Ske
90c6869b00 Collect statistics about shard status 2019-08-12 00:35:30 +02:00
Ske
b593c32950 Add more extensive debug-level logging
- Logging of event IDs
- Logging of command invocations (at DEBUG)
2019-08-12 00:07:29 +02:00
Ske
7e92a58c8d Fix API project building 2019-08-11 22:59:05 +02:00
Ske
942022d408 Track database handles over metrics 2019-08-11 22:56:20 +02:00
Grey Himmel
1596694686
Document member display names 2019-08-09 11:40:58 -04:00
Grey Himmel
d38c38cb9e
Add display name editing
- Set display name during member POST
- Update display name during member PATCH
2019-08-09 11:37:52 -04:00
Grey Himmel
1cfeaf281b Await member delete 2019-08-09 12:55:40 +02:00
Grey Himmel
f2a71a333b Document member DELETE route
Add API documentation to the new DELETE route for members
2019-08-09 12:55:40 +02:00
Grey Himmel
13fe0b7ef9 Add endpoint to delete members
- Add endpoint to delete members through a DELETE request
2019-08-09 12:55:40 +02:00
Bella | Nightshade
9f2faeea5a Escape markdown in proxy tags on member card (#118)
* Fix a typo

* Escape markdown in proxy tags on member card

* Whoops hhh

Added API documentation for POST to member endpoint
2019-08-09 12:55:15 +02:00
Ske
3f6a260fac Properly associate trigger events with Sentry errors 2019-08-09 12:47:46 +02:00
Ske
606f48fdb5 Add display name to member card 2019-08-09 10:39:03 +02:00
Ske
7d6c8d46cb Add display names to documentation 2019-08-09 10:34:41 +02:00
Ske
200ba6d84c Add member proxy display names 2019-08-09 10:12:38 +02:00
xBelladonna
fabf772085 Return original message ID to log channel
Logs the original (deleted) message's ID in addition to the proxied message's ID to the log channel if configured
2019-08-08 11:01:36 +02:00
Ske
cf263af44c Fix wraparound on paginated lists 2019-08-04 13:52:41 +02:00
Ske
fe22ba4f32 Truncate member profile in long system list 2019-08-04 13:52:41 +02:00
Ske
a201ad644e Bump database maximum connections to 1000 in Docker 2019-08-04 13:52:25 +02:00
Grey Himmel
ef68a5250f Return member after create/edit
Changing the POST and PATCH routes to return the member that's been created/edited, similar to how it worked before. Makes it easier to compare changes and get a newly created member's ID
2019-07-28 23:23:48 +02:00
Ske
59dbc5368b Filter everyone/here pings if the proxy sender doesn't have permission 2019-07-28 15:38:41 +02:00
xBelladonna
2217b87afe Fix typo in docs 2019-07-27 12:56:35 +02:00
xBelladonna
29eefd7f5a Handle collision case when generating hid 2019-07-27 12:56:35 +02:00
xBelladonna
924924b10e Add endpoint to create new member by POST request 2019-07-27 12:56:35 +02:00
Ske
24ea11f691 Add docs page for permission check command 2019-07-26 12:18:23 +02:00
Ske
4eb9ee601d Add command to check channel permissions for proxying 2019-07-26 12:05:09 +02:00
Ske
a9444fa8c6 Update member creation message with website link 2019-07-26 11:20:30 +02:00
Ske
967b4f9ae0 Add redirect message for member help command 2019-07-26 11:17:42 +02:00
Ske
defbf37cfe Fall back to system avatar when no member avatar is set 2019-07-26 11:08:06 +02:00
Ske
b14666aa4f Store the ID of the trigger message in the database 2019-07-24 13:38:54 +02:00
Ske
11eabe2e3d Update D.NET version and add bulk deletion support 2019-07-21 17:16:04 +02:00
Ske
4fe80749c4 Fix compiler warnings CS1998 and CS4014 2019-07-21 16:43:28 +02:00
Ske
a078fcdf47 Add description as a field at the bottom of member and system embed 2019-07-21 16:29:48 +02:00
Ske
45f468fe21 Properly clean up after proxy operations 2019-07-21 04:27:04 +02:00
Ske
2620d2da9c Collect webhook cache statistics 2019-07-21 04:15:47 +02:00
Ske
3103df856c Only log deleted messages if they were found previously 2019-07-21 03:44:26 +02:00
Ske
a674b98c80 Make backup script more robust 2019-07-21 01:05:09 +02:00
Ske
5118a17b84 Undo breaking metric context ID change 2019-07-21 00:11:46 +02:00