Jake Fulmine
87d027f2d4
tweak: use global list formatting for member group lists ( #628 )
...
* tweak: use global list formatting for member group lists
* fix: use DisplayHid
2024-10-01 08:56:38 -04:00
Petal Ladenson
601d266063
feat(bot): add many aliases
2024-08-29 21:32:22 +09:00
alyssa
45640f08ee
feat: improve dispatch security
2024-08-22 07:10:35 +09:00
dependabot[bot]
8ba24aa774
chore(deps): bump Npgsql from 4.1.5 to 4.1.13 in /PluralKit.Core ( #647 )
...
Bumps [Npgsql](https://github.com/npgsql/npgsql ) from 4.1.5 to 4.1.13.
- [Release notes](https://github.com/npgsql/npgsql/releases )
- [Commits](https://github.com/npgsql/npgsql/compare/v4.1.5...v4.1.13 )
---
updated-dependencies:
- dependency-name: Npgsql
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 04:49:40 +09:00
alyssa
62cd28b1f0
fix: log dispatch errors correctly
2024-06-18 05:56:28 +09:00
alyssa
1f11dbf269
fix(bot): clean up hid padding code
2024-06-04 18:56:28 +09:00
alyssa
6d49961daf
feat(bot): config setting to pad 5-character ids in lists
2024-05-19 21:31:26 +09:00
Iris System
8f3fa62ec3
fix: handle padded hids for GroupMember
2024-05-11 21:05:16 +12:00
Iris System
c0b96daa8d
fix: re-add drop for old system_fronters view
...
831b6d3301 removed the view, and this line in
the cleanup SQL.
The DB migration for 6-char IDs fails to apply if this view exists - so even
though the view itself no longer exists in the code, we should always drop
it on cleanup.
2024-05-11 20:07:01 +12:00
Iris System
1ce9227b7d
feat(bot): add option for hid capitalization
2024-05-11 20:07:01 +12:00
Iris System
9f56697241
feat: initial 6-character HID rework
2024-05-11 20:07:01 +12:00
ambdroid
caff9c50aa
feat(core): add dispatch for autoproxy events ( #621 )
2024-03-14 10:26:09 +13: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
83af1f04a7
feat(bot): add support for Discord message context commands ( #513 )
2023-05-16 03:17:34 +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
Iris System
2bffee5450
fix(bot): fix import/export with incorrect webhook_avatar_url
...
Incorrect use of `member.WebhookAvatarFor` in member JSON creation
meant that exports of members without a webhook avatar set had the
normal avatar URL present in both fields.
This also adds a check to the importer to ignore the value of the
webhook_avatar_url field if it is the same as the avatar_url field.
Fixes: ccb89f50e9 (feat(bot): allow separate member avatars for proxied messages)
Co-authored-by: spiral <spiral@spiral.sh>
2023-03-21 23:35:49 +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
3e76fd8d28
chore: require redis connection for bot
2023-02-12 18:00:05 -05:00
spiral
0a58c9a9ed
fix: re-enable deleting messages from db (but correctly this time)
2023-02-06 19:31:37 -05:00
Iris System
3fd16182f0
fix(bot): allow end-of-line space on otherwise empty blockquote line
...
Fixes #507
2023-02-05 01:20:52 +13:00
spiral
b13659817d
fix(bot): try fetching messages from database before deleting
2023-01-15 17:34:40 +00:00
Iris System
683b616a1b
fix(bot): make pk;import handle <> wrapped URLs
2023-01-09 04:32:41 +13:00
Iris System
10287d0146
chore: update lockfiles (since dependabot didn't)
2023-01-09 04:31:11 +13:00
dependabot[bot]
b5b3560c62
chore(deps): bump Newtonsoft.Json in /PluralKit.Core
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 12.0.3 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.2 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 06:22:50 +00:00
Iris System
631c6027ab
feat(bot): allow timestamps in "military time" (HHmm, no colon)
2023-01-08 03:07:22 +13:00
spiral
2fe83fc18c
feat: enforce urls to be https instead of http
2022-12-29 00:54:32 +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
de9cae0cbd
feat(api): add member.message_count, member.last_message_timestamp
2022-12-15 00:50:24 +00:00
spiral
513c3e1a72
feat(api): add member.autoproxy_enabled
2022-12-15 00:49:55 +00:00
spiral
a70b6f31fc
chore: lint
2022-12-14 14:47:48 +00:00
spiral
f77308f344
fix(bot): i need to test my code properly before pushing it
2022-12-10 17:07:07 +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
026a822c74
feat: add logging to Seq
2022-12-03 11:49:19 +00:00
spiral
831b6d3301
chore: remove unused system_fronters view
2022-12-01 11:54:13 +00:00
spiral
770907f232
fix(api): load metrics reporting module
...
i don't know why this fixes it, but it does somehow
2022-11-25 08:53:24 +00:00
spiral
07845edee6
Merge remote-tracking branch 'origin/main'
2022-11-24 06:32:59 +00:00
spiral
e9673a6704
feat: use redis cache for non-id message lookups
2022-11-24 06:32:55 +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