4798 Commits

Author SHA1 Message Date
hamidreza abedi
fac100ff37 feat(validation): add Label to error struct 2024-07-01 19:37:22 +08:00
dependabot[bot]
05f624fe09 build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-26 14:25:36 +08:00
Rafiudeen Chozhan Kumarasamy
92ea020d06 Update README.md
Added *go mod tidy* before *go build*.
2024-05-26 14:17:38 +08:00
dependabot[bot]
7ef0553990 build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 22:10:56 +08:00
dependabot[bot]
095dbf734d build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 11:25:11 +08:00
Deng Ming
8f89e12e6c fix GHSA-6g9p-wv47-4fxq 2024-04-25 16:55:18 +08:00
guangwu
5a366cd62b fix: close file in the GrepFile func 2024-04-18 15:14:43 +08:00
wujiabang
d703f533d0 resolve #5604: using double instead of single hyphen when forking a child process. 2024-04-12 20:16:44 +08:00
Deng Ming
35483381a0 update docsite 2024-04-08 23:28:29 +08:00
Deng Ming
c1bd461068 actions: reuse the feedback action 2024-04-08 17:50:25 +08:00
Deng Ming
0f9372234c github: provide an action to make sure all users raise the issues following the template 2024-04-08 17:14:35 +08:00
dependabot[bot]
90dc9e833e build(deps): bump google.golang.org/grpc from 1.41.0 to 1.63.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.41.0 to 1.63.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.41.0...v1.63.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-06 17:11:23 +08:00
dependabot[bot]
c562b472de build(deps): bump golang.org/x/crypto from 0.20.0 to 0.22.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.22.0.
- [Commits](https://github.com/golang/crypto/compare/v0.20.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-06 16:55:56 +08:00
dependabot[bot]
f83ad57686 build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.6.0 to 0.7.0.
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-06 16:51:02 +08:00
Deng Ming
cb8de70d42 update website information 2024-04-06 16:46:35 +08:00
seiya
196eb6b7cc remove unneccesary elements in keys in Signature() 2024-04-06 16:46:23 +08:00
Deng Ming
cca1f2f6e6 Refine the Readme v2 2024-04-04 17:17:52 +08:00
Ming Deng
b5edc16712
refine the README (#5625) 2024-04-04 17:16:12 +08:00
dependabot[bot]
f55655e65f
build(deps): bump github.com/go-sql-driver/mysql from 1.7.0 to 1.8.1 (#5619)
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/v1.8.1/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  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>
2024-03-31 21:45:10 +08:00
Seiya
0609076950
use filepath.Join() to build file paths (#5617)
* use filepath.Join() to build file paths

* use filepath.Join() to build file paths
2024-03-31 21:26:35 +08:00
Ming Deng
97066459ed
fix 5620: ensure cookie always use the config (#5621) 2024-03-31 21:25:28 +08:00
James Kang
a287c2ba81
server: fix typo (#5618)
Signed-off-by: majorteach <csgcgl@126.com>
2024-03-31 21:25:11 +08:00
racerole
29de4e3a3d chore: remove repetitive words
Signed-off-by: racerole <jiangyifeng@outlook.com>
2024-03-12 23:40:09 +08:00
dependabot[bot]
93f693a356
build(deps): bump github.com/prometheus/client_golang (#5605)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.19.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.19.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.19.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 15:08:53 +08:00
dependabot[bot]
b6ec6b680b
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.7 to 1.14.22 (#5583)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.7 to 1.14.22.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.7...v1.14.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 14:27:08 +08:00
dependabot[bot]
ac23b684c5
build(deps): bump github.com/google/uuid from 1.2.0 to 1.6.0 (#5582)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.2.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.2.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  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>
2024-03-07 14:19:42 +08:00
dependabot[bot]
4bd533bbba
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.9.0 (#5608)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.9.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 14:10:24 +08:00
dependabot[bot]
dda753b4b3
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.20.0 (#5603)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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>
2024-03-03 12:43:05 +08:00
Ming Deng
22d55f9c51
upgrader Go to v1.20 (#5609) 2024-03-02 23:49:25 +08:00
Carl Hopf
c957fef111
upgrade to redis v9 (#5606) 2024-03-02 23:32:37 +08:00
dependabot[bot]
219051dbc8
build(deps): bump actions/setup-go from 3 to 5 (#5567)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 15:29:29 +08:00
dependabot[bot]
cbcce1220b
build(deps): bump golang.org/x/sync from 0.3.0 to 0.6.0 (#5569)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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>
2024-02-05 15:29:13 +08:00
Ming Deng
c851ba36ca
upgrade to golang.org/x/crypto v0.18.0 (#5581) 2024-02-05 11:31:57 +08:00
dependabot[bot]
fb4ac67940
build(deps): bump actions/stale from 7 to 9 (#5566)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 9.
- [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/v7...v9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 11:26:09 +08:00
dependabot[bot]
eaa61b12f8
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 (#5568)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 11:25:54 +08:00
Ather Shu
30278539a6
feat: orm suppert SetConnMaxIdleTime (#5580) 2024-02-05 11:24:40 +08:00
Oleksandr Redko
426aad68dc
refactor: replace deprecated github.com/pkg/errors with errors pkg (#5577) 2024-02-02 22:56:28 +08:00
lengpucheng
2dafe7709a
fix: fix 5538 change will cause the console to be displayed on the same line as the next output program (#5576) 2024-02-02 21:04:35 +08:00
Ming Deng
979c076024
fix 4936: always transport request body (#5546) 2023-12-10 23:22:51 +08:00
Ming Deng
95a8a61d2b
fix 5530: use orm.DebugLog (#5532)
* fix 5500: querySet should not be changed when constructing SQL

* fix 5530: use orm.DebugLog
2023-11-27 23:43:59 +08:00
Ming Deng
e4b67e86ee
fix 5500: querySet should not be changed when constructing SQL (#5502) 2023-10-06 19:48:10 +08:00
Ming Deng
82aa2c28dc
Merge pull request #5418 from flycash/master
Add v2.1.2 CHNAGELOG
2023-09-20 23:30:23 +08:00
Deng Ming
7f7426dd80 Add v2.1.2 CHNAGELOg 2023-09-19 15:19:47 +08:00
Ming Deng
18a949fd3a
Merge pull request #5417 from beego/develop
Release v2.1.2
2023-09-19 15:17:39 +08:00
Arthur Kalikiti
486fbbf2d5
doc: Updated CONTRIBUTING.md to fix some grammatical errors (#5416)
Co-authored-by: Arthur Kalikiti <arthur.kalikiti@infratel.co.zm>
2023-09-18 15:28:20 +08:00
Ming Deng
e465249ef6
orm: PostgreSQL change auto to bigserial (#5415) 2023-09-18 11:02:43 +08:00
smx_Morgan
c55099756c
support db_type in ddl (#5404)
* support db_type in ddl

* postgres test fixed

* CHANGELOG.md

* mysql bug
2023-09-14 21:59:30 +08:00
Uzziah
b2a37fe60e
fix: refactor Count method (#5300)
* fix: refactor Count method and add test

* fix: add the change record into the CHANGELOG.md

* fix: refactor the readSQL method and let countSQL reuse readSQL method

* fix: fix the bug in the construction process of the order by clause

* fix: modify the TestCountOrderBy、add the TestCount and TestOrderBy

* fix: move the change record in CHANGELOG.md to developing

---------

Co-authored-by: Ken <azai8599@163.com>
2023-09-12 00:18:04 +08:00
Uzziah
4eea71f1d7
fix: refactor readBatchSQL and readValuesSQL method to reuse readSQL (#5303)
* fix: refactor readBatchSQL and readValuesSQL method to reuse readSQL and add test of the readValuesSQL method

* fix: add the change record into the CHANGELOG.md

* fix: fix the bug for preprocess cols

* fix: resolve the conflict with develop

---------

Co-authored-by: Ken <azai8599@163.com>
2023-08-29 20:56:51 +08:00
Ming Deng
2d0da431cb
refactor: move the modelCache to internal/models package (#5306) 2023-08-28 21:10:31 +08:00