4647 Commits

Author SHA1 Message Date
Ming Deng
a91aa0e966
Merge pull request #4679 from xjl662750/develop
add SameSite for Cookie
2021-07-24 21:18:43 +08:00
jianzhiyao
cb5fd74a56
Merge pull request #4701 from sunxingboo/develop
Add a custom option for whether to escape HTML special characters when processing http request parameters.
2021-07-22 17:23:09 +08:00
sunxingbo
959adb5f0b add a CHANGELOG entry for pull request 4701 2021-07-22 17:01:57 +08:00
xjl
86b0a3ba3f add unit test cases 2021-07-22 16:18:20 +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
jianzhiyao
8fc3d7c700
Merge pull request #4697 from suchen9209/develop
fix comment
2021-07-21 10:44:03 +08:00
sunxingbo
4a85237faf fix json marshal in http request 2021-07-20 22:38:37 +08:00
such
005b8b5813 fix comment
change MainContorlller to MainController
2021-07-19 16:30:34 +08:00
dependabot[bot]
d1f393d53d
Bump actions/stale from 3.0.19 to 4
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.19 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3.0.19...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 13:11:39 +00:00
Ming Deng
12af439a9c
Merge pull request #4686 from lowitea/patch-1
Always set the response status in the CustomAbort function
2021-07-05 16:48:15 +08:00
lowit
e359806f33
patch-1: adds a changelog entity 2021-07-04 22:38:23 +03:00
lowitea
1378006d51
Fixes CustomAbort
Always set the response status in the CustomAbort function
2021-07-01 16:28:36 +03:00
zav8
aff59f65fb
Fix orm.SetMaxOpenConns
It should call `SetMaxOpenConns` instead of `SetMaxIdleConns`.
2021-06-29 11:03:34 +08:00
xjl662750
4fa797feaa
Update output.go
add SameSite for Cookie
2021-06-29 09:31:50 +08:00
Ming Deng
61f5ce8c6c
Merge pull request #4677 from Codexiaoyi/develop
fix sonar problems about regular expression
2021-06-28 00:10:17 +08:00
LinXiaoYi
23cbe53b84 add changelog record 2021-06-26 00:37:38 +08:00
LinXiaoYi
1252b520ae fix sonar problems about regular expression 2021-06-26 00:35:34 +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
letu
92b520d810 provided template function eq,lt unit test. 2021-06-25 00:51:55 +08:00
Ming Deng
2207201e38
Merge pull request #4668 from Loyalsoldier/fix-code
Chore: fix code
2021-06-23 23:40:53 +08:00
loyalsoldier
6e9971ab36
Chore: update changelog 2021-06-18 00:51:00 +08:00
loyalsoldier
007952f7fe
Fix: refine tests 2021-06-18 00:51:00 +08:00
loyalsoldier
656d211856
Fix: use octal file mode 2021-06-17 03:36:49 +08:00
loyalsoldier
87158d6c3f
Fix: avoid shadow of builtin 2021-06-17 03:36:48 +08:00
loyalsoldier
c61ae2d3e1
Fix: remove unnecessary break statements 2021-06-17 03:36:48 +08:00
letu
99b7c0bae4 Merge remote-tracking branch 'origin/develop' into develop 2021-06-16 23:21:45 +08:00
letu
a4e1860659 provided template function eq,lt unit test. 2021-06-16 23:18:07 +08:00
Ming Deng
13508f2840
Merge branch 'develop' into develop 2021-06-16 22:19:00 +08:00
Ming Deng
57b303e076
Merge pull request #4663 from Loyalsoldier/migrate-ci
CI: migrate tests to GitHub Actions
2021-06-16 22:13:10 +08:00
Ming Deng
6c068e1539
Merge pull request #4664 from eltociear/patch-1
Fix typo in templatefunc.go
2021-06-16 22:09:43 +08:00
Ming Deng
e99603d145
Merge pull request #4667 from beego/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.0
Bump go.etcd.io/etcd/client/v3 from 3.5.0-alpha.0 to 3.5.0
2021-06-16 22:04:24 +08:00
dependabot[bot]
2dbeb97761
Bump go.etcd.io/etcd/client/v3 from 3.5.0-alpha.0 to 3.5.0
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.0-alpha.0 to 3.5.0.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/CHANGELOG-3.5.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.0-alpha.0...v3.5.0)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 07:06:36 +00:00
Ikko Ashimine
a1d6c1bc18
Fix typo in templatefunc.go
wether -> whether
2021-06-14 11:58:48 +09:00
loyalsoldier
022992c680
Update and fix README 2021-06-13 11:28:46 +08:00
loyalsoldier
c77f0663c2
Migrate tests to GitHub Actions 2021-06-13 07:14:52 +08:00
Ming Deng
f79dfcff8d
Merge pull request #4656 from Loyalsoldier/server-fix-lint
Fix lint and format code in server dir
2021-06-11 21:13:21 +08:00
Ming Deng
636a4178f5
Merge branch 'develop' into server-fix-lint 2021-06-11 20:25:52 +08:00
Ming Deng
fafc767cc9
Merge pull request #4657 from beego/dependabot/go_modules/github.com/pelletier/go-toml-1.9.2
Bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2
2021-06-09 23:26:29 +08:00
Ming Deng
91392b9cb5
Merge pull request #4660 from t29kida/fix-sonar-problem
fix sonar problem
2021-06-09 22:00:46 +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
dependabot[bot]
6ae90b8eb1
Bump github.com/pelletier/go-toml from 1.9.1 to 1.9.2
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 14:53:19 +00:00
Ming Deng
18de06b970
Merge pull request #4658 from beego/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
2021-06-08 22:50:16 +08:00
Ming Deng
a0c073c22e
Merge pull request #4659 from DrBlury/patch-1
Fixed typo in readme
2021-06-08 22:36:16 +08:00
DrBlury
6eef1d21a1
Fixed typo in readme 2021-06-08 14:44:30 +02:00
dependabot[bot]
4e4cb145f5
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 06:57:23 +00: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