Commit Graph

177 Commits

Author SHA1 Message Date
Vankka
5ccf8f7cb7
Rename Shutdown Behaviour to Channel Locking 2022-04-26 15:37:41 +03:00
Vankka
97a2b5edbe
Move ThreadChannelLookup to :common from :api 2022-04-26 15:36:10 +03:00
Vankka
5b8a139836
Rename slf4j-hack module to unrelocate 2022-04-26 14:56:32 +03:00
Vankka
d78450e291
Downgrade okhttp due to kotlin usage 2022-04-25 15:47:24 +03:00
Vankka
4a492a7392
Implement ApplicationDependencyManager 2022-04-25 15:35:50 +03:00
Vankka
e82f03cd21
Resolve a few deprecations 2022-04-22 21:21:48 +03:00
Vankka
13d7c09374
Remove repositories {} block from common/build.gradle 2022-04-22 21:11:56 +03:00
Vankka
60f04f1511
Version catalog, updated some versions 2022-04-22 20:56:11 +03:00
Vankka
0411384533
Fix channels using the member cache in MinecraftToDiscordChatModule 2022-04-20 10:17:11 +03:00
Vankka
a8944309c8
Some minor config comment improvements 2022-04-14 10:55:01 +03:00
Vankka
2a11718ae8
Move first join configuration lower down 2022-04-14 10:48:21 +03:00
Vankka
128647bd4f
IChannelConfig#CHANNEL_IDS_OPTION_NAME -> "channel-ids" 2022-04-14 10:46:44 +03:00
Vankka
1298a5039b
Remove printStackTrace 2022-04-14 10:12:33 +03:00
Vankka
6944cf2579
Unregister modules from the event bus on disable 2022-04-13 14:07:57 +03:00
Vankka
8a673875a6
Translations 2022-04-13 14:07:43 +03:00
Vankka
c3c5104dfa
Extra error catch 2022-04-13 14:07:25 +03:00
Vankka
a84eef853c
Fix broadcast tab complete, add placeholder support to Discord formatted broadcast 2022-04-12 13:19:26 +03:00
Vankka
eba37d9b6f
Tweak some stuff relating to FormattedText, make invite not get escaped, ever 2022-04-12 13:18:56 +03:00
Vankka
ad7bca010f
Tweak the main command a bit more 2022-04-12 12:48:41 +03:00
Vankka
cb1538d376
Tweak main command initialization a bit 2022-04-12 12:39:58 +03:00
Vankka
8c81873f92
Broadcast tab completing 2022-04-12 12:39:40 +03:00
Vankka
8929dd48e6
Broadcast tab completing 2022-04-12 12:39:31 +03:00
Vankka
2dcde1a135
Broadcast tab completing 2022-04-12 12:39:26 +03:00
Vankka
4e2177080b
Fix MinecraftComponentImpl#empty 2022-04-12 11:52:56 +03:00
Vankka
0f13f155cb
Fix SQLStorage not using the table prefix 2022-04-12 11:50:49 +03:00
Vankka
02121a61f9
Case-insensitive check for game channel owner name comparison, added some comments 2022-04-12 11:30:46 +03:00
Vankka
da8ba3d3a6
Less strict channel lookup 2022-04-12 11:20:42 +03:00
Vankka
0eb255fd33
Improvements to broadcast command 2022-04-12 11:20:28 +03:00
Vankka
a8eb9d69a8
Add broadcast commands 2022-04-10 18:21:26 +03:00
Vankka
02a0d098d0
Update MCDiscordReserializer, change some stuff regarding escaping 2022-04-10 18:20:46 +03:00
Vankka
9e6e2cb22c
Use simple name in ModuleManager#enable error 2022-04-10 16:56:48 +03:00
Vankka
a530753cac
Better permission error in ChannelShutdownBehaviourModule 2022-04-10 16:54:39 +03:00
Vankka
58929ce957
Resync command 2022-04-10 16:52:30 +03:00
Vankka
daf4b313a6
First join messages 2022-04-10 15:42:09 +03:00
Vankka
a1baec7397
Log ChannelUpdater error logging method 2022-04-04 20:50:05 +03:00
Vankka
b699a75821
Prefixes & suffixes, fix to Placeholders utility class, added more tests 2022-04-02 18:40:41 +03:00
Vankka
bbc722e689
Add channel auto locking, implement thread archiving. More fixes to shutdown not working properly/ errors when the server is stopped before DiscordSRV starts 2022-04-02 16:24:34 +03:00
Vankka
51fd9ef6d8
Some fixes, improvements & annotations for group sync 2022-04-01 19:51:45 +03:00
Vankka
14d7b0eed7
Change default stop message to use a stop button instead 2022-04-01 19:13:09 +03:00
Vankka
2b878f1265
Start & stop messages, some bug fixes & cleanup 2022-04-01 19:07:14 +03:00
Vankka
60c7dbfbc0
Update JDA 2022-04-01 18:30:42 +03:00
Vankka
627ec3045c
Remove unnecessary code in EventBus 2022-03-28 17:34:16 +03:00
Vankka
29e01878b2
Improved error logging in event bus 2022-03-28 17:25:23 +03:00
Vankka
ff63376550
remove printStackTrace used for debugging 2022-03-28 17:22:01 +03:00
Vankka
c6cbf2dfc3
Couple fixes, remove runtime dependency on error prone annotations 2022-03-28 17:20:37 +03:00
Vankka
1f6cefebac
Change integration registering to a safer method 2022-03-28 17:13:11 +03:00
Vankka
9124c18d7a
Move DiscordSRVApiProvider methods to DiscordSRVApi 2022-03-28 17:06:25 +03:00
Vankka
2d379dcb7c
Updates to debug report, debug command 2022-03-28 16:57:24 +03:00
Vankka
bea4680739
Make sure log lines are written to the file in order 2022-03-28 16:57:02 +03:00
Vankka
68fa07eb15
Pastes, manifest reading 2022-03-28 16:56:25 +03:00
Vankka
b63be457fd
Null-check executors in JDAConnectionManager#shutdownExecutors 2022-03-28 12:43:55 +03:00
Vankka
99a87382bd
In-game commands 2022-03-20 13:46:06 +02:00
Vankka
41b469f89f
Add some comments to JDAConnectionManager, re-make executor services when reconnecting, change some JDABuilder settings 2022-03-09 01:40:17 +02:00
Vankka
205cd13dd8
Table prefixes 2022-03-07 10:35:00 +02:00
Vankka
373e866346
Fix some bugs related to threads 2022-03-06 21:18:20 +02:00
Vankka
2cc92d6179
Fix editing & deleting not working with mirroring 2022-03-06 20:54:25 +02:00
Vankka
f8c5578cb3
Set shutdown status 2022-03-04 14:00:46 +02:00
Vankka
54db798e9a
Change around profile methods on players 2022-03-04 13:29:21 +02:00
Vankka
f3021d1472
Merge main 2022-03-01 17:40:17 +02:00
Vankka
2947717869
Add some generics to the component api, other minor component improvements 2022-03-01 12:28:31 +02:00
Vankka
ed674cce8a
More profile stuff 2022-02-24 17:09:53 +02:00
Vankka
ee1db84ae0
More Storage 2022-02-20 00:57:42 +02:00
Vankka
a40ac91096
Fix DependencyLoggerAdapter behaviour 2022-02-19 23:53:57 +02:00
Vankka
21045f7bb2
Merge branch 'main' into profiles 2022-02-19 22:47:47 +02:00
Vankka
af58286fed
Update DependencyDownload dependencies 2022-02-19 22:47:39 +02:00
Vankka
bc60b842c3
Storage 2022-02-19 22:44:29 +02:00
Vankka
3ff0c80e9a
Introduce a lock to debug log writing 2022-02-01 12:47:24 +02:00
Vankka
0a128e37e9
Add support for webhooks in threads, add username format option for mirroring 2022-02-01 12:39:59 +02:00
Vankka
ba1a8c196f
Beginning of profiles & linked accounts 2022-02-01 11:33:50 +02:00
Vankka
88ef85c65e
Move mock path determining to the dataDirectory method 2022-01-29 15:33:00 +02:00
Vankka
ebe072858e
Log into a temporary folder during tests 2022-01-29 13:40:58 +02:00
Vankka
61ac1ec1ec
Give CommandSenders full support for Audience, add connected/disconnected events 2022-01-29 13:34:39 +02:00
Vankka
d1d05e7081
Debug reports 2022-01-25 19:14:16 +02:00
Vankka
6f638ffb33
Add OnlineMode & PluginManager 2022-01-25 18:25:21 +02:00
Vankka
9cfaae7464
Make the EventBus faster by avoiding Map#entrySet 2022-01-25 16:24:17 +02:00
Vankka
9662d9515f
Fix writing to the wrong log file 2022-01-24 19:00:50 +02:00
Vankka
67e25a765a
Write DiscordSRV log messages to a file for debugging 2022-01-24 18:55:36 +02:00
Vankka
9f7a453132
Change event bus register message to not include "API" 2022-01-23 16:35:01 +02:00
Vankka
1097a8f2f8
Convert things to CompletableFutureUtil 2022-01-23 16:23:24 +02:00
Vankka
634c123937
Group synchronization 2022-01-23 16:11:35 +02:00
Vankka
f5acc00f8a
Make Module#enable call Module#reload by default 2022-01-20 20:19:51 +02:00
Vankka
0bbcc58d32
Make reloading channel updaters faster 2022-01-20 00:53:02 +02:00
Vankka
a89ab7441e
Fix more generics, change the way modules are registered 2022-01-20 00:04:07 +02:00
Vankka
0f5d36b407
Split out the PermissionDataProvider into smaller parts, fix some generic use in ModuleManager, make module priorities more flexible 2022-01-19 21:40:44 +02:00
Vankka
8fdd5e73e3
Vault & LuckPerms permission integrations 2022-01-18 22:15:43 +02:00
Vankka
1068150f77
Add logging 'proxy', centralize insufficient permission handling, improved toString, equals and hashCode implementations of 1st party Discord api entities 2022-01-15 14:45:50 +02:00
Vankka
d3faafcece
Fix parameters in slf4j implementation 2022-01-15 14:03:08 +02:00
Vankka
595146cc5b
Add a time frame that the channel updater will wait before giving up if not connected, 2022-01-13 20:35:54 +02:00
Vankka
ad6b7ee583
Add some missing nullability annotations 2022-01-13 19:34:53 +02:00
Vankka
318245c315
Update copyright year 2022-01-13 19:05:36 +02:00
Vankka
6c2c0c5134
Package reorganizing, and other minor changes 2022-01-13 19:03:23 +02:00
Vankka
694a6191cd
Add channel updating for name & topic 2022-01-13 19:02:41 +02:00
Vankka
7457fd90d0
Various improvements to 1st party Discord API 2022-01-13 19:02:25 +02:00
Vankka
0c9732fe11
Add message mirroring 2022-01-13 19:00:24 +02:00
Vankka
047580d9cf
Update h2, remove lombok and include the rest of the subprojects in i18n again 2022-01-13 18:57:26 +02:00
Vankka
0c7783675d
Rename scheduler methods to better match what they return, add a method to return an Executor that logs exceptions 2022-01-13 18:56:48 +02:00
Vankka
9fe73aa571
Add threads 2022-01-13 18:53:43 +02:00
Vankka
0e73f80d40
Join, leave, server switch messages. Fixed dependency logging, added config option ordering annotation, fixed some issues with translation/configuration 2021-12-24 01:21:14 +02:00
Vankka
9ffce74061
Change common listeners to a module system, update to JDA5, fix typos, simplify 1st party api, improved the way mentions are translated between Minecraft and Discord 2021-12-20 01:03:38 +02:00
Vankka
6d620dfc38
Add black/whitelisting to ignored roles/users 2021-10-28 22:16:46 +03:00