-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: upgrade rss behaviour (#347)
* feat: add blogPostsPerPage configuration to RssFeedController * feat: define tests for new functionality in RssFeedController new test expects that rss returns full blog post content when requested * feat: implement new behaviour on RssFeedController if requested, rss will return full content for the blog posts, as well as limit the number of returned posts to the BlogPostsPerPage configuration * fix: add ModelState check for GetRssFeed * feat: update tests to include new test when the user requests n posts * feat: implement the request of n number of posts in the rss feed when also requesting the content * fix: correct S1125: remove unnecessary boolean literal * feat: add dropdown to RSS button to display both feeds * fix: add a bit of separation between text and icon in dropdown * feat: rename RSS feeds to final names * feat: update tests to include new CDATA content for Markup * feat: implement Markup in SyndicationContent * feat: delete icon from dropdown itmes * feat: throw if blog post short description and content are both null * refactor: move assignment of numberOfBlogPosts deeper to GetBlogPostsItemsWithContent where it is actually used * feat: add test to cover the usage of BlogPostsPerPage when the numberOfBlogPosts is not specified in the call (RSS)
- Loading branch information
Showing
3 changed files
with
281 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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