This commit is contained in:
thepra committed 2023-02-19 00:43:43 +01:00
1 parent 9719a0c0fd
commit 1e66851113
146 files changed
+738 -382

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
using MongoDB.Entities;
using PrivaPub.Models.Email;
using PrivaPub.StaticServices;
namespace PrivaPub.Models
{
public class AppConfiguration : Entity
{
public bool RequiresFirstTimeSetup { get; set; } = true;
public string Version { get; set; }
public int MaxAllowedUploadFiles { get; set; }
public int MaxAllowedFileSize { get; set; }
public string ValidDiscussionFilesTypes { get; set; }
public List<string> SupportedLanguages { get; set; } = new();
public string BackendBaseAddress { get; set; }
public EmailConfiguration EmailConfiguration { get; set; }
public HashingOptions HashingOptions { get; set; }
public DateTime LastUpdateDate { get; set; } = DateTime.UtcNow;
}
}