
* Corrected tooltip for Cache * Ensure we sync the DB to what's in appsettings.json for Cache key. * Change the fingerprinting method for Windows installs exclusively to avoid churn due to how security updates are handled. * Hooked up the ability to see where reviews are from via an icon on the review card, rather than having to click or know that MAL has "external Review" as title. * Updated FAQ for Kavita+ to link directly to the FAQ * Added the ability for all ratings on a series to be shown to the user. Added favorite count on AL and MAL * Cleaned up so the check for Kavita+ license doesn't seem like it's running when no license is registered. * Tweaked the test instance buy link to test new product.
58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
using API.Services.Plus;
|
|
|
|
namespace API.DTOs.SeriesDetail;
|
|
|
|
/// <summary>
|
|
/// Represents a User Review for a given Series
|
|
/// </summary>
|
|
/// <remarks>The user does not need to be a Kavita user</remarks>
|
|
public class UserReviewDto
|
|
{
|
|
/// <summary>
|
|
/// A tagline for the review
|
|
/// </summary>
|
|
public string? Tagline { get; set; }
|
|
|
|
/// <summary>
|
|
/// The main review
|
|
/// </summary>
|
|
public string Body { get; set; }
|
|
|
|
/// <summary>
|
|
/// The series this is for
|
|
/// </summary>
|
|
public int SeriesId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The library this series belongs in
|
|
/// </summary>
|
|
public int LibraryId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The user who wrote this
|
|
/// </summary>
|
|
public string Username { get; set; }
|
|
|
|
/// <summary>
|
|
/// How many upvotes this review has gotten
|
|
/// </summary>
|
|
/// <remarks>More upvotes get loaded first</remarks>
|
|
public int Score { get; set; } = 0;
|
|
/// <summary>
|
|
/// If External, the url of the review
|
|
/// </summary>
|
|
public string? ExternalUrl { get; set; }
|
|
/// <summary>
|
|
/// Does this review come from an external Source
|
|
/// </summary>
|
|
public bool IsExternal { get; set; }
|
|
/// <summary>
|
|
/// The main body with just text, for review preview
|
|
/// </summary>
|
|
public string? BodyJustText { get; set; }
|
|
|
|
/// <summary>
|
|
/// If this review is External, which Provider did it come from
|
|
/// </summary>
|
|
public ScrobbleProvider Provider { get; set; } = ScrobbleProvider.Kavita;
|
|
}
|