1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00
Commit Graph

144 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
946ea6787d v12.2.0 2023-03-11 22:37:55 +02:00
Gerasimos (Makis) Maropoulos
5095d862d9 minor 2023-02-19 21:44:37 +02:00
dependabot[bot]
04650bb838 Bump golang.org/x/net in /_examples/mvc/vuejs-todo-mvc/src (#2077)
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:14:03 +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]
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
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
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
1ea5cd58be builtin html template functions changes 2022-12-13 01:37:15 +02:00
jesse.tang
9e8a58bf3b Optimize: map or slice initialize allocation size / cap (#1965) 2022-09-09 15:56:23 +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
ef2643b046 replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
Gerasimos (Makis) Maropoulos
e7f5efa058 minor 2022-05-24 01:44:36 +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
b8e84ec576 mvc grpc compatible example, showcase dev 2022-03-03 13:30:51 +02:00
Gerasimos (Makis) Maropoulos
485395190b update dependencies 2021-10-31 11:49:39 +02: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
6c823e4864 Add example for #1706 (we already cover that functionality through the rest of the examples, but make it clear for newcomers that, dependencies can be used for that kind of reasons as well) 2021-01-21 05:57:37 +02:00
Gerasimos (Makis) Maropoulos
cd1f82a08f minor: fix: examples/mvc/error-handler-preflight: pr #1696
[fix _examples] response.timestamp not appear in correct request.
2021-01-09 03:35:33 +02:00
Gerasimos (Makis) Maropoulos
240fdb6dc3 API versioning improvements
Replace the go-version package with a regex-free alternative semver

the result: versioned apis have almost zero performance cost now

thanks @motogo for your kind donation ❤️ - please check your github notifications
2021-01-07 04:14:41 +02:00
yanghuiwen
eb64006fcb remove unnecessary code 2021-01-06 12:13:30 +08:00
yanghuiwen
b4400d94df fix response.timestamp not appear in correct request. 2020-12-29 15:45:57 +08:00
Gerasimos (Makis) Maropoulos
ba30ef4de1 update all basicauth code reference 2020-11-25 04:54:20 +02:00
Gerasimos (Makis) Maropoulos
a70ee32ebd fix #1665 2020-10-31 05:04:05 +02:00
Gerasimos (Makis) Maropoulos
7fa2666f58 add accesslog+MVC example 2020-09-17 18:01:35 +03:00
Gerasimos (Makis) Maropoulos
373b8993ad add viper configuration example and minor improvements - read HISTORY.md 2020-09-16 12:59:51 +03:00
Gerasimos (Makis) Maropoulos
3baee7db34 add Party.SetRoutesNoLog and mvc.Application.SetControllersNoLog as requested at #1630 2020-09-15 00:23:09 +03:00
Gerasimos (Makis) Maropoulos
a917ef68fc v12.2.0-alpha 2020-09-13 19:18:57 +03:00
Gerasimos (Makis) Maropoulos
bf9f7617e2 examples: update go.mod (see previous commit) 2020-09-05 08:56:01 +03:00
Gerasimos (Makis) Maropoulos
7f7d8df9c0 add mvc.Err builtin dependency to map any context/mvc response's.Err field on methods like HandleHTTPError
relative to: https://github.com/kataras/iris/issues/1606
2020-08-31 15:26:30 +03:00
Gerasimos (Makis) Maropoulos
4035ed308c fix https://github.com/kataras/iris/issues/1608 with the help of @AlbinoGeek for monitoring and together found the source of the problem 2020-08-28 06:21:26 +03:00
Gerasimos (Makis) Maropoulos
a6ec94e1a6 overlap routing: and mvc: allow setting status code from a dependency or a middleware 2020-08-28 04:11:56 +03:00
Gerasimos (Makis) Maropoulos
9c56ed6261 examples: minor: update go mod master version 2020-08-26 19:37:14 +03:00
Gerasimos (Makis) Maropoulos
5e82fa5b89 mvc: struct field and method dependency logs on debug level. Read HISTORY.md
- remove Party.GetReporter

- Read HISTORY.md
2020-08-24 21:44:29 +03:00
Gerasimos (Makis) Maropoulos
8e049d77c9 HandleHTTPError MVC Method as requested at #1595. Read HISTORY.md
example at: https://github.com/kataras/iris/tree/master/_examples/mvc/error-handler-http
2020-08-22 08:04:22 +03:00
Gerasimos (Makis) Maropoulos
e41e861c4c update examples go mods 2020-08-21 20:53:45 +03:00
Gerasimos (Makis) Maropoulos
4228dd8ea4 add some MVC error handle examples 2020-08-18 23:14:11 +03:00
Gerasimos (Makis) Maropoulos
5481b9a6c1 apps.Switch(apps.Hosts...) example 2020-08-18 04:17:53 +03:00
Gerasimos (Makis) Maropoulos
296a469ce4 examples update iris dependency 2020-08-12 18:23:00 +03:00
Gerasimos (Makis) Maropoulos
46a3a99adf various improvements and new 'UseOnce' method - read HISTORY.md 2020-08-06 03:35:58 +03:00
Gerasimos (Makis) Maropoulos
c3205dafa1 New DirOptions.Cache field for in-memory caching and pre-compression for the fastest possible static file server
Read HISTORY.md it contains a breaking change, second parameter of HandleDir should be iris.Dir(...) instead of just a string

relative to: https://github.com/kataras/iris/issues/1556#issuecomment-661057446


Former-commit-id: 14b48a06fb3b99287dff543932be2937a64233b9
2020-07-24 13:03:49 +03:00
Gerasimos (Makis) Maropoulos
3faaf954bb doc: minor
Former-commit-id: 649e2d673a834625d5f3e8703533ad1db2553aec
2020-07-19 10:26:59 +03:00
Gerasimos (Makis) Maropoulos
a1991a0830 README: update benchmarks.
minor performance boost by making RequestParameter  Set and Get methods more direct to the underline Memstore's kv


Former-commit-id: 4fae45b5bd23804e88aac1f7c66055dd81efc9c9
2020-07-18 14:35:27 +03:00
Gerasimos (Makis) Maropoulos
dab03102f3 fix #1563 due to latest DI source changes
Former-commit-id: 3e3f209ebc60edf6a8702979f56e1f0ed73e4189
2020-07-17 12:59:39 +03:00
eca1cf315e fix #1559 - remove not need colon
fix #1559

Former-commit-id: 868c18f6cab6207a3fd433354490746e231c5b51
2020-07-12 14:15:59 +02:00