Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v.2.5 #399

Merged
merged 31 commits into from
Feb 27, 2022
Merged

Release v.2.5 #399

merged 31 commits into from
Feb 27, 2022

Conversation

Zabuzard
Copy link
Member

Overview

In this release, we migrated more of the existing miscellaneous functionality and enhanced our platform further.

Highlights in this release are:

  • commands /remind, /role-select and /note
  • automatic up- and down-voting on suggestions

Changelist

Commands

  • added /remind for users to create automatic reminders
  • added /role-select to create role selection dialogs
  • added /note for mods and Staff Assistants to leave auditable notes about users

Platform

  • added automatic up- and down-voting on suggestions
  • added Terms Of Service and a Privacy Policy

Misc

  • added unit tests for tag-system
  • enhanced testing and mocking system
  • renamed Staff Assistants to Maintainers

Zabuzard and others added 30 commits February 14, 2022 13:55
Reaction roles

Added RoleSelectCommand

This command allows people with the `MANAGE_ROLES` permission to create a menu.
This menu can be used by users to add roles to themselves.

Co-authored-by: JJeeff248 <52386683+jjeeff248@users.noreply.github.com>
This is a quite simple change but it touches a lot of files. All of them now require the config as parameter instead of using global singleton access.

This makes it possible to mock the Config (needed for the unit tests).
enabling mockito inline extension to make it possible to mock final classes
* Added ButtonClickEvent generation and mocking
* Added USER option to SlashCommandEventBuilder
* Added `userWhoTriggered(user)` to slash command event builder
* Added mocked rest actions (success & failure), and discord exceptions
* and improved ping tests
This removes the ALL subcommand, and "inlines" the CHOOSE subcommand.
* changed database table
* changed code how entries are created and stored
* aligned options and color
* removed the actual reminder for now
apparently `retrieveUserById` fails instead of giving null when user not found.

fortunately, there is `onErrorMap(error -> null)`.
textblocks with \
instead of being created on the fly
@Zabuzard Zabuzard added the release Marks official releases and talks about them, i.e. merges from develop to master label Feb 27, 2022
@Zabuzard Zabuzard added this to the Migrate existing commands milestone Feb 27, 2022
@Zabuzard Zabuzard self-assigned this Feb 27, 2022
@Zabuzard Zabuzard requested a review from a team as a code owner February 27, 2022 08:16
@Zabuzard Zabuzard merged commit aa68787 into master Feb 27, 2022
@sonarcloud
Copy link

sonarcloud bot commented Feb 27, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Marks official releases and talks about them, i.e. merges from develop to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants