Commit Graph

909 Commits (5661157f14edccc69e1bcb0e5e79d62e11f19971)
 

Author SHA1 Message Date
shiqstone a5682f1308 refactor and update i18n, to be continue 2021-04-11 01:20:47 +08:00
玖亖伍 ededbbe713
Update footer.tpl
update ICP/IP url, fixes #485
2021-04-09 16:48:21 +08:00
玖亖伍 305929cb22
Update appveyor.yml 2021-04-06 13:30:47 +08:00
玖亖伍 1149c7ede4
Merge pull request #662 from roberChen/new-beego-path
update beego to v2
2021-04-06 11:46:49 +08:00
wangbin05 27dea7b8bd 提交评论时,判断文章是否存在。删除时判断是否有权限删除。 2021-04-04 16:44:14 +08:00
wangbin05 3d12583eba 增加删除评论 2021-04-03 22:44:43 +08:00
wangbin05 7fb0e66ddc 增加评论功能 2021-04-03 17:40:08 +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
roberChen d8e6689be8 chore(all): update go version to 1.13
- go mod version to 1.13
- modify README
2021-04-01 16:51:48 +08:00
roberChen 2463a67dbd chore(CI): update minimum go version to 1.13 for travis
- errors.Is function requires go version >=1.13
2021-04-01 16:48:22 +08:00
roberChen 126952a4ca Merge branch 'master' into new-beego-path 2021-04-01 15:17:59 +08:00
玖亖伍 0b1998517e
Update .travis.yml
fix `env` logic error
2021-04-01 14:35:20 +08:00
玖亖伍 d391589a5a
Update .travis.yml
`zip` is installed already, it's no need for manual installation via `apt`
2021-04-01 14:27:40 +08:00
玖亖伍 3031593ca6
fixe error in .travis.yml 2021-04-01 14:22:18 +08:00
玖亖伍 aa6ac4e309
Update .travis.yml
use [Travis CI Build Config Explorer](https://config.travis-ci.com/explore) to validate `.travis.yml`
2021-04-01 14:19:08 +08:00
shiqstone e8d96b64fa refactor, add i18n for go.mod 2021-04-01 14:01:27 +08:00
玖亖伍 3fa2dd37de
Update README.md
- 链接修改
- 项目信息更新
2021-04-01 12:04:30 +08:00
roberChen 47a5d5b05c Merge branch 'master' into new-beego-path 2021-04-01 11:33:19 +08:00
玖亖伍 0dfaa423e1
Merge pull request #675 from wangbin8909/master
增加文章阅读次数
2021-04-01 11:10:28 +08:00
wangbin05 dc578c3b34 修改排版 2021-04-01 10:48:35 +08:00
wangbin05 323378c0ae 增加阅读次数 2021-04-01 09:23:55 +08:00
Ben Stone 9ef0260971 refactor and update i18n, to be continue 2021-03-31 20:46:38 +08:00
wangbin05 5b274ce836 增加文章阅读次数 2021-03-31 19:32:18 +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
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 0d5d2e4b38
Update BaseController.go
fix bug, change wrong import
2021-03-29 18:41:10 +08:00
Ben Stone ef03d5b0a9
Update header.tpl
i18n
2021-03-29 18:02:57 +08:00
Ben Stone 53310d4289
Update command.go
load i18n langs config
2021-03-29 18:00:24 +08:00
Ben Stone 0694b4554b
Update BaseController.go
i18n, get lang set from url param
2021-03-29 17:56:36 +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
玖亖伍 8e0e4071ab
Merge pull request #672 from gsw945/master
update AppVeyor CI/CD config
2021-03-27 21:45:38 +08:00
玖亖伍 e8ec1cce0e update AppVeyor CI/CD config 2021-03-27 21:40:36 +08:00
roberChen 3ab57e67ec chore: gitignore database file 2021-03-27 00:34:01 +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
玖亖伍 bae6826a97
Merge pull request #669 from LawyZheng/master
Able to Login via Dingtalk QR Code
2021-03-26 10:29:31 +08:00
玖亖伍 ac8efeef68
Merge pull request #670 from wangbin8909/master
修改文档底部信息
2021-03-26 10:13:45 +08:00
wangbin8909 786b7532cf Merge remote-tracking branch 'upstream/master'
合并主干
2021-03-26 08:50:38 +08:00