Develop 4.1.8 - #25
Merged
Merged
Conversation
- Display `scheduled_start_time` and `scheduled_end_time` in audit logs for event creation, updates, and deletion. - Add `convertISOTimeToDiscordTimeStamp` utility to format ISO date-time strings into Discord timestamps. Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Standardize Discord timestamp formatting with `TimeFormat.DATE_TIME_LONG.format()`. - Refactor `DurationUtils.isoToLocalTimeCounter` to leverage JDA's `TimeFormat`. - Remove custom date formatting logic from handlers. Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add a new case for `icon_hash` to log role icon changes Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add handling for `applied_tags` in `ThreadActionTypeHandler.java` - Display "Applied Tags were updated" in case of Thread Update - Skip `applied_tags` processing in case of Thread Create and Delete Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Move ApplicationInfo.java to a new package `about` - Rename `PaperTrailSdkBeanProvider.java` to `PaperTrailSdkProducer.java` and move to `producers` package Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Inject `ThreadFactory` into listeners to spawn virtual threads Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds new formatting for Audit Log Changes pertaining to Threads, Scheduled Events and Roles. Additionally a CDI bean containing producer methods for Platform and Virtual Thread factories have also been added. Injection of these factories can be performed via the qualifiers
@VirtualThreadFactoryand@PlatformThreadFactoryType of Change
New feature
scheduled_start_timeandscheduled_end_timein Scheduled Eventsicon_hashin Role Eventsapplied_tagsin Thread EventsRefactor
isoLocalTimeCounter()inDurationUtilsnow usesTimeFormat.DATE_TIME_LONG.format()from JDA'sTimeFormatinstead of using a manual converter to convert ISO Time to Discord format<t:....f>Thread.ofVirtual().start(Runnable r)Dependency Updates
Tasks for Native Builds