Commit Graph

80 Commits (710d5bcf50f9988ac1c6ddc526d515225adedca3)

Author SHA1 Message Date
张胜 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
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
Go-Go-Farther c8f7a2a544
修复附件不能下载问题
fixes #850
1. 修复文档为空附件不能下载
2. 修复文档设置为非markdown编辑附件不能下载
3. 兼容现存问题文档
4. 非markdown编辑文档,阅读时增加文档修改信息
2023-06-07 10:04:11 +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 4c6ef05fbd ldap包使用v3版本 2022-09-02 11:08:59 +08:00
gsw945 2c07195f29 ldap包使用v3版本 2022-09-02 10:55:51 +08:00
code huan 582f255b6d bugfix:登录逻辑异常修复 2022-08-29 11:02:03 +08:00
code huan b9510a7057 企业微信8.22之后根据用户id获取信息已停用,修改登录认证 2022-08-28 17:56:46 +08:00
Go-Go-Farther 940cc2420c bugfix: 修复zip的slip问题,防止上传恶意zip,增强服务器安全性。 2022-06-20 13:54:53 +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 a97eb0adb1 Update pagination.go 2022-03-06 14:18:24 +08:00
Augists 6703b97a01 remove .docx in name of directory
use /upload/filename(without .docx)/media/imagename.ext
2022-02-15 14:36:05 +08:00
Augists 247dbe8a2d fix image path
use /upload/filename/media/imagename.ext
2022-02-15 10:08:01 +08:00
Augists 42c82450ed import but not use 2022-02-11 13:11:59 +08:00
Augists 7de992adb0 woshishazi 2022-02-11 11:36:30 +08:00
Augists 2733498933 fix not enough return 2022-02-11 11:34:29 +08:00
Augists 9bb4f5a5db util -> utils in docx2md 2022-02-11 11:29:12 +08:00
Augists a877083e96 add support for importing docx file 2022-02-11 11:10:58 +08:00
gsw945 b624fea255 添加iframe支持(conf `enable_iframe`) 2021-10-09 18:23:57 +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
Ben Stone 581d902cd8 refactor and update i18n, to be continue 2021-03-31 17:13:05 +08:00
shiqstone 782ea44388 refactor, replace beego.Error with logs.Error 2021-03-30 14:24:14 +08:00
roberChen 8b7d56a547 Merge branch 'master' into new-beego-path 2021-03-26 10:43:54 +08:00
LawyZHENG 9b94192d99 backend for dingtalk QR login 2021-03-25 15:03:35 +08:00
roberChen 272316f7b4 Merge branch 'master' into new-beego-path 2021-03-25 11:49:39 +08:00
LawyZHENG 9141487aa3 钉钉免登显示钉钉用户名和头像,配置XSRF,修复一些BUG 2021-03-25 10:04:15 +08:00
roberChen 9babd8106c chore: clean import errors for beego update 2021-03-24 00:28:13 +08:00
roberChen 90c1329de2 chore!(all): attempt to update beego to v2
BREAKING CHANGE: beego has update to v2, and this version of mindoc IS
NOT TESTED AND STABLE!!!
2021-03-23 21:55:50 +08:00
LawyZHENG 6f06e72411 Merge branch 'dev/pkg-upgrade'
# Conflicts:
#	commands/command.go
#	commands/daemon/daemon.go
#	controllers/AccountController.go
#	controllers/DocumentController.go
#	models/Member.go
#	models/TeamMember.go
#	models/comment_vote.go
2021-03-23 19:28:22 +08:00
roberChen 79f70d830d chore!(all): update go import path
BREAKING CHANGE: use github.com/mindoc-org/mindoc as import path
2021-03-23 15:09:17 +08:00
LawyZHENG a01cb91cbd 增加钉钉自动登录 2021-03-19 10:33:59 +08:00
lifei6671 c91520a04d feat:增加图片格式 2019-02-27 17:32:06 +08:00
lifei6671 d735ea27ca fix:优化搜索 2018-12-24 15:23:17 +08:00
lifei6671 91df6bb024 feat:实现项目集功能 2018-11-20 20:36:14 +08:00
lifei6671 eb8bac4eec fix:兼容老文档的TOC 2018-09-14 10:24:41 +08:00
lifei6671 732b1db281 feat:1、增加文档和文章的危险标签和属性过滤
2、移除文档的客户端缓存
2018-09-13 18:19:26 +08:00
lifei6671 cd61aa14db perf:优化部分代码 2018-08-16 18:33:48 +08:00
lifei6671 aa2842cdf8 feat:1、实现自定义模板功能
2、实现项目附件和图片按照项目组织
3、优化自动发布功能解决大项目发布时的性能问题
4、修复删除项目没有删除附件的问题
5、增加项目封面大小
6、增加部分项目操作日志
2018-08-14 15:57:52 +08:00
lifei6671 1cbdd4baca 1、完善日志配置
2、文章自动生成摘要
3、修正文档名称问题
4、修复Redis无法读取缓存的BUG
2018-07-25 14:46:56 +08:00
lifei6671 94faf856f7 优化导入文档中链接处理 2018-07-23 09:54:00 +08:00
lifei6671 11f1f1d34d 优化正在运行的导出项目再次导出时提示正在运行 2018-07-11 18:30:28 +08:00
lifei6671 fc1fa662c4 更新golang版本 2018-07-11 10:18:34 +08:00
lifei6671 483df1f67b 1、实现项目队列转换节省资源
2、实现同一个项目通过配置限定转换线程
3、修复转换Word没有图片的问题
4、优化Mac下单页打印中文字体无法显示的问题
2018-07-10 16:26:25 +08:00
Minho 4a6494e9f8 解决导出文档失败的BUG 2018-03-30 17:21:16 +08:00
Minho 297a7a1b11 优化导入逻辑,兼容含有BOM头的文件 2018-03-26 19:26:01 +08:00
Minho 6a49b8a42f 实现导入Markdown 2018-03-25 14:59:42 +08:00
Minho 3c87a12bdd 1、实现压缩包的Markdown文件导入
2、重命名文件
2018-03-24 22:36:35 +08:00