Commit Graph

27 Commits

Author SHA1 Message Date
Rendtime
886a412a70
添加只读用户角色,不能创建、编辑,只能被设置为观察者 (#992)
Some checks failed
Go / ${{ matrix.config.name }} (map[artifact:linux name:Ubuntu Latest GCC os:ubuntu-latest]) (push) Has been cancelled
Go / ${{ matrix.config.name }} (map[artifact:windows name:Windows Latest MSVC os:windows-latest]) (push) Has been cancelled
* 添加只读用户角色,不能创建、编辑,只能被设置为观察者

* Update markdown.preview.css

toc隐藏的时候,article宽度为100%

* Update cherry-markdown.css

cherry样式,隐藏toc时宽度100%

* 发布pdf时候的默认发布者(项目填写了公司名称以公司名称为准)

* 验证只读用户权限
2024-12-27 15:26:03 +08:00
zhanzhenping
acf3c46e82
issues: 功能优化和体验优化 (#972)
* pref: 优化小屏幕下 cherry-markdown.css 样式

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

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

* feat: #834 增加文章私有状态, 文章分类下不展示私有文章
2024-07-24 09:20:06 +08:00
Go-Go-Farther
452577ca3d
bugfix:1. 修复加密文章访问,非作者和管理员不能访问的问题。还有密码修改文案。 resolves mindoc-org/mindoc#849 (#867) 2023-06-19 09:30:17 +08:00
gsw945
4cdafc80b4 修复文件上传超过1GB报错的bug 2023-03-20 14:30:27 +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
shiqstone
4ad0fe74d0 merge from mindoc-org/mindoc and resolved conflict 2021-04-21 20:40:54 +08:00
shiqstone
93d377f3b9 refactor, fix bug and update i18n(blog), to be continue 2021-04-19 11:24:12 +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
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
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
lifei6671
0856b9e42f fix:优化文章显示效果 2019-03-11 18:09:19 +08:00
lifei6671
34487947ba fix:修复链接文章的附件无法下载问题 2019-01-22 18:51:39 +08:00
lifei6671
f3d8885723 fix:修复分享地址和Token生成地址错误的问题 2018-11-15 19:54:25 +08:00
lifei6671
3aa703d479 fix:1、修复匿名访问判断错误的BUG
2、重构配置文件自动加载逻辑
2018-09-19 11:32:29 +08:00
lifei6671
90efeac326 fix:1、修复附件无法同时上传多个的BUG
2、新增客户端校验附件大小
2018-09-11 15:57:03 +08:00
lifei6671
8243a89e23 fix:修复管理员或作者读取文章时弹出密码页的问题 2018-08-31 10:40:11 +08:00
lifei6671
fa1cb9ae33 fix:修复下载附件的BUG 2018-08-29 13:48:36 +08:00
lifei6671
6e24bbca99 fix:修复普通用户无法下载文章附件的问题 2018-08-29 10:11:30 +08:00
lifei6671
1cbdd4baca 1、完善日志配置
2、文章自动生成摘要
3、修正文档名称问题
4、修复Redis无法读取缓存的BUG
2018-07-25 14:46:56 +08:00
lifei6671
ca60f49cc9 增加文章缓存功能 2018-07-23 16:25:39 +08:00
lifei6671
969fd44b9c 优化代码 2018-07-22 17:28:54 +08:00
lifei6671
2416af4528 1、实现文章阅读、附件功能
2、实现与关联项目同步功能
3、实现附件删除功能
2018-07-18 17:10:24 +08:00
lifei6671
86637ef581 1、实现文章列表、设置、编辑功能
2、实现文章附件功能
2018-07-17 19:13:11 +08:00
lifei6671
96ba414dd8 实现单页文章功能 2018-07-13 19:04:51 +08:00
lifei6671
3f6555ac82 实现单页文章功能 2018-07-13 16:46:40 +08:00