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
张胜
77fccc637a
fix: cherry_markdown error ( #908 )
...
* fix: first open document, cherryMarkdown not have theme
* fix: modify prismjs style and improve image clarity
* update cherry-markdown
* optimiztion: cherry-markdown
* feat: cherry-markdown add auto-save and update icon
* fix: the mobile phone displays abnormally and Markdown does not allow conversion
---------
Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2023-11-20 17:31:45 +08:00
lei_lei
18b6ead94d
初始化日志模块时应先重置beego默认的logger ( #823 )
2023-08-23 10:22:02 +08:00
张胜
2e3aebe315
update cherry-markdown and update editormd code block style ( #888 )
...
* fix: first open document, cherryMarkdown not have theme
* fix: modify prismjs style and improve image clarity
* update cherry-markdown
* optimiztion: cherry-markdown
* feat: cherry-markdown add auto-save and update icon
---------
Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2023-08-21 15:09:47 +08:00
gsw945
5011aa964f
项目空间数量超过分页数量后不显示的bug修复
2023-08-09 10:51:06 +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
gsw945
cc34c6309e
Merge branch 'seanly-feature/support-drawio'
2023-07-03 10:12:58 +08:00
gsw945
3d7fdf513b
Merge branch 'feature/support-drawio' of https://github.com/seanly/mindoc into seanly-feature/support-drawio
2023-07-03 10:11:41 +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
zhuizhubf
048135a2d9
添加 github actions build.yml
2023-07-03 09:29:49 +08:00
Seanly Liu
ebb5bdb14b
implement drawio support
...
Signed-off-by: Ys Liu <seanly@opsbox.dev>
2023-07-03 00:02:16 +00:00
Seanly Liu
9ea4b9e80a
Adding LDAP environment variables.
...
Signed-off-by: Seanly Liu <seanly@aliyun.com>
2023-07-02 01:31:41 +08:00
Ys Liu
d7547a85df
Add mte to the Markdown editor to enhance table editing, e.g. https://susisu.github.io/mte-demo/ ( #1 )
...
Signed-off-by: Seanly Liu <seanly@opsbox.dev>
2023-06-30 23:30:43 +08:00
Go-Go-Farther
452577ca3d
bugfix:1. 修复加密文章访问,非作者和管理员不能访问的问题。还有密码修改文案。 resolves mindoc-org/mindoc#849 ( #867 )
2023-06-19 09:30:17 +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
gsw945
91f3e897bf
添加对 mindoc-daemon 的支持
2023-05-22 17:40:07 +08:00
玖亖伍
f7bc9bdb70
Dockerfile中calibre强制使用5.44.0版本
...
calibre最新版6.x疑似会导致导出失败,所以固定calibre为5.x的最新版本(5.44.0)
2023-05-04 15:17:25 +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
gsw945
725b6ac24e
临时解决阅读页面js报错'menuSetting undefined'
2023-04-17 14:25:11 +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
lingr7
a9e6826ff9
docs(musl-gcc): musl has moved to a new domain: musl.libc.org. ( #845 )
...
Co-authored-by: Guorui Lin <grlin@birentech.com>
2023-04-06 18:03:53 +08:00
Go-Go-Farther
71d33939eb
bugfix: 统一三种类型编辑器在创建文档时,Modal框提示语不一致问题
2023-03-30 09:39:10 +08:00
玖亖伍
6369b323ef
Update README.md
2023-03-27 17:07:51 +08:00
gsw945
4cdafc80b4
修复文件上传超过1GB报错的bug
2023-03-20 14:30:27 +08:00
dependabot[bot]
5f3b2fa1ef
Bump golang.org/x/image from 0.0.0-20220722155232-062f8c9fd539 to 0.5.0 ( #840 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20220722155232-062f8c9fd539 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 13:41:01 +08:00
dependabot[bot]
f81b734b0c
Bump golang.org/x/net from 0.0.0-20220826154423-83b083e8dc8b to 0.7.0 ( #839 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220826154423-83b083e8dc8b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 13:20:19 +08:00
dependabot[bot]
793f60403d
Bump golang.org/x/text from 0.3.7 to 0.3.8 ( #838 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 10:33:40 +08:00
gsw945
171b8700f1
修复2个无关紧要的问题
...
修复前端'javascript:;'跨域报错
修复当前用户角色名不翻译问题
2023-01-29 14:22:36 +08:00
玖亖伍
4ca490b4c2
Merge pull request #828 from Rebellioncry/master
...
修复只有第一次导入docx文件有效问题
2022-12-12 09:45:25 +08:00
Rebellioncry
ade6734779
修复只有第一次导入docx文件有效问题
2022-11-30 14:15:12 +08:00
玖亖伍
d43010640b
Merge pull request #822 from haimait/master-sql-comment
...
1.迁移表时添加字段注释 2.修复游客状态评论接口报空指针的问题
2022-10-28 22:48:07 +08:00
wanghaima
2862cb78c0
1. 打开项目时,左侧目录应按创建文档时的实际选择默认展开或收起
2022-10-28 19:25:20 +08:00
wanghaima
d3993a2f08
1.迁移表时添加字段注释
...
2.修复游客状态评论接口报空指针的问题
2022-10-28 12:33:36 +08:00
gsw945
4c6ef05fbd
ldap包使用v3版本
2022-09-02 11:08:59 +08:00
gsw945
2c07195f29
ldap包使用v3版本
2022-09-02 10:55:51 +08:00
gsw945
221b9deaaa
ldap登录时支持邮箱作为账户
2022-09-02 10:41:35 +08:00
玖亖伍
25f9d34edb
Merge pull request #815 from saozimian/master
...
bugfix:登录逻辑异常修复( #814 )
2022-08-29 11:23:40 +08:00
code huan
582f255b6d
bugfix:登录逻辑异常修复
2022-08-29 11:02:03 +08:00
玖亖伍
6648078bdf
Merge pull request #814 from saozimian/master
...
修改企业微信集成登录
2022-08-29 09:45:14 +08:00
code huan
c573be88d5
依赖更新
2022-08-28 17:57:37 +08:00
code huan
b9510a7057
企业微信8.22之后根据用户id获取信息已停用,修改登录认证
2022-08-28 17:56:46 +08:00
gsw945
5a9d097344
v2.1 docker 信息更新
2022-07-25 13:40:16 +08:00
gsw945
b833698978
使用 ghproxy.com 替换 github 实现加速
2022-07-25 13:21:12 +08:00
gsw945
5985392930
Dockerfile构建使用阿里云apt源
2022-07-25 12:17:59 +08:00
gsw945
4d9fe06436
Dockerfile更新 v2.1
2022-07-25 11:56:55 +08:00
gsw945
b00536f927
移动favicon.ico到static目录
2022-07-20 15:04:01 +08:00
玖亖伍
d5c5b62e3a
Merge pull request #806 from Go-Go-Farther/bugfix
...
bugfix: 1. 用户管理,用户角色栏文本显示异常;2. 修复非book管理员且非评论作者,但是能删除评论的bug。
2022-07-20 13:35:01 +08:00