变更版本

This commit is contained in:
xiaozzzi
2023-10-19 15:36:43 +08:00
parent cb4b8a2dad
commit 5dc8f48eda
10 changed files with 39 additions and 32 deletions

View File

@@ -2,7 +2,7 @@
<img src="./doc/imgs/icon.png" height="200">
</p>
<p align="center" style="font-size: 30px;font-weight:500;">
Blossom 1.7.0
Blossom 1.7.1
</p>
<p align="center">
<a href="https://www.wangyunf.com/blossom-doc/doc/tryuse">💻️ 试用</a> | <a href="https://www.wangyunf.com/blossom-doc/index">📃 文档</a> | <a href="https://github.com/blossom-editor/blossom/releases">📥 下载</a>
@@ -10,7 +10,7 @@ Blossom 1.7.0
---
Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**你可以将你所有的笔记图片个人计划安排保存在自己的服务器中并在任意设备之间实时同步且基于MIT协议完全开源。
Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**,你可以将你所有的笔记,图片,个人计划安排保存在自己的服务器中,并在任意设备之间实时同步,且基于 MIT 协议完全开源。
<p align="center">
<img src="./doc/imgs/home_ld_1_4_0.png">
@@ -26,7 +26,7 @@ Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**
1. **不再需要为同步设备数量付费**
2. **不再需要为公网访问付费**
3. **不再需要为软件付费**,基于MIT协议完全开源
3. **不再需要为软件付费**,基于 MIT 协议完全开源
4. **文章与图片都在你的服务器存储**,不需要再使用任何三方图床,不需要购买任何对象存储。
5. **没有任何私有协议**,基于 Markdown 语法,采用约定格式拓展样式。迁移到其他软件可以正常显示。
6. **多账号权限**,可以和你的朋友一起使用。或者将自己的生活/工作笔记存放在不同账号中。
@@ -36,13 +36,14 @@ Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**
10. **支持 Docker / Docker Compose 部署**
### 🎁 Blossom 具有以下功能:
1. **文章编辑**Markdown 文章编写,文章公网访问权限,文章分类管理。
2. **双链笔记**:内部文章与外部链接引用形成的双链笔记知识网络。
3. **全量导出**:每日全量备份,备份一键下载。
4. **网页转换**:将 Markdown 文章转换成网页,一键打包分享。
5. **番茄时钟**:编辑器包含一个番茄钟功能。。
6. **图片存储**:按文章目录分类你的图片,或自定义图片目录,图片与文章双向查询。
7. **自带截图**(仅windows),你不再需要使用其他截图工具截图后保存在本地再上传到云端了。
7. **自带截图**(仅 windows),你不再需要使用其他截图工具截图后保存在本地再上传到云端了。
8. **待办清单**:以 Todo List 的方式管理你的每日事项或阶段性计划。
9. **计划安排**:阶段性的长期计划,或者日历中的短期计划安排。
10. **快捷便签**:方便你记录随意的日常信息。
@@ -55,40 +56,46 @@ Blossom 是一个支持**私有部署**的**云端存储双链笔记软件**
docker compose -f docker/compose/blossom-mysql8.yaml up -d
```
# 🌄 更多 Blossom 图片
!["编辑器"](./doc/imgs/editor_intro.png)
<p align="center">编辑器</p>
---
!["双链笔记"](./doc/imgs/editor_graph.png)
<p align="center">双链笔记</p>
---
!["照片墙"](./doc/imgs/pic_s_light.png)
<p align="center">照片墙</p>
---
!["日历计划"](./doc/imgs/todo_l.jpg)
<p align="center">待办事项清单</p>
---
!["日历计划"](./doc/imgs/plan_s_light.png)
<p align="center">日历计划</p>
---
!["便签管理"](./doc/imgs/note_s_light.jpg)
<p align="center">便签管理</p>
---
!["博客"](./doc/imgs/blog_home.jpg)
<p align="center">博客</p>
<p align="center">

View File

@@ -2,7 +2,7 @@
<img src="../doc/imgs/icon.png" height="200">
</p>
<p align="center" style="font-size: 30px;font-weight:500;">
Blossom 1.7.0
Blossom 1.7.1
</p>
<p align="center">
<a href="https://www.wangyunf.com/blossom-doc/doc/tryuse">💻️ 试用</a> | <a href="https://www.wangyunf.com/blossom-doc/index">📃 文档</a> | <a href="https://github.com/blossom-editor/blossom/releases">📥 下载</a>

View File

@@ -1,12 +1,12 @@
{
"name": "blossom",
"version": "1.7.0",
"version": "1.7.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "blossom",
"version": "1.7.0",
"version": "1.7.1",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@@ -1,7 +1,7 @@
{
"name": "blossom",
"productName": "Blossom",
"version": "1.7.0",
"version": "1.7.1",
"description": "A markdown editor",
"license": "MIT",
"main": "./out/main/index.js",

View File

@@ -165,7 +165,7 @@
<br>
<span style="font-size: 13px;">加载中...</span>
</div>
<div class="html-loading-version">V1.7.0</div>
<div class="html-loading-version">V1.7.1</div>
</div>
<script type="module" src="/src/main.ts"></script>
</div>

View File

@@ -5,7 +5,7 @@ const blossom: any = {
SYS: {
NAME: 'Blossom',
FULL_NAME: 'BLOSSOM-EDITOR',
VERSION: 'v1.7.0',
VERSION: 'v1.7.1',
//
DOC: 'https://www.wangyunf.com/blossom-doc/index',

View File

@@ -1,12 +1,12 @@
{
"name": "blossom-web",
"version": "1.7.0",
"version": "1.7.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "blossom-web",
"version": "1.6.0",
"version": "1.7.1",
"dependencies": {
"axios": "^1.4.0",
"echarts": "^5.4.3",

View File

@@ -1,6 +1,6 @@
{
"name": "blossom-web",
"version": "1.7.0",
"version": "1.7.1",
"private": true,
"scripts": {
"dev": "vite",

View File

@@ -7,7 +7,7 @@ const blossom: any = {
NAME: 'Blossom',
SHORT_NAME: 'BLOSSOM-WEB',
// 版本
VERSION: 'v1.7.0',
VERSION: 'v1.7.1',
// 公网安备号
GONG_WANG_AN_BEI: 'X公网安备 XXXXXXXXXX号',
// ICP 备案号

View File

@@ -1,10 +1,10 @@
import { isNull } from "./obj"
import { isNull } from './obj'
/**
* 跳转新开页面
* @param url 地址
*/
export const toView = (url:string):void => {
export const toView = (url: string): void => {
window.open(url)
}
@@ -20,7 +20,7 @@ export const getNowTimeFormat = (): string => {
let h = formatNum(now.getHours())
let min = formatNum(now.getMinutes())
let s = formatNum(now.getSeconds())
return '' + y + '-' + m + '-' + d + ' ' + h + ':' + min + ':' + s;
return '' + y + '-' + m + '-' + d + ' ' + h + ':' + min + ':' + s
}
/**
@@ -35,7 +35,7 @@ export const secondsToDatetime = (seconds: number | string | Date): string => {
let h = formatNum(now.getHours())
let min = formatNum(now.getMinutes())
let s = formatNum(now.getSeconds())
return '' + y + '-' + m + '-' + d + ' ' + h + ':' + min + ':' + s;
return '' + y + '-' + m + '-' + d + ' ' + h + ':' + min + ':' + s
}
/**
@@ -51,7 +51,7 @@ export const timestampToDatetime = (timestamp: number | string | Date): string =
let min = formatNum(now.getMinutes())
let s = formatNum(now.getSeconds())
let SSS = formatNum(now.getMilliseconds())
return '' + y + '-' + m + '-' + d + ' ' + h + ':' + min + ':' + s + '.' + SSS;
return '' + y + '-' + m + '-' + d + ' ' + h + ':' + min + ':' + s + '.' + SSS
}
const formatNum = (num: string | number) => {
@@ -59,7 +59,7 @@ const formatNum = (num: string | number) => {
return '0' + num
}
return num
};
}
/**
* 格式化JSON字符串
@@ -69,25 +69,25 @@ const formatNum = (num: string | number) => {
*/
export const formatJson = (msg: string, customRetract?: string): string => {
// 格式化缩进为2个空格
const retract = isNull(customRetract) ? ' ' : customRetract;
let rep = '~';
let jsonStr = JSON.stringify(msg, null, rep);
let str = '';
const retract = isNull(customRetract) ? ' ' : customRetract
let rep = '~'
let jsonStr = JSON.stringify(msg, null, rep)
let str = ''
for (let i = 0; i < jsonStr.length; i++) {
let text2 = jsonStr.charAt(i);
let text2 = jsonStr.charAt(i)
if (i > 1) {
let text = jsonStr.charAt(i - 1);
let text = jsonStr.charAt(i - 1)
if (rep !== text && rep === text2) {
// str += '\n'
}
}
str += text2
}
jsonStr = '';
jsonStr = ''
for (let i = 0; i < str.length; i++) {
let text = str.charAt(i);
let text = str.charAt(i)
if (rep === text) {
jsonStr += retract;
jsonStr += retract
} else {
jsonStr += text
}
@@ -95,5 +95,5 @@ export const formatJson = (msg: string, customRetract?: string): string => {
jsonStr += '\n'
}
}
return jsonStr;
};
return jsonStr
}