feat(config): update site configuration and enhance author handling

- Changed default site name and URL to reflect new branding.
- Updated author information in the site configuration, including name, URL, and avatar.
- Removed author-related settings from the configuration schema to streamline the setup.
- Enhanced the SiteSettingService to resolve author details dynamically based on tenant context.
- Added a new endpoint to retrieve the status of photo synchronization, improving user feedback on sync operations.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-11-15 01:08:31 +08:00
parent 0621909e49
commit dafc621033
42 changed files with 2359 additions and 285 deletions

View File

@@ -22,9 +22,11 @@ const closeExiftool = () => {
exiftool.end().catch(noop)
}
process.once('beforeExit', closeExiftool)
process.once('SIGINT', closeExiftool)
process.once('SIGTERM', closeExiftool)
if (process.env.NODE_ENV !== 'development') {
process.once('beforeExit', closeExiftool)
process.once('SIGINT', closeExiftool)
process.once('SIGTERM', closeExiftool)
}
// 提取 EXIF 数据
export async function extractExifData(imageBuffer: Buffer, originalBuffer?: Buffer): Promise<PickedExif | null> {