211 Commits

Author SHA1 Message Date
auual
e36eb1a3c5 add: generic cache random time offset expired. 2022-06-12 22:20:11 +08:00
Deng Ming
9d27055fc8 Release v2.0.4 change log 2022-06-12 10:41:06 +08:00
Deng Ming
41cc57dcf2 fix 4976: make admin serve HTTP only 2022-06-10 21:26:36 +08:00
Deng Ming
79abec4fb9 fix 4975: graceful server listen the specific address 2022-06-10 19:04:09 +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
runner361
4ca2780dbf Fix issue 4961
Fix issue 4961, `leafInfo.match()` use `path.join()` to deal with `wildcardValues`, which may lead to cross directory risk
2022-05-29 07:54:48 +08:00
Deng Ming
2fc51b9c7f change changelog developing to v2.0.3 2022-05-23 21:16:50 +08:00
runner361
64cf44d725
fix issue 4946 (#4954)
* Update tree.go

fix issue 4946 CVE-2022-31259
2022-05-23 18:15:13 +08:00
greenhandatsjtu
d5a5cdfdb5
Merge branch 'develop' into fix/orm_pg_comment 2022-05-19 14:27:27 +08:00
greenhandatsjtu
a539289b20 Add unit test for getDbCreateSQL() 2022-05-19 14:26:23 +08:00
Deng Ming
981074340a logs: multiFileLogWriter uses incorrect formatter 2022-05-16 22:13:08 +08:00
jianzhiyao
69c17fafbb
Merge pull request #4918 from robberphex/callback
support LifeCycleCallback
2022-04-29 11:55:21 +08:00
luyanbo
01880adad1 add callback 2022-04-29 11:45:50 +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
28406e5af0 bump up prometheus client version 2022-03-05 13:39:10 +08:00
Deng Ming
81e44182c5 upgrade redisgo to v1.8.8 2022-02-28 21:29:09 +08:00
Deng Ming
b8cf07fa18 fix bug: etcd should use etcd as adapter name 2022-01-09 16:55:15 +08:00
Deng Ming
fe4b84e4f6 fix4791: delay to format parameter 2021-10-25 22:30:21 +08:00
Deng Ming
0347cfc7a5 fxi4782: must set status before rendering error page 2021-10-20 20:43:17 +08:00
Deng Ming
3981234bfb set default rate and capacity for ratelimit filter 2021-10-19 22:31:15 +08:00
Ming Deng
9ced4fdd6d Update change log 2021-09-15 11:12:57 +08:00
nichtsen
bf11618921 update CHANGELOG.md 2021-09-08 15:07:37 +08:00
Cr
0e9b2c27ea
fix(orm): txOrm miss debug log 2021-09-03 14:23:09 +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
49cec8fef0
chore: change log 2021-08-31 16:05:00 +08:00
Ming Deng
28a6821b32 Remove goyaml2 dependencies 2021-08-30 23:10:26 +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
zh199225
5f091921af
Update CHANGELOG.md
When the URL is end with "/", and the parameter "Path" of Cookie() Function is "", the "Path" of cookie that set in browser will not be the default value "/"., I think it's incorrect. When the URL is not end with "/", it's correct.
2021-08-20 09:28:16 +08:00
Ming Deng
d91a22c453 Fix 4734: do not reset id in Delete function 2021-08-19 21:45:33 +08:00
Ming Deng
cf00f74882
Merge pull request #4736 from zh199225/develop
修正:XSRFToken函数在特定情况下会产生多个不同Path的_xsrf同名cookie
2021-08-19 20:48:39 +08:00
zh199225
414862a94c
Update CHANGELOG.md 2021-08-19 20:34:32 +08:00
Ming Deng
334609a1ea Fix 4728: Print wrong file number 2021-08-19 20:20:01 +08:00
Ming Deng
e37e84b3d7 Fix 4727: CSS when the request URI is invalid 2021-08-17 00:36:42 +08:00
Ming Deng
e7d91a2bed Refator:
1. Move BindXXX core logic to context.Context for two reasons:
   1.1 Controller should be stateless -- Due to historical reason, it's hard for us to do this but we should try it
   1.2 If users didn't use Controller to write their functions, they should be allowed to use those methods
2. Move XXXResp to context.Context
2021-08-10 23:27:06 +08:00
Anker Jam
72f24210e8 changelog 2021-08-06 00:25:27 +08:00
jianzhiyao
54cff71def changelog 2021-08-05 10:47:05 +08:00
Ming Deng
9ce8aa734a Add change log 2021-08-04 22:59:04 +08:00
sunxingbo
959adb5f0b add a CHANGELOG entry for pull request 4701 2021-07-22 17:01:57 +08:00
lowit
e359806f33
patch-1: adds a changelog entity 2021-07-04 22:38:23 +03:00
LinXiaoYi
23cbe53b84 add changelog record 2021-06-26 00:37:38 +08:00
Ming Deng
fea7c914cc
Merge pull request #4607 from jimashi/develop
add template functions eq,lt to support uint and int compare.
2021-06-26 00:15:46 +08:00
loyalsoldier
6e9971ab36
Chore: update changelog 2021-06-18 00:51:00 +08:00
Ming Deng
13508f2840
Merge branch 'develop' into develop 2021-06-16 22:19:00 +08:00