66 lines
No EOL
2.3 KiB
C#
66 lines
No EOL
2.3 KiB
C#
namespace Iceshrimp.Backend.Core.Configuration;
|
|
|
|
public static class Constants
|
|
{
|
|
// To ensure compliance with the license of this project, adjust the link below if you are distributing a modified copy
|
|
public const string RepositoryUrl = "https://iceshrimp.dev/iceshrimp/Iceshrimp.NET";
|
|
|
|
// Leave this as-is if you're running upstream code, or your fork does not have any meaningful behavioral changes, otherwise please link to your own issue tracker here
|
|
public const string IssueTrackerUrl = "https://issues.iceshrimp.dev";
|
|
|
|
// Leave this as-is, unless you've forked the project & want to reference your own website / repository (irrelevant for license compliance)
|
|
public const string ProjectHomepageUrl = "https://iceshrimp.dev/iceshrimp/Iceshrimp.NET";
|
|
|
|
// Make sure to also update VersionHelpers.VersionIdentifier if you are building a fork
|
|
|
|
public const string ActivityStreamsNs = "https://www.w3.org/ns/activitystreams";
|
|
public const string W3IdSecurityNs = "https://w3id.org/security";
|
|
public const string PurlDcNs = "http://purl.org/dc/terms";
|
|
public const string XsdNs = "http://www.w3.org/2001/XMLSchema";
|
|
public const string SchemaNs = "http://schema.org";
|
|
public const string MastodonNs = "http://joinmastodon.org/ns";
|
|
public const string MisskeyNs = "https://misskey-hub.net/ns";
|
|
public const string FedibirdNs = "http://fedibird.com/ns";
|
|
public static readonly string[] SystemUsers = ["instance.actor", "relay.actor"];
|
|
|
|
public const string APMime = "application/activity+json";
|
|
public const string ASMime = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
|
|
|
|
public static readonly string[] BrowserSafeMimeTypes =
|
|
[
|
|
"image/png",
|
|
"image/gif",
|
|
"image/jpeg",
|
|
"image/webp",
|
|
"image/apng",
|
|
"image/bmp",
|
|
"image/tiff",
|
|
"image/x-icon",
|
|
"image/avif",
|
|
"image/heic",
|
|
"audio/opus",
|
|
"video/ogg",
|
|
"audio/ogg",
|
|
"application/ogg",
|
|
"video/quicktime",
|
|
"video/mp4",
|
|
"video/vnd.avi",
|
|
"audio/mp4",
|
|
"video/x-m4v",
|
|
"audio/x-m4a",
|
|
"video/3gpp",
|
|
"video/3gpp2",
|
|
"video/3gp2",
|
|
"audio/3gpp",
|
|
"audio/3gpp2",
|
|
"audio/3gp2",
|
|
"video/mpeg",
|
|
"audio/mpeg",
|
|
"video/webm",
|
|
"audio/webm",
|
|
"audio/aac",
|
|
"audio/x-flac",
|
|
"audio/flac",
|
|
"audio/vnd.wave"
|
|
];
|
|
} |