Commit Graph

305 Commits

Author SHA1 Message Date
Vankka
39036e2b21
Add options for how to handle emojis from Discord, add event for rendering custom emoji to Minecraft components to API 2023-10-27 20:12:24 +03:00
Vankka
ac84845d67
Add splitting by newline to console message as well 2023-10-27 20:04:40 +03:00
Vankka
639507e9db
Remove unnecessary setSuppressEmbeds 2023-10-24 18:25:47 +03:00
Vankka
65d1241dd9
Map deletes as well 2023-10-23 23:43:35 +03:00
Vankka
671c006af3
Update JDA back to upstream 2023-10-23 23:29:11 +03:00
Vankka
7a69a805a3
Ignore empty messages in message forwarding 2023-10-15 23:58:20 +03:00
Vankka
3b02c662da
Add expectation for amount of messages received in MinecraftToDiscordChatMessageTest 2023-10-15 23:44:42 +03:00
Vankka
e0ec1aa31c
Fix MinecraftToDiscordChatMessageTest clearing TestHelper too early 2023-10-15 23:24:54 +03:00
Vankka
28dbbb8466
Don't isolate MariaDB driver, update DynamicProxy usage 2023-10-15 23:23:32 +03:00
Vankka
affa127906
Block non-alphanumeric characters, underscores and dashes from sql table prefix 2023-10-15 23:13:17 +03:00
Vankka
baf7e5027b
Add link to placeholders in main config header 2023-10-07 21:31:59 +03:00
Vankka
e0bee7e2d8
Add waiting for console processing to be done in shutdown, check to not queue stuff when console handler is shutdown 2023-10-06 22:42:31 +03:00
Vankka
82fffd6059
Add some javadocs to console classes, add date Discord timestamp support to global date formatting context 2023-10-06 22:22:49 +03:00
Vankka
097edb4d9e
Add replying to api, use reply in console handler 2023-10-06 22:08:51 +03:00
Vankka
4a04bd7dcd
Use ComponentFlattener on DiscordSerializer 2023-10-06 00:17:30 +03:00
Vankka
c927c3cbe5
Ansi 1.1.0-SNAPSHOT 2023-10-06 00:12:13 +03:00
Vankka
849a446d2a
Console command execution, fix to non editing appender 2023-09-17 23:24:46 +03:00
Vankka
8e8e2b3dbf
Add ANSI reset after a console message 2023-09-16 16:09:52 +03:00
Vankka
9e7f043c4e
More improvements to console appending 2023-09-16 16:02:47 +03:00
Vankka
a2f0896260
Parse ANSI escape codes for console 2023-09-16 14:58:41 +03:00
Vankka
02488472e5
Merge main 2023-09-13 21:12:39 +03:00
Vankka
81c109c2d2
Implement legacy code parsing and rendering into ansi + markdown for console 2023-09-13 21:07:42 +03:00
Vankka
cfcb1bdc26
Add constants annotation for defining stuff that shouldn't be translated 2023-09-10 02:18:59 +03:00
Vankka
09968ba8c2
Add enum serializer and remove wacky loading of enum options 2023-09-10 01:01:36 +03:00
Vankka
7193100047
Fix a bug in appending, add ansi and color 'handling' 2023-09-07 21:27:21 +03:00
Vankka
df1cf6274b
Add filtering options for console appending 2023-09-07 18:19:31 +03:00
Vankka
75c76743f8
Attempt to add double quotes to PatternSerializer 2023-09-07 17:42:04 +03:00
Vankka
d111fce37b
Add filtering for which control characters can be sent to Minecraft, add removal of line break spam to default config 2023-09-07 17:41:50 +03:00
Vankka
367a51f04d
Updated reload method in ConsoleModule 2023-09-04 22:49:14 +03:00
Vankka
65f9f3922f
Merge branch 'main' into console 2023-09-04 22:48:48 +03:00
Vankka
6c5064b081
Improve Module reload methods 2023-09-04 22:48:37 +03:00
Vankka
bb5a4dcc24
A working console appender 2023-09-04 22:37:51 +03:00
Vankka
7148944537
Begin work on console appending 2023-08-28 00:36:45 +03:00
Vankka
80017829e5
Fix unit tests 2023-08-26 16:37:04 +03:00
Vankka
a94d8e1003
Add linking instructions methods 2023-08-26 16:35:04 +03:00
Vankka
59764117d3
Merge messages-config 2023-08-26 15:55:51 +03:00
Vankka
f8c323e7de
Use two letter language codes with country codes for dialects 2023-08-26 15:47:58 +03:00
Vankka
1c24055108
Some more progress 2023-08-25 22:24:59 +03:00
Vankka
346b732eeb
Register ExtensionContext.Store.ClosableResource 2023-07-24 22:13:00 +03:00
Vankka
ffb674465a
Fix test not working without environment variables, add environment variables to CI 2023-07-24 22:09:02 +03:00
Vankka
224b24cb26
Remove unnecessary field in EventBusImpl 2023-07-24 22:05:58 +03:00
Vankka
84160b906f
Add unit test for a message going from the receive event to a message sent to Discord + some other tests to check that enable works correctly 2023-07-24 22:04:41 +03:00
Vankka
3c3977200f
Add legacy section parsing for prefix/suffix 2023-07-24 19:56:05 +03:00
Vankka
cb5392fb81
Remove debug code 2023-07-21 17:59:41 +03:00
Vankka
9eb4160bc6
Don't log MessageExceptions as error for prefix/suffix 2023-07-21 17:10:36 +03:00
Vankka
3040b1472c
Don't force discord serialization for join, leave, death and server switch messages 2023-07-21 17:07:16 +03:00
Vankka
5da32a3c45
Improve error logging for prefix/suffix, add logging placeholder errors to trace 2023-07-21 17:03:01 +03:00
Vankka
b7aff53b1d
Create DynamicThreadPoolExecutor, allowing a cached thread pool while maintaining a maximum amount of threads in the pool and queuing tasks 2023-07-20 23:57:38 +03:00
Vankka
061ab08e2d
Fix ThreadPoolExecutor queue, DependencyLoader unnecessary executor inside executor 2023-07-20 22:52:42 +03:00
Vankka
4dc56a6aa4
Fix :i18n module and get rid of MockDiscordSRV requirement 2023-07-19 18:36:40 +03:00