100 Commits

Author SHA1 Message Date
Ming Deng
28a6821b32 Remove goyaml2 dependencies 2021-08-30 23:10:26 +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
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
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
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
holooooo
8a24192762 fix lint 2021-05-25 09:56:54 +08:00
holooooo
5f5afc111a add xml-roundtrip-validator 2021-05-24 14:45:44 +08:00
holooooo
84fa2ccd9a fix lint temp 2021-05-23 23:01:01 +08:00
loyalsoldier
31d9367a52
Chore: update dependencies 2021-05-17 21:38:59 +08:00
Ming Deng
3acc858909 Merge master and develop 2021-04-05 20:55:30 +08:00
Ming Deng
b679ec3d59 Fix go mod tidy 2021-04-05 00:40:44 +08:00
Ming Deng
cec95bb6d0 Fix log format bug 2021-02-05 23:28:58 +08:00
Ming Deng
f5cd527205 Upgrade couchbase 2021-01-27 23:01:54 +08:00
Ming Deng
452d20a187 Fix 4444: panic when 404 not found;
Using sync.Onyc to ensure register prometheus ovserver once
2021-01-19 23:37:29 +08:00
Anker Jam
a4f8fbd5a1 add session filter & UT 2021-01-03 00:33:44 +08:00
Ming Deng
aed0453a4a Support session cookie same site option 2020-12-16 23:28:56 +08:00
Ming Deng
385e1d390f update misspell and gofmt 2020-12-14 13:52:26 +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
Ming Deng
3fc21ae6ec Upgrade toml version 2020-10-14 00:25:31 +08:00
Ming Deng
34d6a733e9 Support toml config 2020-10-11 23:26:48 +08:00
Ming Deng
c2361170b3 Support etcd 2020-08-29 00:07:33 +08:00
Ming Deng
b4a85c8f13 Remove files 2020-08-16 23:09:19 +08:00
Ming Deng
f73eee75ff Merge develop-2.0 2020-08-14 14:34:59 +08:00
Ming Deng
bdec93986b Bean: Support autowire by tag
Orm: Support default value filter
2020-08-13 21:26:39 +08:00
Phillip Stagnet
0813471202
Merge branch 'develop-2.0' of github.com:astaxie/beego into change_redis_provider 2020-08-11 09:52:53 +02:00
AllenX2018
993ccac2bd fix comment router generate issue 2020-08-08 16:17:12 +08:00
Phillip Stagnet
ec55edfbc4
Add additional options to redis session prov
Adding option for frequency of checking timed out connections as well as
an option to specify retries.

These changes make redis provider more stable since connection problems
are becoming fewer.

Since redigo does not have this options and since redis_sentinel and
redis_cluster are using go-redis as a client, this commit changes from
redigo to go-redis for redis session provider.

Added tests for redis session provider as well.
2020-08-06 11:14:36 +02:00
Ming Deng
6c6cf91741 Support prometheus and opentracing filter 2020-08-04 23:15:42 +08:00
Ming Deng
192a278a2a Fix orm test when using Driver = mysql 2020-07-19 12:56:58 +00:00
Ming Deng
2f5ed5b433 Remove tidb dependency 2020-06-30 21:04:37 +08:00
Ming Deng
1f9da8d75b Fix ES bug 2020-06-29 22:25:22 +08:00
harry890829
0f6735e20d Merge branch 'develop' of https://github.com/astaxie/beego into develop
 Conflicts:
	go.mod
	go.sum
2020-06-29 16:48:03 +08:00
Ming Deng
16b81d09a7 Add prometheus support 2020-06-21 17:10:34 +08:00
Ming Deng
6c0db4db3d Using HTMLEscapeString in adminui.go to avoid XSS attack 2020-06-19 21:49:17 +08:00
harry890829
131748bb3d update go.mod&go.sum 2020-06-10 11:34:58 +08:00
harry890829
71cb1379b4 update support bit operation 2020-06-10 11:15:23 +08:00
flycash
ce0e7525ad Fix ES client 2020-06-06 20:14:01 +08:00
flycash
d0b7244d57 Fix ledis 2020-06-06 19:21:57 +08:00
Ming Deng
5100a8c396 fix CI and UT 2020-06-06 18:16:36 +08:00
Liu Zhang
034599ca1d 验证调整,增加label, xx不能为空 2020-01-17 16:47:19 +08:00
astaxie
11774c87a5 update version 1.13 2019-09-19 00:19:33 +08:00
Witaya Tospitakkul
12fdc04f1b fix: when parse post form it didnt parse fields which have same name but the first index is empty but another is not 2019-01-25 00:15:40 +07:00
DennisMao
24215fb3eb update dependency 2019-01-02 15:37:41 +08:00
astaxie
10729a1fc5 update vendor & module 2018-11-28 16:05:15 +08:00
astaxie
6282747f6d update vendor 2018-11-27 14:11:14 +08:00
astaxie
55d9b69cd9 update mod 2018-11-22 13:08:39 +08:00
Viktor Vassilyev
01a99edf80 chore(GoMod): add dependency go-bindata-assetfs 2018-11-10 12:26:19 +06:00
astaxie
5ea04bdfd3 update mod 2018-11-09 12:37:28 +08:00
kun
cf5d1f3f3c support go modules 2018-09-05 14:05:16 +08:00