Spectralitree
7010becd32
Add group front percentages (fixing Git history)
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-06 12:58:50 +02:00
Spectralitree
29561662ab
Fix typo in system color
2021-04-06 12:27:39 +02:00
spiral
9d17c130c5
Fix matching canary/ptb Discord links
2021-04-05 02:39:14 +01:00
Spectralitree
2898b3989a
Add color to all lists
2021-03-28 19:22:31 +02:00
Spectralitree
8da5c94b1c
even more branch fixing
2021-03-28 12:22:19 +02:00
Spectralitree
5a9671559a
more... branch fixing
2021-03-28 12:21:06 +02:00
Spectralitree
1e876ce283
more branch fixing
2021-03-28 12:20:01 +02:00
Spectralitree
e7cfd85bd5
I messed up the branches oops
2021-03-28 12:15:21 +02:00
Spectralitree
3603d52e9e
Add group and system colors
2021-03-28 12:02:41 +02:00
Spectralitree
1b791fd7f9
Merge branch 'main' of https://github.com/Spectralitree/PluralKit into main
2021-03-27 23:41:24 +01:00
spiral
01ea0d9971
Add 'pk;msg <id|link> delete'
2021-03-21 09:45:26 +00:00
Ske
3196f60093
Fix error on DMing with no permission
2021-03-18 11:38:28 +01:00
Spectralitree
9d80b7b141
Add group front percentages
...
Also add a title to the system frontpercent embed, and tweak the footer
2021-02-09 23:36:43 +01:00
Ske
ef614d07c3
Do the Big Rename
2021-01-31 16:16:52 +01:00
Ske
80c572f594
Fix various bugs and regressions
2021-01-31 16:02:34 +01:00
Ske
da9d84a197
Get rid of more D#+ references
2021-01-15 11:29:43 +01:00
Ske
04109a133f
Merge branch 'main' into newdiscord
2021-01-15 10:35:20 +01:00
Ske
9079f1c59c
Port the DM stuff
2020-12-25 13:58:45 +01:00
Ske
a2c8cbb560
Add DM support
2020-12-25 13:19:35 +01:00
Ske
2e0c30eb5d
Port some more commands, mostly for embeds
2020-12-25 12:56:46 +01:00
Ske
50b8685e44
Clarify timeout overflow message
2020-12-24 22:27:03 +01:00
Ske
4e67c79154
Fix autoproxy timeout message
2020-12-24 19:42:04 +01:00
Ske
ad921e17e3
Fix autoproxy timeout overflow
2020-12-24 19:41:46 +01:00
Ske
47b16dc51b
Port more things!
2020-12-24 14:52:44 +01:00
Ske
f6fb8204bb
Add embed builder, some more ported classes
2020-12-23 02:19:02 +01:00
Ske
05334f0d25
Converted enough to send the system card
2020-12-22 16:55:13 +01:00
Ske
97f5ab94c1
Update soulscream formatting
2020-12-20 12:16:23 +01:00
Ske
96ba511026
Secret soulscreams, because I'm bored
2020-12-20 11:52:35 +01:00
Ske
a328867e76
Ask for slash command permission in the invite links
2020-12-18 13:47:18 +01:00
Ske
db4e41a232
Convert autoproxy timeout to use seconds
2020-12-08 12:57:17 +01:00
Astrid
77d63c2838
Merge branch 'main' into feat/ap
2020-12-08 12:25:01 +01:00
Astrid
07cd753247
Merge pull request #255 from dev-kittens/feat/group-random
...
Add random command for groups
2020-12-08 12:20:45 +01:00
Astrid
6e39eb7a96
Merge pull request #258 from dev-kittens/feat/member-group
...
Group improvements
2020-12-08 12:19:56 +01:00
spiral
61793f5fe2
Actually fix deduplicating arguments ( #249 )
2020-11-25 17:18:56 -05:00
spiral
fde7e4d3cc
Move group add/remove response text logic into MiscUtils
2020-11-22 23:11:34 -05:00
spiral
115017980e
Add pk;member group
2020-11-22 19:57:01 -05:00
spiral
837b0a457d
Remove duplicates of CheckSystem/CheckOwnMember
2020-11-22 16:15:26 -05:00
spiral
05f1ee92ea
DRY-ify checking URL length for avatars
2020-11-22 15:43:38 -05:00
spiral
e3274d5d26
Move member random to Random.cs, add group random and group member random
2020-11-22 11:58:23 -05:00
spiral
45b87bd132
Move group card embed to EmbedService
2020-11-22 11:57:54 -05:00
spiral
db80b10ec5
Add autoproxy commands in pk;commands
2020-11-22 09:47:19 -05:00
spiral
edb92168ea
Add documentation on the website as well
2020-11-22 09:44:07 -05:00
spiral
29d9b91299
Move AutoproxyRoot to CommandTree, add documentation
2020-11-22 09:44:04 -05:00
spiral
68b439257d
Tweak documentation
2020-11-22 09:42:40 -05: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
spiral
4991d06821
Add aliases for pk;commands
2020-11-19 18:06:50 -05:00
spiral
01cedaab53
Tweak description for switch delete all
command
2020-11-19 18:05:53 -05:00
spiral
9babde3c82
Add basic command help functionality to pk;commands
2020-11-19 17:58:57 -05:00
spiral
2858c68a7d
Clean up member list commands and log commands, as well as related docs
2020-11-19 17:10:59 -05:00
Ske
ece03ff85e
Escape Markdown on the system group list
2020-11-15 15:42:27 +01:00
Ske
a5aa4923b7
Remove auto-conversion of attached avatars to JPEG
2020-11-15 15:22:22 +01:00
Ske
fdcce05da1
Fix privacy handling in -with-avatar
2020-11-15 14:45:08 +01:00
Astrid
80bdb9795d
Merge pull request #250 from dev-kittens/tweak/avatar-url-flag
...
Tweak/avatar url flag
2020-11-15 13:15:02 +01:00
Astrid
bf1af84186
Merge pull request #248 from dev-kittens/tweak/group-add-remove
...
Handle different quantities of members better…
2020-11-15 13:14:45 +01:00
spiral
71d989f948
Add member list flag to show avatar URL
2020-11-14 12:35:22 -05:00
spiral
4586575e88
Handle different quantities of members better
2020-11-14 12:05:30 -05:00
spiral
b522a4c175
Remove duplicated code
2020-11-14 10:51:13 -05:00
spiral
8956777c9a
Fix "clear server avatar" confirmation message
2020-11-08 14:37:38 -05:00
Emily
740d9c6fbe
Add time switch was moved to to success message
2020-10-23 14:44:43 +02:00
Ske
c69bea86df
Fix log channel clear confirm
2020-10-23 12:18:40 +02:00
Ske
134829b263
Fix build error
2020-10-23 11:17:35 +02:00
Astrid
17c3640fd3
Merge branch 'main' into confirm-clear
2020-10-23 11:14:36 +02:00
Astrid
9976789467
Merge branch 'main' into feature/public-reminder
2020-10-23 11:13:50 +02:00
Astrid
39155af2b8
Merge pull request #225 from dev-kittens/docs-fixes
...
Improve documentation
2020-10-23 11:11:35 +02:00
Astrid
025fbfe120
Merge pull request #228 from dev-kittens/fix/memberlimits
...
Fix per-system member limits not being considered in certain conditionals
2020-10-23 11:11:11 +02:00
Astrid
8f56a1cc32
Merge pull request #233 from dev-kittens/feature/delete-bot-responses
...
Allow deleting bot responses with ❌ reaction
2020-10-23 11:09:41 +02:00
Astrid
f9db2558dd
Merge pull request #230 from dev-kittens/fix/log-channel-clear
...
Fix log channel clear matching
2020-10-23 11:07:38 +02:00
Astrid
d1c22b66df
Merge pull request #231 from dev-kittens/tweak/send-export-attachment-url
...
Send raw attachment URL after sending export file for easier copying on mobile
2020-10-23 11:07:22 +02:00
dev-kittens
86ed2b1add
Fix -yes flag matching on linking other accounts
2020-10-20 06:33:35 -05:00
spiral
96f363f1b1
Tweak warning message
2020-10-19 04:05:54 -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
dev-kittens
05cc30279a
- Add storing bot response messages in postgres
...
- Add scheduled task to clean up said store
2020-10-18 00:18:52 -05:00
dev-kittens
80e9e4f14b
Send raw attachment URL after sending export file
2020-10-17 16:56:48 -05:00
dev-kittens
f50df670d7
Fix log channel clear matching
2020-10-17 16:43:59 -05:00
dev-kittens
d80d3c5f04
Fix limit message on creating new members
2020-10-09 14:23:31 +00:00
Ske
1fda6ec919
Add per-system member/group limit override
2020-10-09 12:18:29 +02:00
dev-kittens
dfacbc51ab
Confirm before clearing (most) entity properties
2020-10-04 08:53:07 +00:00
dev-kittens
429cc9e747
Fix member creation docs link
2020-10-04 07:44:21 +00:00
dev-kittens
d6f7aafd2a
command tree tweaks
2020-10-04 07:26:42 +00:00
Ske
969065724d
Fix Tupperbox importing (again)
2020-09-20 23:32:57 +02:00
Ske
6f8e15178f
Fix image proxy URL extensions
...
Media proxy doesn't support format conversion by changing extension, needs a separate query parameter instead
2020-09-16 22:47:40 +02:00
Ske
509c0bf73f
Fix Tupperbox importing by ignoring extra fields
2020-09-16 20:47:01 +02:00
Astrid
ea4edfc5f2
Merge pull request #218 from dev-kittens/patch-2
...
Fix webp avatar errors
2020-09-13 00:11:42 +02:00
kittens
42b70cde9a
Add -all flag on system and group cards ( #216 )
...
* Show group count on stats card
* Add -all flag on system and group cards
Shows full count, including private members.
* fix stuff broken by merging conflicts
2020-09-13 00:10:37 +02:00
Ske
5ba89d32fc
Fix avatar URLs with encoded spaces
2020-09-12 19:43:54 +02:00
dev-kittens
e79e7278ab
Fix webp image errors
2020-09-03 06:46:23 -04:00
Ske
c7612df37e
Major database refactor (again)
2020-08-29 13:46:27 +02:00
Ske
3996cd48c7
Ignore deleted channels when printing blacklist
2020-08-28 23:37:27 +02:00
Ske
98afbb5ea8
Change example for group rename to use rename
alias
2020-08-27 21:28:54 +02:00
Ske
84a91b3f75
Add "groups" to system privacy parse error
2020-08-26 22:01:52 +02:00
Ske
929b34e555
Add 'g' as alias for system groups
2020-08-26 22:01:42 +02:00
Ske
de010fde76
Add DM permission "check" when sending system token
2020-08-26 00:17:05 +02:00
Ske
203dbc65a1
Replace most "code-escaped" literals with properly-escaping helpers
2020-08-25 22:44:52 +02:00
Ske
2794919728
Use "smart references" for member commands
2020-08-25 22:33:04 +02:00
Ske
d21eb7b477
Add 'nick' to group display name alias
2020-08-25 22:25:20 +02:00
Ske
1e0ce31ffe
Order groups alphabetically by name
2020-08-25 18:43:52 +02:00
kittens
437808afce
Add flags to switch delete all
2020-08-21 15:50:34 -04:00
Ske
8688f4d0bf
Merge branch 'main' into feature/groups
2020-08-21 18:31:49 +02:00
Ske
10c01da39b
Couple more slight tweaks :)
2020-08-21 17:08:49 +02:00
Ske
1bb5d203df
Various additional tweaks/additions to groups
2020-08-20 21:43:17 +02:00
Ske
9e251352c7
Various fixes and improvements
2020-08-16 12:10:54 +02:00
Astrid
801db3c274
Merge pull request #211 from dev-kittens/random-stuff
...
Add -all flag to pk;random
2020-08-12 17:15:55 +02:00
Ske
0de284cd36
Bounds check system name in new system command
2020-08-11 22:06:02 +02:00
Ske
d702d8c9b6
Add group icon command
2020-08-08 15:09:42 +02:00
Ske
cedb050b8a
Add group delete command
2020-08-08 14:56:34 +02:00
acw0
5bc31cbf3e
Fix error message
2020-08-05 19:56:40 -04:00
Ske
7ab5e66d7b
Show new color in the member color change embed
2020-08-05 20:20:27 +02:00
acw0
df7fdce144
Add sorting member list randomly
2020-08-04 19:28:29 -04:00
acw0
f6d2f4b620
Add -all flag in random command
2020-08-04 18:43:17 -04:00
ent3r
687eaaa928
Fix formatting
...
Removed bold on a colon
2020-08-03 19:00:27 +02:00
acw0
d9c644ec0e
Change "channel not found" error messages to be more ambiguous; also, put them in Errors instead of inline
2020-08-03 19:00:17 +02:00
acw0
2f8f819e22
Add "n" as an alias to "new" for creating a system
2020-07-29 11:30:46 +02:00
Ske
fb236726aa
Consolidate conditional
2020-07-28 19:52:57 +02:00
acw0
47fcfeca0f
Consolidate conditionals
2020-07-28 19:30:03 +02:00
acw0
1138c1a2a9
Clean up getting guild/member
2020-07-28 19:30:03 +02:00
acw0
687dd23234
Fix missing ID error
2020-07-28 19:30:03 +02:00
acw0
c20c4dab42
use Shard.GetGuild instead of Rest.GetGuild
2020-07-28 19:30:03 +02:00
Ske
f504e16543
Restructure group created info
2020-07-28 19:17:01 +02:00
Ske
5e28e0aba1
Add group privacy command/structures
2020-07-28 19:17:01 +02:00
Ske
47d5ad0004
Enforce group count limit on creation
2020-07-28 19:17:01 +02:00
Ske
ec9ee5c794
Show member count on group card
2020-07-28 19:17:01 +02:00
Ske
0d04be6540
Fix error showing group card with no description
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
kittens
e24c5d095b
Check if we got the same member before asking for confirmation ( #201 )
2020-07-22 16:27:53 +02:00
kittens
fd0e46f40d
Add -yes flag to CheckYesNo ( #198 )
2020-07-21 02:10:26 +02:00
Ske
99d6942ff4
Truncate the echoed command in the not found error
2020-07-18 13:07:16 +02:00
kittens
80e6d5b18e
Fix URL handling when the filename contains multiple known extensions ( #196 )
2020-07-18 12:51:31 +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
da7befa1b7
Fix token DM error
2020-07-05 13:23:23 +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
BeeFox-sys
55ea314b42
Fix: Escape Backticks ( #192 )
2020-07-05 12:55:21 +02:00
ariel w
224b653ee0
Add command to show current proxy blacklist ( #189 )
2020-07-05 12:54:27 +02:00
Ske
42b9b4f08e
Restrict proxy conflict checking to the same system
2020-07-03 12:00:59 +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
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
9420cb56f8
Show sorted field on the long list by default
2020-06-28 18:14:59 +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
50b5a8fbee
Fix changing autoproxy settings with no system_guild row
2020-06-24 17:50:12 +02:00
Ske
447b986706
Add dispname -> displayname alias
2020-06-23 09:59:39 +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
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
Ske
5075565d2f
Default to UTC given no system in member lists
2020-06-18 17:41:14 +02:00
Ske
27c8100cac
Get rid of switch exhaustiveness compiler warning
2020-06-18 17:34: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
761270f0c3
Clean up member privacy command
2020-06-17 23:06:49 +02:00
Ske
e92700f339
Comment out color privacy stuff for now (revisit later?)
2020-06-17 21:51:40 +02:00
BeeFox-sys
721a4502bb
Feature/granular member privacy ( #174 )
...
* Some reasons this needs to exist for it to run on my machine? I don't think it would hurt to have it in other machines so
* Add options to member model
* Add Privacy to member embed
* Added member privacy display list
* Update database settings
* apparetnly this is nolonger needed?
* Fix sql call
* Fix more sql errors
* Added in settings control
* Add all subject to system privacy
* Basic API Privacy
* Name privacy in logs
* update todo
* remove CheckReadMemberPermission
* Added name privacy to log embed
* update todo
* Update todo
* Update api to handle privacy
* update todo
* Update systemlist full to respect privacy (as well as system list)
* include colour as option for member privacy subject
* move todo file (why was it there?)
* Update TODO.md
* Update TODO.md
* Update TODO.md
* Deleted to create pr
* Update command usage and add to the command tree
* Make api respect created privacy
* Add editing privacy through the api
* Fix pronoun privacy field in api
* Fix info leak of display name in api
* deprecate privacy field in api
* Deprecate privacy diffrently
* Update API
* Update documentation
* Update documentation
* Remove comment in yml
* Update userguide
* Update migration (fix typo in 5.sql too)
* Sanatize names
* some full stops
* Fix after merge
* update migration
* update schema version
* update edit command
* update privacy filter
* fix a dumb mistake
* clarify on what name privacy does
* make it easier on someone else
* Update docs
* Comment out unused code
* Add aliases for `member privacy all public` and `member privacy all private`
2020-06-17 21:31:39 +02:00
Ske
627f544ee8
Migrate API to ASP.NET Core Auth services + refactor
2020-06-16 01:15:59 +02:00
Ske
b9cbd241de
Migrate to type-safe model ID structs
2020-06-14 21:37:04 +02:00
Ske
2d43c17f9e
Add pk;member list
as alias for pk;system list
2020-06-14 18:56:35 +02:00
Ske
c780781184
Remove unused imports
2020-06-13 23:12:44 +02:00
Ske
6d06474d26
Refactor sort/filter code once again
...
Now we handle sorting on the bot side, but still filter in the database
2020-06-13 21:49:31 +02:00
Ske
0bb8d2b917
Add own member checks back to the avatar mutators
2020-06-13 20:23:06 +02:00
Ske
c927967c3b
Migrate GetSystemById
2020-06-13 19:42:04 +02:00
Ske
90ac186183
Extract Database to interface
2020-06-13 19:36:43 +02:00
Ske
1c2ebdc658
Fix proxy blacklist command
2020-06-13 19:19:13 +02:00
Ske
c875c8af9f
Various small fixes, setting guild config now works
2020-06-13 19:15:50 +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
a915ddb41c
Extract system/member guild settings and refactor DB access
...
(also refactor MemberAvatar now that I'm here)
2020-06-13 16:03:57 +02:00
Ske
ed511a6236
Refactor server config models/commands
2020-06-13 13:58:27 +02:00
Ske
ba441a15cc
Too many refactors in one:
...
- Allowed adding ephemeral(ish) views and functions
- Moved message_count to a concrete database field
- Moved most proxy logic to a stored procedure
- Moved database files around and refactored schema manager
2020-06-12 20:29:50 +02:00
Ske
ccb6ba5d30
Minor renames and rewordings
2020-06-11 21:32:04 +02:00
Lillian Berry
59af6f02e8
Add disabling reaction pings
2020-06-11 21:19:40 +02:00
ariel w
82886fe9e2
Move discord links to new domain ( #180 )
2020-06-11 21:12:43 +02:00
Ske
e347928c02
Merge branch 'feature/sort-filter'
2020-06-07 16:36:42 +02:00
Ske
1ac5f9518e
Mostly finished, needs to be double-checked/documented
2020-06-07 01:30:19 +02:00
Ske
e8068cc1a9
Add avatar credit for June
2020-06-04 16:24:30 +02:00
Ske
7c85dc360b
Barebones, untested sort/filtering
2020-06-04 13:21:47 +02:00
Ske
d5c6e2baac
Don't post an error after clearing avatar
2020-06-02 02:02:07 +02:00
Ske
9a761ed7e4
Add display name to long member list
2020-05-08 02:03:31 +02:00
Ske
fd65846867
Extract the explanation from the help message into a separate command
2020-05-08 02:01:57 +02:00