From c6dca8fa9ccc1114be9edce494903dcf803943af Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 25 Jul 2023 12:26:45 +0800 Subject: [PATCH] :bookmark: Release v2.9.7 --- app/changelogs/v2.9.7/v2.9.7.md | 43 ++++++++++++++++++++++++++ app/changelogs/v2.9.7/v2.9.7_zh_CHT.md | 43 ++++++++++++++++++++++++++ app/changelogs/v2.9.7/v2.9.7_zh_CN.md | 43 ++++++++++++++++++++++++++ kernel/av/table.go | 3 ++ 4 files changed, 132 insertions(+) create mode 100644 app/changelogs/v2.9.7/v2.9.7.md create mode 100644 app/changelogs/v2.9.7/v2.9.7_zh_CHT.md create mode 100644 app/changelogs/v2.9.7/v2.9.7_zh_CN.md diff --git a/app/changelogs/v2.9.7/v2.9.7.md b/app/changelogs/v2.9.7/v2.9.7.md new file mode 100644 index 000000000..96f0b368c --- /dev/null +++ b/app/changelogs/v2.9.7/v2.9.7.md @@ -0,0 +1,43 @@ +## Overview + +This version fixes a bug that caused cloud data corruption, it is recommended to upgrade as soon as possible. + +In addition, starting from this version, you need to sign in to access third-party cloud storage S3/WebDAV, please be informed. + +## Changelogs + +Below are the detailed changes in this version. + +### Enhancement + +* [Improve block ref floating window size and position](https://github.com/siyuan-note/siyuan/issues/8422) +* [`Alt+↓/↑` select search history keyword](https://github.com/siyuan-note/siyuan/issues/8446) +* [Improve font setting interaction on the mobile](https://github.com/siyuan-note/siyuan/issues/8621) +* [Issues when deleting a list item on Android](https://github.com/siyuan-note/siyuan/issues/8745) +* [Improve find replace](https://github.com/siyuan-note/siyuan/issues/8771) +* [Sign in to use S3/WebDAV data sync and backup](https://github.com/siyuan-note/siyuan/issues/8779) +* [`Change icon` uses random emoji](https://github.com/siyuan-note/siyuan/issues/8781) +* [High gap between words in Doc Tree tooltip](https://github.com/siyuan-note/siyuan/issues/8782) +* [Code block action icon getting cropped](https://github.com/siyuan-note/siyuan/issues/8783) +* [Improve placement of reference count](https://github.com/siyuan-note/siyuan/issues/8784) +* [Embed block missing tooltips](https://github.com/siyuan-note/siyuan/issues/8785) +* [`Ctrl+P` search no longer use the last used path](https://github.com/siyuan-note/siyuan/issues/8786) +* [Tag background and color - text not readable](https://github.com/siyuan-note/siyuan/issues/8788) +* [Refresh the breadcrumb after deleting a block](https://github.com/siyuan-note/siyuan/issues/8789) +* [Windows uninstaller removes the global configuration](https://github.com/siyuan-note/siyuan/issues/8795) +* [Add a refresh button to the search interface](https://github.com/siyuan-note/siyuan/issues/8800) +* [Improve data sync](https://github.com/siyuan-note/siyuan/issues/8803) + +### Bugfix + +* [Export Word inline-level elements are not rendered](https://github.com/siyuan-note/siyuan/issues/8774) + +### Refactor + +* [Upgrade Electron](https://github.com/siyuan-note/siyuan/issues/8797) + +### Development + +* [Add date type column to Attribute View](https://github.com/siyuan-note/siyuan/issues/8692) +* [Add global mouse position variable](https://github.com/siyuan-note/siyuan/pull/8793) +* [Kernel API `/api/file/readDir` support for returning symbolic link information](https://github.com/siyuan-note/siyuan/pull/8805) diff --git a/app/changelogs/v2.9.7/v2.9.7_zh_CHT.md b/app/changelogs/v2.9.7/v2.9.7_zh_CHT.md new file mode 100644 index 000000000..a3d90b4a1 --- /dev/null +++ b/app/changelogs/v2.9.7/v2.9.7_zh_CHT.md @@ -0,0 +1,43 @@ +## 概述 + +该版本修复了一个导致云端数据损坏的问题,建议尽快升级。 + +另外,从该版本开始,接入第三方云端存储 S3/WebDAV 需要登录后才能使用,请悉知。 + +## 变更记录 + +以下是此版本中的详细变更。 + +### 改进功能 + +* [改进块引浮窗位置和大小](https://github.com/siyuan-note/siyuan/issues/8422) +* [`Alt+↓/↑` 选择搜索历史关键字](https://github.com/siyuan-note/siyuan/issues/8446) +* [改进移动端字体设置交互](https://github.com/siyuan-note/siyuan/issues/8621) +* [改进 Android 端输入法相关问题](https://github.com/siyuan-note/siyuan/issues/8745) +* [改进搜索替换](https://github.com/siyuan-note/siyuan/issues/8771) +* [S3/WebDAV 数据同步和备份需要登录](https://github.com/siyuan-note/siyuan/issues/8779) +* [`修改图标` 改为 `随机图标](https://github.com/siyuan-note/siyuan/issues/8781) +* [优化文档树提示文案文字间隙大小](https://github.com/siyuan-note/siyuan/issues/8782) +* [代码块操作图标不再被遮挡](https://github.com/siyuan-note/siyuan/issues/8783) +* [改进块引计数显示位置](https://github.com/siyuan-note/siyuan/issues/8784) +* [嵌入块显示提示文案](https://github.com/siyuan-note/siyuan/issues/8785) +* [`Ctrl+P` 搜索不再沿用上一次指定的路径](https://github.com/siyuan-note/siyuan/issues/8786) +* [优化标签背景和文字颜色](https://github.com/siyuan-note/siyuan/issues/8788) +* [删除块后刷新面包屑](https://github.com/siyuan-note/siyuan/issues/8789) +* [Windows 端卸载应用程序时支持选择是否删除全局配置](https://github.com/siyuan-note/siyuan/issues/8795) +* [搜索界面添加刷新按钮](https://github.com/siyuan-note/siyuan/issues/8800) +* [文件被外部占用时数据同步不再导致云端数据损坏](https://github.com/siyuan-note/siyuan/issues/8803) + +### 修复缺陷 + +* [修复导出 Word 时不渲染行级元素的问题](https://github.com/siyuan-note/siyuan/issues/8774) + +### 开发重构 + +* [升级 Electron](https://github.com/siyuan-note/siyuan/issues/8797) + +### 开发者 + +* [属性视图添加日期类型列](https://github.com/siyuan-note/siyuan/issues/8692) +* [添加全局鼠标位置变量](https://github.com/siyuan-note/siyuan/pull/8793) +* [内核 API `/api/file/readDir` 支持返回符号链接信息](https://github.com/siyuan-note/siyuan/pull/8805) diff --git a/app/changelogs/v2.9.7/v2.9.7_zh_CN.md b/app/changelogs/v2.9.7/v2.9.7_zh_CN.md new file mode 100644 index 000000000..a3d90b4a1 --- /dev/null +++ b/app/changelogs/v2.9.7/v2.9.7_zh_CN.md @@ -0,0 +1,43 @@ +## 概述 + +该版本修复了一个导致云端数据损坏的问题,建议尽快升级。 + +另外,从该版本开始,接入第三方云端存储 S3/WebDAV 需要登录后才能使用,请悉知。 + +## 变更记录 + +以下是此版本中的详细变更。 + +### 改进功能 + +* [改进块引浮窗位置和大小](https://github.com/siyuan-note/siyuan/issues/8422) +* [`Alt+↓/↑` 选择搜索历史关键字](https://github.com/siyuan-note/siyuan/issues/8446) +* [改进移动端字体设置交互](https://github.com/siyuan-note/siyuan/issues/8621) +* [改进 Android 端输入法相关问题](https://github.com/siyuan-note/siyuan/issues/8745) +* [改进搜索替换](https://github.com/siyuan-note/siyuan/issues/8771) +* [S3/WebDAV 数据同步和备份需要登录](https://github.com/siyuan-note/siyuan/issues/8779) +* [`修改图标` 改为 `随机图标](https://github.com/siyuan-note/siyuan/issues/8781) +* [优化文档树提示文案文字间隙大小](https://github.com/siyuan-note/siyuan/issues/8782) +* [代码块操作图标不再被遮挡](https://github.com/siyuan-note/siyuan/issues/8783) +* [改进块引计数显示位置](https://github.com/siyuan-note/siyuan/issues/8784) +* [嵌入块显示提示文案](https://github.com/siyuan-note/siyuan/issues/8785) +* [`Ctrl+P` 搜索不再沿用上一次指定的路径](https://github.com/siyuan-note/siyuan/issues/8786) +* [优化标签背景和文字颜色](https://github.com/siyuan-note/siyuan/issues/8788) +* [删除块后刷新面包屑](https://github.com/siyuan-note/siyuan/issues/8789) +* [Windows 端卸载应用程序时支持选择是否删除全局配置](https://github.com/siyuan-note/siyuan/issues/8795) +* [搜索界面添加刷新按钮](https://github.com/siyuan-note/siyuan/issues/8800) +* [文件被外部占用时数据同步不再导致云端数据损坏](https://github.com/siyuan-note/siyuan/issues/8803) + +### 修复缺陷 + +* [修复导出 Word 时不渲染行级元素的问题](https://github.com/siyuan-note/siyuan/issues/8774) + +### 开发重构 + +* [升级 Electron](https://github.com/siyuan-note/siyuan/issues/8797) + +### 开发者 + +* [属性视图添加日期类型列](https://github.com/siyuan-note/siyuan/issues/8692) +* [添加全局鼠标位置变量](https://github.com/siyuan-note/siyuan/pull/8793) +* [内核 API `/api/file/readDir` 支持返回符号链接信息](https://github.com/siyuan-note/siyuan/pull/8805) diff --git a/kernel/av/table.go b/kernel/av/table.go index a59d11b82..d8d06a144 100644 --- a/kernel/av/table.go +++ b/kernel/av/table.go @@ -192,6 +192,9 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool case FilterOperatorIsLessOrEqual: return value.Date.Content <= other.Date.Content case FilterOperatorIsBetween: + if value.Date.HasEndDate { + // TODO: date filter (between) + } return value.Date.Content >= other.Date.Content && value.Date.Content <= other.Date.Content2 case FilterOperatorIsEmpty: return 0 == value.Date.Content