Personal Table of Contents (#2148)
* Fixed a bad default setting for token key * Changed the payment link to support Google Pay * Fixed duplicate events occurring on newly added series from a scan. Fixed the version update code from not firing and made it check every 4-6 hours (random per user per restart) * Check for new releases on startup as well. Added Personal Table of Contents (called Bookmarks on epub and pdf reader). The idea is that sometimes you want to bookmark certain parts of pages to get back to quickly later. This mechanism will allow you to do that without having to edit the underlying ToC. * Added a button to update modal to show how to update for those unaware. * Darkened the link text within tables to be more visible. * Update link for how to update now is dynamic for docker users * Refactored to send proper star/end dates for scrobble read events for upcoming changes in the API. Added GoogleBooks Rating UI code if I go forward with API changes. * When Scrobbling, send when the first and last progress for the series was. Added OpenLibrary icon for upcoming enhancements for Kavita+. Changed the Update checker to execute at start. * Fixed backups not saving favicons in the correct place * Refactored the layout code for Personal ToC * More bugfixes around toc * Box alignment * Fixed up closing the overlay when bookmark mode is active * Fixed up closing the overlay when bookmark mode is active --------- Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
f3b8074b3a
commit
a0a6da9c60
53 changed files with 3538 additions and 244 deletions
12
API/DTOs/Reader/CreatePersonalToCDto.cs
Normal file
12
API/DTOs/Reader/CreatePersonalToCDto.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
namespace API.DTOs.Reader;
|
||||
|
||||
public class CreatePersonalToCDto
|
||||
{
|
||||
public required int ChapterId { get; set; }
|
||||
public required int VolumeId { get; set; }
|
||||
public required int SeriesId { get; set; }
|
||||
public required int LibraryId { get; set; }
|
||||
public required int PageNumber { get; set; }
|
||||
public required string Title { get; set; }
|
||||
public string? BookScrollId { get; set; }
|
||||
}
|
9
API/DTOs/Reader/PersonalToCDto.cs
Normal file
9
API/DTOs/Reader/PersonalToCDto.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace API.DTOs.Reader;
|
||||
|
||||
public class PersonalToCDto
|
||||
{
|
||||
public required int ChapterId { get; set; }
|
||||
public required int PageNumber { get; set; }
|
||||
public required string Title { get; set; }
|
||||
public string? BookScrollId { get; set; }
|
||||
}
|
|
@ -66,8 +66,16 @@ public class ScrobbleDto
|
|||
/// </summary>
|
||||
public DateTime? StartedReadingDateUtc { get; set; }
|
||||
/// <summary>
|
||||
/// The latest date the series was read. Will be null for non ReadingProgress events
|
||||
/// </summary>
|
||||
public DateTime? LatestReadingDateUtc { get; set; }
|
||||
/// <summary>
|
||||
/// The date that the series was scrobbled. Will be null for non ReadingProgress events
|
||||
/// </summary>
|
||||
public DateTime? ScrobbleDateUtc { get; set; }
|
||||
/// <summary>
|
||||
/// Optional but can help with matching
|
||||
/// </summary>
|
||||
public string? Isbn { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
@ -10,9 +10,9 @@ public class ScrobbleEventDto
|
|||
public bool IsProcessed { get; set; }
|
||||
public int? VolumeNumber { get; set; }
|
||||
public int? ChapterNumber { get; set; }
|
||||
public DateTime? ProcessDateUtc { get; set; }
|
||||
public DateTime LastModified { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
public float? Rating { get; set; }
|
||||
public ScrobbleEventType ScrobbleEventType { get; set; }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue