Deng Ming
|
2e3b131525
|
cache: fix typo and optimize the naming
|
2023-05-27 14:41:51 +08:00 |
|
cui fliter
|
2c62865a35
|
fix some comments (#5194)
Signed-off-by: cui fliter <imcusg@gmail.com>
|
2023-05-27 14:41:51 +08:00 |
|
Stone-afk
|
4e481606f7
|
bugfix: protect field access with lock to avoid possible data race (#5211)
|
2023-05-27 14:41:51 +08:00 |
|
Xuing
|
f61065d674
|
Unified gopkg.in/yaml version to v2 (#5169)
* Unified gopkg.in/yaml version to v2 and go mod tidy
* update CHANGELOG
|
2023-05-27 14:41:51 +08:00 |
|
hookokoko
|
72956feb26
|
Bloom filter cache (#5126)
* feature: add bloom filter cache
|
2023-05-27 14:41:51 +08:00 |
|
Deng Ming
|
0bee140abb
|
format code
|
2023-05-27 14:41:51 +08:00 |
|
Deng Ming
|
02331f66d4
|
optimize test
|
2023-05-27 14:41:51 +08:00 |
|
Stone-afk
|
be339e8e7c
|
feature add singleflight cache (#5119)
|
2023-05-27 14:41:51 +08:00 |
|
hookokoko
|
badab8eafd
|
feature: add write though for cache mode (#5117)
* feature: add writethough for cache mode
|
2023-05-27 14:41:51 +08:00 |
|
Stone-afk
|
882130421d
|
feature extend readthrough for cache module (#5116)
* feature 增加readthrough
|
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 |
|
Ming Deng
|
5a873ea0f0
|
Merge pull request #4950 from Dokiys/feature/orm_otel_filter
Feat: add orm opentelemetry filter
|
2022-05-30 23:20:55 +08:00 |
|
Dokiy
|
f2c28be167
|
feat: add orm opentelemetry filter
|
2022-05-29 21:47:53 +08:00 |
|
Ming Deng
|
daf779ffca
|
Merge pull request #4953 from greenhandatsjtu/feat/refactor-orm
Refactor ORM: rename _modelCache struct to modelCache
|
2022-05-22 16:36:20 +08:00 |
|
greenhandatsjtu
|
ada107b3fe
|
refine unit tests for getDbCreateSQL
|
2022-05-21 19:55:33 +08:00 |
|
greenhandatsjtu
|
f9d2b4cb9a
|
Refactor ORM: rename _modelCache struct to modelCache
|
2022-05-21 10:06:31 +08:00 |
|
greenhandatsjtu
|
a539289b20
|
Add unit test for getDbCreateSQL()
|
2022-05-19 14:26:23 +08:00 |
|
greenhandatsjtu
|
d150d85bfd
|
Append column comments to create table sentence when using postgres
|
2022-05-14 15:17:38 +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 |
|
snehalyelmati
|
e16fcd46ba
|
SCC-S1023 Redundant control flow fix
|
2021-10-20 20:36:35 +05:30 |
|
Cr
|
b1fbaa71c3
|
refactor: fix deepsource analyze
|
2021-09-07 09:51:33 +08:00 |
|
Cr
|
47f9746e11
|
refactor: fix deepsource analyze
|
2021-09-07 09:43:27 +08:00 |
|
Cr
|
7abf5669e4
|
refactor(wip): fix deepsource analyze
|
2021-09-06 16:48:22 +08:00 |
|
Cr
|
915cdb94bc
|
refactor(wip): fix deepsource analyze
|
2021-09-06 16:04:03 +08:00 |
|
Cr
|
d6866b6b2e
|
refactor(wip): fix deepsource analyze
|
2021-09-06 14:05:19 +08:00 |
|
Cr
|
0e9b2c27ea
|
fix(orm): txOrm miss debug log
|
2021-09-03 14:23:09 +08:00 |
|
Ming Deng
|
4437c6eb11
|
merge master
|
2021-09-03 11:40:13 +08:00 |
|
Ming Deng
|
745dcf1ead
|
Merge pull request #4740 from zh199225/develop
set a default value "/" for "Path" in the Cookie function when there is not parameter "Path" or the parameter is ""
|
2021-08-20 19:38:18 +08:00 |
|
Ming Deng
|
d91a22c453
|
Fix 4734: do not reset id in Delete function
|
2021-08-19 21:45:33 +08:00 |
|
Anker Jam
|
167749d464
|
hotfix:reflect.ValueOf(nil) in getFlatParams
|
2021-08-06 00:23:06 +08:00 |
|
jianzhiyao
|
8e8c02ba7b
|
fix
|
2021-08-05 11:13:14 +08:00 |
|
jianzhiyao
|
48538d5a02
|
add table
|
2021-08-05 11:08:30 +08:00 |
|
jianzhiyao
|
d9f8c03085
|
fix format
|
2021-08-05 11:03:05 +08:00 |
|
jianzhiyao
|
61d801c21e
|
fix format
|
2021-08-05 11:02:13 +08:00 |
|
jianzhiyao
|
d8c4b0fc85
|
add test example
|
2021-08-05 10:58:17 +08:00 |
|
jianzhiyao
|
0f40824f57
|
fix bug:reflect.ValueOf(nil) in getFlatParams
|
2021-08-05 10:42:54 +08:00 |
|
Ming Deng
|
96c63508df
|
Merge pull request #4680 from zav8/patch-1
Fix orm.SetMaxOpenConns
|
2021-08-04 21:51:52 +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 |
|
zav8
|
aff59f65fb
|
Fix orm.SetMaxOpenConns
It should call `SetMaxOpenConns` instead of `SetMaxIdleConns`.
|
2021-06-29 11:03:34 +08:00 |
|