using Yavsc.Models.Relationship;
namespace Yavsc
{
public class SiteSettings
{
public string Title { get; set; } = "Yavsc";
public string Slogan { get; set; } = "";
public string Banner { get; set; } = "";
public string StyleSheet { get; set; } = "site.css";
public string FavIcon { get; set; } = "favicon.ico";
public string Logo { get; set; } = "logo.png";
///
/// Origins to allow via the CORS "default" policy.
/// Each entry must be a full origin (scheme + host [+ port]), e.g. "https://app.example.com".
///
public IList CorsAllowedOrigins { get; set; } = new List
{
"https://localhost:5001"
};
///
/// External Url
///
///
public string ExternalUrl { get; set; } = "http://lua.pschneider.fr";
///
/// Must be a fqdn.
///
///
public string Authority { get; set; } = "lua.pschneider.fr";
///
/// Owner's email
///
///
public StaticContact Owner { get; set; } = new StaticContact
{
EMail = "root@lua.pschneider.fr",
Name = "Root"
} ;
///
/// Administrator's email
///
///
public StaticContact Admin { get; set; } = new StaticContact
{
EMail = "root@lua.pschneider.fr",
Name = "Root"
} ;
public string DataDir { get; set; } = "data";
public string Avatars { get; set; } = "avatars";
public long Quota { get; set; }
public string Blog { get; set; } = "blogs";
public string Bills { get; set; } = "bills";
public string GitRepository { get; set; } = "sources";
public string BusinessName { get; set; } = "Yavsc";
public string? Street { get; set; }
public string? PostalCode { get; set; }
public string? CountryCode { get; set; }
public string HomeViewName { get; set; } = "Home";
///
/// Specifies the directory where should be
/// generated pdf files using pandoc
///
/// The temporary directory to use
public string TempDir { get; set; } = "temp";
///
/// Disk usage user list maximum length in memory
///
///
public int DUUserListLen { get; set; } = 256;
///
/// Default acl file name
///
///
public string AccessListFileName { get; set; } = ".access";
}
}