Commit Graph
100 Commits
Author SHA1 Message Date
spiral 0afe031284 fix build error in Misc.cs 2022-01-14 21:51:43 -05:00
spiral 6d1fd0e267 fix: fix crash in API v1 when message.System is null 2022-01-14 19:47:12 -05:00
spiral f08524ee19 fix: don't leak the existence of private info in lists (#412) 2022-01-14 19:44:44 -05:00
spiral 50a24f03a7 refactor: only pass shard ID to event handlers instead of full shard object 2022-01-14 18:39:03 -05:00
spiral bf80dd0988 refactor: don't get user from cache in ReactionAdded 2022-01-14 15:29:15 -05:00
spiral 8e119d0d42 refactor: don't pass through channel ID to LogMessage 2022-01-14 15:12:10 -05:00
spiral df9e7c3eb9 fix: correctly check log blacklist for messages edited outside the target guild 2022-01-14 15:11:42 -05:00
spiral 7cc2aab1f0 feat: remove 2000-character limit for proxied messages 2022-01-14 15:08:39 -05:00
spiral d58cc216c0 fix: unbreak error reporting for @mention prefix 2022-01-14 15:05:46 -05:00
spiral 47e15e3acb feat: add a couple missing Discord types 2022-01-13 12:28:44 -05:00
spiral dfc9f8fcfb feat: add cluster ID to Serilog enricher 2022-01-13 12:28:08 -05:00
spiral a507883dda fix: add CheckOwnGroup in Random.GroupMember 2022-01-13 12:27:00 -05:00
spiral 2aead40449 feat: add Redis identify ratelimiter 2022-01-13 12:26:25 -05:00
spiral 8aa2b0b7aa fix(docs): consistency: use 'boolean' everywhere instead of 'bool' 2022-01-11 09:57:47 -05:00
spiral 56c3d6057e feat(docs): document nullability of system/member keys in message object 2022-01-11 09:55:37 -05:00
spiral e73af85e5c fix typo in migration 2022-01-11 09:46:20 -05:00
spiral 34df19c551 fix: don't delete rows from messages table when the associated member is deleted 2022-01-11 09:43:55 -05:00
spiral 54830fd264 feat: add ProBot log cleanup 2022-01-11 08:13:01 -05:00
spiral 22feedd5dc Revert "feat: query identify ratelimiter when identifying instead of when connecting websocket"
This reverts commit 5627fa9864.
2022-01-08 09:08:32 -05:00
spiral e4bd8b4c9f fix: respect group icon privacy in JSON models 2022-01-08 09:00:57 -05:00
spiral 6eda5c4229 feat: only run migrations in single-process mode 2022-01-07 14:26:41 -05:00
spiral 39c8590bce refactor: move ExtractNodeIndex to BotConfig.Cluster class 2022-01-07 14:25:08 -05:00
spiral 0d42328694 fix: check for ReadMessageHistory in pk;debug permissions 2022-01-07 14:22:44 -05:00
spiral d3682b94b2 feat: add attachment icon to reply card if referenced message has embeds 2022-01-07 14:21:52 -05:00
spiral 91213faa50 fix: correctly throw missing content error in pk;edit 2022-01-07 14:06:37 -05:00
spiral 5627fa9864 feat: query identify ratelimiter when identifying instead of when connecting websocket 2021-12-26 01:46:25 -05:00
spiral 40acd9370c feat: lower timeout in twilight gateway ratelimiter 2021-12-26 01:42:47 -05:00
spiral 50f9465826 fix: missing checkownsystem in pk;s icon 2021-12-24 19:28:46 -05:00
spiral 2c4fbf249f fix: check own system in pk;s description, pk;s icon 2021-12-24 19:19:50 -05:00
spiral fff8e179ba fix: don't query the entire config table in message_context 2021-12-24 05:42:28 -05:00
spiral 4d04f859e6 feat: revert system/group card member count privacy 2021-12-23 23:23:16 -05:00
spiral 67ed03067a fix: missing return in pk;system colour 2021-12-23 23:17:25 -05:00
spiral 391d6de6e4 fix: show group member count in group card, rather than system member count 2021-12-23 23:16:29 -05:00
spiral cc0779e0e8 fix: use direct lookup context for pk;member <name> groups 2021-12-23 23:11:55 -05:00
spiral 546cdc93c4 fix: change use target everywhere in SystemConfig instead of ctx.System 2021-12-23 23:02:21 -05:00
spiral 816dfaafb6 fix: re-add privacy checks to SystemConfig
... oops
2021-12-23 22:50:16 -05:00
spiral ec027f0366 fix: check for attachments in pk;system banner 2021-12-23 22:49:15 -05:00
spiral 9ab1a873e5 feat: log shard ID in ShardConnection logs 2021-12-23 22:46:38 -05:00
spiral fc5825a941 fix twilight gateway ratelimiter 2021-12-23 22:02:45 -05:00
spiral 985043cca5 feat: update beta bot only on 'dev' branch 2021-12-07 04:48:00 -05:00
spiral 5cf2384474 fix: incorrect documentation for pk;system new 2021-12-07 02:13:04 -05:00
spiral 91256368f5 fix: throw error when pk;edit message is too long 2021-12-07 02:02:22 -05:00
spiral cb1d4c98c7 fix: incorrect pk;config private <target> command parsing 2021-12-07 01:58:05 -05:00
spiral ad6addc2fd refactor: move command parse errors to own file 2021-12-07 01:36:54 -05:00
spiral 9926bbbd8b feat: don't hide information from own system when directly requested
in lists, pk;m <ref> <prop>, etc
2021-12-07 01:32:29 -05:00
spiral 56e266190f fix: create guild config in log cleanup command 2021-12-06 04:02:25 -05:00
spiral 32bea51e18 feat: config setting to default show/hide private info 2021-12-06 04:01:42 -05:00
spiral 455830a2b5 feat: public/private lookup flags, consistency 2021-12-06 00:32:54 -05:00
spiral aacf5909a9 feat: clean up command parsing for pk;system 2021-12-05 17:21:31 -05:00
spiral d11e84246d fix crash when importing default latch timeout 2021-12-04 18:32:01 -05:00
spiral 0110a0b53f fix MatchMultiple parsing 2021-12-04 18:15:26 -05:00
spiral d28b67cb81 fix(api): show correct autoproxy member uuid 2021-12-01 17:28:52 -05:00
spiral 7bf6c2064f feat(api): throw error when patching autoproxy member with autoproxy mode set to latch 2021-12-01 17:27:43 -05:00
spiral 59f0a5ec3e fix: parse default privacy config commands correctly 2021-12-01 17:18:38 -05:00
spiral 4064078309 fix: document member/group default privacy correctly 2021-12-01 17:09:32 -05:00
spiral c500e5d50c fix: export system group list privacy 2021-12-01 17:07:35 -05:00
spiral 1ff6bb76cd feat: config setting to automatically set members/groups to private when creating 2021-12-01 11:48:49 -05:00
spiral 7c37726afb fix: replace broken private IP checker with IPNetwork library 2021-12-01 11:48:14 -05:00
spiral fc7a6357c0 refactor: rename config table to system_config 2021-12-01 09:16:44 -05:00
spiral a0d2773ef4 fix: missing systemRef in patch /system, crash when system not found 2021-12-01 08:43:16 -05:00
spiral ab5484892f fix: list correct .NET version in readme 2021-11-30 21:24:25 -05:00
spiral cd84411cae fix yaml syntax again 2021-11-30 21:23:24 -05:00
spiral a26fc4fd6c fix: only deploy to beta bot from main branch 2021-11-30 19:04:04 -05:00
spiral bd166502cc feat: remove tz in api v1, add deprecation notice 2021-11-30 17:25:36 -05:00
spiral cc4e659cec feat: import/export system config 2021-11-30 17:04:42 -05:00
spiral 9097142718 fix: wrong command help in Config 2021-11-30 15:40:00 -05:00
spiral af626c3581 fix: typo causes crash when creating a system 2021-11-30 10:33:32 -05:00
spiral 9dbc120bbc fix: private IP checker wasn't working correctly for some reason 2021-11-29 21:35:56 -05:00
spiral 56d07e0f2d feat: pk;config 2021-11-29 21:35:21 -05:00
spiral d195c80d92 feat: set shard status to offline when starting up 2021-11-28 20:50:13 -05:00
spiral d2f29bbb51 feat: better way to auto-deploy to beta bot 2021-11-28 18:37:50 -05:00
spiral 318b9b5b66 fix(api): don't require '@me' string on own-system-only endpoints 2021-11-28 18:33:41 -05:00
spiral e85073665e fix(api): re-ignore PKErrors in Serilog 2021-11-28 18:28:10 -05:00
spiral b9252ec615 feat: merge UPDATE_SWITCH_MEMBERS event into UPDATE_SWITCH event 2021-11-28 17:35:56 -05:00
spiral 6d1c7feae0 fix yaml 2021-11-28 16:45:46 -05:00
spiral 879a0b2a7c feat: deploy Docker image to beta bot 2021-11-28 16:44:13 -05:00
spiral 6919d10953 fix: correctly parse member data as v2 model in POST /members 2021-11-28 07:20:35 -05:00
spiral 99a9ec7928 feat: beta bot patches 2021-11-27 11:09:08 -05:00
spiral 997458c9dc feat: show custom prefix in bot status 2021-11-27 11:08:28 -05:00
spiral 3b14d0b0d8 fix: use correct prop for ctx.Parameters 2021-11-27 10:50:01 -05:00
spiral 1567a74a44 fix: update GH workflows and Docker image to .NET 6 2021-11-26 22:24:24 -05:00
spiral 979ab714c3 refactor: move ContextExts to own folder, CommandTree / command defs to CommandMeta folder 2021-11-26 22:04:04 -05:00
spiral 4450ae4214 feat: go through some TODOs 2021-11-26 22:02:58 -05:00
spiral 04d78e3348 refactor: remove some unused code 2021-11-26 21:14:09 -05:00
spiral 1918c56937 feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral d28e99ba43 fix: get rid of top-level guild_id key in dispatch payloads 2021-11-26 14:45:58 -05:00
spiral a4a5f5c17a feat: move PKMessage JSON to PluralKit.Core 2021-11-26 14:23:57 -05:00
spiral ddd966ad58 fix: specify application/json content-type in dispatch requests 2021-11-26 12:56:32 -05:00
spiral 28a199e507 fix: serialize guild_id as string in dispatch json 2021-11-26 12:45:15 -05:00
spiral e8d9106543 fix: typo in GroupPatch json 2021-11-25 18:43:34 -05:00
spiral 8854063fe9 fix: misc docs stuff 2021-11-25 17:59:10 -05:00
spiral b8e2ebd470 Merge branch 'feat/webhooks' into main 2021-11-25 17:15:42 -05:00
spiral ec8ecb1e96 feat(webhooks): add blurb about dispatch webhooks, add to nav 2021-11-25 17:13:15 -05:00
spiral ece17f7470 feat(webhooks): verify that url is accessible before saving it 2021-11-25 16:45:00 -05:00
spiral 0a244eb9b5 feat(webhooks): add documentation for pk;s webhook command 2021-11-25 15:42:25 -05:00
spiral bc7e0df872 feat(webhooks): SUCCESSFUL_IMPORT event, better behaviour when creating entities 2021-11-25 15:33:02 -05:00
spiral a05c3cfeed fix(webhooks): docs links 2021-11-25 12:48:49 -05:00
spiral 269646a455 fix(webhook): don't try escaping backslashes in a raw string 2021-11-22 17:05:13 -05:00
spiral 51c900a378 feat(webhooks): docs 2021-11-22 14:20:43 -05:00
spiral 7a5ba8246e refactor: cache own user ID in IDiscordCache
- remove Cluster.User
- remove Cluster.Application (it was only being used as an alternative to Cluster.User for some reason)
- move Bot.PermissionsIn to DiscordCacheExtensions
2021-11-21 19:42:35 -05:00