LawyZHENG
f8160981f3
fix(document): fail to count times when cache is enabled.
2021-04-25 16:05:05 +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
roberChen
debc3aa5c9
fix(all): don't use adapter in FuncMap and Filter etc.
2021-03-26 15:37:19 +08:00
roberChen
967ef37ce9
chore: use core/logs
...
- depretace all adapter/logs to core/logs
2021-03-26 14:26:19 +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
8b7d56a547
Merge branch 'master' into new-beego-path
2021-03-26 10:43:54 +08:00
LawyZHENG
5404db07eb
"dingtalk QR login" frontend
2021-03-25 16:30:12 +08:00
LawyZHENG
c768845a45
"dingtalk QR login" button auto appears when dingtalk_corpid is set
2021-03-25 15:31:24 +08:00
LawyZHENG
ae780418b5
make "dingtalk QR login" configurable
2021-03-25 15:17:38 +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
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
LawyZHENG
9141487aa3
钉钉免登显示钉钉用户名和头像,配置XSRF,修复一些BUG
2021-03-25 10:04:15 +08:00
LawyZHENG
d4f743b7f2
取消临时登录接口
2021-03-24 14:13:36 +08:00
LawyZHENG
34499969cc
修复第一次登录失败的BUG
2021-03-24 13:13:23 +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
5d5472db5d
修复第一次登录失败的Bug
2021-03-19 16:40:54 +08:00
LawyZHENG
a01cb91cbd
增加钉钉自动登录
2021-03-19 10:33:59 +08:00
LawyZHENG
545537ecf1
自动注册工单系统账号
2021-03-17 15:59:05 +08:00
LawyZHENG
25c58d9988
添加临时Token登录接口
2021-03-16 13:28:38 +08:00
wenj91
f3d07b7caf
a-add go mod
...
u-update gocaptcha
2020-06-19 10:55:20 +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
0856b9e42f
fix:优化文章显示效果
2019-03-11 18:09:19 +08:00
lifei6671
b1979a3fdb
feat:增加对svg图片格式支持
2019-03-11 17:36:45 +08:00
lifei6671
1ecdb10303
style:格式化代码
2019-03-04 14:22:48 +08:00
lifei6671
c91520a04d
feat:增加图片格式
2019-02-27 17:32:06 +08:00
lifei6671
34487947ba
fix:修复链接文章的附件无法下载问题
2019-01-22 18:51:39 +08:00
谢泽丰
55f15c438b
fix:修改查询用户的方法(改成支持用户名和真实姓名的模糊搜索),返回结果改成展示用户[姓名]的形式
2019-01-16 01:10:57 +08:00
lifei6671
1a40caaa6c
feat:1、增加项目搜索
...
2、移除对项目标签和项目令牌的支持
2019-01-15 19:36:11 +08:00
lifei6671
d735ea27ca
fix:优化搜索
2018-12-24 15:23:17 +08:00
lifei6671
329b87c685
fix:修复Token无法访问文档的BUG
2018-12-03 11:43:12 +08:00
lifei6671
f3b03249b4
feat:支持搜索中使用空格
2018-11-29 15:11:34 +08:00
lifei6671
8681d8fa3e
feat:搜索支持文章
2018-11-29 14:53:14 +08:00
lifei6671
6ca1515462
feat:跳转项目排序
2018-11-28 09:56:20 +08:00
lifei6671
f9a214199d
feat:优化登录跳转
2018-11-27 18:00:16 +08:00
lifei6671
b240b85011
feat:优化项目空间的显示数量
2018-11-27 11:47:19 +08:00
lifei6671
1b6c7e4793
fix:修复mysql兼容问题
2018-11-26 18:54:50 +08:00
lifei6671
6a7f902e81
perf:创建项目时增加默认项目空间
2018-11-21 18:15:48 +08:00
lifei6671
f1957dd9c0
feat:优化项目空间样式
2018-11-21 11:03:16 +08:00
lifei6671
9b0c649738
feat:超级管理员可修改项目集和项目密码
2018-11-20 20:55:04 +08:00
lifei6671
91df6bb024
feat:实现项目集功能
2018-11-20 20:36:14 +08:00
lifei6671
f3d8885723
fix:修复分享地址和Token生成地址错误的问题
2018-11-15 19:54:25 +08:00
lifei6671
2d3b0ab674
fix:1、修复项目设置没有权限但团队可见的问题
...
2、修复删除项目团队失败的BUG
2018-11-15 18:31:02 +08:00
lifei6671
7b3e4f0672
feat:实现项目密码访问功能
2018-11-14 15:57:55 +08:00