Commit Graph

2498 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
512ed6ffc0
add support for fs.FS, embed.FS (in addition of string and http.FileSystem) for i18n locales and view engine's templates 2022-09-25 20:40:56 +03:00
Gerasimos (Makis) Maropoulos
4cd0621018
add support for the go standard embed tag for locale files 2022-09-23 01:28:47 +03:00
Gerasimos (Makis) Maropoulos
fd1db640a0
use the global function of context.ResolveFS on APIBuilder.HandleDir (see prev commit) 2022-09-21 23:28:04 +03:00
Gerasimos (Makis) Maropoulos
95a8110f1e
directly support embed.FS and fs.FS on view engines 2022-09-21 23:26:12 +03:00
Gerasimos (Makis) Maropoulos
5bc0796548
add GetDomain and SetCookieKVExpiration patch functions to the iris.Patches 2022-09-21 22:21:14 +03:00
Gerasimos (Makis) Maropoulos
0a4927f6df
add iris.Patches() to modify global behaviors 2022-09-20 18:08:39 +03:00
dependabot[bot]
ff81f37062
Bump github.com/kataras/sitemap from 0.0.5 to 0.0.6 (#1970)
Bumps [github.com/kataras/sitemap](https://github.com/kataras/sitemap) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/kataras/sitemap/releases)
- [Commits](https://github.com/kataras/sitemap/compare/v0.0.5...v0.0.6)

---
updated-dependencies:
- dependency-name: github.com/kataras/sitemap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 10:25:28 +03:00
dependabot[bot]
df4dd62231
Bump github.com/kataras/pio from 0.0.10 to 0.0.11 (#1969)
Bumps [github.com/kataras/pio](https://github.com/kataras/pio) from 0.0.10 to 0.0.11.
- [Release notes](https://github.com/kataras/pio/releases)
- [Commits](https://github.com/kataras/pio/compare/v0.0.10...v0.0.11)

---
updated-dependencies:
- dependency-name: github.com/kataras/pio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 10:24:43 +03:00
Gerasimos (Makis) Maropoulos
a559a2928e
add remoteip and sitekey optional fields to hcaptcha middleware
as suggested on the kataras/hcaptcha package
2022-09-19 14:39:23 +03:00
Gerasimos (Makis) Maropoulos
80f5699d37
minor: HandleDir: godoc 2022-09-19 01:20:23 +03:00
Gerasimos (Makis) Maropoulos
414c1ad1ae
add support for embed.FS 2022-09-19 01:15:38 +03:00
Gerasimos (Makis) Maropoulos
71e8a14615
update dependencies 2022-09-18 21:28:00 +03:00
Gerasimos (Makis) Maropoulos
23741e7209
fix prev commit 2022-09-18 21:11:41 +03:00
Gerasimos (Makis) Maropoulos
a431a1c7d2
examples: minor improvements 2022-09-18 20:49:12 +03:00
Gerasimos (Makis) Maropoulos
070a81d38f
router: minor improvement 2022-09-18 20:46:37 +03:00
Gerasimos (Makis) Maropoulos
3d99983d96
fix #1967 and #1968 2022-09-18 01:52:30 +03:00
jesse.tang
9e8a58bf3b
Optimize: map or slice initialize allocation size / cap (#1965) 2022-09-09 15:56:23 +03:00
dependabot[bot]
b037d11c18
Bump github.com/microcosm-cc/bluemonday from 1.0.19 to 1.0.20 (#1963)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.19...v1.0.20)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 16:58:28 +03:00
dependabot[bot]
c12dc2a9df
Bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#1960)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.22.7 to 3.22.8.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.22.7...v3.22.8)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 16:58:17 +03:00
dependabot[bot]
3154886e84
Bump github.com/tdewolff/minify/v2 from 2.12.0 to 2.12.1 (#1958) 2022-09-02 16:08:21 +03:00
Gerasimos (Makis) Maropoulos
453b125155
Merge pull request #1956 from trungdlp-wolffun/master 2022-09-02 16:07:58 +03:00
Phước Trung
78c58689e5 url param bool default 2022-08-29 17:12:36 +07:00
Phước Trung
d8d170b775
Merge pull request #1 from kataras/master
merge main
2022-08-29 17:04:45 +07:00
Gerasimos (Makis) Maropoulos
3c474097c6
https://github.com/kataras/iris/issues/1945#issuecomment-1226678256 2022-08-27 00:22:42 +03:00
Gerasimos (Makis) Maropoulos
9821cbe6d8
Merge pull request #1948 from trungdlp-wolffun/feature/fire_notfound_strict_mode
Fires 404 HTTP Code when gRPC strict mode enabled
2022-08-15 13:28:44 +03:00
Gerasimos (Makis) Maropoulos
7bd47bf446
README: update donators ❤️ 2022-08-15 01:36:22 +03:00
Gerasimos (Makis) Maropoulos
0d86a9628d
go1.19: core/errgroup minor fix 2022-08-15 01:23:41 +03:00
Gerasimos (Makis) Maropoulos
057fa462f4
allow setting a custom go-redis client at Iris go redis sessions driver as request at https://chat.iris-go.com 2022-08-15 00:58:49 +03:00
Gerasimos (Makis) Maropoulos
16af6d017f
update deps, go 1.19 2022-08-15 00:44:26 +03:00
Gerasimos (Makis) Maropoulos
0d63ef41b8
accept feature request: #1941 2022-08-15 00:37:26 +03:00
Gerasimos (Makis) Maropoulos
5e0bea8112
fix https://github.com/kataras/iris/issues/1841 2022-08-14 23:59:07 +03:00
Gerasimos (Makis) Maropoulos
f91269130e
add a more straightforward example for #1953 2022-08-13 09:07:00 +03:00
Gerasimos (Makis) Maropoulos
3715a66ef0
fix #1949 2022-08-12 21:07:39 +03:00
Gerasimos (Makis) Maropoulos
dd4bc50f78
improvements on the x/jsonx/iso8601 time format 2022-08-12 00:05:44 +03:00
Phước Trung
30e31e546f Fires 404 HTTP Code when use gRPC strict mode 2022-08-09 16:37:29 +07:00
dependabot[bot]
028ee70d4a
Bump gopkg.in/ini.v1 from 1.66.6 to 1.67.0 (#1947)
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.66.6 to 1.67.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.6...v1.67.0)

---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
  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>
2022-08-09 10:20:21 +03:00
dependabot[bot]
c026ab9241
Bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#1943)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.22.6 to 3.22.7.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.22.6...v3.22.7)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  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>
2022-08-01 14:32:25 +03:00
dependabot[bot]
14db416059
Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#1940)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.0...v1.28.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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>
2022-07-29 08:01:10 +03:00
kataras
d664ef32da
update sponsors, thanks you all ❤️ 2022-07-28 14:07:24 +03:00
Gerasimos (Makis) Maropoulos
63468b1524
Update LICENSE 2022-07-28 13:56:15 +03:00
kataras
8c7399229e
fix #1938 2022-07-26 11:32:56 +03:00
Gerasimos (Makis) Maropoulos
cfb009bb4f
add more PostValueXXX methods as requested at: https://github.com/kataras/iris/discussions/1922 2022-07-22 17:11:17 +03:00
dependabot[bot]
420c2e40f8
Bump github.com/klauspost/compress from 1.15.8 to 1.15.9 (#1935)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.8 to 1.15.9.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.8...v1.15.9)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  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>
2022-07-22 11:33:02 +03:00
Gerasimos (Makis) Maropoulos
6e82b40c2e
_examples: minor 2022-07-21 13:40:20 +03:00
Gerasimos (Makis) Maropoulos
459ea39a83
Merge branch 'master' of ssh://github.com/kataras/iris 2022-07-21 13:34:03 +03:00
Gerasimos (Makis) Maropoulos
3607d0f02a
release v12.2.0-beta4 2022-07-21 13:33:51 +03:00
dependabot[bot]
52217ef001
Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#1934)
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/BurntSushi/toml/releases)
- [Commits](https://github.com/BurntSushi/toml/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
  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>
2022-07-21 13:31:29 +03:00
Gerasimos (Makis) Maropoulos
04ef581c02
fix CVE-2020-5398
reported through security issue report by @motoyasu-saburi
2022-07-21 13:28:44 +03:00
Gerasimos (Makis) Maropoulos
94540fa664
_examples: minor 2022-07-19 23:22:51 +03:00
Gerasimos (Makis) Maropoulos
141862db37
_examples: minor 2022-07-19 22:48:04 +03:00