Deng Ming
85473bc898
fix 5129: must set formatter after init the logger
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
Deng Ming
981074340a
logs: multiFileLogWriter uses incorrect formatter
2022-05-16 22:13:08 +08:00
darkweak
22b78d011f
Update ini.go
2022-04-30 01:36:00 +02: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
Deng Ming
9081c40eaa
Merge branch 'master' of github.com:beego/beego into dev
2022-01-28 00:12:47 +08:00
Deng Ming
b8cf07fa18
fix bug: etcd should use etcd as adapter name
2022-01-09 16:55:15 +08:00
Deng Ming
3e886f71ca
replace beego.me with beego.vip
2021-11-29 21:29:29 +08:00
jincheng9
0906963f8a
fix bug: typo
2021-11-17 13:44:23 +08:00
Deng Ming
fe4b84e4f6
fix4791: delay to format parameter
2021-10-25 22:30:21 +08:00
Matthew
27aae0ab09
Update ini.go
...
minor typo fix. donot -> do not
2021-10-02 18:01:37 -07:00
nichtsen
415968070f
logs: fix TestFilePermWithPrefixPath function
2021-09-14 15:01:51 +08:00
nichtsen
8ba0b4f1b8
log: use fileinfo interface for tests
2021-09-13 11:21:34 +08:00
nichtsen
a3d2dd12d6
deepsource: fix Control-coupled functions detected
2021-09-08 14:40:46 +08:00
nichtsen
16549e5019
deepsource: fix confusing naming of struct fields
2021-09-08 14:03:59 +08:00
nichtsen
1a52d005b1
logs: fix comment spelling
2021-09-07 19:18:02 +08:00
nichtsen
cc19834f79
deepsource: removing unused method receiver
2021-09-07 19:14:49 +08:00
nichtsen
9587f6d16c
deepsource: empty string test improving
2021-09-07 19:12:19 +08:00
nichtsen
435196300e
deepsource: simplify error construction
2021-09-07 19:08:55 +08:00
nichtsen
9212d69383
logs: add tests for directory permissions
2021-09-07 19:07:20 +08:00
nichtsen
918bc8d11c
add comments for Perm and DirPerm
2021-09-07 18:27:52 +08:00
nichtsen
8b57b22c20
fix numeric notation of permissions
2021-09-07 16:14:43 +08:00
Ming Deng
556e743c84
Merge pull request #4760 from flycash/develop
...
Merge master. Prepare for release
2021-09-03 12:55:52 +08:00
Ming Deng
4437c6eb11
merge master
2021-09-03 11:40:13 +08:00
chenrui
bf815a310d
fix: word error
2021-08-31 15:23:11 +08:00
chenrui
8bfee444fd
fix(core/config/xml): prompt error when config format is incorrect
2021-08-31 15:20:11 +08:00
Ming Deng
28a6821b32
Remove goyaml2 dependencies
2021-08-30 23:10:26 +08:00
Ming Deng
334609a1ea
Fix 4728: Print wrong file number
2021-08-19 20:20:01 +08:00
t29kida
4eb19f938a
fix sonar problem
...
* Delete FIXME comment, because `string == ""` is beter than `len(string)` for checking string existence(by sonar)
* Remove duplicated code
* Fill empty block of code
2021-06-09 19:42:18 +09:00
loyalsoldier
41790b80ac
Fix lint and format code in core dir
2021-06-06 21:00:27 +08:00
ruancongyong
b159750ef4
修改changelog信息和deepsource问题
2021-05-24 21:40:52 +08:00
ruancongyong
580d694b0e
fix deepsource bug
2021-05-24 21:26:46 +08:00
ruancongyong
4d6b22ef08
Propoal: Convenient way to generate mock object
...
format code and add unit test
2021-05-22 21:55:04 +08:00
泫
08cde0b55d
[fix bug]console more empty line
2021-05-22 14:49:52 +08:00
loyalsoldier
ef7a85f0b3
Env: non-empty GOBIN & GOPATH
2021-05-19 23:05:43 +08:00
loyalsoldier
91d993b7e2
Fix imports by gci
2021-05-19 22:28:05 +08:00
loyalsoldier
7b99c324be
Fix code according to deepsource
2021-05-19 22:27:19 +08:00
loyalsoldier
2b7401109f
Chore: format code
2021-05-19 22:27:17 +08:00
CarolineZhang666
d356848ffc
Deprecated BeeMap and replace all usage with
2021-05-19 11:10:56 +08:00
loyalsoldier
31d9367a52
Chore: update dependencies
2021-05-17 21:38:59 +08:00
Ming Deng
452dae86be
allow register mock
2021-04-14 23:38:41 +08:00
Ming Deng
3acc858909
Merge master and develop
2021-04-05 20:55:30 +08:00
王厚伟
10860b2d27
fix log level
2021-03-16 23:22:54 +08:00
Nitin Mohan
f554a1c543
Optimize maligned structs
2021-03-08 13:01:47 +05:30
Lewis Patten
12145c10ad
fixed spelling errors
2021-03-06 21:26:39 +00:00
shubhendra
644291c028
Replace time.Now().Sub with time.Since
2021-02-25 15:58:45 +05:30
Ming Deng
45ab79249a
Add when to write method
2021-02-21 12:39:46 +08:00
Ming Deng
cec95bb6d0
Fix log format bug
2021-02-05 23:28:58 +08:00