-
-
Notifications
You must be signed in to change notification settings - Fork 92
Java RSS Feed #1037
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
Merged
christolis
merged 54 commits into
Together-Java:develop
from
nateweisz:feat/java-mail-feed
Apr 13, 2024
Merged
Java RSS Feed #1037
christolis
merged 54 commits into
Together-Java:develop
from
nateweisz:feat/java-mail-feed
Apr 13, 2024
Conversation
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
christolis
reviewed
Feb 28, 2024
application/src/main/java/org/togetherjava/tjbot/config/Config.java
Outdated
Show resolved
Hide resolved
a874790
to
c7abeef
Compare
christolis
reviewed
Feb 29, 2024
application/src/main/java/org/togetherjava/tjbot/features/javamail/JavaMailRSSRoutine.java
Outdated
Show resolved
Hide resolved
8605901
to
431004e
Compare
8eb5b14
to
5975c84
Compare
Please explain in the description what is this pr. |
Closed
Alathreon
requested changes
Feb 29, 2024
application/src/main/java/org/togetherjava/tjbot/config/Config.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
Alathreon
requested changes
Feb 29, 2024
a35ba72
to
f9cf078
Compare
SquidXTV
requested changes
Mar 5, 2024
application/src/main/java/org/togetherjava/tjbot/config/Config.java
Outdated
Show resolved
Hide resolved
SquidXTV
previously approved these changes
Mar 5, 2024
Alathreon
reviewed
Mar 9, 2024
application/src/main/java/org/togetherjava/tjbot/config/RSSFeedsConfig.java
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/config/RSSFeedsConfig.java
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Show resolved
Hide resolved
6e6ccb2
to
6a2314c
Compare
Alathreon
requested changes
Mar 17, 2024
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
This also changes the functionality of how new RSS feeds get dealt with for the first time. Before this commit, all items would get posted as embeds on Discord, and as a result, that would bombard the target channel with RSS posts once the routine executes. This commit changes this behavior by assuming that all RSS posts have been posted and it should only consider posting posts newer than the registered date.
Co-authored-by: Nathan Weisz <151496498+nateweisz@users.noreply.github.com>
9f9e2ab
to
82fd9b7
Compare
SquidXTV
requested changes
Apr 8, 2024
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
Taz03
requested changes
Apr 9, 2024
Co-authored-by: Tanish <tanishazad03@gmail.com>
fix(rss): polling interval is now clear on unit of time fix(rss): posting messages now uses forEachOrdered
SquidXTV
requested changes
Apr 9, 2024
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
SquidXTV
requested changes
Apr 9, 2024
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Outdated
Show resolved
Hide resolved
Alathreon
requested changes
Apr 13, 2024
application/src/main/java/org/togetherjava/tjbot/features/javamail/RSSHandlerRoutine.java
Show resolved
Hide resolved
Alathreon
approved these changes
Apr 13, 2024
SquidXTV
approved these changes
Apr 13, 2024
Taz03
approved these changes
Apr 13, 2024
Merged
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.
Contains config changes
#882
This PR adds support for forwarding RSS feed's to a discord channel. It supports as many different URLs as you would like.
Screenshots
TODO
Have both text channel patterns, with the targetChannelPattern as an optional, and the javaNewsChannelPattern acting as the fallback.Send the RSS posts in an ascending order by date such that the most recent post is sent last.before merge remove 183ce42