Commit graph

161 commits

Author SHA1 Message Date
Iris System
9f56697241 feat: initial 6-character HID rework 2024-05-11 20:07:01 +12:00
Iris System
95b027d432 fix: read stat counts from db as long (oopsie) 2023-09-04 10:13:33 +12:00
Iris System
4e8141007f fix: store stat counts as bigint 2023-09-03 20:50:28 +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
deeb3ad3a4 fix: add constraints for system name and avatar privacy (#579)
Merges PluralKit/PluralKit#579
2023-08-10 18:30:48 +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
68cd21fb2f feat: proxy tag privacy (#571)
Merges PluralKit/PluralKit#571
2023-08-10 18:30:21 +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
spiral
0a58c9a9ed fix: re-enable deleting messages from db (but correctly this time) 2023-02-06 19:31:37 -05:00
spiral
b13659817d fix(bot): try fetching messages from database before deleting 2023-01-15 17:34:40 +00:00
spiral
e11f4f23ab
chore: remove dead code in DatabaseViewsExt 2022-12-29 00:53:13 +00:00
spiral
91f5e7c8f6
fix(bot): quick fix for timescaledb issues 2022-12-15 01:40:37 +00:00
spiral
a70b6f31fc
chore: lint 2022-12-14 14:47:48 +00:00
spiral
24db9f28c2
fix(bot): add callback to update message count after proxying
also re-add -with-last-message flag :D
2022-12-10 16:50:22 +00:00
spiral
b2e4ff38e3
feat: use sqlkata for a few more queries 2022-12-03 12:04:12 +00:00
spiral
831b6d3301
chore: remove unused system_fronters view 2022-12-01 11:54:13 +00:00
spiral
07845edee6 Merge remote-tracking branch 'origin/main' 2022-11-24 06:32:59 +00:00
spiral
bf7747ab34
feat: split out messages table from main database 2022-11-23 09:17:19 +00:00
Katrix
4f0236d766
feat(bot): Case insensitive proxy tags matching (#490) 2022-11-23 21:48:24 +13:00
spiral
12323f3662
fix: don't write raw sql queries to influxdb metrics 2022-11-17 02:51:04 +00:00
spiral
4bf4197c2a
feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb 2022-06-26 14:19:46 -04:00
spiral
5c055871e3
feat(bot): store command message info in redis 2022-06-19 20:28:55 -04:00
spiral
9848b88d5b
feat(bot): don't query db message context when running commands 2022-06-15 19:28:34 -04: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
b75e59da2f
feat: allow specifying database password in separate config parameter 2022-06-13 15:23:13 -04:00
spiral
92ef6d4ec3
fix(api): return updated switch in PATCH /switches/:id 2022-06-11 17:16:53 -04:00
spiral
58a9206d5c
feat: re-enable message count stats updater 2022-06-10 18:48:00 -04:00
spiral
c87979ef03
feat(api): add autoproxy endpoints 2022-06-02 13:32:31 -04:00
spiral
e4f1957c75
chore: bump target schema version in DatabaseMigrator 2022-05-09 15:17:26 -04:00
spiral
3a99f65b49
feat(api): add description_templates to /systems/@me/settings 2022-05-09 13:54:33 -04:00
spiral
7afba4ea95
chore: code cleanup (mostly whitespace / remove unused imports) 2022-03-30 04:36:22 -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
97c14b20b0
fix(api): don't 500 on invalid PATCH body 2022-03-23 14:26:54 -04:00
Jake Fulmine
7efe6f1f97
feat: system pronouns (#429) 2022-03-23 14:20:16 -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
6c6cb156d4
fix: temporarily remove message count statistics because postgres locks 2022-03-19 21:57:02 -04:00
spiral
0419ced0d2
feat: store shard status in Redis 2022-01-22 03:52:52 -05:00
spiral
89c44a3482
feat: cache Discord DM channels in database 2022-01-22 02:47:47 -05:00
spiral
db3d436ef5
fix: update target schema version in DatabaseMigrator 2022-01-19 17:59:53 -05:00
rladenson
f3869dbcbe
feat: rework group list into member list 2022-01-14 22:30:02 -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
fff8e179ba
fix: don't query the entire config table in message_context 2021-12-24 05:42:28 -05:00