Commit Graph
31 Commits
Author SHA1 Message Date
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
roberChen 47a5d5b05c Merge branch 'master' into new-beego-path 2021-04-01 11:33:19 +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 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 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
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
roberChen e3a792e6df Merge branch 'master' into new-beego-path 2021-03-24 21:26:43 +08:00
roberChen 9884afc030 chore: update beego/v2 to latest commit
- dont't use v2.0.1, there has bugs in this version
- update latest version using go get
2021-03-24 20:16:11 +08:00
roberChen a5f28055a9 chore(doc): update build instruction
- deprecate dep, use go mod
2021-03-24 12:22:12 +08:00
roberChen b8881dffcd Merge branch 'master' into new-beego-path 2021-03-24 11:26:34 +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
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
roberChen 25c9cb940a chore: wrong character in README.md
close #657
2021-03-09 11:19:15 +08:00
roberChen de52d39f17 chore: remove TestSend temporarily 2021-02-26 22:25:48 +08:00
roberChen 7b1b320d15 Merge branch 'master' of https://github.com/roberChen/mindoc 2021-02-26 16:17:24 +08:00
roberChen bdbecab46d Merge branch 'lifei6671-master' 2021-02-26 16:16:06 +08:00
roberChen 13925be78e Revert "Create go.yml"
This reverts commit f90a717fe3.
2021-02-26 16:13:13 +08:00
roberChen d04e6cee25 Revert "Create go.yml"
This reverts commit f90a717fe3.
2021-02-26 16:09:52 +08:00
roberChen b9da0755f0 Merge branch 'master' of git://github.com/lifei6671/mindoc into lifei6671-master 2021-02-26 16:07:23 +08:00
roberChen 5ef1cccf3c test: remove dep commands in appveyor
- deprecate dep, use go mod tidy
2021-02-26 15:54:04 +08:00
roberChen 1cffaf39fd chore!: use go mod
- delete Gopkg.toml
- update go modules

DEPRECATED: don't use dep anymore! use go mod instead!
2021-02-26 15:41:25 +08:00