Commit Graph

28 Commits (91f3e897bfcf6ca469d8d1ef32af931fa15e180c)

Author SHA1 Message Date
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
wanghaima d3993a2f08 1.迁移表时添加字段注释
2.修复游客状态评论接口报空指针的问题
2022-10-28 12:33:36 +08:00
gsw945 221b9deaaa ldap登录时支持邮箱作为账户 2022-09-02 10:41:35 +08:00
Go-Go-Farther 1b47f0c372 bugfix: 1. 用户管理,用户角色栏文本显示异常;2. 修复非book管理员且非评论作者,但是能删除评论的bug。 2022-07-19 23:56:42 +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 782ea44388 refactor, replace beego.Error with logs.Error 2021-03-30 14:24:14 +08:00
roberChen bdaeefc784 fix(login): judging ldap_enable logic error
review: https://github.com/mindoc-org/mindoc/pull/662#discussion_r603750715
2021-03-30 11:45:56 +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 272316f7b4 Merge branch 'master' into new-beego-path 2021-03-25 11:49:39 +08:00
roberChen 4e243e2d70 chore(member): add debug info print 2021-03-25 11:36:06 +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
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
LawyZHENG 3ca09b7cbf 钉钉初步免登,移动端样式优化 2021-03-18 15:02:19 +08:00
LawyZHENG 545537ecf1 自动注册工单系统账号 2021-03-17 15:59:05 +08:00
lifei6671 827965b492 feat:增加HTTP接口登录校验 2019-05-21 10:09:37 +08:00
lifei6671 b510a45908 feat:1、实现空节点功能,当文档标记为空目录时不加载内容页无法编辑内容
2、实现HTTP接口方式登录,
3、优化markdown编辑器部分功能
2019-05-20 17:38:37 +08:00
lifei6671 b897c87476 feat:实现团队功能 2018-11-05 18:50:01 +08:00
lifei6671 5c263b1530 perf:增加LDAP更多错误信息 2018-09-27 18:18:02 +08:00
lifei6671 68e9002986 feat:支持邮箱登录 2018-09-11 16:08:07 +08:00
lifei6671 aa2842cdf8 feat:1、实现自定义模板功能
2、实现项目附件和图片按照项目组织
3、优化自动发布功能解决大项目发布时的性能问题
4、修复删除项目没有删除附件的问题
5、增加项目封面大小
6、增加部分项目操作日志
2018-08-14 15:57:52 +08:00
lifei6671 434ea132b4 修复删除用户后文章归属问题 2018-07-19 15:34:25 +08:00
Minho 152d71a5a0 优化单页打印 2018-06-06 20:45:24 +08:00