Commit graph

51 commits

Author SHA1 Message Date
rladenson
ec6cbb2a64 feat: guild-specific name format 2024-12-05 17:26:59 -07:00
Iris System
2555f7922c fix(bot): use proxy name format even when tag is disabled/null 2024-11-12 22:05:16 +13:00
Iris System
b26ca69071 fix(bot): make tag enforcement check name formatting 2024-11-12 21:21:12 +13:00
Iris System
0473bd8f01 feat(bot): add new guild settings command 2024-11-10 15:47:43 +13:00
libglfw
614131265b feat(bot): basic webhook username templating 2024-11-09 16:32:05 -08:00
Petal Ladenson
e1c2e6b6d6
feat(bot): add option to log a switch when proxying 2024-11-10 03:34:06 +09:00
alyssa
a47cb8e708 fix: reorder return values of message_context 2024-11-07 09:26:49 +09:00
alyssa
47f1717c20 fix: typo 2024-11-07 09:20:15 +09:00
alyssa
f65c20f31e chore: clean up message_context function
remove CTEs that were confusing and led to developer error
2024-11-07 04:54:37 +09:00
Iris System
b2322c6366 fix(bot): properly resolve account in DB message context function 2024-11-06 19:38:26 +13:00
Iris System
2dfb851246 feat: add abuse handling 2024-11-05 11:19:52 +13:00
Iris System
9f56697241 feat: initial 6-character HID rework 2024-05-11 20:07:01 +12:00
Iris System
93d94dbc2c chore: dotnet format
merging like 6 PRs at once is painful :)
2023-08-10 18:35:01 +12:00
Jake Fulmine
22ce250b56 feat: per-server keepproxy toggling (#574)
Merges PluralKit/PluralKit#574
2023-08-10 18:31:11 +12:00
rladenson
e58b3c7274 feat: add text-to-speech option to members (#570)
Merges PluralKit/PluralKit#570
2023-08-10 18:30:37 +12:00
rladenson
3045c5e307 feat(bot): add system guild icon & guild name (#554) 2023-07-19 12:49:00 +12:00
Iris System
66544b9d40 fix(bot): make proxy/log blacklists work properly with threads
Handling of both blacklists was inconsistent when dealing with threads:
- proxy blacklist of root channel blacklists all threads
- log blacklist of root channel _did not apply_ to threads
- couldn't proxy blacklist threads while leaving root channel proxyable

This change fixes the inconsistencies:
- proxy _and_ log blacklist of root channel affects all threads
- now able to individually proxy/log blacklist threads, with root
  channel unaffected
2023-05-10 13:16:16 +12:00
Jake Fulmine
8187aa05b7
feat(bot): add proxy error config (#544) 2023-03-26 11:42:47 +13:00
the iris system
ccb89f50e9
feat(bot): allow separate member avatars for proxied messages (#523)
This allows for using one avatar for the member card, and a different
avatar for proxied messages - so that users can set the main avatar to
a "full" version of their avatar, and the "proxy" avatar to a cropped
version.
2023-03-02 06:11:35 +13:00
Katrix
4f0236d766
feat(bot): Case insensitive proxy tags matching (#490) 2022-11-23 21:48:24 +13:00
spiral
7cb3a3ea0f
feat(bot): remove hacky fix for extremely slow system deletes
they are no longer extremely slow
2022-06-15 18:52:50 -04:00
spiral
7afba4ea95
chore: code cleanup (mostly whitespace / remove unused imports) 2022-03-30 04:36:22 -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
982812333b
feat: rewrite database schema for localized autoproxy 2022-03-21 23:43:33 -04:00
spiral
fff8e179ba
fix: don't query the entire config table in message_context 2021-12-24 05:42:28 -05:00
spiral
fc7a6357c0
refactor: rename config table to system_config 2021-12-01 09:16:44 -05:00
spiral
56d07e0f2d
feat: pk;config 2021-11-29 21:35:21 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
Ske
ffe7400539 Fix system tags defaulting to off on servers with no per-guild settings 2021-08-08 15:28:21 +02:00
spiral
9d4006b056
Add server-specific system tag 2021-08-02 17:22:06 -04:00
spiral
517abf7ff1
feat: show member color in reply embed 2021-05-01 19:20:00 +01:00
Ske
db4e41a232 Convert autoproxy timeout to use seconds 2020-12-08 12:57:17 +01:00
spiral
8e5fb6520b Add configurable autoproxy latch timeout 2020-11-22 09:42:40 -05:00
spiral
37294b68da Add disabling autoproxy per-account 2020-11-22 09:42:40 -05:00
spiral
41247c68a6 Add disabling front/latch autoproxy per-member 2020-11-22 09:42:40 -05:00
dev-kittens
a5f7bacb3e
Add member is public reminder message on member creation (if system has private members) 2020-10-19 03:50:51 -05:00
Ske
c7612df37e Major database refactor (again) 2020-08-29 13:46:27 +02:00
Ske
253ae43c7f Add super basic group model/command 2020-07-28 19:17:00 +02:00
Ske
dd2690c3f4 Get rid of compiler warning 2020-06-17 22:39:54 +02:00
Ske
21f8caf006 Update type signature of MessageContext rows 2020-06-15 12:54:22 +02:00
Ske
5aa55359b3 Always return a row from message_context even with both system and guild is undefined (closes #183) 2020-06-15 12:54:00 +02:00
Ske
b9cbd241de Migrate to type-safe model ID structs 2020-06-14 21:37:04 +02:00
Ske
0f041c2e3c Add unit test project and some early tests 2020-06-14 18:56:53 +02:00
Ske
e176ccbab5 Several more database-y refactors
- DbConnectionFactory renamed to "Database", will now be the primary entry point for DB stuff
- Created IPKConnection interface mostly containing async extensions to IDbConnection, use this going forward
- Reworked the Connection/Command wrappers (that have performance/logging extensions)
- Probably more stuff that I forgot???
2020-06-13 18:31:20 +02:00
Ske
d246c9bf33 Change HID function types to char(5) as in DB 2020-06-13 01:54:29 +02:00
Ske
8ac2f1e4b8 Move hid generation to the database. Closes #157. 2020-06-13 00:43:48 +02:00
Ske
c39c51426f Remove setters for function models 2020-06-13 00:42:25 +02:00
Ske
729930a562 Move system tag/icon from ProxyMember to MessageContent 2020-06-12 23:30:10 +02:00
Ske
2a39489c4d Move proxy name/avatar logic to the bot itself 2020-06-12 23:24:36 +02:00