Commit Graph
100 Commits
Author SHA1 Message Date
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
spiral e525c2da63 feat(bot): tweak wording for short list flag error 2022-09-22 19:17:43 +00:00
spiral 897fad12e6 fix(bot): apply display name length checks when setting 2022-09-22 18:11:27 +00:00
spiral a2b38c45e2 feat(bot): -with-birthday flag for showing birthday in short member list 2022-09-22 17:59:56 +00:00
spiral 44fe3d538a feat(bot): -with-birthday flag on member lists 2022-09-22 17:29:34 +00:00
spiral 47449ecbc7 fix: typo 2022-09-22 17:27:58 +00:00
spiral c77da49d30 chore(bot): raise Discord embed description character limit
short lists should (hopefully) have line breaks less often now
2022-09-22 17:19:18 +00:00
spiral 5aa8d45139 fix(bot): throw error if user requests incompatible list options
current behaviour is to silently ignore the incompatible ones, but this will make it more obvious as to why what they're trying to do is not working
2022-09-22 17:17:53 +00:00
spiral ba32038c28 feat(proxy): temporarily remove invalid character check on webhook names 2022-09-20 16:45:16 +00:00
spiral 48bb46bdfa fix(proxy): correctly apply Discord webhook name restrictions (part 2) 2022-09-20 16:24:51 +00:00
spiral a441c00d94 fix(proxy): correctly apply Discord webhook name restrictions
Closes #484.
2022-09-20 16:04:36 +00:00
spiral 494bd8aab3 fix(dashboard): add missing return after error handling 2022-09-20 15:08:42 +00:00
spiral f2191c1cf6 fix(ci): only rebuild dotnet-project docker image on dotnet-specific changes 2022-09-20 14:27:41 +00:00
spiral b6035838fd chore(dashboard): update Sentry DSN 2022-09-20 14:23:53 +00:00
spiral 528da39e66 fix(dashboard): correctly fail in createEmbed
matching `nil != nil` doesn't work, no clue what this code was supposed to do
2022-09-14 20:56:52 +00:00
spiral 9303dbb91e refactor(bot): remove saving own user ID from ready event, rely on ID in config 2022-09-06 09:52:37 +00:00
spiralandGitHub aeb6411b6c fix(bot): always connect to redis if a redis address is configured 2022-09-02 08:54:32 +00:00
spiral 3a7e8422af fix: better documentation for pk;config 2022-08-15 10:05:29 +02:00
spiral 62a57bc818 fix: don't try to register messages to redis if the redis connection isn't configured 2022-07-17 00:30:05 +02:00
spiral 5a6bf84af6 feat(dashboard): add polyfill for String.prototype.replaceAll 2022-07-14 19:46:50 +02:00
spiral d17cb80db4 refactor(dashboard): use bootstrap tooltip on shard status page 2022-07-14 19:40:12 +02:00
spiral f864498392 fix: scheduled tasks runner docker build 2022-07-14 19:00:01 +02:00
spiral 1825a00248 feat: add elasticsearch tracing subscriber
create lib/pk_core
2022-07-10 01:15:03 -04:00
spiral 5097eb9ce2 refactor: move scheduled_tasks service to services/ folder 2022-07-10 01:13:35 -04:00
spiral 0bd9f757fd chore: remove unused beta bot workflow 2022-07-05 15:37:57 -04:00
spiral 303ef71805 refactor: move dockerfiles to package folders 2022-07-05 15:37:15 -04:00
spiral cc0edd3ed8 chore: lint 2022-07-05 14:42:58 -04:00
spiral 6b4f620c7f Merge branch 'chore/grpc-tools-update' of ssh://github.com/u1f408/pluralkit 2022-07-05 14:41:16 -04:00
spiral 07936ec561 fix(bot): crash in 'pk;ap' command when system has no switches registered 2022-06-27 05:42:23 -04:00
spiral 7d11b8c238 fix: build issues 2022-06-26 17:30:12 -04:00
spiral 4bf4197c2a feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb 2022-06-26 14:19:46 -04:00
spiral c156951e19 fix(bot): incorrect conditional in logclean 2022-06-22 09:34:59 -04:00
spiral 6c4bd2cc26 fix(dashboard): show error message returned by api in discord login page 2022-06-21 22:23:25 -04:00
spiral b04b6e38d2 feat(bot): allow 'pk;logclean' in DMs 2022-06-21 11:13:24 -04:00
spiral cfd9dff6c5 feat(bot): tag cluster ID in sentry events 2022-06-21 11:11:47 -04:00
spiral bebad3fd77 feat(bot): add dashboard link and 'pk;commands' to help command 2022-06-20 19:22:50 -04:00
spiral 5c055871e3 feat(bot): store command message info in redis 2022-06-19 20:28:55 -04:00
spiral 62c5c3865a fix(api): generate token if needed in discord oauth response 2022-06-16 17:51:53 -04:00
spiral 9848b88d5b feat(bot): don't query db message context when running commands 2022-06-15 19:28:34 -04:00
spiral 7cb3a3ea0f feat(bot): remove hacky fix for extremely slow system deletes
they are no longer extremely slow
2022-06-15 18:52:50 -04:00
spiral ba9c074dc2 feat(dashboard): somewhat better styling of shard status page 2022-06-15 00:08:47 -04:00
spiral 65e2bb0234 feat(bot): remove cluster-local DM channel cache 2022-06-14 23:11:55 -04:00
spiral f0b5749d5c feat(bot): clean up / paginate help command 2022-06-14 19:05:15 -04:00
spiral f3c02a4254 feat(bot): remove deprecated commands 2022-06-14 15:55:08 -04:00
spiral 13efdbee83 typo 2022-06-14 14:41:32 -04:00
spiral c4726f358b feat(bot): get cluster config from Nomad node index env variable 2022-06-14 14:18:37 -04:00
spiral 5833e7644d fix: don't crash when trying to log edited message with no old content 2022-06-13 21:18:24 -04:00
spiral b75e59da2f feat: allow specifying database password in separate config parameter 2022-06-13 15:23:13 -04:00
spiral 9dd3fba7e6 fix: show correct error in 'pk;debug proxy' when autoproxy is disabled for discord account 2022-06-13 14:52:07 -04:00
spiral b30e2a01e3 feat: add '-raw' flag to color commands 2022-06-13 14:35:18 -04:00
spiral 92ef6d4ec3 fix(api): return updated switch in PATCH /switches/:id 2022-06-11 17:16:53 -04:00
spiral 6ed066de29 Merge branch 'main' of ssh://github.com/pluralkit/pluralkit 2022-06-11 00:48:21 -04:00
spiral 2fbd5cf6c1 chore: remove unused files from repo 2022-06-11 00:46:37 -04:00
spiral ebcd623bd5 refactor(api): move auth middleware to project root 2022-06-11 00:45:28 -04:00
spiral 1c9a68cb53 chore: lint 2022-06-10 18:49:36 -04:00
spiral 58a9206d5c feat: re-enable message count stats updater 2022-06-10 18:48:00 -04:00
spiral 97d8863481 feat(api): redirect root to API docs, return 410 gone for v1 routes 2022-06-10 18:47:25 -04:00
spiral 1b5a90f612 feat(bot): add stats tracking for dm channel cache hits/misses 2022-06-10 18:08:56 -04:00
spiral 0f47042dd1 fix(api): send proper content-type header for errors 2022-06-10 16:44:04 -04:00
spiral cbef15eaa2 fix(docs): typo in message API model 2022-06-05 15:40:06 -04:00
spiral 1b2dcdb26d fix(dashboard): escape HTML in opengraph embeds 2022-06-05 14:29:44 -04:00
spiral 2463c20cba chore: remove legacy API docs 2022-06-05 14:26:24 -04:00
spiral f90ffdaff2 fix(dashboard): use display name for member/group embeds 2022-06-05 14:15:26 -04:00
spiral 989a8b4453 chore(dashboard): run 'go mod tidy' 2022-06-05 13:52:05 -04:00
spiral f497802834 fix: use correct path definition in github actions files 2022-06-05 13:50:52 -04:00
spiral 0046ca6859 feat(dashboard): add git commit hash to Sentry release 2022-06-05 13:07:56 -04:00
spiral a18fd9bd0d chore: update github repo URL 2022-06-05 12:57:10 -04:00
spiral 89a770d59b fix: typo in gh actions filename 2022-06-05 12:56:19 -04:00
spiralandGitHub 8027527055 merge pull request #450
add official PluralKit web dashboard
2022-06-05 12:39:42 -04:00
spiral 0e1b5c5e02 feat(dashboard): add default opengraph embed tags 2022-06-05 11:33:09 -04:00
spiral 7f816f50f7 fix(dashboard): correctly set current git commit hash during build 2022-06-05 11:33:02 -04:00
spiral 194014f3da fix(docs): use correct accent colour in dark mode 2022-06-03 06:47:18 -04:00
spiral 614059c79f fix: correct error text on pk;unlink 2022-06-03 01:15:15 -04:00
spiral a95fd34881 feat: add dashboard links to system/member/group cards 2022-06-03 01:09:02 -04:00
spiral 15d48db6f3 feat(dashboard): add opengraph/oembed, Docker build 2022-06-03 01:01:54 -04:00
spiral d956bd4577 chore: update lockfiles 2022-06-02 23:17:00 -04:00
spiral f731f0d453 fix(dashboard): only clear token from localStorage on 401 error 2022-06-02 23:12:38 -04:00
spiral 66883cef51 feat(dashboard): add status page link to header 2022-06-02 23:09:48 -04:00