Commit Graph
100 Commits
Author SHA1 Message Date
Sheldan b578b0eb6d [AB-xxx] fixing reminders test 2021-04-10 23:57:12 +02:00
Sheldan 7a9aa32332 [AB-xxx] adding reminder display to reminders command to add a link to the existing reminder 2021-04-10 23:39:36 +02:00
Sheldan 8fea80328d [AB-59] adding command received handler test and fixed some scenarios 2021-04-10 22:29:11 +02:00
Sheldan 446a830514 [AB-xxx] adding alternative interface for creating reminders
fixing reminder IDs not being strings for the quartz job
fixing number handling for very large durations
2021-04-10 00:30:58 +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 dd97503238 [AB-172] updating to JDA 4.2.1_254 and removing deprecated code from guava 2021-04-06 21:11:36 +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
Sheldan 61d16d5985 [AB-224] fixing not properly ignoring ignored starboard posts leading to re-creation of them 2021-04-06 03:43:24 +02:00
Sheldan 1d3a85ff01 [AB-221] fixing creation of template for deleted users 2021-04-05 14:24:09 +02:00
Sheldan 09c7daf3e0 [maven-release-plugin] prepare for next development iteration 2021-04-05 01:48:20 +02:00
Sheldan 079436a2b6 [maven-release-plugin] prepare release abstracto-application-1.2.7 2021-04-05 01:48:14 +02:00
Sheldan df1a0cfc02 [AB-xxx] fixing deployment of zip artifacts named the same name being deployed twice 2021-04-05 01:11:45 +02:00
Sheldan ecc81884e6 [AB-221] fixing embeds and starboard posts not working correctly for deleted users 2021-04-04 23:51:25 +02:00
Sheldan ff676b29e6 [AB-219] fixing cached message content not being updated
merging message updated listeners
adding clearing message cache to clear cache listener
2021-04-04 22:28:21 +02:00
Sheldan d088a161ef [AB-xx] adding licenses for google api and youtube services 2021-04-04 18:38:23 +02:00
Sheldan 8258197bfc [AB-xx] replacing trace log with debug 2021-04-04 18:23:18 +02:00
Sheldan 19baf981f1 [AB-217] adding documentation for profanity regex and renaming command for deleting profanity regex from a group 2021-04-04 18:04:23 +02:00
Sheldan 602f0d5bf4 [AB-217] adding profanity service
using profanity service to filter profanities in urban define
adding cache clearing listeners
fixing using 0 as default for maxMessages if not defined
2021-04-04 16:23:13 +02:00
Sheldan d6bb269ffc [AB-218] fixing templating test 2021-03-30 22:25:46 +02:00
Sheldan 6375dbf463 [AB-218] adding ability to split the normal message as well according to custom configuration
adding ability to define the max amount of messages resulting from a template on a server and template base
fixing not always considering the server when rendering templates in various places
2021-03-30 20:29:13 +02:00
Sheldan 33959d696a [maven-release-plugin] prepare for next development iteration 2021-03-29 03:17:40 +02:00
Sheldan 3313daa3fa [maven-release-plugin] prepare release abstracto-application-1.2.6 2021-03-29 03:17:34 +02:00
Sheldan 8c026d3547 [AB-82] adding feature mode to make it configurable whether or not the youtube video will show details or not
adding convenience method to config service
2021-03-29 03:02:46 +02:00
Sheldan 8a8e6b2347 [maven-release-plugin] prepare for next development iteration 2021-03-29 01:38:28 +02:00
Sheldan 14b2d78a3b [maven-release-plugin] prepare release abstracto-application-1.2.5 2021-03-29 01:38:22 +02:00
Sheldan 45c1df0d44 [AB-82] adding urban dictionary api with a command
adding Instant handling to GSON
2021-03-29 01:13:46 +02:00
Sheldan c2b413e4b9 [AB-82] adding youtube video search 2021-03-28 23:29:51 +02:00
Sheldan 9541f907b8 [AB-215] adding create alias and delete alias commands to create service specific aliases for commands
renaming package in commands package
defaulting to latest in docker compose build for deployment container
fixing jacoco configuration
changing that if there are no parameters required, parameters are accepted
2021-03-28 16:46:21 +02:00
Sheldan a494d4d2f2 [AB-213] fixing not properly creating a channel in case the event is sent 2021-03-25 01:14:06 +01:00
Sheldan 9735f52df5 [maven-release-plugin] prepare for next development iteration 2021-03-24 22:14:03 +01:00
Sheldan 4410928136 [maven-release-plugin] prepare release abstracto-application-1.2.4 2021-03-24 22:13:56 +01:00
Sheldan a756cbcf31 [AB-210] fixing bug related to loading users in cached reactions 2021-03-24 22:07:51 +01:00
Sheldan 14d3e37177 [maven-release-plugin] prepare for next development iteration 2021-03-24 20:55:35 +01:00
Sheldan 244000bbe4 [maven-release-plugin] prepare release abstracto-application-1.2.3 2021-03-24 20:55:27 +01:00
Sheldan 134f25955c [AB-210] improving performance of star stats 2021-03-24 20:11:32 +01:00
Sheldan ddb256cf75 [AB-130] making the regex for link embeds more relaxed in order to allow embedding canary and ptb links 2021-03-24 17:40:05 +01:00
Sheldan 08edcbdf8e [AB-210] disabling cache for retrieval of users in reactions 2021-03-24 16:13:13 +01:00
Sheldan fd9a446f9e [maven-release-plugin] prepare for next development iteration 2021-03-24 14:30:14 +01:00
Sheldan d2c17cb1fc [maven-release-plugin] prepare release abstracto-application-1.2.2 2021-03-24 14:30:07 +01:00
Sheldan 9de7a59295 [AB-210] fixing some issues in which futures were not completed, when lists were empty
fixing async issue with caching reactions
adding a few more log statements to caching
2021-03-24 14:17:00 +01:00
Sheldan f9d0e5fa00 [AB-208] fixing order of top starboard posts for individual members 2021-03-24 11:08:56 +01:00
Sheldan ef421961ca [AB-211] fixing lovecalc having optional parameters 2021-03-24 11:03:51 +01:00
Sheldan fe8519489c [maven-release-plugin] prepare for next development iteration 2021-03-23 22:19:14 +01:00
Sheldan 72c73b8b34 [maven-release-plugin] prepare release abstracto-application-1.2.1 2021-03-23 22:19:08 +01:00
Sheldan 2b3b0f42c4 [AB-207] fixing command being disabled, if its part of a channel group, but the given channel is not part of that channel group
fixing null pointer in channel group created listener
fixing connection string in config deploy tool
2021-03-23 22:08:08 +01:00
Sheldan 92b8e1dd8b [maven-release-plugin] prepare for next development iteration 2021-03-22 21:46:09 +01:00
Sheldan b94801192e [maven-release-plugin] prepare release abstracto-application-1.2 2021-03-22 21:46:02 +01:00
Sheldan f5f0cbcb1e [AB-206] fixing missing command channel group type
fixing not setting the server for creating a command in a channel
adding exceptions for incorrect channel group type
2021-03-22 21:35:28 +01:00
Sheldan 47f33758c9 [AB-204] setting wget to silent in docker file to reduce log output 2021-03-22 01:23:49 +01:00
Sheldan 0a79fe2318 [AB-204] fixing registry prefix in release job 2021-03-22 01:19:55 +01:00
Sheldan da97f040f9 [maven-release-plugin] prepare for next development iteration 2021-03-22 00:53:40 +01:00
Sheldan c0e01111fd [maven-release-plugin] prepare release abstracto-application-1.1 2021-03-22 00:53:33 +01:00
Sheldan 0b8e24f5f5 [AB-179] adding command to show documentation 2021-03-22 00:42:40 +01:00
Sheldan 84ddcbe54b [AB-202] duplicating the documentation to a current folder 2021-03-22 00:03:17 +01:00
Sheldan f53f0cb66c [AB-205] making exception message for command not found configurable
making feature config classes more unified in the naming
2021-03-21 22:59:01 +01:00
Sheldan 5eefc3909e [AB-203] using task executors for the async listeners
fixing starboard post listener and service method
2021-03-21 21:00:21 +01:00
Sheldan ebed1daadc [AB-204] adding docker container build to release job 2021-03-21 17:53:44 +01:00
Sheldan b4e36efafb [AB-203] restructuring listeners to use more common code and common interfaces for listeners and models
restructuring entity listener to be async and added models
fixing usage of repository save method
adding interface dependencies to bundle dependency management
2021-03-21 16:26:06 +01:00
Sheldan cfe7786d4d [AB-200] fixing link embeds not working for users who left the server
fixing some issues with optional dependencies (autowired creates null instances etc)
fixing roll and roulette using not the proper default values
fixing setPrefix not creating an instance, in case it originated from a default config
fixing too many configuration properties in utility
2021-03-16 01:18:31 +01:00
Sheldan 94d6497995 [maven-release-plugin] prepare for next development iteration 2021-03-13 02:42:20 +01:00
Sheldan a79479e4e2 [maven-release-plugin] prepare release abstracto-application-1.0 2021-03-13 02:39:31 +01:00
Sheldan a36a884ae9 [AB-199] adding build of sources and javadoc
fixing javadoc as various places
adding release plugin
adding developer connection to scm
updating release pipeline to new action versions
2021-03-13 02:02:27 +01:00
Sheldan 2ed456c164 [AB-197] splitting utility maven module into separate maven modules
aligning some package names
removing some unnecessary computed values from liquibase
2021-03-12 18:48:56 +01:00
Sheldan e2da800d84 [AB-124] adding admin mode 2021-03-10 01:10:27 +01:00
Sheldan e780b0e75c [AB-137] fixing occurrences for templates in cases entities do not exist anymore
fixing feature mode retrieval to adapt to lowercase
fixing disable exp role creation and retrieval
removing ansible code
2021-03-09 21:39:29 +01:00
Sheldan d0c06538e3 [AB-xx] fixing build 2021-03-08 01:32:48 +01:00
Sheldan 66061b7719 [AB-xx] improving scheduling interface
moving renaming module to int
removing duplicated starboard feature validator
sonar fixes
2021-03-08 01:27:50 +01:00
Sheldan 9c6333281b [AB-60] improving java doc for assignable role module 2021-03-03 23:51:26 +01:00
Sheldan 373dfac001 [AB-60] improving java doc for experience module 2021-03-03 16:35:06 +01:00
Sheldan 821971523e [AB-165] removing mocking utils and general test improvements 2021-03-01 01:57:13 +01:00
Sheldan 5f6746d742 [AB-149] adding command to reset configuration to default values
removing listener to create system config instances
adding default value retrieval to appropriate places
making config key handling case insensitive
changing exp multiplier to double value
refactoring experience service bean test
2021-02-27 23:56:38 +01:00
Sheldan 20b6b37151 [AB-74] changing description and field splitting leading to no fractured texts, decision is based on the last space
removing "safeFieldIteration" as its not necessary anymore
splitting up embeds for the embed size limit
2021-02-21 17:36:22 +01:00
Sheldan 9db5889160 [AB-94] adding possibility to reference member/role/channel via name for parameters
showing an embed for parameter handling exceptions
adding discord webhook for build status
2021-02-21 00:16:32 +01:00
Sheldan a20fe82e15 Merge pull request #3 from Sheldan/dependabot/maven/abstracto-application/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /abstracto-application
2021-02-20 13:31:32 +01:00
Sheldan 43eca33113 [AB-77] moving the templating module into the core module
adding a possibility to overlay specific templates for particular servers
adding commands to configure templates
adding file parameter support
2021-02-20 13:29:09 +01:00
Sheldan 909dc87d94 [AB-182] added member parameter to starStats to show the starboard statistics for an individual member 2021-02-15 01:23:46 +01:00
Sheldan 876fbc01d9 [AB-120] adding jump link to modmail notification 2021-02-14 19:56:05 +01:00
Sheldan cb7e904d29 [AB-81] adding notification message to feature setup in case the setup confirmation was denied 2021-02-14 19:26:55 +01:00
Sheldan a536a0c2b3 [AB-191] grouping invite links in invite link deletion notification 2021-02-14 19:09:53 +01:00
Sheldan 94532be54d [AB-112] adding star levels to setup feature wizard
moving star level configuration to only be instantiated when needed
2021-02-14 17:04:37 +01:00
Sheldan 23bdf4e906 [AB-69] adding templating support to help modules 2021-02-14 14:20:01 +01:00
Sheldan 34b9bca7ac [AB-192] removing second level cache
changing assignable role place module name
fixing starboard retrieving the starstats incorrectly
fixing removing user assigned roles when removing a role from assignable role place
fixing not being able to remove external emote for assignable role place
2021-02-13 16:16:50 +01:00
Sheldan 047c574319 [AB-190] migrating default config (featureMode, system config, post targets, feature flags) from tables to property files
not longer immediately instantiating the feature flag instance when a new server is found, but only when its config is changed or when a feature mod has its config changed
2021-02-11 00:19:17 +01:00
Sheldan ea12d67e5f [AB-62] adding server id to more tables for easier joins and fixing structure at more places 2021-02-08 02:06:43 +01:00
Sheldan 1352fac40f [AB-xxx] updating sonar key in readme 2021-02-07 23:12:43 +01:00
Sheldan 038d5c3832 [AB-103] adding triggers to update created and updating attributes on tables
fixing error handling in installer
merging change sets to larger operations
adding check constraints
fixing suggestion id handling
applying naming conventions to various columns
adding indices to tables
adding user in server and user locking
2021-02-07 22:58:06 +01:00
Sheldan dac3b0887f [AB-xxx] updating sonar key 2021-02-06 19:07:00 +01:00
Sheldan 7aa5cbe304 [AB-177] adding ability to restrict the allowed mentions and configure them via commands on a server basis, default is defined via property file 2021-02-06 18:58:16 +01:00
Sheldan b838678c15 [AB-184] adding various metrics to the system, organizing imports, changing some transactional behaviour
adding okhttp metrics, split bot service into multiple services (guild, message), unified some places that services are used in order to interact with the api, and not directly the objects (this is to make it easier for metric to be accurate)
2021-02-03 03:16:51 +01:00
Sheldan 2a2a3aea70 [AB-68] adding invite filter with commands to allow/disallow invites, remove stored filtered invite links and show filtered invite links
removing database entities from command context
2021-01-24 22:34:01 +01:00
Sheldan fb3ed69650 [AB-154] split up private and guild message received handler, split handlers into async and sync handlers
adapting the tests and improving tests to reduce usage of MockUtils
adding some util methods to message bean
extending cache for cached messages
enabling to build cached messages from messages in DM channels (they are not part of the message cache)
splitting multiple listeners to different beans, for better overview (emote updated)
adding convenience service for reactions specifically
split cached reaction and cached reactions, singular only contains one user, while the later contains all users
fixing liquibase configuration for assigned role user
fixing assignable role not having a transaction
moved caching update a bit earlier in various methods
fixing bug that a manual unmute caused duplicate unmute notification
fixing short scheduled unmute not checking the new mute state
limiting parameters for roll
2021-01-23 11:40:41 +01:00
Sheldan 69aa82e26e [AB-63] adding fun and entertainment related commands commands: roll, roulette, lovecalc, choose, 8ball 2020-12-14 22:33:10 +01:00
Sheldan 325264a325 [AB-150] creating repost detection feature including configuration and documentation
adding http and hash service
adding ability to add default emotes to a message to message service
adding message embedded listener to wrap the embedded event
adding custom channel groups which can be defined by modules, in case a change on a channel group (only created and updated) happens a listener is available in order to sync the state in dependant areas
changing command receiver re-throwing abstracto runtime exceptions in order to display them better
changing channel group parameter handler to throw an exception in case the channel group was not found
adding User in a server parameter handler
split channel not found exception to be able to differentiate between not found in database and not found in guild
changing exception handling in command received handler to handle the case for only one parameter handler future which failed (the whole single future failed, which was not reported)
changing parameter type of `removeFromChannelGroup` to AChannel in order to be able to delete channels in the database via ID
moving method to mock utils for mocking consumer
removing parameter validation from commands, as it should be done in the command received handler and parameter handlers anyway
2020-12-13 01:50:09 +01:00
Sheldan e966c710ce [AB-60] added java doc for statistic module, added feature mode limitations to emote listener, replaced redundant Embeddable with ServerSpecificId 2020-11-23 21:58:24 +01:00
Sheldan b05a834b59 [AB-161] fixed composite foreign keys for multiple tables 2020-11-22 18:45:00 +01:00
Sheldan 1d9f2595db [AB-166] added locking for runtime storage 2020-11-22 14:43:42 +01:00
Sheldan 448d555dba [AB-166] refactored conditions to not use exceptions for their regular case, split up feature mode exception into condition and exception, if the conditions need to be checked somewhere else, a separate exception is required, fixed command not being disabled properly in channels 2020-11-21 22:28:24 +01:00