Commit Graph

231 Commits

Author SHA1 Message Date
Sheldan
ac605e4791 [AB-303] adding scheduled configurable activity updates 2021-07-13 00:35:15 +02:00
Sheldan
c7514a6bad [AB-64] adding voice context channel feature 2021-07-12 00:56:15 +02:00
Sheldan
7e7591a4b3 [AB-302] refactoring assignable roles to use buttons instead of reactions
moved button related services to component service instead of message service
adding component type to component payload
renamed async role service methods
ignoring bot reactions in starboard
fixing rank not showing correct experience to next level for other members
2021-07-11 19:05:53 +02:00
Sheldan
18929c9a01 [AB-298] fixing various issues related to modmail:
fixing editing a message without messages but only embeds not possible in channel service
refactoring closing parameters to use an object instead of parameters always
adding a progress indicator to closing a modmail thread
adding a notification to contact in order to show where the thread was created
fixing configuration for category (this caused the setup to fail, because there was no default value) and threadMessage feature modes not being correct
refactored model for closing header and added additional information
refactored modmail message logging to use the message history instead of individually loading the messages
adding nicer exception in case the mod mail message update failed
adding creation of AUserInAServer in case the user did not interact on the server yet
changed ID of modmail thread to be identical to the channel it was created in, this is so we can load the channel easier
2021-07-04 12:14:04 +02:00
Sheldan
61eefd53c3 [AB-296] adding support for buttons
adding buttons for message embed via feature mode
2021-07-03 10:40:27 +02:00
Sheldan
bbc5918d88 [AB-xxx] upgrading to newer JDA version 2021-06-27 22:47:10 +02:00
Sheldan
5a35137132 [AB-271] limiting certain arguments for commands to require the same server 2021-06-27 17:07:01 +02:00
Sheldan
e655adf95e [AB-295] adding hard limitations for field values, names, embed description and additional message lengths 2021-06-27 16:05:40 +02:00
Sheldan
7e2477a321 [AB-xxx] adding support for automatic setup steps
reducing eventwaiter threads
adding abstracto templated exception
adding json validation service
increasing threads for scheduling
adding convenience method to retrieve users
2021-06-27 00:20:15 +02:00
Sheldan
82281cbd6c [AB-285] fixing interval of warn decay job
removing has example config from unban
enabling to change the configuration for cron scheduler job
adding HTTP method to okhttp logger
fixing unmute job parameters
changing to use cache when retrieving reactions for a message to cache it
2021-06-02 12:27:10 +02:00
Sheldan
2f8e7c3947 [AB-282] adding okhttp interceptor to log requests 2021-06-01 21:44:03 +02:00
Sheldan
3bf761a2e5 [AB-281] adding ban and unban command
removing banId command in favor of the normal ban command
removing various feature modes for moderation for clearer configuration
2021-06-01 21:10:17 +02:00
Sheldan
55e0879e06 [AB-277] adding report mechanism via reactions 2021-05-30 21:00:49 +02:00
Sheldan
148c25da4c [AB-275] fixing channel groups not being able to be found, because of upper/lowercase
adding performance improvements for experience listener
adding logging to when a user gains a level
fixing creating a user experience instance in the join listener, which was not persisted
2021-05-29 01:09:14 +02:00
Sheldan
f3bb9b9a69 [AB-276] enabling to cache more members in JDA to reduce requests 2021-05-29 00:56:02 +02:00
Sheldan
95a639a733 [AB-272] improving leaderboard performance
fixing leaderboard returning wrong pages
making template cache update duration longer
2021-05-26 21:41:04 +02:00
Sheldan
184271ff7c [AB-247/AB-252] fixing issue with set experience role failing to consider the correct experience roles
adding levelRoles command
ignoring bots from experience gain
adding a bit more logging to user experience handling
2021-05-26 01:22:37 +02:00
Sheldan
2dd02cdae8 [AB-266] fixing online status and activity not showing up in userinfo 2021-05-24 18:32:41 +02:00
Sheldan
d39ee4359f [AB-231] fixing parameter letting less than required commands to the commands, in case the parameters were not able to be parsed (expected emote got string), the check for parameter count as only done before actually parsing the parameters 2021-05-24 18:16:39 +02:00
Sheldan
dc2479889a [AB-xxx] making regex checks ignore case 2021-05-23 23:17:29 +02:00
Sheldan
13a6e1fdca [AB-263] adding stricter not null checks to database, disabling updates/inserts for created and updated columns to only rely on triggers 2021-05-23 14:17:03 +02:00
Sheldan
04a7cfafd7 [AB-84] adding profanity filter with different feature modes
react command: adding additional mapping for character r
2021-05-16 23:44:50 +02:00
Sheldan
976d4473cb [AB-xxx] adding 400 HTTP status to OkHttp metrics
adding convenience creation method to server user
2021-05-12 00:07:44 +02:00
Sheldan
9ebf0f08dd [AB-257] fixing link embed message being deleted while it still contains an attachment
adding more convenience methods to post target services
2021-05-11 12:58:39 +02:00
Sheldan
e31d257e6f [AB-240] changing invite filter to actively filter the server instead of only being based on the code
moving invite filter to separate module
updating to newer liquibase version
changing concept of immune roles which are directly associated to commands to immune roles which are immune against certain effects. these effects can be configured directly by the command (and a condition checks this effect), but they can be used in services as well, unrelated to commands
adding checks to not execute message received listeners for the wrong message types
adding metric support for 502 status
fixing duplicating help entries when two module definitions with the same key are present
2021-05-10 20:45:34 +02:00
Sheldan
9ae35a7e9d [AB-253] removing help example from reset config command 2021-05-04 13:21:27 +02:00
Sheldan
da3ce01fc7 [AB-248] rejecting the everyone role as a valid parameter for a role parameter 2021-05-02 21:54:54 +02:00
Sheldan
a35cc0ab61 [AB-246] fixing new lines being removed from parameters
creating javadoc profile to only build javadoc on release builds
2021-05-02 20:33:23 +02:00
Sheldan
bbae3575f8 [AB-246] skipping parameters after the mandatory have been parsed 2021-05-02 19:50:00 +02:00
Sheldan
2a5c462c35 [AB-246] changing parameter handling to only actually evaluate the necessary parameter handlers, this helps avoiding providing the wrong parameter to the actual command 2021-05-02 17:40:52 +02:00
Sheldan
fa864f85dd [AB-243] when loading messages we ignore embed links part of a channel/guild which are not available anymore 2021-05-01 12:31:27 +02:00
Sheldan
5a6fac640e [AB-xxx] increasing caching duration for messages 2021-04-29 01:05:27 +02:00
Sheldan
020cc58c4a [AB-242] refactoring suggestions
adding veto and unsuggest command
adding support for configuration whether or not a reply mentions the message
adding support to reply to a message via template
changed default mention config to exclude role mentions
2021-04-29 01:00:27 +02:00
Sheldan
dec398c3f1 [AB-241] fixing test 2021-04-25 21:32:26 +02:00
Sheldan
f097342fed [AB-241] fixing low cooldowns leading to NPE in command cooldown condition
adding more info to command not found exception
2021-04-25 21:27:29 +02:00
Sheldan
460a4663d7 [AB-xxx] fixing string command parameters in combination with attachments, the attachment was still part of the parameters and used normally, if the parameter type is string, attachments are being skipped 2021-04-24 21:50:41 +02:00
Sheldan
eb79522843 [AB-xxx] minor logging updates 2021-04-24 19:54:30 +02:00
Sheldan
40eb516ddf [AB-237] adding job to clean up the cooldown storage 2021-04-24 19:07:02 +02:00
Sheldan
53bef3fdb3 [AB-233] adding feature to handle removed attachments in message edited events
now cloning the cached message for the listeners, in order to not influence the objects when updating it
2021-04-24 18:03:06 +02:00
Sheldan
27763e985d [AB-232] moving logging to separate module
refactoring leave and join listener
2021-04-24 16:00:58 +02:00
Sheldan
fa4c455ca2 [AB-234] allow templates have individual (additional) allowed mention configurations
adding primary keys to command disabled and command cooldown group
exposing service method to retrieve the channel for a post target
2021-04-24 02:05:15 +02:00
Sheldan
49a9598062 [AB-128] adding command cooldowns on server/channel group and member level
fixing channel group names being made lower case before storing
changing channel group deleted to be sync instead
refactoring exceptions and adding exception message to a few
fixing channel group incorrect type using the wrong template
showing more information in list channel groups command
allowing commands to be in any channel group
adding concept of channel group types not allowing channels/commands to be in multiple of the same type
adding structure to retrieve information about channel groups
adding ability to disable channel groups
changing loading of member parameter handler to not use cache
2021-04-19 00:25:42 +02:00
Sheldan
537fd85be8 [AB-97] adding react command
we are now actively loading messages in case its a parameter, because the provided message is only partially available
2021-04-13 23:47:22 +02:00
Sheldan
23379e4498 [AB-228] fixing member sometimes unavailable in reaction events 2021-04-11 14:31:11 +02:00
Sheldan
8fea80328d [AB-59] adding command received handler test and fixed some scenarios 2021-04-10 22:29:11 +02:00
Sheldan
15d2eb8bd9 [AB-229] exposing gateway ping for metrics 2021-04-08 00:37:49 +02:00
Sheldan
e2c86b98b6 [AB-222] adding uptime command
changed necessary intents
2021-04-08 00:07:31 +02:00
Sheldan
400181a280 [AB-225] adding parameter handler for messages
reworking parameter handling in command received handler
adding string parameter handler to explicitly parse strings
2021-04-07 23:16:25 +02:00
Sheldan
c56a037d28 [AB-226] adding caching of referenced messages (only one element on the chain) 2021-04-06 23:38:45 +02:00
Sheldan
e7b1fbe9d1 [AB-209] adding cleanup job for old embedded messages, this job deletes the entries from the database and removes reactions
reducing thread count for listener executor and scheduling
fixing channel deletion listener not being part of a transaction
2021-04-06 20:23:26 +02:00