release: v1.4.0 — 标签系统、操作日志扩展与文档截图更新
ci / ci (22, ubuntu-latest) (push) Canceled after 0s
GitHub Release / release (push) Canceled after 0s
Publish Docker image / build (linux/amd64, ubuntu-latest, amd64) (push) Canceled after 0s
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Canceled after 0s
Publish Docker image / merge (push) Canceled after 0s

- 每用户标签与彩色打标,图库 OR/AND 筛选与批量打标
- 操作日志记录登录、删除、设置与标签操作
- API 标签/打标接口;README 与文档站截图同步
This commit is contained in:
O96u committed 2026-09-09 14:46:52 +08:00
1 parent f17d79b236
commit 737235acff
110 files changed
+5881 -778

No files matched your search

+11
View File
@@ -44,6 +44,17 @@ export interface ImageItem {
}
/** 上传来源:网页或 API(来自活动日志) */
uploadSource?: 'web' | 'api'
/** 图片标签 */
tags?: ImageTag[]
}
export interface ImageTag {
id: number
name: string
color: string
imageCount?: number
createdAt?: string
lastUsedAt?: string | null
}
export interface UploadErrorItem {
+5 -2
View File
@@ -1,5 +1,6 @@
export type LogAction = 'upload' | 'delete'
export type LogSource = 'web' | 'api'
export type LogAction = 'upload' | 'delete' | 'login' | 'edit' | 'settings' | 'tags'
export type LogSource = 'web' | 'api' | 'admin'
export type LogStatus = 'success' | 'failure'
export interface ActivityLogStorage {
id: string
@@ -18,6 +19,8 @@ export interface ActivityLogItem {
userId: number | null
username: string | null
storage: ActivityLogStorage | null
ipAddress: string | null
status: LogStatus
createdAt: string
}
+3 -3
View File
@@ -1,5 +1,5 @@
export type SettingsTab = 'basic' | 'domains' | 'access' | 'logs'
export type SettingsTab = 'basic' | 'domains' | 'access' | 'tags' | 'logs'
export const ADMIN_SETTINGS_TABS: SettingsTab[] = ['basic', 'domains', 'access', 'logs']
export const ADMIN_SETTINGS_TABS: SettingsTab[] = ['basic', 'domains', 'access', 'tags', 'logs']
export const USER_SETTINGS_TABS: SettingsTab[] = ['logs']
export const USER_SETTINGS_TABS: SettingsTab[] = ['tags', 'logs']