972 Commits

Author SHA1 Message Date
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
dependabot[bot]
0e851021e7 Bump junit from 4.13 to 4.13.1 in /abstracto-application
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-20 12:30:58 +00: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
Sheldan
04f1db2408 [AB-80] added tracking of emotes used by server members and configuration
updated sonar scanner version
changed some commands to be silent instead of adding a check reaction
2020-11-19 00:21:05 +01:00
Sheldan
c60cdb9d98 [AB-152] adding optional parameter to deploy config script in order to deploy template config 2020-11-02 15:42:43 +01:00
Sheldan
a5b2e40c6b [AB-155] removing ansible dependency from installer, restructuring deployment container to be packaged with the respective versions, removing build for docker container from maven, for now
fixing liquibase setup for feature mode
2020-11-02 13:03:18 +01:00
Sheldan
389b38f4f0 [AB-151] adding ability to define a priority in order to define which listener is executed before another 2020-10-20 21:58:04 +02:00
Sheldan
dca98c2953 [AB-96] adding ability to edit/delete modmail messages via editing/deleting the original message causing the message,
adding featuremode to modmail to define whether or not there is a separate message posted to the mod mail thread, to see it easier, renaming modmail related tables to singular, adding some necessary methods (caching) to all entities
2020-10-20 00:03:13 +02:00
Sheldan
1b98436736 [AB-73] adding different feature modes to define whether or not certain actions should be logged, changing name of setup, disable and enable command to show that they are supposed to be for features 2020-10-17 16:35:20 +02:00
Sheldan
44dfdca6e6 Merge pull request #2 from Sheldan/dependabot/maven/abstracto-application/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /abstracto-application
2020-10-16 21:10:46 +02:00
dependabot[bot]
a342fac783 Bump junit from 4.13 to 4.13.1 in /abstracto-application
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-16 18:57:30 +00:00
Sheldan
0aa7d3f036 [AB-78] adding new concept of feature modes, with splitting it up to new commands and default mode concept
refactoring command received handler to only load the entities in the same thread as the actual executed commands, so that user initiated context contains valid references from the same thread
updating documentation
fixing issue when the result of role calculation result in no experience role id
2020-10-16 20:42:29 +02:00
Sheldan
bc9afc9bfc [AB-135] adding a template to describe the parameter validators for help texts, fixing assignable roles not available as module 2020-10-12 11:52:28 +02:00
Sheldan
36d11371cb [AB-139] changing the places at which there might be an uncached member object
fixing integer validator
fixing syncing roles not working if the role did not change in the database
fixing warn id being flipped
fixing star stats model
2020-10-12 01:12:11 +02:00
Sheldan
1d3c414d6b [AB-144] fixing command key parameter handler and assignable post refreshing 2020-10-07 20:42:19 +02:00
Sheldan
b8d19ab1e1 [AB-143] fixing incorrect parameter exception message, replacing incorrect parameter exception 2020-10-07 16:06:20 +02:00
Sheldan
0145e7670d [AB-138] improving logging at various places fixing various issues regarding async commands and exception handling, fixing role role calculation being done twice 2020-10-07 12:57:25 +02:00
Sheldan
a391381ff6 [AB-136] replacing some rare occurrences where fake objects where used for actual database operations
replacing a few sync commands with async commands
refactoring parameters in assignable role place service bean
fixing emote parameter handler to also consider default emojis
removing unused description in command
replacing some ARole parameters with Role parameters, so we can be sure they exists
added a few TODOs marking exception changes required
2020-10-03 15:32:23 +02:00
Sheldan
0f6f6a1e49 [AB-54] adding various command parameter handlers
removing old parameter length validation
2020-10-03 10:50:03 +02:00
Sheldan
f0d517af22 [SONAR] fixing major sonar issues 2020-09-30 01:31:21 +02:00