mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-20 14:00:34 -04:00
* Moved Collapse Series with relationships into a user preference rather than library setting. * Fixed bookmarks not converting to webp after initial save * Fixed a bug where when merging we'd print out a duplicate series error when we shouldn't have * Fixed a bug where clicking on a genre or tag from server stats wouldn't load all-series page in a filtered state. * Implemented the ability to have Login role and thus disable accounts. * Ensure first time flow gets the Login role * Refactored user management screen so that pending users can be edited or deleted before the end user accepts the invite. A side effect is old legacy users that were here before email was required can now be deleted. * Show a progress bar under the main series image on larger viewports to show whole series progress. * Removed code no longer needed * Cleanup tags, people, collections without connections after editing series metadata. * Moved the Entity Builders to the main project
25 lines
700 B
C#
25 lines
700 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using API.DTOs.Account;
|
|
|
|
namespace API.DTOs;
|
|
|
|
/// <summary>
|
|
/// Represents a member of a Kavita server.
|
|
/// </summary>
|
|
public class MemberDto
|
|
{
|
|
public int Id { get; init; }
|
|
public string? Username { get; init; }
|
|
public string? Email { get; init; }
|
|
/// <summary>
|
|
/// If the member is still pending or not
|
|
/// </summary>
|
|
public bool IsPending { get; init; }
|
|
public AgeRestrictionDto? AgeRestriction { get; init; }
|
|
public DateTime Created { get; init; }
|
|
public DateTime LastActive { get; init; }
|
|
public IEnumerable<LibraryDto>? Libraries { get; init; }
|
|
public IEnumerable<string>? Roles { get; init; }
|
|
}
|