The ASP.NET Core blog system of https://edi.wang, runs on Microsoft Azure
X-Azure-FDID
header value in the about page of admin portal.bmp
format from default image extensions listNUglify
libraryardalis/Specification
x-geo-match
to further decouple with AzureAll issues will be fixed in next patch
Run migration script in ./Deployment/mssql-migration.sql
-- v14.3.x - v14.4.0
CREATE TABLE [dbo].[LoginHistory](
[Id] [int] IDENTITY(1,1) NOT NULL,
[LoginTimeUtc] [datetime] NOT NULL,
[LoginIp] [nvarchar](64) NULL,
[LoginUserAgent] [nvarchar](128) NULL,
[DeviceFingerprint] [nvarchar](128) NULL,
CONSTRAINT [PK_LoginHistory] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
DROP TABLE [LocalAccount]
GO
EXEC sys.sp_rename
@objname = N'Category.RouteName',
@newname = 'Slug',
@objtype = 'COLUMN'
GO
IF EXISTS (
SELECT 1
FROM sys.columns c
JOIN sys.objects o ON c.object_id = o.object_id
WHERE o.name = 'Post' AND c.name = 'InlineCss'
)
BEGIN
ALTER TABLE Post DROP COLUMN InlineCss;
END;
GO
I don't have knowledge of MySQL and PostgreSql. Please refer to SQL Server migration script and do it yourself.
If you are using Email notification, please migrate to the new email API and add configuration in appsettings.json
"Email": {
"ApiEndpoint": "",
"ApiKey": ""
}
If you are using Email notification, please migrate to the new email API and add configuration in appsettings.json
"Email": {
"ApiEndpoint": "",
"ApiKey": ""
}
If you are using Email notification, please migrate to the new email API and add configuration in appsettings.json
"Email": {
"ApiEndpoint": "",
"ApiKey": ""
}
Experimental:ShowTwitterShareButton
flag, this can be achieved by customize footer settingsRedirectPermanent()
for legacy /image requests on CDN enabled systemsshell
and wasm
languagescript
tag to HTML footless
languageSpectre.Console
According to #767, Moonglade will not start if your deployment is in China since this version.
In order for you to backup your data during the migration process, edit appsettings.json
, set DetectChina
flag to "allow"
. Although Moonglade will continue to run, please note this is NOT a solution, future changes may remove this flag.
-- v14.1.0
ALTER TABLE FriendLink ADD [Rank] INT
GO
UPDATE FriendLink SET [Rank] = 0
GO
ALTER TABLE FriendLink ALTER COLUMN [Rank] INT NOT NULL
GO
ALTER TABLE FriendLink ADD `Rank` INT;
UPDATE FriendLink SET `Rank` = 0;
ALTER TABLE FriendLink MODIFY `Rank` INT NOT NULL;
I don't know about other databases, please refer to MSSQL script and migrate them yourself.
AzureAD
to EntraID
according to this announcement from Microsoft
ASPNETCORE_ENVIRONMENT
value to console on startupAzureAd
to EntraID
in appsettings.json
ForwardedForHeaderName
to HeaderName
in appsettings.json
CREATE TABLE [dbo].[StyleSheet](
[Id] [uniqueidentifier] NOT NULL,
[Hash] [nvarchar](64) NOT NULL,
[FriendlyName] [nvarchar](32) NOT NULL,
[CssContent] [nvarchar](max) NOT NULL,
[LastModifiedTimeUtc] [datetime] NOT NULL,
CONSTRAINT [PK_StyleSheet] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE CustomPage DROP COLUMN CssContent
GO
ALTER TABLE CustomPage ADD CssId NVARCHAR(64)
GO
ALTER TABLE Post DROP COLUMN InlineCss
GO
I have no knowledge of MySQL and PostgreSql, please migrate the database schema yourself
x-afd-geo-match