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 v4.9 #1060

Merged
49 commits merged into from
Mar 19, 2024
Merged

Release v4.9 #1060

49 commits merged into from
Mar 19, 2024

Conversation

ankitsmt211
Copy link
Member

@ankitsmt211 ankitsmt211 commented Mar 19, 2024

Features:

BugFixes:

Platform:

PRs:

NEW CONTRIBUTORS:

dependabot bot and others added 30 commits November 28, 2023 08:47
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.16.1 to 1.17.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md)
- [Commits](jhy/jsoup@jsoup-1.16.1...jsoup-1.17.1)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps com.diffplug.spotless from 6.22.0 to 6.23.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* upgrade gradle wrapper to 8.5

* fix deprecations
Bumps [name.remal.sonarlint](https://github.com/remal-gradle-plugins/sonarlint) from 3.3.17 to 3.4.0.
- [Release notes](https://github.com/remal-gradle-plugins/sonarlint/releases)
- [Commits](remal-gradle-plugins/sonarlint@v3.3.17...v3.4.0)

---
updated-dependencies:
- dependency-name: name.remal.sonarlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fixed thread transfers

* fixed import

* used getChannelById
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.1.0...flyway-10.2.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Autodetection of installed toolchains
* Autoprovisioning if toolchain/jdk is not found
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.2.0...flyway-10.3.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps gradle.plugin.org.flywaydb:gradle-plugin-publishing from 10.1.0 to 10.3.0.

---
updated-dependencies:
- dependency-name: gradle.plugin.org.flywaydb:gradle-plugin-publishing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.3.0...flyway-10.4.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps gradle.plugin.org.flywaydb:gradle-plugin-publishing from 10.3.0 to 10.4.0.

---
updated-dependencies:
- dependency-name: gradle.plugin.org.flywaydb:gradle-plugin-publishing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.jooq:jooq from 3.18.0 to 3.19.1.

---
updated-dependencies:
- dependency-name: org.jooq:jooq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.kohsuke:github-api](https://github.com/hub4j/github-api) from 1.317 to 1.318.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](hub4j/github-api@github-api-1.317...github-api-1.318)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko Radosavljević <marko@radosavljevic.dev>
Bumps nu.studer:gradle-jooq-plugin from 8.2 to 9.0.

---
updated-dependencies:
- dependency-name: nu.studer:gradle-jooq-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko Radosavljević <marko@radosavljevic.dev>
* handling error when member left guild

* taking carre of debugging leftovers

* sonar fix

* refactor loggers, archiving thread incase of failure

* fallback archiving in same queue

* archive logic in supplier

* consumer only logs, so better name

* refactor error handling in rest chain

* refactor if check for clarity

* extra line for readabilty

* sonar fix

* handling error in pipeline

* cleaning up debugging leftovers

* renaming from logger -> LOGGER

* log level changed to info with better message

* logging all the errors, instead of just ErrorResponseException type

* refactoring
* replacing Function type with Supplier for sendEmbedWithoutMention
* changing variable for more clarity on fetched members

* reverting back LOGGER->logger based on project style

* removing unnecessary error handling
Co-authored-by: Zabuzard <zabuza.dev@gmail.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.4.0...flyway-10.5.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps gradle.plugin.org.flywaydb:gradle-plugin-publishing from 10.4.0 to 10.5.0.

---
updated-dependencies:
- dependency-name: gradle.plugin.org.flywaydb:gradle-plugin-publishing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.gradle.toolchains.foojay-resolver-convention from 0.7.0 to 0.8.0.

---
updated-dependencies:
- dependency-name: org.gradle.toolchains.foojay-resolver-convention
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps com.diffplug.spotless from 6.23.2 to 6.24.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.5.0...flyway-10.6.0)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps gradle.plugin.org.flywaydb:gradle-plugin-publishing from 10.5.0 to 10.6.0.

---
updated-dependencies:
- dependency-name: gradle.plugin.org.flywaydb:gradle-plugin-publishing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.44.0.0 to 3.45.0.0.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](xerial/sqlite-jdbc@3.44.0.0...3.45.0.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bugfix

In BotCore:
Added onCommandAutoCompleteInteraction listener, this way autocompletion events will actually get forwarded.

Funny, didnt think of this during the previous PR, was probably too hasty.

* Update application/src/main/java/org/togetherjava/tjbot/commands/system/BotCore.java

Co-authored-by: Tanish Azad <73871477+Taz03@users.noreply.github.com>

* fixed debug message

* add github referencing + github command

* make codeql and sonarcloud happy

* spotless, *sigh*

* forgot these two

* remove mention when reference

* aaaaaaaaaa

* fix compilation

* fix compilation x2

* apply spotless

* fix doc

* requested changes

* requested changes

* requested changes

* Update application/config.json.template

Co-authored-by: Tanish Azad <73871477+Taz03@users.noreply.github.com>

* Update application/src/main/java/org/togetherjava/tjbot/commands/github/GitHubCommand.java

Co-authored-by: Tanish Azad <73871477+Taz03@users.noreply.github.com>

* Update application/src/main/java/org/togetherjava/tjbot/commands/github/GitHubReference.java

Co-authored-by: Tanish Azad <73871477+Taz03@users.noreply.github.com>

* resolve conflicts

* sonar fix

* adding back suspicousKeywords

* requested changes in old PR

* java doc fixes

* avatar of author in embed

* refactor embed reply for clarity, add date of creation

* sonar fix

* refactor date to a better format

* upgrade from 1.313->1.315

* remove duplicate

* requested changes

* refactor date using calendar api to java time api & remove months array

* get rid of redundant modifier and an extra line of space

* making formatter a constant field instead of local var

* update config template and verify allowed channels
* adds few channel patterns to be allowed in template
* refactors pattern matching for allowed channels
* helper method to match allowed channels

* replacing parallelstream with sequential

* adding repository Ids for all TJ repos

* changes to find issue method
* for github search, instead of finding by issue we also wanna match title for correct match
* method overloading for defaulting to tj-bot repo for reference feature

* sonar and better var name

* sonar fix

* remove unnecessary use of strip

---------

Co-authored-by: Tijs <tijs@familiebeek.eu>
Co-authored-by: Tais993 <49957334+Tais993@users.noreply.github.com>
Co-authored-by: Tanish Azad <73871477+Taz03@users.noreply.github.com>
Co-authored-by: Taz03 <tanishazad03@gmail.com>
Co-authored-by: illuminator3 <hardt-j@web.de>
Bumps com.diffplug.spotless from 6.24.0 to 6.25.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Forces java encoding to UTF-8.
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.6.0 to 10.7.1.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.6.0...flyway-10.7.1)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.7.1 to 10.8.1.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.7.1...flyway-10.8.1)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ankitsmt211 and others added 19 commits February 23, 2024 19:52
* refactor question builder for gpt feature
* removing logic that prepends all applied tags to question builder
* passing first tag as context to gptservice
* setting context before sending the question

