Commit Graph

266 Commits (1ea922106d814be0131ca487525bcb2b0aba3833)

Author SHA1 Message Date
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
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
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
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
张胜 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
张胜 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
张胜 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 452577ca3d
bugfix:1. 修复加密文章访问,非作者和管理员不能访问的问题。还有密码修改文案。 resolves mindoc-org/mindoc#849 (#867) 2023-06-19 09:30:17 +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
gsw945 4cdafc80b4 修复文件上传超过1GB报错的bug 2023-03-20 14:30:27 +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
code huan b9510a7057 企业微信8.22之后根据用户id获取信息已停用,修改登录认证 2022-08-28 17:56:46 +08:00
Go-Go-Farther 1b47f0c372 bugfix: 1. 用户管理,用户角色栏文本显示异常;2. 修复非book管理员且非评论作者,但是能删除评论的bug。 2022-07-19 23:56:42 +08:00
Go-Go-Farther 66d8f35c33 bugfix: 1.修改账号正则,允许全数字账号,保证能通过已有全数字账号体系登录;2.Prepare函数重复执行。 2022-07-14 00:41:06 +08:00
Go-Go-Farther 0b83a53b56 bugfix: 1. 修复私有问题访问bug;2. 重构私有文档访问逻辑代码;3. shell生成zip包中,删除go文件。 resolves mindoc-org/mindoc#751, resolves mindoc-org/mindoc#801 2022-07-05 11:59:23 +08:00
Go-Go-Farther 3ef9801a75 opt&bugfix: 1. 私密文章验证密码Post请求,增加用户判断;2. 对应html页面增加提示文案,防止使用者误解;3. 修正匿名用户不能访问私密文章。Fixes mindoc-org/mindoc#774 2022-06-26 14:42:19 +08:00
gsw945 8d92550458 fix error `mindoc:runtime error: invalid memory address or nil pointer dereference` 2022-05-18 11:17:03 +08:00
玖亖伍 07204d6d7f 评论功能修复 2022-05-14 20:54:59 +08:00
玖亖伍 a5dfdb4b6e
Merge branch 'master' into master 2022-05-09 18:19:08 +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
Augists a877083e96 add support for importing docx file 2022-02-11 11:10:58 +08:00
玖亖伍 1609d385c0
Merge pull request #724 from xieyg7919/master
修复项目图标上传的BUG
2021-09-28 13:48:48 +08:00
xieyg7919 3a7ef4e153 修复项目图标上传的BUG
1.BookController.go中344行,拼接上传图片保存路径时未拼接working directory
2.graphics目录下copy.go文件11行,ImageCopy方法增加image.Paletted类型的处理
2021-09-07 17:06:20 +08:00
gsw945 354f32be38 update wangEditor 2021-08-25 17:32:31 +08:00
玖亖伍 ee9de3a513
Merge pull request #680 from shiqstone/master
Update to support internationalization
2021-04-30 13:48:46 +08:00
LawyZHENG f8160981f3 fix(document): fail to count times when cache is enabled. 2021-04-25 16:05:05 +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 883fcec5b2 update i18n(template) 2021-04-21 13:37:47 +08:00
shiqstone cb70c35037 refactor, fix bug and update i18n(management), to be continue 2021-04-21 12:22:34 +08:00
shiqstone d9e2b0bc8b refactor, fix bug and update i18n(user center), to be continue 2021-04-19 14:32:55 +08:00
shiqstone 93d377f3b9 refactor, fix bug and update i18n(blog), to be continue 2021-04-19 11:24:12 +08:00
shiqstone 25e06a767b refactor, fix bug and update i18n(search), to be continue 2021-04-18 14:45:04 +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
shiqstone a5682f1308 refactor and update i18n, to be continue 2021-04-11 01:20:47 +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 323378c0ae 增加阅读次数 2021-04-01 09:23:55 +08:00
wangbin05 5b274ce836 增加文章阅读次数 2021-03-31 19:32:18 +08:00