Commit Graph
100 Commits
Author SHA1 Message Date
Ske 9d5be07f0c Add group icon and privacy to the database schema 2020-07-28 19:17:01 +02:00
Ske 18cb6785e9 Extract member list parsing to a separate method 2020-07-28 19:17:01 +02:00
Ske 8a28d836c7 Add group member list command 2020-07-28 19:17:00 +02:00
Ske 0f4c40b344 Add group add/remove commands 2020-07-28 19:17:00 +02:00
Ske 6c5cb8cea7 Add group name/description/list commands 2020-07-28 19:17:00 +02:00
Ske 253ae43c7f Add super basic group model/command 2020-07-28 19:17:00 +02:00
Ske 0fadc81cda Minor layout/content tweaks 2020-07-28 18:47:26 +02:00
Ske 76f9aa9a62 Fix build directory reference in netlify.toml 2020-07-28 18:24:07 +02:00
Ske 0e57f0530f Fix sporadic BOM in netlify.toml 2020-07-28 18:21:47 +02:00
Ske 8c0cbd6d26 Migrate docs to Vuepress 2020-07-28 18:19:40 +02:00
AstridandGitHub a0d4ab5809 Merge pull request #202 from acw0/bugfix/dsharpcache
Fix pk;msg errors across shards
2020-07-22 16:33:27 +02:00
Ske 94076dc9be Split HandlerQueue logic into Predicate/Handler 2020-07-22 01:19:23 +02:00
Ske 577629c28a Switch to ConcurrentDictionary for HandlerQueue 2020-07-22 01:14:45 +02:00
Ske 8b8cf932a3 Add null check in HandlerQueue 2020-07-22 01:06:26 +02:00
Ske 5d3e159f54 Properly block pinging normally unmentionable roles 2020-07-22 01:06:25 +02:00
Ske 6054080dc7 Upgrade Sentry SDK version (2.0.0-beta7 -> 2.1.4) 2020-07-18 13:08:54 +02:00
Ske d749876796 Workaround for permission errors when removing reactions 2020-07-18 13:07:16 +02:00
Ske 99d6942ff4 Truncate the echoed command in the not found error 2020-07-18 13:07:16 +02:00
Ske 66f7a664c8 Add special check for pronouns being an empty string
I'm unsure when this happens in practice, but thought I'd guard against it just in case (since it's caused a couple errors already).
2020-07-18 13:07:16 +02:00
Ske e7f95c9ba6 Potential fix for concurrent list modification error 2020-07-14 22:24:13 +02:00
Ske 17826246f2 Fix fuzzy log cleaning matching all messages. Closes #195.
I got the bitshift the wrong way 'round.
2020-07-10 16:47:30 +02:00
Ske ba48f22ad2 Break proxied links if the sender doesn't have embed permission 2020-07-10 16:35:52 +02:00
Ske a2930acbad Add more aliases to autoproxy off 2020-07-09 15:11:04 +02:00
Ske 9f523b3c5f Refactor system/member privacy commands 2020-07-08 00:47:16 +02:00
Ske 1449234a84 Migrate more commands to "MatchClear" 2020-07-08 00:00:23 +02:00
Ske 17fbdf553c Allow de-embedding image links with <> 2020-07-07 23:52:54 +02:00
Ske 8d01b580e2 Refactor system/member avatar code 2020-07-07 23:41:51 +02:00
Ske 467b95b1b1 Refactor and simplify member list code 2020-07-07 20:57:22 +02:00
Ske 299f6b2edf Extract member list argument parsing to utility method 2020-07-07 19:51:19 +02:00
Ske 36ed356d2b (...and make sure it's the correct message) 2020-07-07 14:50:58 +02:00
Ske b1ede87df2 (Re-)add confirmation when changing avatar by URL 2020-07-07 14:47:34 +02:00
Ske 59bbbab621 Handle cases where the channel webhook limit is already hit 2020-07-05 13:38:18 +02:00
Ske bb7ee130a6 Fix error when proxying all-whitespace message 2020-07-05 13:26:49 +02:00
Ske da7befa1b7 Fix token DM error 2020-07-05 13:23:23 +02:00
Ske f03bab303c Explicitly error if the URI schema is wrong 2020-07-05 13:19:43 +02:00
Ske 666b21a08f Add category headers to blacklist channels 2020-07-05 13:16:21 +02:00
Ske da9bfbb46d Redo blacklist list fetching/rendering 2020-07-05 13:08:18 +02:00
Ske 01d25ca391 Fix compiler warning in ShowBlacklisted 2020-07-05 13:01:38 +02:00
Ske 42b9b4f08e Restrict proxy conflict checking to the same system 2020-07-03 12:00:59 +02:00
Ske 9424e50187 Re-add private setters for member class 2020-07-03 11:25:05 +02:00
Ske 98d4ee8664 Add -sd as alias for -search-description 2020-07-03 11:03:20 +02:00
Ske c88ccea0b2 Remove June avatar (it's July now) 2020-07-02 19:11:46 +02:00
Ske c87e67245d Create GetXXX utils wrapping try blocks 2020-07-02 18:29:04 +02:00
Ske 7fef8c1dde Split up Context class into more extension methods 2020-07-01 18:27:26 +02:00
Ske 53036da6a5 Move checks in Context to extension methods 2020-07-01 18:18:38 +02:00
Ske 0598c53f62 Migrate guild objects to the patch system 2020-06-29 15:20:28 +02:00
Ske 467ce78522 Retire more IDataStore methods 2020-06-29 14:54:11 +02:00
Ske 9c1efc7886 Move system updates to the same patch system as members 2020-06-29 14:39:19 +02:00
Ske c5697b33e2 Finally retire the PKMember setters! 2020-06-29 14:15:30 +02:00
Ske 281b669391 Refactor member updates to use a patch object 2020-06-29 13:57:48 +02:00
Ske 472e556ef0 Pass proper allowed_mentions when sending webhook messages 2020-06-28 20:26:14 +02:00
Ske 9420cb56f8 Show sorted field on the long list by default 2020-06-28 18:14:59 +02:00
Ske 3207fcff1b Fix guild ID row name in query 2020-06-26 15:07:51 +02:00
Ske e4d51b5198 Explicitly check for bot/WH users before running command handler 2020-06-26 01:49:51 +02:00
Ske 4f6a4c000d Fix setting server name/avatar with no row in the member_guild table 2020-06-25 22:23:15 +02:00
Ske bb75519f6b Properly handle unauthorized log channel access 2020-06-25 09:14:05 +02:00
Ske 50b5a8fbee Fix changing autoproxy settings with no system_guild row 2020-06-24 17:50:12 +02:00
Ske 2e8d044ca5 Only rebuild docs if the docs folder changes 2020-06-24 17:21:35 +02:00
Ske 0ee22813fa Don't trim inner string when matching proxy tags 2020-06-24 17:19:01 +02:00
Ske 178e256583 Fix system guild settings model mismatch 2020-06-24 16:52:49 +02:00
Ske a83e9306bb Reimplement autoproxy escape character 2020-06-24 16:48:55 +02:00
Ske 3e297178c7 Hopefully fix user cache error in ReactionAdd 2020-06-24 16:47:34 +02:00
Ske 3b47785aa0 Fix front percent lookup
Dapper can't map lists of ID types in an input position so we select it to a plain ulong list :)
2020-06-24 14:02:47 +02:00
Ske 4ac6465648 Fix system guild helper method (again?) 2020-06-24 14:02:47 +02:00
Ske 447b986706 Add dispname -> displayname alias 2020-06-23 09:59:39 +02:00
Ske fe1ef2da0b Site HTML formatting is broken, skip it 2020-06-22 14:46:09 +02:00
Ske 3e2f20fc04 Use standard Gem-style theme references 2020-06-22 14:43:46 +02:00
Ske d4f2338246 Use the correct build destination to publish from 2020-06-22 14:37:12 +02:00
Ske 9eb982c762 Commit bundle config and lockfile 2020-06-22 14:34:59 +02:00
Ske 9bed72c18f Attempt 2 at GitHub Actions for site deploy 2020-06-22 14:29:26 +02:00
Ske d89f76ff46 Add GitHub Action to build and deploy website 2020-06-22 14:21:07 +02:00
AstridandGitHub 09624340ec Merge pull request #186 from BeeFox-sys/feature/displayname-member-argument
Feature - display name as a member argument
2020-06-22 14:00:27 +02:00
Ske 96b98c7ed8 Add branch renaming notice 2020-06-22 13:37:10 +02:00
Ske 6fa76e85c4 Make duration parsing case-insensitive 2020-06-21 16:07:14 +02:00
Ske d3cf382e3b Migrate to date/time format extension methods 2020-06-21 16:05:04 +02:00
Ske dcffbef805 Migrate to more privacy helper extensions 2020-06-21 15:51:08 +02:00
Ske 84d5adf907 Fix build errors from DSP update 2020-06-21 15:34:32 +02:00
Ske 34f4ff4e1b Upgrade DSharpPlus version to 4.0.0-nightly-00707
This fixes passing an empty mention array to SendMessageAsync, making our workaround obsolete
2020-06-21 15:11:18 +02:00
Ske a31782864d Fix message count and created not being mapped properly
This weirdly only happens when going through ListedMember, perhaps the inheritance is making it so Dapper doesn't detect the backing field or soemthing... Adding a setter to the autoproperty makes things work, though.
2020-06-21 14:52:39 +02:00
Ske 378c49cb20 Remove 60+ (whew) SanitizeMentions() calls 2020-06-20 17:36:03 +02:00
Ske 2c35649ef0 Use AllowedMentions to disable mentions everywhere by default 2020-06-20 17:33:10 +02:00
Ske ff7b728762 Merge branch 'feature/granular-privacy' 2020-06-20 16:25:08 +02:00
Ske 368320abf4 Add warning when setting avatar privacy with no server avatar 2020-06-20 16:10:36 +02:00
Ske c428d95479 Fix auth checking when looking up member avatar 2020-06-20 16:10:22 +02:00
Ske ae4e8f97d0 Add member avatar privacy 2020-06-20 16:00:50 +02:00
AstridandGitHub 43ae47026a Merge pull request #185 from acw0/bugfix/auttaja
Add support for Auttaja webhook message logs
2020-06-19 20:14:22 +02:00
Ske b0f3aa9994 Reorganize .gitignore 2020-06-19 13:04:10 +02:00
Ske 8df42f7d92 Ignore bot reactions 2020-06-18 17:49:43 +02:00
AstridandGitHub 68eeb858ec Merge pull request #184 from acw0/feature/gearbot
Add GearBot to log cleanup
2020-06-18 17:43:24 +02:00
Ske 5075565d2f Default to UTC given no system in member lists 2020-06-18 17:41:14 +02:00
Ske 7e8e1f1b8c Don't try paginating with empty results 2020-06-18 17:40:51 +02:00
Ske 27c8100cac Get rid of switch exhaustiveness compiler warning 2020-06-18 17:34:03 +02:00
Ske dd9cc3ef0c Respect description privacy when searching members 2020-06-18 17:33:37 +02:00
Ske 56eae82b0a Move most references to PKMember.Name to go through helper extepsions for privacy 2020-06-18 17:08:36 +02:00
Ske 761270f0c3 Clean up member privacy command 2020-06-17 23:06:49 +02:00
Ske dd2690c3f4 Get rid of compiler warning 2020-06-17 22:39:54 +02:00
Ske 78f83339ae Update reference to OpenAPI specification 2020-06-17 22:13:01 +02:00
Ske 244815d6c3 Update OpenAPI specification 2020-06-17 22:12:00 +02:00
Ske 327cd0aafd Update documentation for privacy changes 2020-06-17 21:55:39 +02:00
Ske e92700f339 Comment out color privacy stuff for now (revisit later?) 2020-06-17 21:51:40 +02:00