Commit Graph
100 Commits
Author SHA1 Message Date
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
spiral 7fb2afe9e2 feat(docs): add dashboard link to navbar 2022-06-02 23:09:32 -04:00
spiral 0ee0e75e02 feat: add 'pk;log show' command 2022-06-02 22:36:42 -04:00
spiral c87979ef03 feat(api): add autoproxy endpoints 2022-06-02 13:32:31 -04:00
spiral 67ce371e7e fix: correct switch timestamp in docs 2022-05-27 14:52:28 -04:00
spiral 40955ffc69 fix: don't try to import config if it's not present in export file 2022-05-25 06:32:24 -04:00
spiral 3dbfe3c1a5 chore(gateway): update Cargo.lock 2022-05-25 04:39:33 -04:00
spiral dc7b1a4291 feat(dashboard): pluralkit.me branding changes 2022-05-16 23:22:51 -04:00
spiral a65880c665 feat(dashboard): remove footer 2022-05-16 23:16:56 -04:00
spiral 10eae70a18 feat(dashboard): change dist folder, enable source maps 2022-05-16 23:14:06 -04:00
spiral 8fa371bcc8 Merge branch 'main' of github/Draconizations/pk-webs-svelte into feat/dashboard 2022-05-16 23:04:39 -04:00
spiral 3724f3e7d9 chore: bump twilight version 2022-05-11 22:37:19 -04:00
spiral 2bc8b362c8 feat(gateway): basic cache event handling 2022-05-11 22:33:08 -04:00
spiral 799279054d fix: include shard_id in redis channel 2022-05-10 07:32:14 -04:00
spiral abb01aaf2c feat(gateway): split off cache into separate package, rename package to 'gateway' 2022-05-10 07:04:33 -04:00
spiral 433603feaa feat(gateway): add cache event handler stubs 2022-05-09 21:54:52 -04:00
spiral 214be4a0ee feat: bulk privacy pages 2022-05-09 17:15:00 -04:00
spiral e4f1957c75 chore: bump target schema version in DatabaseMigrator 2022-05-09 15:17:26 -04:00
spiral 2662e5ab94 fix: remove extraneous Templates link from navbar 2022-05-09 15:03:03 -04:00
spiral b5ba93eb7f feat: description templates 2022-05-09 15:00:37 -04:00
spiral 0db7eebb17 feat(api): add config to discord oauth response 2022-05-09 14:33:40 -04:00
spiral 3a99f65b49 feat(api): add description_templates to /systems/@me/settings 2022-05-09 13:54:33 -04:00
spiral b31871b394 fix: allow selecting dropdown buttons in header 2022-05-09 12:03:55 -04:00
spiral fe69b1b320 chore: lint 2022-05-07 17:27:12 -04:00
spiral 430a33ccf0 fix: don't ignore flags in pk;system color 2022-05-02 15:54:49 -04:00
spiral 1b5efb6669 feat: add Context.CommandPrefix 2022-05-02 14:53:08 -04:00
spiral bc2cfbeba3 fix: check if member target is 5-length alpha before trying to search by HID (#441) 2022-04-24 14:51:47 -04:00
spiral 183779e055 fix: don't show discord user's guild nickname if not allowed to see message content 2022-04-24 14:43:27 -04:00
spiral 917aacc4f4 chore: bump export file version 2022-04-24 14:40:49 -04:00
spiral 32b41de331 fix: don't try to parse privacy from v1 JSON model as v2 privacy model 2022-04-24 14:39:05 -04:00
spiral 7aaad288e6 chore: remove API v1 2022-04-20 12:20:03 -04:00
spiral 1e86c2d6c4 chore: lint 2022-04-20 10:47:15 -04:00
spiral aa896de3af fix: ignore nirn-proxy timeouts in IsOurProblem 2022-04-20 10:45:35 -04:00
spiral 99e4c9005d fix: generic-ify mgmt API URL in run-clustered.sh 2022-04-20 10:44:43 -04:00
spiral 5d24e86a7e feat(gateway): add Dockerfile and GH Actions build script 2022-04-19 16:19:31 -04:00
spiral a5af6793f8 fix(gateway): make NOMAD_ALLOC_INDEX environment variable optional 2022-04-19 16:17:10 -04:00
spiral 6faed635fa fix: parse some stuff correctly when using Redis gateway 2022-04-13 08:50:04 -04:00
spiral 6be8dd0773 feat(gateway): split out event handler to separate file, remove twilight cache 2022-04-13 08:48:06 -04:00
spiral c2094e3b7a feat(bot): add Redis cache 2022-04-13 08:44:53 -04:00
spiral fadf007abc feat(gateway): initial commit 2022-04-11 15:55:10 -04:00
spiral 8e5b987b2c feat: add Nomad run script 2022-04-10 10:57:51 -04:00
spiral 9314ce672a fix: don't query /gateway/bot if we already have the info from cluster config 2022-04-10 10:41:26 -04:00
spiral 756859ebe6 fix(api): default to not using lookup cache by default for ResolveGroup 2022-04-09 18:04:27 -04:00
spiral fb8249705d feat(api): add Discord OAuth2 login 2022-04-07 09:26:12 -04:00
spiral 6295a1a561 fix(api): allow 'sentry-trace' header in CORS 2022-04-07 09:23:14 -04:00
spiral e0e0ab5774 feat: add Discord login 2022-04-07 09:22:35 -04:00
spiral 01f76c77f0 feat: toggle Sentry and API url when loading site from localhost 2022-04-07 09:21:57 -04:00
spiral 621272c842 feat: add Sentry and Plausible integrations 2022-04-07 07:26:52 -04:00
spiral d837eb3e99 feat: add API ratelimting 2022-04-07 06:30:51 -04:00
spiral 909db909ac fix(stats): show data on header even in cluster mode 2022-04-07 06:01:08 -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
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
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