Commit Graph

94 Commits (221b9deaaa1a3a9a417c4b7a465f85d74692a7ad)

Author SHA1 Message Date
玖亖伍 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
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
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 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 34499969cc 修复第一次登录失败的BUG 2021-03-24 13:13:23 +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 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
lifei6671 b50d39f690 feat:兼容数据库类型大小写 2018-08-10 17:59:34 +08:00
lifei6671 327d6fb8d8 feat:1、修复无数据时报错的问题。
2、新增自定义代码着色格式
3、新增自动加载配置文件
2018-08-07 17:19:56 +08:00
lifei6671 1cbdd4baca 1、完善日志配置
2、文章自动生成摘要
3、修正文档名称问题
4、修复Redis无法读取缓存的BUG
2018-07-25 14:46:56 +08:00
lifei6671 96ba414dd8 实现单页文章功能 2018-07-13 19:04:51 +08:00
lifei6671 cf043c25a3 移除过时命令 2018-07-11 18:06:02 +08:00
lifei6671 894382dfe0 优化工作路径拼接方法 2018-07-11 14:18:27 +08:00
lifei6671 f5737c6a73 增加命令行修改密码功能 2018-07-10 19:13:33 +08:00
zhouqiang 083edf3309
Update command.go 2018-06-11 16:26:06 +08:00
Minho 4d1a03998a 实现导入Markdown 2018-03-24 17:24:02 +08:00
Minho 7e9769dfbb 优化时区 2018-03-23 17:50:10 +08:00
Minho e56210165f 实现设置第一篇文章为项目默认打开的页面 2018-03-23 10:00:36 +08:00
Minho 813ef8a17b 解决时区问题 2018-03-22 16:42:34 +08:00
Minho 08e86e0f41 实现分享开关 2018-03-13 19:20:50 +08:00
Minho c278b72f15 实现部署到二级虚拟目录 2018-03-13 14:14:56 +08:00