34 Commits

Author SHA1 Message Date
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
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
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
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
3e886f71ca replace beego.me with beego.vip 2021-11-29 21:29:29 +08:00
LinXiaoYi
1252b520ae fix sonar problems about regular expression 2021-06-26 00:35:34 +08:00
loyalsoldier
a87f8ec82a
Fix lint and format code in client/cache dir 2021-06-06 20:45:00 +08:00
t29kida
de65d82701 fix sonar problem
* replace min limit value with const values
* remove duplicated testcase and add testcase
* put together switch case statement
* fill empty block of code
2021-05-31 18:38:37 +09:00
loyalsoldier
2b7401109f
Chore: format code 2021-05-19 22:27:17 +08:00
shubhendra
644291c028
Replace time.Now().Sub with time.Since 2021-02-25 15:58:45 +05:30
Ming Deng
9da720d8ba Merge develop 2021-02-13 22:19:52 +08:00
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
Ming Deng
4855146ac6 Fix log format bug 2021-02-05 23:12:42 +08:00
Ming Deng
62aa0188c4 fix sonar Part3 2021-02-04 16:53:27 +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
884677f3a9
Merge pull request #4345 from AllenX2018/fix-issue-4344
Fix issue #4344
2020-12-16 00:25:55 +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
AllenX2018
c6282e7b27 remove ineffectual assignment to err 2020-11-18 09:56:56 +08:00
AllenX2018
6225f0c1e9 fix issue 4311 2020-11-17 20:53:33 +08:00
AllenX2018
663e5d728c fix issue #4312 2020-11-13 16:47:22 +08:00
Ming Deng
14c1b76569 remove pkg directory;
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00