Skip to content

Fix hash of articles with loadCompleteContent#5576

Merged
Alkarex merged 3 commits intoFreshRSS:edgefrom
Alkarex:fix-hash
Aug 13, 2023
Merged

Fix hash of articles with loadCompleteContent#5576
Alkarex merged 3 commits intoFreshRSS:edgefrom
Alkarex:fix-hash

Conversation

@Alkarex
Copy link
Copy Markdown
Member

@Alkarex Alkarex commented Aug 9, 2023

The detection of modified articles was wrong for feeds using loadCompleteContent. Indeed, the hash is supposed to be computed on the content provided by the server of the RSS feed, excluding further modifications.
Furthermore, read hash from database instead of recomputing it all the time.
Slightly related to #5574

The detection of modified articles was wrong for feeds using loadCompleteContent. Indeed, the hash is supposed to computed on the content provided by the server of the RSS feed, excluding further modifications.
Furthermore, read hash from database instead of recomputing it all the time.
Slightly related to FreshRSS#5574
@Alkarex Alkarex added this to the 1.22.0 milestone Aug 9, 2023
@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Aug 9, 2023

Ping @aledeg if you are around and if you have any comment

@Alkarex Alkarex added the Bug (confirmed) 🐞 issues that are reproducible label Aug 13, 2023
@Alkarex Alkarex merged commit d165ed1 into FreshRSS:edge Aug 13, 2023
@Alkarex Alkarex deleted the fix-hash branch August 13, 2023 13:11
@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Aug 13, 2023

Feedback & tests still welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug (confirmed) 🐞 issues that are reproducible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants