Commit Graph

106 Commits (d7547a85df16d236b86dfcdcefbfb65de8ea0951)

Author SHA1 Message Date
Go-Go-Farther 452577ca3d
bugfix:1. 修复加密文章访问,非作者和管理员不能访问的问题。还有密码修改文案。 resolves mindoc-org/mindoc#849 (#867) 2023-06-19 09:30:17 +08:00
gsw945 a2202f8878 ldaps support 2023-05-23 19:10:34 +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
Feng Chang 8b57c6aaf0
Add postgresql support (#792)
* use false for bool type

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* use `limit ? offset ?` instead limit ?,? for database compatibility

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* add postgresql support

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

* add postgres options and descriptions

Signed-off-by: ChangFeng <chang_196700@hotmail.com>

---------

close #791

Signed-off-by: ChangFeng <chang_196700@hotmail.com>
Co-authored-by: 玖亖伍 <gsw945@foxmail.com>
2023-04-14 11:09:53 +08:00
gsw945 4cdafc80b4 修复文件上传超过1GB报错的bug 2023-03-20 14:30:27 +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
Go-Go-Farther 66d8f35c33 bugfix: 1.修改账号正则,允许全数字账号,保证能通过已有全数字账号体系登录;2.Prepare函数重复执行。 2022-07-14 00:41:06 +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
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
Augists 63c0ac0a1d add support for importing docx file as book 2022-02-11 16:37:42 +08:00
玖亖伍 6715982ad5
Merge pull request #733 from meadlai/master
Update zh-cn.ini(`view_count`)
2021-10-09 18:33:47 +08:00
gsw945 b624fea255 添加iframe支持(conf `enable_iframe`) 2021-10-09 18:23:57 +08:00
meadlai 04113a8bdd
Update zh-cn.ini 2021-10-02 22:39:43 +08:00
shiqstone f02ff935fe update for init i18n 2021-04-21 22:00:03 +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
shiqstone cb70c35037 refactor, fix bug and update i18n(management), to be continue 2021-04-21 12:22:34 +08:00
shiqstone d9e2b0bc8b refactor, fix bug and update i18n(user center), to be continue 2021-04-19 14:32:55 +08:00
shiqstone 93d377f3b9 refactor, fix bug and update i18n(blog), to be continue 2021-04-19 11:24:12 +08:00
shiqstone 25e06a767b refactor, fix bug and update i18n(search), to be continue 2021-04-18 14:45:04 +08:00
shiqstone 7294ba5489 refactor and update i18n (project space), to be continue 2021-04-18 14:25:52 +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
shiqstone cceb9b7343 refactor and update i18n, to be continue 2021-04-02 14:37:35 +08:00
shiqstone 716098a4af refactor and update i18n, to be continue 2021-04-02 14:06:45 +08:00
Ben Stone 9ef0260971 refactor and update i18n, to be continue 2021-03-31 20:46:38 +08:00
Ben Stone 10f66681fb fix bug, update i18n 2021-03-31 17:36:52 +08:00
Ben Stone 581d902cd8 refactor and update i18n, to be continue 2021-03-31 17:13:05 +08:00
Ben Stone fa6643ae52
Update en-us.ini
refactor and update i18n, to be continue
2021-03-31 17:10:23 +08:00
Ben Stone f5518d73f7
Update app.conf.example
i18n, add default locale conf
2021-03-31 12:00:10 +08:00
Ben Stone ec2888940e refactor and add i18n, to be continue 2021-03-30 19:08:50 +08:00
Ben Stone 6cf68605bf refactor and add i18n, to be continue 2021-03-30 18:37:24 +08:00
shiqstone 1239620f75 refactor and add i18n, to be continue 2021-03-30 16:18:02 +08:00
Ben Stone 7ab07f2ce2
Create en-us.ini
add i18n en-us config
2021-03-29 17:52:29 +08:00
Ben Stone eb8f9aa8c4
Create zh-cn.ini
add i18n zh config
2021-03-29 17:51:59 +08:00
roberChen 94c233c03a chore(conf): set enablexsrf to false by default
comment: https://github.com/mindoc-org/mindoc/pull/662#pullrequestreview-622656551
2021-03-28 12:23:21 +08:00
roberChen debc3aa5c9 fix(all): don't use adapter in FuncMap and Filter etc. 2021-03-26 15:37:19 +08:00
roberChen 8b7d56a547 Merge branch 'master' into new-beego-path 2021-03-26 10:43:54 +08:00
LawyZHENG ae780418b5 make "dingtalk QR login" configurable 2021-03-25 15:17:38 +08:00
roberChen 272316f7b4 Merge branch 'master' into new-beego-path 2021-03-25 11:49:39 +08:00
LawyZHENG 0c8901ea05 修改配置文件 2021-03-25 10:48:44 +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 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 545537ecf1 自动注册工单系统账号 2021-03-17 15:59:05 +08:00
lifei6671 827965b492 feat:增加HTTP接口登录校验 2019-05-21 10:09:37 +08:00
lifei6671 f0d0ef674b docs:完善配置信息 2019-05-20 17:59:07 +08:00
lifei6671 491834e6b1 fix:账号正则修改 2019-01-23 10:43:07 +08:00