Skip to content

Support TT-RSS JSON import#5584

Draft
Alkarex wants to merge 5 commits intoFreshRSS:edgefrom
Alkarex:fix-import-tt-rss-json
Draft

Support TT-RSS JSON import#5584
Alkarex wants to merge 5 commits intoFreshRSS:edgefrom
Alkarex:fix-import-tt-rss-json

Conversation

@Alkarex
Copy link
Copy Markdown
Member

@Alkarex Alkarex commented Aug 12, 2023

Fix #5583
With new mechanism FreshRSS_Feed::KIND_RSS_MAYBE to better handle links that require autodiscovery (HTML or RSS)

@Alkarex Alkarex added this to the 1.22.0 milestone Aug 12, 2023
With new mechanism to better handle links that require autodiscovery (HTML or RSS)
@Alkarex Alkarex modified the milestones: 1.22.0, 1.23.0 Aug 23, 2023
}
} elseif ($feed->kind() === FreshRSS_Feed::KIND_RSS_MAYBE) {
$simplePie = $feed->load(false, $feedIsNew);
// @phpstan-ignore-next-line
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: why does phpstan have to ignore this line?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After $feed->load() then $feed->kind() might have changed, but PHPStan does not seem to recognise that and gives an error:

Strict comparison using !== between 3 and 3 will always evaluate to false.

@Alkarex Alkarex marked this pull request as draft August 28, 2023 11:02
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Sep 1, 2023
@Alkarex Alkarex mentioned this pull request Sep 1, 2023
Alkarex added a commit that referenced this pull request Sep 4, 2023
* Fix import with empty content
fix #5622
Cherry picks on #5584

* Fix export of tags / labels
Article-defined tags were wrongly exported as user-defined labels.

* Fix export of tags / labels
Article-defined tags were wrongly exported as user-defined labels.

* Fix bug with many labels

* Better typing

* Comments
@Alkarex Alkarex modified the milestones: 1.23.0, 1.24.0 Nov 24, 2023
@Alkarex Alkarex modified the milestones: 1.24.0, 1.25.0 Apr 6, 2024
@math-GH math-GH added the BLOCKED ❌ merge conflict or failing tests that block the PR label Jun 15, 2024
@Alkarex Alkarex modified the milestones: 1.25.0, 1.26.0 Nov 30, 2024
@Alkarex Alkarex modified the milestones: 1.26.0, 1.27.0 Feb 6, 2025
@Alkarex Alkarex modified the milestones: 1.27.0, 1.28.0 Aug 15, 2025
@Alkarex Alkarex modified the milestones: 1.28.0, 1.29.0 Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLOCKED ❌ merge conflict or failing tests that block the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Importing favourites from TT-RSS

3 participants