72 Commits

Author SHA1 Message Date
Ming Deng
433763fca0 Define error code for cache module 2021-02-12 21:54:16 +08:00
Ming Deng
1c69214142 Error code for cache module 2021-02-10 19:49:49 +08:00
anoymouscoder
535165d7f0 add logFilter to debug request and response 2021-02-01 21:11:42 +08:00
Ming Deng
de5c2c9a27 Merge main & resolve conflict 2021-02-01 00:24:45 +08:00
Ming Deng
41d682d878 Fix Sonart PR1 2021-02-01 00:22:52 +08:00
Anker Jam
8bd70bab96 Merge branch 'develop' into frt/delete-txorm
# Conflicts:
#	.travis.yml
#	CHANGELOG.md
2021-01-28 22:27:53 +08:00
Jihoon Seo
113b90531c Apply goimports' modifications 2021-01-28 13:42:03 +09:00
Jihoon Seo
2bb6c45786 Update beego pkg paths 2021-01-28 13:35:38 +09:00
Anker Jam
e8448a520f Merge branch 'develop' of https://gitclone.com/github.com/beego/beego into frt/delete-txorm
# Conflicts:
#	CHANGELOG.md
2021-01-28 00:01:55 +08:00
Anker Jam
89413a5358 wrap ormer into QueryExecutor 2021-01-27 22:09:41 +08:00
Ming Deng
655e9fefa2 Merge dev and resolve conflicts 2021-01-24 19:06:26 +08:00
Ming Deng
3c0dbe2914 Define error code for httplib 2021-01-24 19:03:42 +08:00
Ming Deng
fa39135f0e Merge master 2021-01-23 21:39:40 +08:00
Ming Deng
a91a5d01d1 Move codes to error package 2021-01-22 16:15:01 +08:00
Ming Deng
452d20a187 Fix 4444: panic when 404 not found;
Using sync.Onyc to ensure register prometheus ovserver once
2021-01-19 23:37:29 +08:00
Ming Deng
c8a325efe3 Remove prometheus duration label 2021-01-19 21:20:50 +08:00
Ming Deng
de47c808d2 Merge develop and Fix UT 2021-01-12 21:03:59 +08:00
Ming Deng
deda13f3e4 fix UT and Sonar problem 2021-01-12 00:07:10 +08:00
Ming Deng
89eeedbf9d Merge branch 'develop' of https://github.com/beego/beego into orm-mock 2021-01-11 23:42:15 +08:00
Penghui Liao
c3b6c01c15 Add InsertWithCtx method on Inserter interface.
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-11 10:24:03 +08:00
Penghui Liao
ef227bf467 Deprecate QueryM2MWithCtx and QueryTableWithCtx
- Add methods with `WithCtx` suffix and remove ctx fileld from QueryStter
and QueryM2M.
- Deprecate QueryTableWithCtx and QueryM2MWithCtx.

Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-10 23:50:29 +08:00
Penghui Liao
21777d3143 Add context support for orm
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-10 23:50:11 +08:00
Anker Jam
a93e35244a Merge branch 'develop' of https://github.com/beego/beego into session-filter
# Conflicts:
#	CHANGELOG.md
2021-01-10 14:00:49 +08:00
Ming Deng
0139564cf0
Merge pull request #4294 from jianzhiyao/frt/supports_for_4144
Frt/supports for issue 4144
2021-01-10 12:08:16 +08:00
Anker Jam
791c28b1d4 fix imports 2021-01-09 22:16:21 +08:00
Anker Jam
3150285542 fix imports 2021-01-09 21:27:30 +08:00
Anker Jam
db4f978982 Merge branch 'develop' into frt/supports_for_4144
# Conflicts:
#	client/orm/orm_queryset.go
2021-01-09 21:16:27 +08:00
Ming Deng
9105402f8c reverse filter chain sort and add test to ensure the FIFO 2021-01-08 21:16:21 +08:00
AllenX2018
d29b0a589c Fix orm many2many generated table error 2021-01-07 11:40:32 +08:00
AllenX2018
30dbf8fc3a 1.support dynamic registration model
2.support aggregete func
2021-01-04 16:29:03 +08:00
Ming Deng
c4c4372627 Support ORM mock 2021-01-03 19:25:06 +08:00
Ming Deng
b89dc5068a Add tests 2021-01-03 16:46:59 +08:00
Ming Deng
44ffb29c55 Move mock to mock directory 2021-01-02 20:21:09 +08:00
Ming Deng
94019c1e1d Optimize mock 2021-01-01 23:50:54 +08:00
Ming Deng
73d81bafd9 Remove duration from prometheus label 2020-12-26 22:16:17 +08:00
Ming Deng
ef258a0988 Support httplib mock 2020-12-25 22:11:40 +08:00
Chenrui
6027c164eb
test: add test 2020-12-18 17:36:52 +08:00
Chenrui
de27ad816f
fix(orm/orm_raw): missing type time parse 2020-12-17 20:29:41 +08:00
Ming Deng
884677f3a9
Merge pull request #4345 from AllenX2018/fix-issue-4344
Fix issue #4344
2020-12-16 00:25:55 +08:00
Ming Deng
385e1d390f update misspell and gofmt 2020-12-14 13:52:26 +08:00
Ming Deng
d4da82ef77 format code 2020-12-14 12:34:55 +08:00
Ming Deng
7bc6010604 rename to v2 2020-12-14 11:12:00 +08:00
Ming Deng
a70f7fc920 using new organization 2020-12-13 23:09:19 +08:00
AllenX2018
e65a390bdb add testcases of file cache & memory cache 2020-12-12 18:04:47 +08:00
AllenX2018
f6d5b8fe81 fix bug of incr of cacl_utils.go 2020-12-12 18:02:59 +08:00
AllenX2018
404e3505b2 add testcases of calc_utils.go 2020-12-12 17:51:02 +08:00
AllenX2018
4b10cda1d6 add utils of incr&decr for cache 2020-12-12 17:50:36 +08:00
AllenX2018
db785479ab fix issue #4331
1. Modify Incr&Decr for file cache
2. Add different type of integer testcases for Incr&Decr
2020-12-01 17:18:30 +08:00
Ming Deng
aa05b66ca1
Merge pull request #4328 from flycash/develop
expose more error code in web module
2020-11-29 23:05:20 +08:00
Ming Deng
8d7f48ea75 expose more error code in web module 2020-11-29 22:33:03 +08:00