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
玖亖伍
a5dfdb4b6e
Merge branch 'master' into master
2022-05-09 18:19:08 +08:00
gsw945
0671b0cd40
企业微信登录初步调通
2022-05-07 18:06:46 +08:00
wangbin13
0d0582c37c
Merge remote-tracking branch 'upstream/master'
2022-03-05 18:29:59 +08:00
gsw945
b624fea255
添加iframe支持(conf `enable_iframe`)
2021-10-09 18:23:57 +08:00
LawyZHENG
593328627f
Fix Bug: Can't Connect to Redis
2021-08-08 11:15:46 +08:00
玖亖伍
ce2bb9a582
Merge pull request #694 from gsw945/master
...
Dockerfile update
2021-06-29 14:33:25 +08:00
gsw945
3baa00b5bb
version指令优先显示本地版本
2021-06-29 13:56:41 +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
wangbin8909
b21035bbfd
Merge remote-tracking branch 'upstream/master'
2021-04-11 17:19:54 +08:00
wangbin05
7fb0e66ddc
增加评论功能
2021-04-03 17:40:08 +08:00
wangbin05
323378c0ae
增加阅读次数
2021-04-01 09:23:55 +08:00
wangbin05
5b274ce836
增加文章阅读次数
2021-03-31 19:32:18 +08:00
shiqstone
1239620f75
refactor and add i18n, to be continue
2021-03-30 16:18:02 +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
Ben Stone
53310d4289
Update command.go
...
load i18n langs config
2021-03-29 18:00:24 +08:00
roberChen
debc3aa5c9
fix(all): don't use adapter in FuncMap and Filter etc.
2021-03-26 15:37: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
d069b7c515
fix(member): use client/orm insteal of adapter/orm
...
- to avoid type check bug when comparing error, use newer api instead of
old adapter
2021-03-25 15:32:44 +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
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
LawyZHENG
6730f948e4
增加redis
2021-03-23 16:50:53 +08:00
LawyZHENG
9b3a94e4e9
移除Redis缓存,升级Beego v1.12,尝试解决部分设备无法登录问题
2021-03-23 15:54:05 +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
ai*3
84c855902e
Update command.go
2021-03-16 12:45:12 +08:00
lifei6671
d8e56548ea
perf:过滤内容中的非法字符,增强安全性
2019-05-20 12:08:14 +08:00
lifei6671
ead36721d4
feat:增加错误日志
2019-02-27 17:55:18 +08:00
lifei6671
a515cab3ca
fix:默认项目增加项目空间
2018-11-30 10:03:50 +08:00
lifei6671
6bc191b2dc
perf:优化文案
2018-11-21 18:41:14 +08:00
lifei6671
f1957dd9c0
feat:优化项目空间样式
2018-11-21 11:03:16 +08:00
lifei6671
91df6bb024
feat:实现项目集功能
2018-11-20 20:36:14 +08:00
lifei6671
7785fb270d
fix:修复beego使用file储存session时存在的路径BUG
2018-11-09 18:10:34 +08:00
lifei6671
b897c87476
feat:实现团队功能
2018-11-05 18:50:01 +08:00
lifei6671
4e337821d6
fix:优化配置文件自动加载逻辑
2018-09-27 18:18:02 +08:00
lifei6671
3aa703d479
fix:1、修复匿名访问判断错误的BUG
...
2、重构配置文件自动加载逻辑
2018-09-19 11:32:29 +08:00
lifei6671
2b8bd2cfb2
fix:数据库时间问题
2018-09-17 17:07:58 +08:00
lifei6671
8243a89e23
fix:修复管理员或作者读取文章时弹出密码页的问题
2018-08-31 10:40:11 +08:00
lifei6671
99643b0712
fix:修复导出PDF代码折叠的BUG
2018-08-24 15:05:15 +08:00
lifei6671
790b2aa611
feat:实现自定义模板功能
2018-08-13 19:05:49 +08:00
lifei6671
c7251697b3
fix:修复旧版本没有标识文档读写缓存失败的BUG
2018-08-13 15:04:52 +08:00