diff --git a/Data/config.db b/Data/config.db index 23c8f1c..77ee348 100644 Binary files a/Data/config.db and b/Data/config.db differ diff --git a/Data/deletedpages.db b/Data/deletedpages.db index e888144..49ec3ec 100644 Binary files a/Data/deletedpages.db and b/Data/deletedpages.db differ diff --git a/Data/exceptions.db b/Data/exceptions.db index 72ecaf7..1679269 100644 Binary files a/Data/exceptions.db and b/Data/exceptions.db differ diff --git a/Data/pages.db b/Data/pages.db index fbeaa6c..5ce36c5 100644 Binary files a/Data/pages.db and b/Data/pages.db differ diff --git a/Data/statistics.db b/Data/statistics.db index f7c2f6e..2fa92fd 100644 Binary files a/Data/statistics.db and b/Data/statistics.db differ diff --git a/Data/users.db b/Data/users.db index 2da23f0..4f45063 100644 Binary files a/Data/users.db and b/Data/users.db differ diff --git a/ZelWiki/Views/Admin/MissingPages.cshtml b/ZelWiki/Views/Admin/MissingPages.cshtml index 7437246..a1747bc 100644 --- a/ZelWiki/Views/Admin/MissingPages.cshtml +++ b/ZelWiki/Views/Admin/MissingPages.cshtml @@ -11,7 +11,7 @@

- 已链接但不存在的页面。.

+ 已链接但不存在的页面。

