Sharklet
71b8e528ff
增加清理附件按钮,对悬空无引用的图片/附件进行清理 ( #918 )
...
* add attach_clean & change_theme
* add attach_clean & change_theme
* add
* add readme
---------
Co-authored-by: root <root@DESKTOP-L84EQPB.localdomain>
2023-12-19 13:19:31 +08:00
玖亖伍
0dbb5d7967
escape underline and percent sign for DocumentSearchResult
2023-12-09 14:40:58 +08:00
guangwu
06e7b0ab70
chore: use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...))
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-07-07 11:00:36 +08:00
张胜
21fe4b631a
markdown编辑器增加cherryMarkdown
...
* 使用cherryMarkdown替换editorMd
* 支持历史&边栏
* 优化代码&支持html格式渲染为预览格式&保存主题配置
* 修复drawio异常
* 优化drawio异常改法
* 自定义提示面板主题颜色
* drawio增加样式,并且更新到最新版本
* 增加代码块复制功能&&修复drawio渲染图片过大&&drawio生成图片背景改为透明
* 恢复原有markdown编辑器,新增cherry markdown编辑器
* 修复复制功能异常
* 修复drawio偶尔无法编辑
---------
Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2023-07-03 09:41:27 +08:00
Go-Go-Farther
c8f7a2a544
修复附件不能下载问题
...
fixes #850
1. 修复文档为空附件不能下载
2. 修复文档设置为非markdown编辑附件不能下载
3. 兼容现存问题文档
4. 非markdown编辑文档,阅读时增加文档修改信息
2023-06-07 10:04:11 +08:00
gsw945
a2202f8878
ldaps support
2023-05-23 19:10:34 +08:00
LawyZheng
08d0e1613d
重写Auth2.0登录逻辑 ( #851 )
...
* go mod update
* feat: change to new wxwork sso login
* fix: can't log in by workwx browser
* fix: workwx auto regist
* fix: change app.conf.example
* fix: workwx account can't be disabled
* fix: workwx account delete
* fix: workwx bind error
* feat: optimize wecom login
* feat: rewrite dingtalk login
* feat: rewrite dingtalk login
* feat: optimize auth2 login
2023-04-20 13:24:28 +08:00
Feng Chang
8b57c6aaf0
Add postgresql support ( #792 )
...
* use false for bool type
Signed-off-by: ChangFeng <chang_196700@hotmail.com>
* use `limit ? offset ?` instead limit ?,? for database compatibility
Signed-off-by: ChangFeng <chang_196700@hotmail.com>
* add postgresql support
Signed-off-by: ChangFeng <chang_196700@hotmail.com>
* add postgres options and descriptions
Signed-off-by: ChangFeng <chang_196700@hotmail.com>
---------
close #791
Signed-off-by: ChangFeng <chang_196700@hotmail.com>
Co-authored-by: 玖亖伍 <gsw945@foxmail.com>
2023-04-14 11:09:53 +08:00
zhaogaolong
bc4cfdbbe6
fix issue 534
...
fix #534
2023-04-14 10:43:55 +08:00
Rebellioncry
ade6734779
修复只有第一次导入docx文件有效问题
2022-11-30 14:15:12 +08:00
wanghaima
d3993a2f08
1.迁移表时添加字段注释
...
2.修复游客状态评论接口报空指针的问题
2022-10-28 12:33:36 +08:00
gsw945
221b9deaaa
ldap登录时支持邮箱作为账户
2022-09-02 10:41:35 +08:00
Go-Go-Farther
1b47f0c372
bugfix: 1. 用户管理,用户角色栏文本显示异常;2. 修复非book管理员且非评论作者,但是能删除评论的bug。
2022-07-19 23:56:42 +08:00
Go-Go-Farther
940cc2420c
bugfix: 修复zip的slip问题,防止上传恶意zip,增强服务器安全性。
2022-06-20 13:54:53 +08:00
gsw945
8d92550458
fix error `mindoc:runtime error: invalid memory address or nil pointer dereference`
2022-05-18 11:17:03 +08:00
玖亖伍
a5dfdb4b6e
Merge branch 'master' into master
2022-05-09 18:19:08 +08:00
玖亖伍
dbc9fd9c91
Merge pull request #779 from hz-bin/master
...
增加评论功能
2022-05-09 18:11:46 +08:00
gsw945
634d640e31
导出页面移除不存在的mermaid.css引用
2022-05-07 18:21:34 +08:00
gsw945
8ff4c28927
Merge branch 'master' of https://github.com/gsw945/mindoc into master
2022-05-07 18:17:38 +08:00
gsw945
0671b0cd40
企业微信登录初步调通
2022-05-07 18:06:46 +08:00
wangbin13
0d0582c37c
Merge remote-tracking branch 'upstream/master'
2022-03-05 18:29:59 +08:00
sloong
68cfc08e24
fix #776 : 修复在mysql8.0中由于member关键词导致系统无法正常使用的异常
2022-03-03 11:38:11 +08:00
Augists
63c0ac0a1d
add support for importing docx file as book
2022-02-11 16:37:42 +08:00
Augists
4eec37e7c9
fix bugs
2022-02-11 13:31:03 +08:00
Augists
7de992adb0
woshishazi
2022-02-11 11:36:30 +08:00
Augists
a877083e96
add support for importing docx file
2022-02-11 11:10:58 +08:00
shiqstone
f02ff935fe
update for init i18n
2021-04-21 22:00:03 +08:00
shiqstone
0fb6fcb114
fix bug for i18n and beego v2
2021-04-21 20:44:19 +08:00
shiqstone
4ad0fe74d0
merge from mindoc-org/mindoc and resolved conflict
2021-04-21 20:40:54 +08:00
shiqstone
cb70c35037
refactor, fix bug and update i18n(management), to be continue
2021-04-21 12:22:34 +08:00
shiqstone
6eb26fcb23
User
...
refactor and update i18n, to be continue
2021-04-12 21:12:26 +08:00
wangbin8909
b21035bbfd
Merge remote-tracking branch 'upstream/master'
2021-04-11 17:19:54 +08:00
wangbin05
27dea7b8bd
提交评论时,判断文章是否存在。删除时判断是否有权限删除。
2021-04-04 16:44:14 +08:00
wangbin05
3d12583eba
增加删除评论
2021-04-03 22:44:43 +08:00
wangbin05
7fb0e66ddc
增加评论功能
2021-04-03 17:40:08 +08:00
roberChen
47a5d5b05c
Merge branch 'master' into new-beego-path
2021-04-01 11:33:19 +08:00
wangbin05
dc578c3b34
修改排版
2021-04-01 10:48:35 +08:00
wangbin05
323378c0ae
增加阅读次数
2021-04-01 09:23:55 +08:00
wangbin05
5b274ce836
增加文章阅读次数
2021-03-31 19:32:18 +08:00
shiqstone
782ea44388
refactor, replace beego.Error with logs.Error
2021-03-30 14:24:14 +08:00
roberChen
bdaeefc784
fix(login): judging ldap_enable logic error
...
review: https://github.com/mindoc-org/mindoc/pull/662#discussion_r603750715
2021-03-30 11:45:56 +08:00
roberChen
debc3aa5c9
fix(all): don't use adapter in FuncMap and Filter etc.
2021-03-26 15:37:19 +08:00
roberChen
967ef37ce9
chore: use core/logs
...
- depretace all adapter/logs to core/logs
2021-03-26 14:26:19 +08:00
roberChen
916c9c6c2a
fix(models): use client/orm instead of adapter/orm
...
- using new orm api, change some related logics
- newer orm api has the concept of TxOrmer, for purpose of transaction
handling. A transaction ormer in v2 is a stateful object, it should be
dropped after using. A Ormer object is stateless and thread(routine)
safe, and should not be used for transaction handling. More details
count be found at official doc:
https://beego.me/docs/mvc/model/orm.md , and pr note: https://github.com/mindoc-org/mindoc/pull/662#issuecomment-807040262
2021-03-26 11:34:02 +08:00
roberChen
8b7d56a547
Merge branch 'master' into new-beego-path
2021-03-26 10:43:54 +08:00
wangbin8909
786b7532cf
Merge remote-tracking branch 'upstream/master'
...
合并主干
2021-03-26 08:50:38 +08:00
wangbin8909
79eefb56ac
修改文档底部信息,增加文档创建时间。
2021-03-26 08:43:33 +08:00
roberChen
272316f7b4
Merge branch 'master' into new-beego-path
2021-03-25 11:49:39 +08:00
roberChen
4e243e2d70
chore(member): add debug info print
2021-03-25 11:36:06 +08:00
roberChen
2d05b5a80f
fix(config): use web.AppConfig instead of adapter
...
- use web.AppConfig, and change related codes
TODO: handles errors
2021-03-25 10:42:18 +08:00