Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authorLeitwolf112026-08-10 00:57:45 +0300
committerLeitwolf112026-08-10 00:57:45 +0300
commit86e4d179c9201c77e353e888fa6732af3fa7e8d6 (patch)
treeec7c0e8ff02844147a117bc3e4dc6b10f146333e /backend
parent9be05a7f0ca555d61033d0feadff34b68ad6255c (diff)
downloadwebsite-86e4d179c9201c77e353e888fa6732af3fa7e8d6.tar.gz
Refresh the public Visual X# website for the renewed compiler and ViGet host: replace stale xss-lang links with Progmasoft repositories, move public source and executable examples to .vxs/.vxse and vxs CLI naming, describe the Haskell plus C++20 Typed AST to Core to Xpp to Xmm pipeline, remove the obsolete public XLIL Java catalog and publish the canonical Xmm writer, Xmm reader, and C FFI package names, rename repo.xsharp-lang.xyz to viget.xsharp-lang.xyz across frontend redirects, backend host validation, OAuth documentation, and nginx, and update registry branding without changing API routes.
Diffstat (limited to 'backend')
-rw-r--r--backend/Auth/AuthEndpoints.cs6
-rw-r--r--backend/Email/EmailOptions.cs2
-rw-r--r--backend/Email/RegistryEmailSender.cs2
-rw-r--r--backend/appsettings.json4
4 files changed, 7 insertions, 7 deletions
diff --git a/backend/Auth/AuthEndpoints.cs b/backend/Auth/AuthEndpoints.cs
index e4ea645..d984727 100644
--- a/backend/Auth/AuthEndpoints.cs
+++ b/backend/Auth/AuthEndpoints.cs
@@ -12,9 +12,9 @@ namespace XSharp.Web.Api.Auth;
internal static class AuthEndpoints
{
- private const string DashboardUrl = "https://repo.xsharp-lang.xyz/dashboard/";
- private const string LoginUrl = "https://repo.xsharp-lang.xyz/login/";
- private const string RegisterUrl = "https://repo.xsharp-lang.xyz/register/";
+ private const string DashboardUrl = "https://viget.xsharp-lang.xyz/dashboard/";
+ private const string LoginUrl = "https://viget.xsharp-lang.xyz/login/";
+ private const string RegisterUrl = "https://viget.xsharp-lang.xyz/register/";
public static void MapAuthEndpoints(this WebApplication app)
{
diff --git a/backend/Email/EmailOptions.cs b/backend/Email/EmailOptions.cs
index 3a5ec8b..0d55c56 100644
--- a/backend/Email/EmailOptions.cs
+++ b/backend/Email/EmailOptions.cs
@@ -8,5 +8,5 @@ internal sealed class EmailOptions
public string Host { get; init; } = "127.0.0.1";
public int Port { get; init; } = 25;
public string From { get; init; } = "noreply@xsharp-lang.xyz";
- public string SenderName { get; init; } = "X# Package Registry";
+ public string SenderName { get; init; } = "Visual X# Package Registry";
}
diff --git a/backend/Email/RegistryEmailSender.cs b/backend/Email/RegistryEmailSender.cs
index 5576d4a..ac9d27f 100644
--- a/backend/Email/RegistryEmailSender.cs
+++ b/backend/Email/RegistryEmailSender.cs
@@ -17,7 +17,7 @@ internal sealed class RegistryEmailSender(IOptions<EmailOptions> options)
using MailMessage message = new()
{
From = new MailAddress(configuration.From, configuration.SenderName),
- Subject = purpose == "recovery" ? "Your X# password recovery code" : "Verify your X# registry email",
+ Subject = purpose == "recovery" ? "Your Visual X# password recovery code" : "Verify your Visual X# registry email",
Body = $"Use this one-time code to {action}: {code}\n\n"
+ "The code expires in 15 minutes. If you did not request it, ignore this message.\n\n"
+ "This mailbox is not monitored.",
diff --git a/backend/appsettings.json b/backend/appsettings.json
index 98b8f6c..3b54bf3 100644
--- a/backend/appsettings.json
+++ b/backend/appsettings.json
@@ -5,7 +5,7 @@
"Microsoft.AspNetCore": "Warning"
}
},
- "AllowedHosts": "localhost;api.xsharp-lang.xyz;repo.xsharp-lang.xyz",
+ "AllowedHosts": "localhost;api.xsharp-lang.xyz;viget.xsharp-lang.xyz",
"ConnectionStrings": {
"Registry": "Host=127.0.0.1;Port=5432;Database=xs_registry;Username=xsharp_web"
},
@@ -27,6 +27,6 @@
"Host": "127.0.0.1",
"Port": 25,
"From": "noreply@xsharp-lang.xyz",
- "SenderName": "X# Package Registry"
+ "SenderName": "Visual X# Package Registry"
}
}