张胜
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
张胜
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
gsw945
725b6ac24e
临时解决阅读页面js报错'menuSetting undefined'
2023-04-17 14:25:11 +08:00
Go-Go-Farther
1b47f0c372
bugfix: 1. 用户管理,用户角色栏文本显示异常;2. 修复非book管理员且非评论作者,但是能删除评论的bug。
2022-07-19 23:56:42 +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
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
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
4ad0fe74d0
merge from mindoc-org/mindoc and resolved conflict
2021-04-21 20:40:54 +08:00
shiqstone
6eb26fcb23
User
...
refactor and update i18n, to be continue
2021-04-12 21:12:26 +08:00
shiqstone
a5682f1308
refactor and update i18n, to be continue
2021-04-11 01:20:47 +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
shiqstone
782ea44388
refactor, replace beego.Error with logs.Error
2021-03-30 14:24:14 +08:00
roberChen
916c9c6c2a
fix(models): use client/orm instead of adapter/orm
...
- using new orm api, change some related logics
- newer orm api has the concept of TxOrmer, for purpose of transaction
handling. A transaction ormer in v2 is a stateful object, it should be
dropped after using. A Ormer object is stateless and thread(routine)
safe, and should not be used for transaction handling. More details
count be found at official doc:
https://beego.me/docs/mvc/model/orm.md , and pr note: https://github.com/mindoc-org/mindoc/pull/662#issuecomment-807040262
2021-03-26 11:34:02 +08:00
roberChen
2d05b5a80f
fix(config): use web.AppConfig instead of adapter
...
- use web.AppConfig, and change related codes
TODO: handles errors
2021-03-25 10:42:18 +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
545537ecf1
自动注册工单系统账号
2021-03-17 15:59:05 +08:00
lifei6671
b510a45908
feat:1、实现空节点功能,当文档标记为空目录时不加载内容页无法编辑内容
...
2、实现HTTP接口方式登录,
3、优化markdown编辑器部分功能
2019-05-20 17:38:37 +08:00
lifei6671
d8e56548ea
perf:过滤内容中的非法字符,增强安全性
2019-05-20 12:08:14 +08:00
lifei6671
b1979a3fdb
feat:增加对svg图片格式支持
2019-03-11 17:36:45 +08:00
lifei6671
c91520a04d
feat:增加图片格式
2019-02-27 17:32:06 +08:00
lifei6671
329b87c685
fix:修复Token无法访问文档的BUG
2018-12-03 11:43:12 +08:00
lifei6671
1b6c7e4793
fix:修复mysql兼容问题
2018-11-26 18:54:50 +08:00
lifei6671
f3d8885723
fix:修复分享地址和Token生成地址错误的问题
2018-11-15 19:54:25 +08:00
lifei6671
7b3e4f0672
feat:实现项目密码访问功能
2018-11-14 15:57:55 +08:00
lifei6671
c666fcbed8
feat:实现项目团队管理功能
2018-11-13 17:33:13 +08:00
lifei6671
0f705f0249
feat:实现项目团队加入功能
2018-11-12 21:01:59 +08:00
lifei6671
732b1db281
feat:1、增加文档和文章的危险标签和属性过滤
...
2、移除文档的客户端缓存
2018-09-13 18:19:26 +08:00
lifei6671
14e1160d4d
fix:优化TOC功能
2018-09-12 15:08:16 +08:00
lifei6671
90efeac326
fix:1、修复附件无法同时上传多个的BUG
...
2、新增客户端校验附件大小
2018-09-11 15:57:03 +08:00
lifei6671
1ec965a2d1
fix:优化文档缓存策略,实现根据文档版本缓存
...
2、优化加载Markdown编辑器插件策略解决重复触发load方法BUG
2018-09-05 17:56:18 +08:00
lifei6671
2f573a929c
fix:修复上传附件的BUG
2018-08-29 10:23:43 +08:00
lifei6671
913354ef17
refactor:重构错误页,优化编辑器,上传新效果图
2018-08-17 18:05:04 +08:00
lifei6671
9f73286115
perf:优化部分代码
2018-08-16 10:58:49 +08:00
lifei6671
57a745cc63
feat:实现自定义文档树的展开状态
2018-08-14 18:17:46 +08:00
lifei6671
aa2842cdf8
feat:1、实现自定义模板功能
...
2、实现项目附件和图片按照项目组织
3、优化自动发布功能解决大项目发布时的性能问题
4、修复删除项目没有删除附件的问题
5、增加项目封面大小
6、增加部分项目操作日志
2018-08-14 15:57:52 +08:00
lifei6671
790b2aa611
feat:实现自定义模板功能
2018-08-13 19:05:49 +08:00
lifei6671
3e9e5558ab
完善错误的提示
2018-07-25 17:47:06 +08:00
lifei6671
1cbdd4baca
1、完善日志配置
...
2、文章自动生成摘要
3、修正文档名称问题
4、修复Redis无法读取缓存的BUG
2018-07-25 14:46:56 +08:00
lifei6671
86637ef581
1、实现文章列表、设置、编辑功能
...
2、实现文章附件功能
2018-07-17 19:13:11 +08:00
lifei6671
3f6555ac82
实现单页文章功能
2018-07-13 16:46:40 +08:00
lifei6671
e694e63299
增加是否开启导出功能的选项
2018-07-12 18:44:02 +08:00
lifei6671
11f1f1d34d
优化正在运行的导出项目再次导出时提示正在运行
2018-07-11 18:30:28 +08:00