Commit Graph

  • e13762fa02 renamed template method to not rely on overloading added test for scheduler service bean Sheldan 2020-04-08 13:26:37 +02:00
  • da28831ff9 restructured packages - aligned the whole project to use a similar package layout for classes with similar purpose removed context aware template support Sheldan 2020-04-07 23:27:48 +02:00
  • 523aaaae2a added ability to delete embedded posts (only the author and the person embedding can delete them) (this requires the embeds to be stored, they are deleted if the embed is deleted) added filter to only handle reactions not done by the bot introduced completable future to the delete message wrapper fixed multi embed handling always resulting in two embeds added logging of template exceptions refactored link embed handling to be in a service instead of the listener Sheldan 2020-04-07 22:32:56 +02:00
  • 02a7c3633b added automatic page splitting for embeds Sheldan 2020-04-07 16:42:38 +02:00
  • 20cb43d071 added command to manage channel groups added ability to disable command in channel groups refactored embed handling to support multiple embeds to be send at once (handling to decide to split into multiple embeds is still needed) Sheldan 2020-04-06 00:51:07 +02:00
  • 4b3765ee0f restructured core module Sheldan 2020-04-04 18:19:24 +02:00
  • 9b46f8d187 moved commands into the core, because its a core functionality Sheldan 2020-04-04 18:08:55 +02:00
  • a957c66905 added ability to define aliases in the code Sheldan 2020-04-04 17:29:49 +02:00
  • 20b282584a added command to add/remove channels from channel groups added storing the commands with their modules in the db renamed command impl module Sheldan 2020-04-04 17:09:28 +02:00
  • bf94af66d5 reworked exception handling, different exceptions whether or why it failed, all of which are unchecked added feature flags for commands/listeners added enable/disable command added feature flag handling to command received handler added boolean parameter support fixed 1 parameter commands fixed posttargets not working on multiple servers, removed unique constraint on posttarget names added setup validation to suggestions added quartz property loader moved join/leave logger to moderation reworked the way the message listener are handled (separate listener around) Sheldan 2020-04-04 12:55:01 +02:00
  • c9557fccc2 added configurable warning and success reactions changed that channels dont actually get deleted, but rather with a deleted flag, so the foreign keys are valid added more optionals to server/channel/message/member retrieval added throwing exceptions instead of just returning null fixed filtering of deleted channels while the bot was offline fixed channel listener added message deleted listener structure moved quartz properties to general application properties, because they were not found in the separate one added try catch to reminderJob, so that the job is not in an invalid state we now completely remove the starboard post, in case it falls under the threshold added code to 'ignore' a staroard post form further stars, in case the post in the starboard gets deleted now actually setting the reminded flag on a reminder added handnling in case the channel to remind in does not exist anymore Sheldan 2020-04-01 23:46:28 +02:00
  • 089862bf15 added starboard functionality (starboard/starstats) added module to store/retrieve configuration (double and string values) replaced a few null values with optionals (emote loading) fixed creating channels on startup added delete message/get emote utility to bot service extended emote service to have utility methods to use emotes added reactions to message cache added empty message handling to post target service, in case the template evaluates to empty added ability to edit a message in a post target (standard message and embed) added principle of config listeners, so default config can be created, for example starboard thresholds added abstract reaction listeners for adding/removing/clearing fixed foreign keys between channel and server added emote utils to handle AEmote and Emotes renamed emotes to be camelCase, so they are easier to type Sheldan 2020-04-01 14:16:04 +02:00
  • 03e81a025b added scheduling support added remind command added support for parameters with spaces (they are contained by ") fixed support for remainder parameters added maxlength support for parameters added ability to embed templates, to have a text as well moved properties to a more appropriate position added method do parse a duration Sheldan 2020-03-28 20:12:59 +01:00
  • e0474a4c98 added simple embed support for embed links, fixed missing messageId in embed model Sheldan 2020-03-24 20:55:48 +01:00
  • 7d63f6b8af added some utility methods to bot service reworked message cache to not be jda messages, but own objects: cachedMessages, jda messages should not be kept around added listener to listen for message links, to represent them in an embed (or embeds) added offsetDateTime handling for gson introduced a way on how to handle async transaction handling for suggestions and message loading (self reference with another method with transactional) added timestamp support to embeds Sheldan 2020-03-24 20:36:36 +01:00
  • 8cd9068cfc added error message logging to reaction post execution added validation to post target command added templates for post target command moved ping and echo model to interface added show emote command Sheldan 2020-03-22 12:34:52 +01:00
  • d95382b589 added mechanism to dynamically load properties defining postTargets and valid emoteNames changed the output of the exception message refactored emote management service added service to define whether or not an emote is usable by the bot Sheldan 2020-03-22 10:26:58 +01:00
  • 9e9eb615c0 added dynamic post target loading fixed some templates of commands added fat jar maven config Sheldan 2020-03-21 18:39:46 +01:00
  • f416ac5d6b added command to set emotes to emote keys added emote support to command parameters Sheldan 2020-03-21 15:51:25 +01:00
  • df0c156743 added utility module added ability to create/accept/reject suggestions them made commands async, because a lot of operations behave like that in case the database is needed in an async operation, this needs to be in a separate transactional service fixed ordering of Long parameters (server > channel > message) added initial emote handling (no adding of emotes yet) fixed creation of AUserInAServer, in case the user did not exist yet, when loading changed PostTargetService to return Futures instead of being a void, in order to be able to act on the message posted set logging level to debug fixed help for different commands (templates had wrong naming) Sheldan 2020-03-21 14:31:59 +01:00
  • d3a9a7a9f0 added embed support fo message deleted and message edited added attachment support for message deleted added imageUrl support to embed templating Sheldan 2020-03-20 21:20:14 +01:00
  • ff29edbdac added logging of message deleted Sheldan 2020-03-20 19:57:19 +01:00
  • 35f976aaa4 added message caching added message edited log (simple) Sheldan 2020-03-20 18:48:20 +01:00
  • 9b7f0743fc upgraded spring boot starter version added gson dependency added logging the exception in the exception post executor added configuration exception in case the configuration for posttargets is not correct added support to send embeds to posttargets changed interface to be a warnlog instead of a server context for warning users, because the template changed freemarker Incompatible Improvements to support default methods in interfaces added ability to define embed configurations to be used, in order for a template to only be configurable as a template changed template content size to 4000 characters Sheldan 2020-03-20 16:06:19 +01:00
  • c978c1c677 changed context handling for command models for logging added method to convert the user initiated context to a concrete command model added method to find if a template exists added method to render a context aware model added banid command Sheldan 2020-03-20 09:34:37 +01:00
  • ec21305725 added conventions for templated commands, to reduce the amount of necessary configuration added an exception, in case the command was missing the correct types of parameters (channel is required, no channel was found) added fix text to exception handler, in case the message of an exception is null fixed off-by-one error when searching the missing parameter changed supported chanel from guildChannel to textChannel for posttarget added slowmode command Sheldan 2020-03-18 21:06:27 +01:00
  • 9119d57108 added kick command, made ban reason optional Sheldan 2020-03-18 19:25:49 +01:00
  • bd848d31d3 added warn and ban command changed command context to be a member instead of user, commands are only supported within guilds added custom exception templating for the error message added error message in case the parameters for a command were too little added support for templates on command help descriptions added post execution to be executed to print exception messages refactored command handling to be able to support exceptions added user and userInServer management Sheldan 2020-03-18 18:21:06 +01:00
  • 167bbb0f8b added template support to echo replaced HashMaps for templates with concrete models, so the interface is easier known added rendering method for objects directly added default parameters available for commands split up service beans for server/channel into management and service bean added server reference in AChannel refactored join/leave listener Sheldan 2020-03-17 19:41:25 +01:00
  • 0521a1ab44 added templating support changed ping command to use templates added userjoin/userleave event added guild to command context refactored post target service added logging output to initial loading added server_id to postTarget added leave log postTarget Sheldan 2020-03-16 01:28:17 +01:00
  • 5c6b7b9a78 added module responsible for accumulating the dependencies and resulting in a jar added channels module added help info object to command configuration added description field to parameter added modules for commands (and packed modules), they are mapped by name added post command execution interface added support for optional parameters added support for using guildchannel as parameter added printing of modules to help command added service beans to wrap over the operations on the repository added synchronizing of channels/roles on startup (controlled by flag) added builder annotations to model classes added more model classes Sheldan 2019-12-12 16:47:54 +01:00
  • 42cfe33b3a added initial version containing ping/echo command and first draft of the command handling structure Sheldan 2019-12-09 23:50:24 +01:00
  • 78a4d814ad Initial commit Sheldan 2019-12-08 13:36:09 +01:00