diff --git a/ZelWiki/Views/Page/Display.cshtml b/ZelWiki/Views/Page/Display.cshtml index 2ecba73..d1af0d6 100644 --- a/ZelWiki/Views/Page/Display.cshtml +++ b/ZelWiki/Views/Page/Display.cshtml @@ -9,7 +9,7 @@ {
- Viewing a historical version + 正在查看一个历史版本

diff --git a/ZelWiki/Views/Page/Revert.cshtml b/ZelWiki/Views/Page/Revert.cshtml index 2bb2296..706f698 100644 --- a/ZelWiki/Views/Page/Revert.cshtml +++ b/ZelWiki/Views/Page/Revert.cshtml @@ -16,12 +16,12 @@

- Revert to revision @sessionState.Page.Revision? + 退回至版本号: @sessionState.Page.Revision?
- Reverting "@Model.PageName" from revision @sessionState.Page.MostCurrentRevision to @sessionState.Page.Revision will rollback @Model.HigherRevisionCount changes.
- Reverting does not mean that changes will be lost however, the revert process will create a new revision with the reverted changes.

- Are you sure you want to continue?

+ 将 "@Model.PageName" 从修订版号 @sessionState.Page.MostCurrentRevision 回滚至 @sessionState.Page.Revision 共有 @Model.HigherRevisionCount 个修改

+ 还原并不意味着更改将丢失,但是还原过程将使用还原的更改创建新的修订

+ 继续吗?

@using (Html.BeginForm(null, null, FormMethod.Post, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" })) { diff --git a/ZelWiki/Views/Page/Revisions.cshtml b/ZelWiki/Views/Page/Revisions.cshtml index e85ae18..c30bada 100644 --- a/ZelWiki/Views/Page/Revisions.cshtml +++ b/ZelWiki/Views/Page/Revisions.cshtml @@ -33,7 +33,7 @@ 修订版本 修改人 修改时间 - Summary + 摘要 diff --git a/ZelWiki/Views/Shared/_Layout.cshtml b/ZelWiki/Views/Shared/_Layout.cshtml index c8c6094..a453509 100644 --- a/ZelWiki/Views/Shared/_Layout.cshtml +++ b/ZelWiki/Views/Shared/_Layout.cshtml @@ -168,7 +168,7 @@ 丢失页 特殊页 命名空间 - 附件 + 孤立附件 页面 } else if (sessionState.CanModerate ) diff --git a/solution/er图/Config/ConfigurationEntry.md b/solution/er图/Config/ConfigurationEntry.md new file mode 100644 index 0000000..aacbdbc --- /dev/null +++ b/solution/er图/Config/ConfigurationEntry.md @@ -0,0 +1,12 @@ +表 4-26 ConfigurationEntry(配置项表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 配置项ID | +| ConfigurationGroupId | INTEGER | 配置组ID | +| Name | TEXT | 配置项名称 | +| Value | TEXT | 配置值 | +| DataTypeId | INTEGER | 数据类型ID | +| Description | TEXT | 描述 | +| IsEncrypted | INTEGER | 是否加密 | +| IsRequired | INTEGER | 是否必填 | \ No newline at end of file diff --git a/solution/er图/Config/ConfigurationGroup.md b/solution/er图/Config/ConfigurationGroup.md new file mode 100644 index 0000000..2c90e4f --- /dev/null +++ b/solution/er图/Config/ConfigurationGroup.md @@ -0,0 +1,7 @@ +表 4-25 ConfigurationGroup(配置组表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 配置组ID | +| Name | TEXT | 配置组名称 | +| Description | TEXT | 描述 | \ No newline at end of file diff --git a/solution/er图/Config/MenuItem.md b/solution/er图/Config/MenuItem.md new file mode 100644 index 0000000..d7beb7f --- /dev/null +++ b/solution/er图/Config/MenuItem.md @@ -0,0 +1,8 @@ +表 4-24 MenuItem(菜单项表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 菜单项ID | +| Name | TEXT | 菜单项名称 | +| Link | TEXT | 链接 | +| Ordinal | INTEGER | 排序序号 | \ No newline at end of file diff --git a/solution/er图/Config/Theme.md b/solution/er图/Config/Theme.md new file mode 100644 index 0000000..412cfe6 --- /dev/null +++ b/solution/er图/Config/Theme.md @@ -0,0 +1,11 @@ +表 4-23 Theme(主题表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Name | TEXT | 主题名称 | +| DelimitedFiles | TEXT | 文件列表 | +| ClassNavBar | TEXT | 导航栏样式 | +| ClassNavLink | TEXT | 导航链接样式 | +| ClassDropdown | TEXT | 下拉菜单样式 | +| ClassBranding | TEXT | 边框样式 | +| EditorTheme | TEXT | 编辑器主题 | \ No newline at end of file diff --git a/solution/er图/DeletedPageRevisions/DeletionMeta.md b/solution/er图/DeletedPageRevisions/DeletionMeta.md new file mode 100644 index 0000000..5959816 --- /dev/null +++ b/solution/er图/DeletedPageRevisions/DeletionMeta.md @@ -0,0 +1,8 @@ +表 4-20 DeletionMeta(删除元数据表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| Revision | INTEGER | 修订版本 | +| DeletedByUserId | INTEGER | 删除者用户ID | +| DeletedDate | INTEGER | 删除日期 | \ No newline at end of file diff --git a/solution/er图/DeletedPageRevisions/PageRevision.md b/solution/er图/DeletedPageRevisions/PageRevision.md new file mode 100644 index 0000000..2a3d16c --- /dev/null +++ b/solution/er图/DeletedPageRevisions/PageRevision.md @@ -0,0 +1,13 @@ +表 4-21 PageRevision(页面修订表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| Name | TEXT | 页面名称 | +| Namespace | TEXT | 命名空间 | +| Description | TEXT | 描述 | +| Body | TEXT | 内容 | +| Revision | INTEGER | 修订版本 | +| ModifiedByUserId | TEXT | 修改者用户ID | +| ModifiedDate | TEXT | 修改日期 | +| DataHash | INTEGER | 数据哈希值 | \ No newline at end of file diff --git a/solution/er图/DeletedPageRevisions/PageRevisionAttachment.md b/solution/er图/DeletedPageRevisions/PageRevisionAttachment.md new file mode 100644 index 0000000..8419c7a --- /dev/null +++ b/solution/er图/DeletedPageRevisions/PageRevisionAttachment.md @@ -0,0 +1,8 @@ +表 4-22 PageRevisionAttachment(页面修订附件表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| PageFileId | INTEGER | 页面文件ID | +| FileRevision | INTEGER | 文件修订版本 | +| PageRevision | INTEGER | 页面修订版本 | \ No newline at end of file diff --git a/solution/er图/DeletedPages/DeletionMeta.md b/solution/er图/DeletedPages/DeletionMeta.md new file mode 100644 index 0000000..6e0a59e --- /dev/null +++ b/solution/er图/DeletedPages/DeletionMeta.md @@ -0,0 +1,7 @@ +表 4-19 DeletionMeta(删除元数据表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| DeletedByUserId | INTEGER | 删除者用户ID | +| DeletedDate | INTEGER | 删除日期 | \ No newline at end of file diff --git a/solution/er图/Emojis/Emoji.md b/solution/er图/Emojis/Emoji.md new file mode 100644 index 0000000..b0b848b --- /dev/null +++ b/solution/er图/Emojis/Emoji.md @@ -0,0 +1,8 @@ +表 4-18 Emoji(表情表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 表情ID | +| Name | TEXT | 表情名称 | +| ImageData | BLOB | 图片数据 | +| MimeType | TEXT | MIME 类型 | \ No newline at end of file diff --git a/solution/er图/Emojis/EmojiCategory.md b/solution/er图/Emojis/EmojiCategory.md new file mode 100644 index 0000000..c168dfb --- /dev/null +++ b/solution/er图/Emojis/EmojiCategory.md @@ -0,0 +1,7 @@ +表 4-17 EmojiCategory(表情分类表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 分类ID | +| EmojiId | INTEGER | 表情ID | +| Category | TEXT | 分类名称 | \ No newline at end of file diff --git a/solution/er图/Emojis/Emoji分类.png b/solution/er图/Emojis/EmojiCategory.png similarity index 100% rename from solution/er图/Emojis/Emoji分类.png rename to solution/er图/Emojis/EmojiCategory.png diff --git a/solution/er图/Exception.md b/solution/er图/Exception.md new file mode 100644 index 0000000..9447d12 --- /dev/null +++ b/solution/er图/Exception.md @@ -0,0 +1,9 @@ +表 4-16 Exception(异常记录表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 异常ID | +| Text | TEXT | 异常信息 | +| ExceptionText | TEXT | 异常详细文本 | +| StackTrace | TEXT | 堆栈跟踪信息 | +| CreatedDate | TEXT | 创建日期 | \ No newline at end of file diff --git a/solution/er图/Pages/PageFile.md b/solution/er图/Pages/PageFile.md new file mode 100644 index 0000000..2c38aca --- /dev/null +++ b/solution/er图/Pages/PageFile.md @@ -0,0 +1,10 @@ +表 4-9 PageFile(页面文件表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| Id | INTEGER | 文件ID | +| PageId | INTEGER | 页面ID | +| Name | TEXT | 文件名称 | +| Navigation | TEXT | 导航标识 | +| Revision | INTEGER | 修订版本 | +| CreatedDate | TEXT | 创建日期 | \ No newline at end of file diff --git a/solution/er图/Pages/PageFileRevision.md b/solution/er图/Pages/PageFileRevision.md new file mode 100644 index 0000000..0373901 --- /dev/null +++ b/solution/er图/Pages/PageFileRevision.md @@ -0,0 +1,12 @@ +表 4-10 PageFileRevision(页面文件修订表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageFileId | INTEGER | 页面文件ID | +| ContentType | TEXT | 内容类型 | +| Size | INTEGER | 文件大小 | +| CreatedByUserId | TEXT | 创建者用户ID | +| CreatedDate | TEXT | 创建日期 | +| Data | BLOB | 文件数据 | +| Revision | INTEGER | 修订版本 | +| DataHash | INTEGER | 数据哈希值 | \ No newline at end of file diff --git a/solution/er图/Pages/PageProcessingInstruction.md b/solution/er图/Pages/PageProcessingInstruction.md new file mode 100644 index 0000000..97dda74 --- /dev/null +++ b/solution/er图/Pages/PageProcessingInstruction.md @@ -0,0 +1,6 @@ +表 4-11 PageProcessingInstruction(页面处理指令表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| Instruction | TEXT | 处理指令 | \ No newline at end of file diff --git a/solution/er图/Pages/PageReference.md b/solution/er图/Pages/PageReference.md new file mode 100644 index 0000000..9e67228 --- /dev/null +++ b/solution/er图/Pages/PageReference.md @@ -0,0 +1,8 @@ +表 4-12 PageReference(页面引用表) + +| 字段 | 类型 | 说明 | +|----------------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| ReferencesPageName | TEXT | 引用页面名称 | +| ReferencesPageNavigation | TEXT | 引用页面导航标识 | +| ReferencesPageId | INTEGER | 引用页面ID | \ No newline at end of file diff --git a/solution/er图/Pages/PageRevision.md b/solution/er图/Pages/PageRevision.md new file mode 100644 index 0000000..3f87ea4 --- /dev/null +++ b/solution/er图/Pages/PageRevision.md @@ -0,0 +1,13 @@ +表 4-13 PageRevision(页面修订表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| Name | TEXT | 页面名称 | +| Namespace | TEXT | 命名空间 | +| Description | TEXT | 描述 | +| Body | TEXT | 内容 | +| Revision | INTEGER | 修订版本 | +| ModifiedByUserId | TEXT | 修改者用户ID | +| ModifiedDate | TEXT | 修改日期 | +| DataHash | INTEGER | 数据哈希值 | \ No newline at end of file diff --git a/solution/er图/Pages/PageRevisionAttachment.md b/solution/er图/Pages/PageRevisionAttachment.md new file mode 100644 index 0000000..7c35065 --- /dev/null +++ b/solution/er图/Pages/PageRevisionAttachment.md @@ -0,0 +1,8 @@ +表 4-14 PageRevisionAttachment(页面修订附件表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| PageFileId | INTEGER | 页面文件ID | +| FileRevision | INTEGER | 文件修订版本 | +| PageRevision | INTEGER | 页面修订版本 | \ No newline at end of file diff --git a/solution/er图/Pages/PageTag.md b/solution/er图/Pages/PageTag.md new file mode 100644 index 0000000..d3f3d68 --- /dev/null +++ b/solution/er图/Pages/PageTag.md @@ -0,0 +1,6 @@ +表 4-15 PageTag(页面标签表) + +| 字段 | 类型 | 说明 | +|--------------------|-----------|--------------------------| +| PageId | INTEGER | 页面ID | +| Tag | TEXT | 标签 | \ No newline at end of file diff --git a/solution/论文.docx b/solution/论文.docx index 16cf1a2..3d158ce 100644 Binary files a/solution/论文.docx and b/solution/论文.docx differ diff --git a/solution/运行截图/Snipaste_2025-02-28_21-20-54.png b/solution/运行截图/Snipaste_2025-02-28_21-20-54.png new file mode 100644 index 0000000..a985b57 Binary files /dev/null and b/solution/运行截图/Snipaste_2025-02-28_21-20-54.png differ diff --git a/solution/运行截图/Snipaste_2025-02-28_21-21-01.png b/solution/运行截图/Snipaste_2025-02-28_21-21-01.png new file mode 100644 index 0000000..8cf9db1 Binary files /dev/null and b/solution/运行截图/Snipaste_2025-02-28_21-21-01.png differ diff --git a/solution/运行截图/上传使用与删除页面附件.png b/solution/运行截图/上传使用与删除页面附件.png new file mode 100644 index 0000000..9e011a2 Binary files /dev/null and b/solution/运行截图/上传使用与删除页面附件.png differ diff --git a/solution/运行截图/丢失页.png b/solution/运行截图/丢失页.png new file mode 100644 index 0000000..308af87 Binary files /dev/null and b/solution/运行截图/丢失页.png differ diff --git a/solution/运行截图/个人信息修改.png b/solution/运行截图/个人信息修改.png new file mode 100644 index 0000000..2637a10 Binary files /dev/null and b/solution/运行截图/个人信息修改.png differ diff --git a/solution/运行截图/修改与删除.png b/solution/运行截图/修改与删除.png new file mode 100644 index 0000000..641cf6f Binary files /dev/null and b/solution/运行截图/修改与删除.png differ diff --git a/solution/运行截图/修改密码.png b/solution/运行截图/修改密码.png new file mode 100644 index 0000000..276d1f7 Binary files /dev/null and b/solution/运行截图/修改密码.png differ diff --git a/solution/运行截图/修订历史.png b/solution/运行截图/修订历史.png new file mode 100644 index 0000000..68eb8fb Binary files /dev/null and b/solution/运行截图/修订历史.png differ diff --git a/solution/运行截图/删除页.png b/solution/运行截图/删除页.png new file mode 100644 index 0000000..11f740b Binary files /dev/null and b/solution/运行截图/删除页.png differ diff --git a/solution/运行截图/图标列表.png b/solution/运行截图/图标列表.png new file mode 100644 index 0000000..5092b83 Binary files /dev/null and b/solution/运行截图/图标列表.png differ diff --git a/solution/运行截图/图标管理与编辑.png b/solution/运行截图/图标管理与编辑.png new file mode 100644 index 0000000..093026a Binary files /dev/null and b/solution/运行截图/图标管理与编辑.png differ diff --git a/solution/运行截图/图标编辑.png b/solution/运行截图/图标编辑.png new file mode 100644 index 0000000..1796e52 Binary files /dev/null and b/solution/运行截图/图标编辑.png differ diff --git a/solution/运行截图/孤立附件.png b/solution/运行截图/孤立附件.png new file mode 100644 index 0000000..7e5293f Binary files /dev/null and b/solution/运行截图/孤立附件.png differ diff --git a/solution/运行截图/异常.png b/solution/运行截图/异常.png new file mode 100644 index 0000000..5e84a4f Binary files /dev/null and b/solution/运行截图/异常.png differ diff --git a/solution/运行截图/异常2.png b/solution/运行截图/异常2.png new file mode 100644 index 0000000..2311c4e Binary files /dev/null and b/solution/运行截图/异常2.png differ diff --git a/solution/运行截图/异常明细.png b/solution/运行截图/异常明细.png new file mode 100644 index 0000000..fc5f64d Binary files /dev/null and b/solution/运行截图/异常明细.png differ diff --git a/solution/运行截图/指标.png b/solution/运行截图/指标.png new file mode 100644 index 0000000..599ed3d Binary files /dev/null and b/solution/运行截图/指标.png differ diff --git a/solution/运行截图/数据库.png b/solution/运行截图/数据库.png new file mode 100644 index 0000000..b4eb402 Binary files /dev/null and b/solution/运行截图/数据库.png differ diff --git a/solution/运行截图/数据统计.png b/solution/运行截图/数据统计.png new file mode 100644 index 0000000..cb5c5b1 Binary files /dev/null and b/solution/运行截图/数据统计.png differ diff --git a/solution/运行截图/查看历史修订与退回.png b/solution/运行截图/查看历史修订与退回.png new file mode 100644 index 0000000..eeab931 Binary files /dev/null and b/solution/运行截图/查看历史修订与退回.png differ diff --git a/solution/运行截图/特殊页.png b/solution/运行截图/特殊页.png new file mode 100644 index 0000000..7439ad5 Binary files /dev/null and b/solution/运行截图/特殊页.png differ diff --git a/solution/运行截图/登陆后.png b/solution/运行截图/登陆后.png new file mode 100644 index 0000000..e8980c2 Binary files /dev/null and b/solution/运行截图/登陆后.png differ diff --git a/solution/运行截图/系统配置.png b/solution/运行截图/系统配置.png new file mode 100644 index 0000000..07a932f Binary files /dev/null and b/solution/运行截图/系统配置.png differ diff --git a/solution/运行截图/评论功能.png b/solution/运行截图/评论功能.png new file mode 100644 index 0000000..110e94b Binary files /dev/null and b/solution/运行截图/评论功能.png differ diff --git a/solution/运行截图/账号管理.png b/solution/运行截图/账号管理.png new file mode 100644 index 0000000..4b88579 Binary files /dev/null and b/solution/运行截图/账号管理.png differ diff --git a/solution/运行截图/错误列表.png b/solution/运行截图/错误列表.png new file mode 100644 index 0000000..5e84a4f Binary files /dev/null and b/solution/运行截图/错误列表.png differ diff --git a/solution/运行截图/页面管理.png b/solution/运行截图/页面管理.png new file mode 100644 index 0000000..56e402c Binary files /dev/null and b/solution/运行截图/页面管理.png differ diff --git a/solution/运行截图/页面编辑.png b/solution/运行截图/页面编辑.png new file mode 100644 index 0000000..c6a04e3 Binary files /dev/null and b/solution/运行截图/页面编辑.png differ