Deng Ming
|
02331f66d4
|
optimize test
|
2023-05-27 14:41:51 +08:00 |
|
Ming Deng
|
76343e4422
|
Prepare Release 2.0.6 (#5104)
* add: generic cache random time offset expired.
* bugfix: Csrf token should be Secure and httpOnly, but not now
* fix: expose the Offset property to allow external modifications
* improving the concurrency performance of random value calculation
* add WithOffsetFunc to define private RandomExpireCache.offset field
* fix: add seconds definition
* build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.0)
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix 4907: force admin service http only
* Feat: add get all tasks function (#4999)
* feat: add get all tasks function
* Refine Comments : admin/profile.go,bean/mock.go,config/global.go... (#5009)
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments for for four files (#5011)
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* Update db.go
* fix pass []any as any in variadic function by asasalint (#5012)
* fix pass []any as any in variadic function
* add change log
* build(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0 (#5019)
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0)
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refine comments for package core (#5014)
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments
* refine comments
* Update db.go
* refine comments for core
* build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace (#5018)
Bumps [go.opentelemetry.io/otel/exporters/stdout/stdouttrace](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0)
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix 5022: Miss assiging ln to graceful Server (#5028)
* prepare for releasing v2.0.5
* prepare for releasing v2.0.5 (#5032)
* feat: make commands and docker compose for ORM unit tests (#5031)
* feat: make commands and docker compose for ORM unit tests
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
* add changelog
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
* Modify comment syntax error (#5094)
* fix: revise the body wrapper to handle empty body case (#5102)
Fix the router.go serverHttp method, wrap the body if the request body
is empty, which can avoid panic when calling the CopyBody method.
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
Co-authored-by: auual <ding@ibyte.me>
Co-authored-by: Leon Ding <deen.job@qq.com>
Co-authored-by: dada0z <zhang.guangda@qq.com>
Co-authored-by: kevinzeng <kevinzeng@zego.im>
Co-authored-by: Kevin Tsang <39397413+ktalg@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 日暮颂歌1991 <448081525@qq.com>
Co-authored-by: Regan Yue <1131625869@qq.com>
Co-authored-by: alingse <alingse@foxmail.com>
Co-authored-by: mango <35127166+mangoGoForward@users.noreply.github.com>
Co-authored-by: 王哈哈 <31426858+wanghaha-dev@users.noreply.github.com>
Co-authored-by: Chlins Zhang <chlins.zhang@gmail.com>
|
2022-11-23 00:06:32 +08:00 |
|
Ming Deng
|
f81689dfb1
|
Release v2.0.5 (#5033)
* add: generic cache random time offset expired.
* bugfix: Csrf token should be Secure and httpOnly, but not now
* fix: expose the Offset property to allow external modifications
* improving the concurrency performance of random value calculation
* add WithOffsetFunc to define private RandomExpireCache.offset field
* fix: add seconds definition
* build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.0)
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix 4907: force admin service http only
* Feat: add get all tasks function (#4999)
* feat: add get all tasks function
* Refine Comments : admin/profile.go,bean/mock.go,config/global.go... (#5009)
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments for for four files (#5011)
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* Update db.go
* fix pass []any as any in variadic function by asasalint (#5012)
* fix pass []any as any in variadic function
* add change log
* build(deps): bump go.opentelemetry.io/otel/trace from 1.7.0 to 1.8.0 (#5019)
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0)
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refine comments for package core (#5014)
* Refine Comments
* refine comments for cache.go
* refine comments for log.go
* Update orm.go
* refine comments for orm_log.go,types.go
* Update utils.go
* Update doc.go
* refine comments
* refine comments
* Update db.go
* refine comments for core
* build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace (#5018)
Bumps [go.opentelemetry.io/otel/exporters/stdout/stdouttrace](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0)
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix 5022: Miss assiging ln to graceful Server (#5028)
* prepare for releasing v2.0.5 (#5032)
Co-authored-by: auual <ding@ibyte.me>
Co-authored-by: Leon Ding <deen.job@qq.com>
Co-authored-by: dada0z <zhang.guangda@qq.com>
Co-authored-by: kevinzeng <kevinzeng@zego.im>
Co-authored-by: Kevin Tsang <39397413+ktalg@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 日暮颂歌1991 <448081525@qq.com>
Co-authored-by: Regan Yue <1131625869@qq.com>
Co-authored-by: alingse <alingse@foxmail.com>
|
2022-07-30 16:11:51 +08:00 |
|
hezhaoyang
|
d98ab11096
|
fix: inject propagator header
feat: set error tag as true
fix: unit test issue
fix: deep source check error
|
2022-04-25 18:04:15 +08:00 |
|
Deng Ming
|
174291a3c8
|
fix 4911: make the argument work
|
2022-04-17 18:27:21 +08:00 |
|
zhaoyang
|
aee40be93b
|
Merge branch 'develop' into otel
|
2022-04-01 13:21:14 +08:00 |
|
hezhaoyang
|
fd84973f67
|
feat: add NewBeegoRequestWithCtx
|
2022-03-31 23:20:42 +08:00 |
|
hezhaoyang
|
af030c36b9
|
feat: add opentelemetry filter
|
2022-03-31 23:13:24 +08:00 |
|
Deng Ming
|
3a4e2d77b7
|
upgrade Go version to 1.18
|
2022-03-31 22:33:07 +08:00 |
|
Deng Ming
|
5eb70b9223
|
change readme
|
2022-01-28 00:26:21 +08:00 |
|
Deng Ming
|
3e886f71ca
|
replace beego.me with beego.vip
|
2021-11-29 21:29:29 +08:00 |
|
sunxingbo
|
14aeb4880f
|
format the JSONMarshal unit test
|
2021-07-22 14:15:31 +08:00 |
|
Sun XingBo
|
d6f939ac09
|
Modify the call of JSONMarshal in the unit test
|
2021-07-22 13:14:01 +08:00 |
|
Sun XingBo
|
efd710a652
|
rename Marshal to JSONMarshal
|
2021-07-22 13:07:17 +08:00 |
|
sunxingbo
|
4a85237faf
|
fix json marshal in http request
|
2021-07-20 22:38:37 +08:00 |
|
LinXiaoYi
|
1252b520ae
|
fix sonar problems about regular expression
|
2021-06-26 00:35:34 +08:00 |
|
loyalsoldier
|
c28ae80b11
|
Fix lint and format code in client/httplib dir
|
2021-06-06 20:41:10 +08:00 |
|
holooooo
|
f8df3d1bee
|
fix read on close
|
2021-05-25 15:15:43 +08:00 |
|
holooooo
|
2182081831
|
fix lint
|
2021-05-25 10:10:06 +08:00 |
|
holooooo
|
8a24192762
|
fix lint
|
2021-05-25 09:56:54 +08:00 |
|
holooooo
|
00b6c32dc2
|
remove panic
|
2021-05-24 15:17:02 +08:00 |
|
holooooo
|
5f5afc111a
|
add xml-roundtrip-validator
|
2021-05-24 14:45:44 +08:00 |
|
holooooo
|
162247b8a5
|
fix lint
|
2021-05-24 11:26:52 +08:00 |
|
holooooo
|
84fa2ccd9a
|
fix lint temp
|
2021-05-23 23:01:01 +08:00 |
|
holooooo
|
4c4fdf496e
|
Merge branch 'develop' of https://github.com/beego/beego into develop
|
2021-05-22 15:00:25 +08:00 |
|
holooooo
|
4b1619b105
|
add more carrier
|
2021-05-22 14:58:40 +08:00 |
|
holooooo
|
b0d6f3bd2f
|
temp
|
2021-05-21 16:56:52 +08:00 |
|
loyalsoldier
|
91d993b7e2
|
Fix imports by gci
|
2021-05-19 22:28:05 +08:00 |
|
loyalsoldier
|
2b7401109f
|
Chore: format code
|
2021-05-19 22:27:17 +08:00 |
|
王孟珂
|
9b91043cf2
|
update func name according to standard
|
2021-05-18 23:26:24 +08:00 |
|
王孟珂
|
94029f3339
|
update func name according to standard
|
2021-05-18 23:08:33 +08:00 |
|
holooooo
|
599e03b0cd
|
Solution 3
|
2021-05-16 14:18:34 +08:00 |
|
holooooo
|
84946743d9
|
refactor: improve http client implement
|
2021-04-22 17:11:27 +08:00 |
|
holooooo
|
672a59d780
|
fix: Restore a deleted field
|
2021-04-20 17:57:58 +08:00 |
|
holooooo
|
575bf62fd3
|
add httpclient add options
|
2021-04-20 17:54:07 +08:00 |
|
holooooo
|
564a7eb9ff
|
add http client
|
2021-04-19 17:35:59 +08:00 |
|
shubhendra
|
b849cfc18c
|
Fix unnecessary allocations due to Index calls
|
2021-02-25 15:58:42 +05:30 |
|
Ming Deng
|
62aa0188c4
|
fix sonar Part3
|
2021-02-04 16:53:27 +08:00 |
|
anoymouscoder
|
535165d7f0
|
add logFilter to debug request and response
|
2021-02-01 21:11:42 +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 |
|
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
|
9105402f8c
|
reverse filter chain sort and add test to ensure the FIFO
|
2021-01-08 21:16:21 +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 |
|