Commit Graph

35 Commits

Author SHA1 Message Date
spiral 2745ee6156 fix(bot): check proxy tag length when overwriting 2022-11-17 00:44:00 +00:00
Jake Fulmine c77b2bb4fc feat: show character amount for string fields 2022-08-27 11:25:44 +02:00
spiral 375758206e fix: show correct name in entityReference when base name is private 2022-02-05 09:26:14 -05:00
spiral df6a6fcf12 refactor: don't DI IDatabase and ModelRepository into bot command classes 2022-01-22 03:05:01 -05:00
spiral 1918c56937 feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral 92e45a07ff refactor: add SqlKata for SQL generation, move connection handling into ModelRepository 2021-09-29 21:51:38 -04:00
spiral ac2671452d run dotnet format 2021-08-27 11:03:47 -04:00
spiral 603123777d add limits to switch members and proxy tag length 2021-08-25 13:42:08 -04:00
Astrid 467d0746bd Merge pull request #368 from spiralw/feat/yes-no-buttons
Use buttons for all yes/no prompts
2021-07-14 18:26:00 +02:00
spiral 30d1bf6926 Fix WarnOnConflict
postgres doesn't like 'value = null' for some reason
Closes #223.
2021-07-13 02:31:06 -04:00
spiral ab6ab127dd move Context#PromptYesNo to buttons 2021-07-02 06:40:40 -04:00
spiral 1e5ba5f985 feat: case-insensitive "text" keyword matching for proxy tags 2021-05-01 19:17:35 +01:00
spiral 837b0a457d Remove duplicates of CheckSystem/CheckOwnMember 2020-11-22 16:15:26 -05:00
dev-kittens dfacbc51ab Confirm before clearing (most) entity properties 2020-10-04 08:53:07 +00:00
Ske c7612df37e Major database refactor (again) 2020-08-29 13:46:27 +02:00
Ske 203dbc65a1 Replace most "code-escaped" literals with properly-escaping helpers 2020-08-25 22:44:52 +02:00
kittens fd0e46f40d Add -yes flag to CheckYesNo (#198) 2020-07-21 02:10:26 +02:00
Ske 1449234a84 Migrate more commands to "MatchClear" 2020-07-08 00:00:23 +02:00
BeeFox-sys 55ea314b42 Fix: Escape Backticks (#192) 2020-07-05 12:55:21 +02:00
Ske 42b9b4f08e Restrict proxy conflict checking to the same system 2020-07-03 12:00:59 +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 378c49cb20 Remove 60+ (whew) SanitizeMentions() calls 2020-06-20 17:36:03 +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 ab8b5e3786 Fix setting proxies starting with text 2020-03-05 00:07:42 +01:00
Ske 373423e6c5 Restructure the rest of the commands 2020-03-04 18:13:36 +01:00
Ske 75947301f1 Properly skip flag parsing when handling proxy tags 2020-02-22 15:21:48 +01:00
Ske 493f7b12e5 Skip flag parsing when handling proxy tags 2020-02-20 23:53:05 +01:00
Ske 6d5004bf54 Large refactor and project restructuring 2020-02-12 15:16:19 +01:00
Ske 594bcc5b7b Replace error with warning on legacy proxy command 2020-02-05 23:44:03 +01:00
Ske 565d166c68 Add more aliases to proxy add/remove 2020-02-04 18:16:45 +01:00
Ske 5334975ab7 PROPERLY handle example proxy "text" 2020-02-03 15:11:35 +01:00
Ske f172123190 Fix setting proxy tags starting with "text" 2020-02-01 23:08:33 +01:00
Ske 82dfe43d5a Rework caching
This does a *lot* of things. Essentially, it replaces the existing
individual proxy- and autoproxy caches on the bot end with a
global cache (in Core) that handles all the caching at once, and
automatically invalidates the cache once something changes in the
datastore.

This allows us to do proxying and autoproxying with *zero database
queries* (best-case).
2020-02-01 14:40:57 +01:00
Ske 125ea81ec3 Move command functions around 2020-02-01 13:03:44 +01:00