Commit Graph

1898 Commits

Author SHA1 Message Date
spiral
6295a1a561
fix(api): allow 'sentry-trace' header in CORS 2022-04-07 09:23:14 -04:00
spiral
8629e38edd
feat: API bulk privacy endpoints 2022-04-07 03:49:06 -04:00
spiral
70cf472fb5
fix: better entity resolving in group member endpoints 2022-04-07 03:48:32 -04:00
spiral
36873e08ee
chore: PR lint 2022-04-07 03:47:38 -04:00
UsernameNotAvalible
8d50ae55e7
feat: add prepend and append switches to Pk;edit (#436) 2022-04-07 03:43:46 -04:00
rladenson
576b23bca5
fix: try getting own-system members first even when matching hid (#439)
this is a bandaid fix for an issue where queries matching only the hid index would get stuck forever
2022-04-06 02:19:35 -04:00
spiral
e0ed5b528e
fix: get thread parent from API instead of cache for cross-cluster message edit 2022-03-31 07:23:31 -04:00
spiral
6a213fa694
feat: dispatch new bot status to clusters via Redis 2022-03-30 20:42:57 -04:00
spiral
973d6d883c
fix: get guild from REST for pk;proxy across clusters
also closes #330.
2022-03-30 05:54:21 -04:00
Jake Fulmine
494f93d629
feat: add some aliases (pk;ls and -wprns) (#432) 2022-03-30 05:42:34 -04:00
spiral
dce29ec933
fix: show correct error when mentioned account doesn't have a system 2022-03-30 05:27:15 -04:00
spiral
ec6d4865cb
fix: show displayname field even when member name is private 2022-03-30 05:21:26 -04:00
spiral
36e242986d
fix: fail-fast if we don't have Send Messages permissions in the current channel 2022-03-30 05:11:55 -04:00
spiral
233d0341a2
fix: don't crash in autoproxy status if targeted member was deleted (again) 2022-03-30 05:06:47 -04:00
spiral
a23108f24b
fix: actually use REST guild instead of returning no permissions 2022-03-30 04:51:33 -04:00
spiral
7afba4ea95
chore: code cleanup (mostly whitespace / remove unused imports) 2022-03-30 04:36:22 -04:00
spiral
56155782c3
fix: don't crash if user tries to add a reaction on a page before the reactions are done filling up
this is kinda a hacky fix since it just ignores the user input, but it's the best that can be done until Paginate is moved to interactions (buttons)
2022-03-30 03:06:21 -04:00
spiral
eb4ee2afc1
chore: update packages lock for PluralKit.Tests 2022-03-30 03:01:13 -04:00
spiral
a1d8d246c5
refactor: move Database query methods into own file 2022-03-30 03:00:45 -04:00
spiral
b25d5f1b67
lint 2022-03-30 02:36:39 -04:00
spiral
be89f907a0
feat: block running commands / proxying when system is being deleted
Large systems take way too long to delete, which causes any insert for that system to block a connection, which exhausts the connection pool
2022-03-23 21:32:18 -04:00
spiral
375e650c9e
fix build 2022-03-23 20:35:40 -04:00
spiral
81cc1465cd
feat: also report database connection count by cluster in scheduled tasks worker 2022-03-23 20:28:56 -04:00
spiral
d097436f3e
feat: add Prometheus metrics for API 2022-03-23 20:09:25 -04:00
spiral
0bad2e8ff9
Revert "refactor: run InfluxDB reporter through AppMetrics instead of per-minute task"
This reverts commit 38a3683fca.
2022-03-23 19:28:51 -04:00
spiral
38a3683fca
refactor: run InfluxDB reporter through AppMetrics instead of per-minute task 2022-03-23 14:41:55 -04:00
spiral
97c14b20b0
fix(api): don't 500 on invalid PATCH body 2022-03-23 14:26:54 -04:00
spiral
a20f0916ac
feat: add ASP.NET metrics tracking 2022-03-23 14:24:09 -04:00
LegendaryGeek
f8be242613 add aero to the bots with pluralkit support 2022-03-23 14:21:01 -04:00
Jake Fulmine
7efe6f1f97
feat: system pronouns (#429) 2022-03-23 14:20:16 -04:00
spiral
062835e0c5
fix: typo in migration 2022-03-21 23:58:25 -04:00
spiral
982812333b
feat: rewrite database schema for localized autoproxy 2022-03-21 23:43:33 -04:00
spiral
ca108813b7
fix: don't spam errors when postgres is restarting 2022-03-19 21:57:58 -04:00
spiral
6c6cb156d4
fix: temporarily remove message count statistics because postgres locks 2022-03-19 21:57:02 -04:00
spiral
1a38635a12
fix: don't crash when autoproxy member is deleted 2022-03-19 21:55:59 -04:00
spiral
98026dfc7d
fix: actually report metrics to influxdb in scheduled tasks runner 2022-03-16 14:28:43 -04:00
spiral
26ef81e47a
fix build issue 2022-03-15 00:29:34 -04:00
spiral
8a124c67ae
feat(api): expose Discord statistics on /private/meta 2022-03-15 00:09:27 -04:00
spiral
8909330db2
feat: aggregate cluster statistics and send to influx with scheduled tasks worker 2022-03-14 23:33:22 -04:00
spiral
857e20b601
feat: show total shards from cluster configuration if present 2022-03-11 17:51:04 -05:00
spiral
ae543b9c18
feat: fetch from REST instead of cache for cross-cluster lookups 2022-03-09 20:06:53 -05:00
spiral
d0ad7abb03
feat: add the rest of the Dynos to logclean 2022-03-03 06:01:23 -05:00
spiral
fafa62f560
feat(docs): add documentation for new API ratelimiting 2022-02-27 18:53:04 -05:00
spiral
034258f050
feat: add 'prns' alias to pronouns command 2022-02-26 16:32:53 -05:00
spiral
078b5a5bcd
feat: log error when globally ratelimited 2022-02-26 16:28:28 -05:00
spiral
32a73eef09
feat: update to Discord API v10 2022-02-26 16:28:20 -05:00
spiral
6a4033b2a9
feat: add blue diamond documentation and 'clear' command to pk;config 2022-02-11 12:25:56 -05:00
spiral
d0e9ad7193
fix: PKMessage.Member can be null 2022-02-11 12:09:58 -05:00
spiral
c958307698
refactor: rename discord.proto to state.proto 2022-02-07 11:07:45 -05:00
spiral
1ec3663f63
feat: add cluster ID to shard state 2022-02-07 11:05:55 -05:00