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

Improve markAsReadUponGone #5315

Merged
merged 7 commits into from Apr 20, 2023
Merged

Conversation

Alkarex
Copy link
Member

@Alkarex Alkarex commented Apr 19, 2023

Fix case when the upstream feed has zero article, then old articles would never be automatically marked as read with the "mark as read when gone" policy, which was only based on the timestamp of new articles from the upstream feed.

Fix also bugs in the case of WebSub, and in the case of feeds with invalid (duplicate) GUIDs

Fix case  when the uptream feed has zero article, then old articles would never be automatically marked as read with the "mark as read when gone" policy, which was only based on the timestamp of new articles from the uptream feed.
@Alkarex Alkarex added this to the 1.22.0 milestone Apr 19, 2023
@Alkarex Alkarex marked this pull request as draft April 19, 2023 14:34
@Alkarex Alkarex marked this pull request as ready for review April 19, 2023 15:23
@Alkarex Alkarex marked this pull request as draft April 20, 2023 08:44
In the case of WebSub, and in the case of invalid GUIDs
@Alkarex Alkarex marked this pull request as ready for review April 20, 2023 09:59
@Alkarex Alkarex merged commit 8abe53d into FreshRSS:edge Apr 20, 2023
1 check passed
@Alkarex Alkarex deleted the fix-markAsReadUponGone branch April 20, 2023 19:46
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request May 9, 2023
Fix regression from FreshRSS#5315
which indroduced a bug for cached feeds.
We now update the `lastSeen` property of entries to account for the fact that they are unchanged but still existing.
@Alkarex Alkarex mentioned this pull request May 9, 2023
Alkarex added a commit that referenced this pull request May 9, 2023
Fix regression from #5315
which indroduced a bug for cached feeds.
We now update the `lastSeen` property of entries to account for the fact that they are unchanged but still existing.
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request May 15, 2023
FreshRSS#5382 was not good enough to fix markAsReadUponGone and introduced a regression in `entry.lastSeen`.
New approach.
Follow-up of FreshRSS#5315
Alkarex added a commit that referenced this pull request May 16, 2023
* Fix again updateLastSeenUnchanged
#5382 was not good enough to fix markAsReadUponGone and introduced a regression in `entry.lastSeen`.
New approach.
Follow-up of #5315

* Minor change of mind

* Fix handling of lastSeen
entry.lastSeen was not always correctly initialised, and sometimes overriden
math-GH pushed a commit to math-GH/FreshRSS that referenced this pull request Jul 4, 2023
Fix regression from FreshRSS#5315
which indroduced a bug for cached feeds.
We now update the `lastSeen` property of entries to account for the fact that they are unchanged but still existing.
math-GH pushed a commit to math-GH/FreshRSS that referenced this pull request Jul 4, 2023
* Fix again updateLastSeenUnchanged
FreshRSS#5382 was not good enough to fix markAsReadUponGone and introduced a regression in `entry.lastSeen`.
New approach.
Follow-up of FreshRSS#5315

* Minor change of mind

* Fix handling of lastSeen
entry.lastSeen was not always correctly initialised, and sometimes overriden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant