Commit Graph

994 Commits (master)
 

Author SHA1 Message Date
zhanzhenping 84b947d148
fix: #976 评论增加头像 (#977)
* fix: #976 评论增加头像

* fix: update cherry markdown read comment user to avatar style
2024-08-26 13:38:58 +08:00
zhanzhenping acf3c46e82
issues: 功能优化和体验优化 (#972)
* pref: 优化小屏幕下 cherry-markdown.css 样式

* fix: 修复 markdown 上传图片功能没有回显链接问题

* fix: #853 修复文章被删除后可以从缓存读取

* feat: #834 增加文章私有状态, 文章分类下不展示私有文章
2024-07-24 09:20:06 +08:00
zhanzhenping cd9667bba7
fix: 优化cherry-markdown快捷键 ctrl+s进行保存 (#969) 2024-07-23 17:01:41 +08:00
zhanzhenping 1a98d15212
feat: htmlToMarkdown (#968) 2024-07-15 16:35:12 +08:00
zhanzhenping d8064f168a
feat: 编辑器新增WordToHtml (#967)
* feat: word转笔记(富文本html)
* fix: 本地化文件更新
2024-07-12 09:52:20 +08:00
zhanzhenping ab314fbf18
pref: 优化cherry-markdown toc样式解决 convertImageToDataUri not func BUG (#966)
* feat: 首页项目拖拽排序功能

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

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

* perf: 优化文档打开时或刷新时样式闪动问题

* perf: 优化表格样式

* feat: 支持上传视频功能

* feat: 视频样式调整

* feat: 直接粘贴视频上传功能

* perf: 优化markdown目录显示

* feat: 项目配置新增是否开启打印功能

* perf: 优化模型自动更新表字段

* perf: 创建项目时增加选择编辑器功能

* perf: 优化cherry-markdown 菜单栏

* perf: 优化项目阅读界面, 新增打开搜索面板快捷键(Ctrl + f), esc恢复到目录快捷键功能

* perf: 优化项目搜索

* perf: 文章TOC样式调整

* feat: 配置管理中增加本地化切换

* feat: 配置管理中增加本地化切换

* fix: 调整页面内copyright的链接为: https://mindoc.com.cn/域名下

* fix: 创建README.md资源

* fix: 创建README.md资源

* fix: README更新

* fix: README更新

* fix: README 地址修改

* fix: 调整cherryMarkdown toc样式 兼容打印样式

fix: 修复 convertImageToDataUri not func

* fix: cherry-markdown 上传附件和样式调整
2024-07-11 12:39:15 +08:00
zhanzhenping 5db5f092c4
perf: 优化项目阅读界面, 新增打开搜索面板快捷键(Ctrl + f), esc恢复到目录快捷键功能 (#960)
* feat: 首页项目拖拽排序功能

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

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

* perf: 优化文档打开时或刷新时样式闪动问题

* perf: 优化表格样式

* feat: 支持上传视频功能

* feat: 视频样式调整

* feat: 直接粘贴视频上传功能

* perf: 优化markdown目录显示

* feat: 项目配置新增是否开启打印功能

* perf: 优化模型自动更新表字段

* perf: 创建项目时增加选择编辑器功能

* perf: 优化cherry-markdown 菜单栏

* perf: 优化项目阅读界面, 新增打开搜索面板快捷键(Ctrl + f), esc恢复到目录快捷键功能

* perf: 优化项目搜索
2024-07-09 12:37:13 +08:00
zhanzhenping 532dccebff
Perf: 项目优化 (#958)
* feat: 首页项目拖拽排序功能

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

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

* perf: 优化文档打开时或刷新时样式闪动问题

* perf: 优化表格样式

* feat: 支持上传视频功能

* feat: 视频样式调整

* feat: 直接粘贴视频上传功能

* perf: 优化markdown目录显示

* feat: 项目配置新增是否开启打印功能

* perf: 优化模型自动更新表字段

* perf: 创建项目时增加选择编辑器功能

* perf: 优化cherry-markdown 菜单栏
2024-07-08 15:41:56 +08:00
zhanzhenping 1ea922106d
功能优化和新增 (#956)
* feat: 首页项目拖拽排序功能

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

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

* perf: 优化文档打开时或刷新时样式闪动问题

* perf: 优化表格样式

* feat: 支持上传视频功能

* feat: 视频样式调整

* feat: 直接粘贴视频上传功能

* perf: 优化markdown目录显示
2024-07-05 15:31:34 +08:00
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