v0.7.1
This commit is contained in:
parent
ae0b07926f
commit
5989f06774
13
CHANGES.md
13
CHANGES.md
@ -1,10 +1,19 @@
|
||||
## 版本更新记录
|
||||
|
||||
### v0.7.1 2021-09
|
||||
### v0.7.1 2021-09-29
|
||||
|
||||
- [新增]安全报告SECURITY.md;
|
||||
- [修复]用户上传文件中yaml加载的安全漏洞;
|
||||
- [修复]文集文档拖拽排序第三级文档排序失效的问题;
|
||||
- [修复]附件限制在个人中心附件管理上传无效的问题;
|
||||
- [修复]Markdown文集导入文档排序的问题;
|
||||
- [修复]文集创建者和高级协作者无法复制/移动协作者创建的文档的问题;
|
||||
- [优化]zip文集导入的处理;
|
||||
- [优化]默认禁止上传SVG图片(有安全风险);
|
||||
- [优化]文档XSS过滤;
|
||||
- [优化]文档名称XSS过滤;
|
||||
- [优化]站点管理和个人中心页面;
|
||||
- [优化]文档全文搜索生成索引时的异常处理;
|
||||
|
||||
|
||||
|
||||
### v0.7.0 2021-08-31
|
||||
|
||||
@ -40,7 +40,7 @@ SECRET_KEY = '5&71mt9@^58zdg*_!t(x6g14q*@84d%ptr%%s6e0l50zs0we3d'
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = CONFIG.getboolean('site','debug',fallback=False)
|
||||
|
||||
VERSIONS = '0.7.0'
|
||||
VERSIONS = '0.7.1'
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/MrDoc-v0.7.0-brightgreen.svg" title="Mrdoc" />
|
||||
<img src="https://img.shields.io/badge/MrDoc-v0.7.1-brightgreen.svg" title="Mrdoc" />
|
||||
<img src="https://img.shields.io/badge/Python-3.5+-blue.svg" title="Python" />
|
||||
<img src="https://img.shields.io/badge/Django-v2.2-important.svg" title="Django" />
|
||||
</p>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/MrDoc-v0.7.0-brightgreen.svg" title="Mrdoc" />
|
||||
<img src="https://img.shields.io/badge/MrDoc-v0.7.1-brightgreen.svg" title="Mrdoc" />
|
||||
<img src="https://img.shields.io/badge/Python-3.5+-blue.svg" title="Python" />
|
||||
<img src="https://img.shields.io/badge/Django-v2.2-important.svg" title="Django" />
|
||||
</p>
|
||||
|
||||
@ -179,6 +179,8 @@ class WhooshSearchBackend(BaseSearchBackend):
|
||||
self.index = self.storage.open_index(schema=self.schema)
|
||||
except index.EmptyIndexError:
|
||||
self.index = self.storage.create_index(self.schema)
|
||||
except:
|
||||
self.index = self.storage.create_index(self.schema)
|
||||
|
||||
self.setup_complete = True
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user