Commit Graph
100 Commits
Author SHA1 Message Date
spiral 751a4f9bc9 typo 2023-03-18 23:14:16 -04:00
spiral fcc270f121 feat(api): prometheus metrics 2023-03-18 23:06:55 -04:00
spiral d120a32904 fix ratelimits 2023-03-18 20:44:50 -04:00
spiral 4c6217c48b feat(ci): better rust CI 2023-02-26 17:13:56 -05:00
spiral c6c5ae1496 cache rust build dependencies in dockerfile 2023-02-25 12:14:05 -05:00
spiral 5440386969 feat(api): init rust rewrite 2023-02-15 19:27:36 -05:00
spiral 5da3c84bce feat(api): block empty user-agents 2023-02-15 12:58:59 -05: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
spiralandGitHub 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
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
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
spiralandGitHub 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
spiral b1586c88e1 fix(bot): don't crash when sorting by last message and last message is null 2022-12-15 01:04:46 +00:00
spiral 74d621455a fix(bot): correct error for pk;debug proxy pointing to a DM channel message 2022-12-15 00:57:22 +00:00
spiral de9cae0cbd feat(api): add member.message_count, member.last_message_timestamp 2022-12-15 00:50:24 +00:00
spiral 513c3e1a72 feat(api): add member.autoproxy_enabled 2022-12-15 00:49:55 +00:00
spiral 99d71aec2c feat(bot): update logclean for Dyno change 2022-12-14 20:42:45 +00:00
spiral c22de98271 feat(bot): ignore 409 responses from discord 2022-12-14 14:51:32 +00:00
spiral a70b6f31fc chore: lint 2022-12-14 14:47:48 +00:00
spiral ad59fa92f1 feat(bot): ignore a few more database errors 2022-12-14 14:47:08 +00:00
spiral f77308f344 fix(bot): i need to test my code properly before pushing it 2022-12-10 17:07:07 +00:00
spiral 90d94d9330 fix(web-proxy): wrong api redirect 2022-12-10 16:51:58 +00:00
spiral b01ffa8161 fix(bot): hopefully fix NRE in reaction listener 2022-12-10 16:51:33 +00:00
spiral d5adcaf76c fix(bot): ignore "out of shared memory" postgres error 2022-12-10 16:50:43 +00:00
spiral 24db9f28c2 fix(bot): add callback to update message count after proxying
also re-add -with-last-message flag :D
2022-12-10 16:50:22 +00:00
spiral 8e0454a13b chore(web-proxy): update remote addresses for api/dashboard 2022-12-07 11:26:00 +00:00
spiral 971b89e201 fix(stats): typo 2022-12-06 11:06:32 +00:00
spiral c547901e00 feat(stats): push guild count to bot status 2022-12-06 10:45:38 +00:00
spiral d1d0faaa7e feat(stats): don't require a stats database url 2022-12-06 10:45:07 +00:00
spiral 2fea773d7e fix(bot): validate url in pk;import 2022-12-06 10:15:20 +00:00
spiral ac5774df3d chore(docs): clean up list of bots with log support 2022-12-05 09:58:16 +00:00
spiral 3c21349572 fix(dash): split out highlight.js into a separate minified file 2022-12-05 09:53:05 +00:00
spiral fdf118e301 fix(dash): add favicon to go script 2022-12-05 09:52:51 +00:00
spiral 7f37f8b353 fix(ci): run dotnet format check only on push to .net paths 2022-12-03 12:45:04 +00:00
spiral 98b6e726e7 fix(stats): fix build 2022-12-03 12:42:54 +00:00
spiral de5973a832 chore: lint 2022-12-03 12:17:37 +00:00
spiral b2e4ff38e3 feat: use sqlkata for a few more queries 2022-12-03 12:04:12 +00:00
spiral 8a727c6e80 feat(web-proxy): throw error when trying to access apiv1 on apiv2 2022-12-03 12:00:41 +00:00
spiral 372eef72f4 fix(web-proxy): fix dashboard cache headers, force path lowercase in metrics 2022-12-03 11:59:36 +00:00
spiral 939a727969 fix(stats): use pooled connections to postgres 2022-12-03 11:58:30 +00:00
spiral 2602763e25 feat(bot): don't send internal error messages for some errors that should be on sentry 2022-12-03 11:57:43 +00:00
spiral 026a822c74 feat: add logging to Seq 2022-12-03 11:49:19 +00:00
spiral fbd036e9c4 feat: create go.work file 2022-12-02 11:23:47 +00:00
spiral 831b6d3301 chore: remove unused system_fronters view 2022-12-01 11:54:13 +00:00
spiral f9abcc68c4 refactor(bot): separate MatchClear from ConfirmClear 2022-12-01 07:16:36 +00:00
spiral f06fdb38ef fix(bot): i forgot how serilog works 2022-11-28 19:25:20 -05:00
spiral 3f62f89e18 feat(bot): print any rate limit headers received on interactions routes 2022-11-28 18:59:02 -05:00
spiral 580b4dfe7b feat(bot): add interaction logging info for debugging with Discord 2022-11-28 17:45:26 -05:00
spiral e0cde35b3d fix(api): actually run metrics reporters
create MetricsRunner.cs
2022-11-25 09:32:47 +00:00
spiral 770907f232 fix(api): load metrics reporting module
i don't know why this fixes it, but it does somehow
2022-11-25 08:53:24 +00:00
spiral 07845edee6 Merge remote-tracking branch 'origin/main' 2022-11-24 06:32:59 +00:00
spiral e9673a6704 feat: use redis cache for non-id message lookups 2022-11-24 06:32:55 +00:00
spiral bf7747ab34 feat: split out messages table from main database 2022-11-23 09:17:19 +00:00
spiral 09ac002d26 fix(stats): actually add sentry to go modules 2022-11-23 07:46:58 +00:00
spiral 898d23d733 fix(stats): fix crash when messages task fails, add Sentry integration 2022-11-23 05:17:56 +00:00
spiral 7ffe83ab5e chore: remove in-progress unused stuff from repo 2022-11-23 03:56:36 +00:00
spiral 13a44364ad feat(docs): document api error code 40001 2022-11-23 03:25:52 +00:00
spiral 5e5c819352 chore: push updated packages.lock.json 2022-11-23 03:25:20 +00:00
spiral 4ea21177ec fix(web-proxy): actually working metrics, misc fixes 2022-11-23 03:24:36 +00:00
spiral bc8bceba16 fix(api): oops 2022-11-19 02:06:55 +00:00
spiral 8e23321c59 fix(ci): run dotnet build only on update to dotnet projects 2022-11-18 03:36:32 +00:00
spiral 12d267ed1f chore(api): remove unused code 2022-11-18 03:35:56 +00:00
spiral b95f51fff4 feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
spiral de0d27e514 feat(api): don't handle CORS locally 2022-11-18 01:04:53 +00:00
spiral 12323f3662 fix: don't write raw sql queries to influxdb metrics 2022-11-17 02:51:04 +00:00
spiral 2745ee6156 fix(bot): check proxy tag length when overwriting 2022-11-17 00:44:00 +00:00
spiral 85ab9c9ad9 fix(dashboard): don't crash backend on unknown files 2022-11-16 05:55:40 +00:00
spiral 8717f964d3 fix(docs): mark PluralKit.Bot.ClientId as a required configuration key 2022-11-11 23:38:17 +00:00
spiral 8e24b8afc8 fix(bot): correct beta bot channel in error message 2022-11-11 21:36:14 +00:00
spiral 9160e58c0c fix: ignore dotnet compiler warning in WebhookExecutorService 2022-11-03 23:53:35 +00:00
spiral b376279b9b fix(ci): use fork of dotnet-format action for now 2022-11-03 23:06:52 +00:00
spiral 88acb70243 fix(docs): misc api fixes 2022-11-03 22:51:18 +00:00
spiral 44efc15b90 fix(bot): do not proxy the initial message in a forum post (#494) 2022-11-03 22:39:06 +00:00
spiral 744e5e103f feat(ci): add dotnet format check action 2022-11-03 22:38:14 +00:00
spiral e2a6ee208b chore: lint 2022-11-03 22:24:17 +00:00
spiral f2aa458db8 chore(dashboard): remove incorrect git commit id on bot status page 2022-09-29 17:58:31 +00:00
spiral 014999271f feat(proxy): throw user-readable error on 413 when sending proxied attachments 2022-09-29 17:54:03 +00:00
spiral 5196e332df feat(proxy): throw user-readable error when discord rejects a webhook username 2022-09-29 17:52:28 +00:00
spiral 05aecf730a fix(proxy): only fix here/everyone if entire webhook name is matching 2022-09-24 15:35:45 +00:00