Commit Graph

985 Commits (710d5bcf50f9988ac1c6ddc526d515225adedca3)
 

Author SHA1 Message Date
zhanzhenping 710d5bcf50
feat: 实现首页项目拖拽排序功能以及部分功能优化 (#955)
* feat: 首页项目拖拽排序功能

* feat: 增加首页项目拖拽排序增加只能管理员进行, 排序失败元素回到原本位置

* perf: 新建文章以后直接进入到编辑文章页面

* perf: 优化文档打开时或刷新时样式闪动问题
2024-07-04 09:43:33 +08:00
张胜 ad5e871a0f
fix issues_909 (#948)
Co-authored-by: zhangsheng <zhangsheng@zhangshengdeMacBook-Pro.local>
2024-06-11 18:55:03 +08:00
hotqin888 66cd615461
update cherry-markdown.js&cherry_markdown.js (#947)
* update images upload

* modify js res.url

* add froala

* froala-editor.js

* update cherry-markdown&cherry_markdown.js
2024-06-11 18:52:03 +08:00
hotqin888 0ce6c5bbf9
add froala (#945)
* update images upload

* modify js res.url

* add froala

* froala-editor.js
2024-06-05 13:17:08 +08:00
hotqin888 db620be8df
update images upload (#944)
* update images upload

* modify js res.url
2024-06-03 10:58:07 +08:00
gsw945 397dced5ce 恢复 uploads 目录 2024-05-14 10:17:38 +08:00
hotqin888 22589e344c
add prev&next read (#941)
* add prev&next read
* add prev&next in default read.tpl
* update prev&next
2024-05-09 13:33:27 +08:00
张胜 c810f81fc1
cherry markdown支持上传图片pdf以及word (#936)
* 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

* fix: cherry display not complete

* support upload pdf&word&picture

* support upload pdf&word&picture

---------

Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2024-04-19 13:18:14 +08:00
nightx bc457dedaa
fix LDAP variable name (#932) 2024-03-27 09:42:02 +08:00
ydf 5504c4350b
[bug] fix kancloud js & firefox show style & fix search highlight (#926)
Co-authored-by: admin <you@example.com>
2024-01-09 19:54:31 +08:00
ydf e64bee1e1e
增加 wangEditor v4 的 国际化语言支持,support eng (#923)
* [il8] 增加html 编辑器的英文模式

* [template] add window.lang

* [wangeditor v4] 更新多语音

* [i18n] update eng langure

* [i18n] update eng langure

* update releaseBook langure

---------

Co-authored-by: admin <you@example.com>
2024-01-05 10:45:07 +08:00
xiangshenb 663eb28de2
修复python代码库异步请求获取数据的时候高亮显示问题 (#920)
* 修复代码库读取缓存数据不高亮的问题

* 代码块重复点击高亮样式问题修复

---------

Co-authored-by: xiangshen <xiangshen@gw.com.cn>
2024-01-05 10:42:25 +08:00
xiangshenb d1b2476092
修复代码库读取缓存数据不高亮的问题 (#919)
Co-authored-by: xiangshen <xiangshen@gw.com.cn>
2023-12-19 13:19:47 +08:00
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