Commit Graph

711 Commits

Author SHA1 Message Date
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
Astrid
7f82a3e63a
Merge pull request #251 from dev-kittens/tweak/commands
Command handling tweaks/fixes
2020-11-22 13:58:46 +01:00
Ske
f96f970198 Upgrade D#+ version to latest nightly 2020-11-21 00:02:05 +01: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
c60e6b21a4 Fix API traces for weird endpoints 2020-11-19 11:43:05 +01:00
Ske
feebbf657d Add a short delay when deleting DB messages 2020-11-18 15:01:32 +01:00
Ske
aee91987c2 Lower log level for gateway event spam 2020-11-16 21:59:28 +01:00
Ske
e24b5e3529 Add logging/metrics for error *messages* 2020-11-16 10:07:57 +01:00
Ske
6fb979e74d Add metrics for error/event rates 2020-11-16 09:57:16 +01:00
Ske
0ac180c4e6 Filter Discord 500s out 2020-11-16 09:05:00 +01: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
c0c4871f0b Fix cache error using log channel 2020-11-15 15:07:20 +01:00
Ske
fdcce05da1 Fix privacy handling in -with-avatar 2020-11-15 14:45:08 +01:00
Ske
27c9e54f17 Delete proxied message if the trigger message gets deleted by other means 2020-11-15 14:34:49 +01:00
Ske
8c12b3f037 Update library versions (still on .NET 3.1 though) 2020-11-15 14:15:30 +01:00
Ske
634173e205 Update to D#+ 4.0.0-rc1 2020-11-15 13:53:31 +01:00
Astrid
90b2fcfdd4
Merge pull request #247 from dev-kittens/tweak/group-dn
Add looking up group by display name
2020-11-15 13:15:29 +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
Astrid
1147603520
Merge pull request #245 from dev-kittens/fix/clear-serveravatar
Fix "clear server avatar" confirmation message
2020-11-15 13:13:33 +01:00
Astrid
d844f41059
Merge pull request #244 from dev-kittens/patch-2
[accessibility] add newline between linked accounts in system card
2020-11-15 13:13:23 +01:00
Astrid
e452b32dec
Merge pull request #242 from dev-kittens/fix/dm-delete-command-message
Fix deleting command messages by reaction in DMs
2020-11-15 13:13:15 +01:00
Ske
ce25a56d7a Support multiple 'Clyde's in a webhook name 2020-11-15 13:12:30 +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
71461b3163
Add looking up group by displayname; document this 2020-11-14 10:42:51 -05:00
spiral
8956777c9a
Fix "clear server avatar" confirmation message 2020-11-08 14:37:38 -05:00
Ske
537783dd96 Fix permission check for log channels 2020-11-08 18:52:50 +01:00
spiral
ac679271f2
add newline between linked accounts in system card 2020-11-08 02:00:06 +01:00
spiral
4aeda86d66
Fix deleting command messages by reaction in DMs 2020-11-04 11:30:00 -05:00
Emily
740d9c6fbe
Add time switch was moved to to success message 2020-10-23 14:44:43 +02:00
Ske
108dbb9cc6 Actually set the proper command message retention >.> 2020-10-23 12:20:53 +02:00
Ske
b6dbc82abe Clean up imports 2020-10-23 12:20:44 +02:00
Ske
c69bea86df Fix log channel clear confirm 2020-10-23 12:18:40 +02:00
Ske
81cd5496d5 Refactor command message deletion 2020-10-23 12:18:28 +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
56bb5e975f
Add handling command reactions
and, uhh, rename invoker_id to author_id
2020-10-18 00:59:36 -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
Ske
9282d5e9fb Add some more resiliency to DB errors 2020-10-14 23:35:10 +02: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
1e8470e77f Potential quick fix for... something 2020-09-25 23:28:06 +02:00
Ske
969065724d Fix Tupperbox importing (again) 2020-09-20 23:32:57 +02:00
Ske
4f6c98db48 (Add the actual service file, shh) 2020-09-20 22:36:04 +02:00
Ske
5269f994cf Add new internal error message + send rate limiting 2020-09-20 22:35:05 +02:00
Ske
eab1cb1645 Ignore self-messages 2020-09-20 21:49:52 +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
Ske
7b59040da2 Truncate roles list if it gets too long 2020-09-12 19:30:03 +02:00
Ske
47bdc34142 Optimize DB access for LogClean 2020-09-09 22:20:52 +02:00
dev-kittens
e79e7278ab Fix webp image errors 2020-09-03 06:46:23 -04:00
Ske
a1da3e1386 Sort groups on the member card alphabetically 2020-08-30 17:03:28 +02:00
Ske
20addea986 Ignore reactions on channels we don't have cached 2020-08-30 15:53:03 +02: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
8477cfaf0e Actually include the Sentry ID in the logs 2020-08-28 18:48:57 +02:00
Ske
2005ce3296 Log response headers 2020-08-27 22:33:50 +02:00
Ske
35f0c342b6 Also log response bodies for error 500s 2020-08-27 21:54:33 +02:00
Ske
98afbb5ea8 Change example for group rename to use rename alias 2020-08-27 21:28:54 +02:00
Ske
9955dc29f9 Add Elastic-bound logging of (almost) all database update events 2020-08-27 21:28:36 +02:00
Ske
8d27148bdf More updates to event infrastructure 2020-08-27 18:20:20 +02:00
Ske
e27826955e Properly tag request logs in metrics 2020-08-27 16:26:37 +02:00
Ske
e556cc71fa Add persistent event ID to log context 2020-08-27 14:40:49 +02:00
Ske
ca4ffdb803 Slightly change HTTP log format 2020-08-27 14:38:11 +02:00
Ske
f2c18dff41 Add preliminary support for logging outgoing HTTP requests 2020-08-27 00:07:00 +02:00
Ske
2e6b1826fc Add experimental Elasticsearch logging output 2020-08-26 22:29:24 +02:00
Ske
84a91b3f75 Add "groups" to system privacy parse error 2020-08-26 22:01:52 +02:00