Commit Graph
100 Commits
Author SHA1 Message Date
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
spiral a20f0916ac feat: add ASP.NET metrics tracking 2022-03-23 14:24:09 -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 67c4c64847 feat: separate status page into clusters 2022-03-09 21:29:51 -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
spiral f13c60a841 fix(api): 403 instead of 401 on API v1 member routes 2022-02-05 09:37:18 -05:00
spiral 375758206e fix: show correct name in entityReference when base name is private 2022-02-05 09:26:14 -05:00
spiral 47e501da81 fix: update guild cache on GUILD_UPDATE event 2022-02-04 14:54:56 -05:00
spiral 8a9148cd32 fix: remove LastConnection check in shardUpTotal 2022-02-04 14:54:29 -05:00
spiral fc8f1b7cd3 fix: don't require Redis for startup 2022-02-04 14:53:56 -05:00
spiral 8964d7f623 chore: lint 2022-02-04 14:52:06 -05:00
spiral e74b5e1c13 refactor: generalize API library 2022-02-01 15:24:45 -05:00
spiral b6a160caef feat: log full Discord error body 2022-01-26 06:21:19 -05:00
spiral efaf814e12 fix: check if system exists in HandleSystemCommandsTargeted 2022-01-26 06:20:26 -05:00
spiral af3702152f fix(api): show full git commit hash in header 2022-01-24 08:18:34 -05:00
spiral c38ca2e7fa feat: add git commit hash to Serilog context 2022-01-24 08:13:59 -05:00
spiral e22427ab59 feat: add more spacing to shard popup card 2022-01-23 09:27:37 -05:00