* refactoring setup message

* improving context

* refactoring context for more appropriate responses

* get matching tag or default for context

* sending instructions along with question, instead of setup

* prompt for shorter responses

* values responsible for tweaking AI responses are not declared as constants, docs are also added for such values
Bumps org.apache.logging.log4j:log4j-core from 2.22.0 to 2.23.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.kohsuke:github-api](https://github.com/hub4j/github-api) from 1.318 to 1.319.
- [Release notes](https://github.com/hub4j/github-api/releases)
- [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md)
- [Commits](hub4j/github-api@github-api-1.318...github-api-1.319)

---
updated-dependencies:
- dependency-name: org.kohsuke:github-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Catches the exception and logs when github key used in config is invalid. Otherwise, bot crashes, even when the feature is disabled.
* [Feature/JShell] Using the new reworked jshell api

* [Feature/JShell] Reworked renderer

* [feature/JShell] Running Spotless/Sonar

* [Feature/JShell] RenderResult deleted

* [Feature/JShell] Added doc on JShellEval

* [Feature/JShell] Added braces

* Rebase and rename user to member

* [Feature/JShell] Fixing checks

* [Feature/JShell] Fixing from some feedback

* [Feature/JShell] Replaced if elses with a switch thanks to java 21

---------

Co-authored-by: Connor Schweighoefer <squidxtv@gmail.com>
* replace getAsTag() with getName() on user entity

* problematic changes in RemindRoutine related classes

* addition to problematic changes

* fixed failing tests

---------

Co-authored-by: Zabuzard <zabuza.dev@gmail.com>
* Move link detection into separate class

* Remove unused method and fix javadocs

* Skip chatgpt response if message contains image or link

* Fix sonarlint issues

* Move fixing encoding issues to its own PR

* Remove star import

* Move context logic into custom method

* Fix reviews

* Fix reviews

* Rename LinkDetections to LinkDetection
it appears that GH requires reviews from both, mods and maintainers instead of just 2 in total.
there is no real need to include mods specifically here anyways
Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 10.8.1 to 10.9.1.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-10.8.1...flyway-10.9.1)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
refactor username to be displayed for gists
* Bump org.mockito:mockito-core from 5.3.1 to 5.10.0

Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.3.1 to 5.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.3.1...v5.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix tests failing with new version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Schweighoefer <squidxtv@gmail.com>
* AI response should be in embed
* helper method to generate embed
* remove AI parser class that partitioned responses & related tests
* refactor dismiss button on generated responses
* update docs
* remove AIResponseParserTest
* Added MemberCounter Routine

* feat: use pattern compile

* removed debug lines

* pattern fixes in config

* refactor: change cat to category

* feat: switch to findAny from forEach

* perf: remove pattern compilation for each call

Co-authored-by: Devansh Tiwari <65783463+devloves@users.noreply.github.com>

* perf: fixed solar linting error

* perf: made memberCountCategoryPattern required

* Update application/config.json.template

Co-authored-by: Chris Sdogkos <work@chris-sdogkos.com>

* fixed: routine not updating channel name after first write

* fixed comment

---------

Co-authored-by: christolis <work@chris-sdogkos.com>
Co-authored-by: Tanish Azad <tanishazad03@gmail.com>
method for generating embeds for GPT responses
Co-authored-by: SquidXTV <squidxtv@gmail.com>

---------

Co-authored-by: SquidXTV <squidxtv@gmail.com>
* Added Logging for disabled features
@ankitsmt211 ankitsmt211 added the release Marks official releases and talks about them, i.e. merges from develop to master label Mar 19, 2024
@ankitsmt211 ankitsmt211 requested review from a team as code owners March 19, 2024 16:33
Copy link

sonarcloud bot commented Mar 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@ankitsmt211 ankitsmt211 closed this pull request by merging all changes into master in 6c3cc81 Mar 19, 2024
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.