178 Commits

Author SHA1 Message Date
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
loyalsoldier
c77f0663c2
Migrate tests to GitHub Actions 2021-06-13 07:14:52 +08:00
Ming Deng
636a4178f5
Merge branch 'develop' into server-fix-lint 2021-06-11 20:25:52 +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
1023f83a92
Fix lint and format code in server dir 2021-06-07 19:03:40 +08:00
Ming Deng
b420b064d2
Merge pull request #4652 from Loyalsoldier/httplib-fix-lint
Fix lint and format code in client/httplib dir
2021-06-07 13:01:48 +08:00
Ming Deng
a25df10e20
Merge pull request #4655 from Loyalsoldier/task-fix-lint
Fix lint and format code in task dir
2021-06-07 13:01:35 +08:00
Ming Deng
83798989c3
Merge pull request #4654 from Loyalsoldier/core-fix-lint
Fix lint and format code in core dir
2021-06-06 23:16:30 +08:00
Ming Deng
75fdc048ee
Merge pull request #4649 from Loyalsoldier/adapter-fix-lint
Fix lint and format code in adapter dir
2021-06-06 21:45:19 +08:00
Ming Deng
c8e81e5a95
Merge pull request #4651 from Loyalsoldier/cache-fix-lint
Fix lint and format code in client/cache dir
2021-06-06 21:44:15 +08:00
loyalsoldier
6738009081
Fix lint and format code in task dir 2021-06-06 21:05:27 +08:00
loyalsoldier
41790b80ac
Fix lint and format code in core dir 2021-06-06 21:00:27 +08:00
loyalsoldier
1b8c801ec6
Fix lint and format code in client/orm dir 2021-06-06 20:52:38 +08:00
loyalsoldier
a87f8ec82a
Fix lint and format code in client/cache dir 2021-06-06 20:45:00 +08:00
loyalsoldier
c28ae80b11
Fix lint and format code in client/httplib dir 2021-06-06 20:41:10 +08:00
loyalsoldier
3572ac96a4
Fix lint and format code in adapter dir 2021-06-06 18:37:33 +08:00
Ming Deng
ca328208cc
Merge pull request #4647 from Loyalsoldier/context-fix-lint
Fix lint and format code in adapter/context dir
2021-06-06 16:33:21 +08:00
Ming Deng
24fa805170
Merge pull request #4645 from Loyalsoldier/cache-fix-lint
Fix lint and format code in adapter/cache dir
2021-06-06 16:30:23 +08:00
Ming Deng
ec5a35af53
Merge pull request #4644 from Loyalsoldier/test-fix-lint
Fix lint and format code in test dir
2021-06-06 16:30:00 +08:00
Ming Deng
bd134b94db
Merge pull request #4648 from Loyalsoldier/httplib-fix-lint
Fix lint and format code in adapter/httplib dir
2021-06-06 16:22:18 +08:00
loyalsoldier
fc38efb7d4
Fix lint and format code in adapter/httplib dir 2021-06-05 11:33:30 +08:00
loyalsoldier
4fee15c1f1
Fix lint and format code in adapter/context dir 2021-06-05 11:18:39 +08:00
loyalsoldier
1db0588770
Fix lint and format code in adapter/config dir 2021-06-05 11:14:50 +08:00
loyalsoldier
79f6cd9c31
Fix lint and format code in adapter/cache dir 2021-06-05 11:11:37 +08:00
loyalsoldier
ded398b634
Fix lint and format code in test dir 2021-06-05 11:03:32 +08:00
jianzhiyao
402bda1aaa
Merge branch 'develop' into develop 2021-06-01 10:25:42 +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
Ming Deng
2f174db197
Merge pull request #4635 from optimistic9527/develop
task manager graceful shutdown support
2021-05-27 14:09:34 +08:00
guoxingyong
003434cad6 fix DeepSource and CHANGELOG.md 2021-05-26 13:37:09 +08:00
holooooo
8a24192762 fix lint 2021-05-25 09:56:54 +08:00
ruancongyong
b159750ef4 修改changelog信息和deepsource问题 2021-05-24 21:40:52 +08:00
iabetor
23d191da9a
Merge branch 'develop' into feature-convenient-mock 2021-05-24 21:30:33 +08:00
ruancongyong
580d694b0e fix deepsource bug 2021-05-24 21:26:46 +08:00
holooooo
4c4fdf496e Merge branch 'develop' of https://github.com/beego/beego into develop 2021-05-22 15:00:25 +08:00