Commit Graph

836 Commits

Author SHA1 Message Date
dependabot[bot]
042128a0dd
Bump golang.org/x/net in /_examples/sessions/database/redis (#2075)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:13:55 +02:00
dependabot[bot]
ddb0c215b5
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /_examples/mvc/overview (#2074)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:13:42 +02:00
dependabot[bot]
9e2af4eb7a
Bump golang.org/x/net in /_examples/graphql/schema-first (#2070)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.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>
2023-02-19 21:13:21 +02:00
dependabot[bot]
f5d7da5d75
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /_examples/websocket/basic (#2072)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:13:05 +02:00
dependabot[bot]
361dcd3573
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /_examples/project (#2073)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:12:54 +02:00
dependabot[bot]
d94a5ffda1
Bump golang.org/x/net (#2071)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:12:45 +02:00
dependabot[bot]
8b44edb491
Bump golang.org/x/net in /_examples/routing/party-controller (#2069)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:12:37 +02:00
dependabot[bot]
ad89abcf37
Bump golang.org/x/net in /_examples/auth/jwt/tutorial (#2068)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:55 +02:00
dependabot[bot]
a6e0611604
Bump golang.org/x/net in /_examples/response-writer/protobuf (#2067)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:51 +02:00
dependabot[bot]
72ad58e406
Bump golang.org/x/net in /_examples/websocket/gorilla-filewatch (#2066)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:44 +02:00
dependabot[bot]
e94e36de4e
Bump golang.org/x/net (#2065)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:36 +02:00
dependabot[bot]
8b1a96486d
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /_examples/database/mongodb (#2064)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:21 +02:00
dependabot[bot]
c4749aae35
Bump golang.org/x/net in /_examples/websocket/socketio (#2063)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:15 +02:00
dependabot[bot]
551cecb2d1
Bump golang.org/x/net in /_examples/dependency-injection/jwt/contrib (#2062)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:08 +02:00
dependabot[bot]
5b7f21334e
Bump golang.org/x/net (#2061)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:11:02 +02:00
dependabot[bot]
e26c150193
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /_examples/bootstrapper (#2060)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.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>
2023-02-19 21:10:57 +02:00
Gerasimos (Makis) Maropoulos
e9eb85af90
add graphql example
#2029
2023-02-07 03:01:24 +02:00
Gerasimos (Makis) Maropoulos
548f99013f
add taiwan's flag to the translation of README by #2043 2023-01-30 16:49:48 +02:00
Gerasimos (Makis) Maropoulos
bb3d5f21d6
README: add two links for the chinese documents, based on #2043 2023-01-27 19:20:14 +02:00
pan93412
605b6e44f0
Add Chinese (Traditional) Translation of README (#2043)
* Move `ZH` to `ZH_HANS` (Simplified Chinese)

To not be confused with `zh_Hant` (Traditional Chinese).

* Translated README.md to Chinese (TC)

* Translate _examples/README to Chinese (TC)
2023-01-27 19:00:19 +02:00
Gerasimos (Makis) Maropoulos
fc4214e9ae
minor: example improvement 2023-01-25 05:50:42 +02:00
Gerasimos (Makis) Maropoulos
196063d4db
_examples: update modules 2022-12-26 23:26:47 +02:00
Gerasimos (Makis) Maropoulos
29c8f44c93
add iris.TrimParamFilePart
read more at: #2024
2022-12-24 05:04:16 +02:00
Gerasimos (Makis) Maropoulos
de8883fc98
examples: add an example for #2019 2022-12-17 01:16:10 +02:00
Gerasimos (Makis) Maropoulos
1ea5cd58be
builtin html template functions changes 2022-12-13 01:37:15 +02:00
Gerasimos (Makis) Maropoulos
8b0ae8ca83
push v12.2.0-beta6 2022-10-23 05:06:07 +03:00
Gerasimos (Makis) Maropoulos
3f544398b9
HISTORY.md: add entry for third party packages support on httptest 2022-10-22 18:11:48 +03:00
Muhammad Hasan Alasady
c1fa064d98
Added support for third party packages on httptest package with tests & example. (#1992)
* Added support for third party packages on httptest package with tests.

* Update httptest.go

Co-authored-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
2022-10-22 18:02:55 +03:00
Gerasimos (Makis) Maropoulos
33778387a4
add accesslog slack example to the examples folder 2022-10-17 22:45:47 +03:00
Gerasimos (Makis) Maropoulos
68daa8d51d
minor (see prev commit) 2022-09-26 00:34:18 +03:00
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
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
Gerasimos (Makis) Maropoulos
414c1ad1ae
add support for embed.FS 2022-09-19 01:15:38 +03:00
Gerasimos (Makis) Maropoulos
a431a1c7d2
examples: minor improvements 2022-09-18 20:49:12 +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
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
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
6e82b40c2e
_examples: minor 2022-07-21 13:40:20 +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
kataras
8bfea48cd6
new {weekday} path parameter type 2022-06-23 23:01:52 +03:00
kataras
9dc356c1d8
add example for simple http.Handler wrapper 2022-06-19 10:01:18 +03:00
Gerasimos (Makis) Maropoulos
ef2643b046
replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
Kane
1b22fb2eba
lestrrat-go -> iproj (#1908)
There're some bugs in lestrrat-go
Detail:  https://github.com/iproj/file-rotatelogs/issues/1
2022-06-17 10:23:51 +03:00
Gerasimos (Makis) Maropoulos
37097e0b39
release v12.2.0-beta3 2022-06-05 22:19:11 +03:00
Gerasimos (Makis) Maropoulos
288a67bc58
introduce iris.NewGuide() 2022-06-05 22:12:57 +03:00
Gerasimos (Makis) Maropoulos
d8af2a1e14
context transactions removed and make Context.Domain customizable as requested 2022-06-05 06:15:10 +03:00
kataras
c6911851f1
add a new example 2022-06-04 02:42:33 +03:00
Gerasimos (Makis) Maropoulos
e7f5efa058
minor 2022-05-24 01:44:36 +03:00
Gerasimos (Makis) Maropoulos
02077a01fa
Release version 12.2.0-beta2 2022-05-09 03:01:34 +03:00
kataras
e42cd43271
include iris version, build time & revision to the startuplog when enabled 2022-05-04 13:52:51 +03:00
Gerasimos (Makis) Maropoulos
677ddd7539
fix #1876 2022-04-23 13:18:54 +03:00
Gerasimos (Makis) Maropoulos
90750d089d
add '{date}' dynamic path parameter type 2022-04-21 02:17:09 +03:00
Gerasimos (Makis) Maropoulos
ecb1c617df
handle https://github.com/kataras/iris/issues/1875 2022-04-13 02:25:47 +03:00
Gerasimos (Makis) Maropoulos
3582427df6
add an example of SetContextErrorHandler 2022-04-13 01:11:31 +03:00
Gerasimos (Makis) Maropoulos
73dfabf412
modrevision:minor 2022-04-10 01:25:19 +03:00
Gerasimos (Makis) Maropoulos
4dfd4c53d3
new minor features 2022-04-09 14:51:34 +03:00
Gerasimos (Makis) Maropoulos
f17a325df6
minor improvements 2022-04-07 01:56:42 +03:00
Gerasimos (Makis) Maropoulos
c5139b22ee
minor 2022-04-02 20:45:47 +03:00
Gerasimos (Makis) Maropoulos
872dd45359
auth: add an option to enforce the secure attr of the set-cookie 2022-04-02 18:17:47 +03:00
Gerasimos (Makis) Maropoulos
8652ee09f6
rename the sso to auth package 2022-04-02 17:30:55 +03:00
Gerasimos (Makis) Maropoulos
cf36063adf
first release of SSO package and more examples 2022-03-28 14:00:26 +03:00
Gerasimos (Makis) Maropoulos
45d693850b
apply update for #1861 as requested 2022-03-18 22:25:22 +02:00
Gerasimos (Makis) Maropoulos
9cf6f9fa5e
add a new Party.EnsureStaticBindings method - read HISTORY.md 2022-03-12 12:32:27 +02:00
Gerasimos (Makis) Maropoulos
7ab0f6fff5
set min version on tls configuration even on the tests and examples 2022-03-10 21:48:05 +02:00
Gerasimos (Makis) Maropoulos
5a7485124c
add a query helper on x/sqlx sub-package and fix the example for basicauth 2022-03-08 19:45:25 +02:00
Gerasimos (Makis) Maropoulos
4ecc9e3831
add a new x/sqlx sub-package and example 2022-03-08 00:33:08 +02:00
Gerasimos (Makis) Maropoulos
fc2f8f4776
improvements to the x/errors pkg 2022-03-03 20:55:28 +02:00
Gerasimos (Makis) Maropoulos
b8e84ec576
mvc grpc compatible example, showcase dev 2022-03-03 13:30:51 +02:00
Gerasimos (Makis) Maropoulos
da50af4ffd
example for statsviz real-time monitor + ui 2022-03-02 06:29:56 +02:00
Gerasimos (Makis) Maropoulos
c7f90f7e65
add serve http/2 without tls example 2022-03-02 05:26:25 +02:00
Gerasimos (Makis) Maropoulos
43c85d0c85
statuses: sync with std package 2022-03-02 01:51:55 +02:00
Gerasimos (Makis) Maropoulos
a6f2bc7f24
update kataras/blocks dependency 2022-03-01 21:44:56 +02:00
Gerasimos (Makis) Maropoulos
61872a1612
Add Party.Container.SetDependencyMatcher, hero.Container.DependencyMatcher and hero.Dependency.Match to fullfil the feature request asked at: #1842 2022-03-01 21:26:02 +02:00
Gerasimos (Makis) Maropoulos
20fa672097
fix 2 minor issues 2022-02-26 21:16:08 +02:00
Gerasimos (Makis) Maropoulos
70a73ef80b
publish v12.2.0-alpha7 version 2022-02-25 20:17:02 +02:00
Gerasimos (Makis) Maropoulos
37c766fef7
new x/errors package to handle HTTP wire errors 2022-02-24 23:49:46 +02:00
Gerasimos (Makis) Maropoulos
41026c9209
publish v12.2.0-alpha6 2022-02-18 22:19:33 +02:00
Gerasimos (Makis) Maropoulos
4899fe95f4
more improvements to the x/client new sub-package 2022-01-23 01:21:31 +02:00
Gerasimos (Makis) Maropoulos
f633ab4b99
new party controllers example 2022-01-08 19:54:33 +02:00
Gerasimos (Makis) Maropoulos
48577b7ff1
minor 2022-01-06 18:49:11 +02:00
Gerasimos (Makis) Maropoulos
d8dde0b958
add http timeout example 2022-01-04 23:06:39 +02:00
Gerasimos (Makis) Maropoulos
4aa93ae872
mysql example: security fix 2021-12-30 19:32:20 +02:00
Gerasimos (Makis) Maropoulos
226a4cb064
add one more project structure recommendation 2021-11-19 14:13:42 +02:00
Gerasimos (Makis) Maropoulos
485395190b
update dependencies 2021-10-31 11:49:39 +02:00
Gerasimos (Makis) Maropoulos
bf54d33a3e
add new ':email' path parameter and revert the jsoniter removal 2021-10-13 16:22:22 +03:00
Nanik T
928ec984f8 fix: add go.mod and go.sum to allow bootstrapper compiled indepedently 2021-07-31 12:16:35 +10:00
Gerasimos (Makis) Maropoulos
6d3884b0ce
add iris.IsErrEmptyJSON helper. See HISTORY.md 2021-06-16 13:52:39 +03:00
Gerasimos (Makis) Maropoulos
ff58e0c049
minor fix on _examples/request-logger/accesslog-proxy 2021-06-15 00:49:42 +03:00
Gerasimos (Makis) Maropoulos
856f65be78
remove the 'retract' directive, as it's only available on the latest go release 2021-05-28 19:09:16 +03:00
Gerasimos (Makis) Maropoulos
ce6c455601
add Party.RemoveRoute method as requested in the community chat 2021-04-04 20:24:21 +03:00
yale8848
8f3e6f7bbf add CustomPathWordFunc 2021-03-14 20:58:10 +08:00
Gerasimos (Makis) Maropoulos
c1b31ab102
PartyConfigure: try to bind the struct's exported zero fields based on the registered dependencies (if any)
If the PartyConfigurator value accepts only static dependencies then we have zero performance penalty, exactly like a Controller (structure) works
2021-02-21 22:24:01 +02:00
Gerasimos (Makis) Maropoulos
6587b387b6
remove travis 2021-02-19 09:41:24 +02:00
Gerasimos (Makis) Maropoulos
0081171aa6
minor 2021-02-19 09:06:22 +02:00