1
0
mirror of https://github.com/kataras/iris.git synced 2026-06-09 23:23:35 +00:00
Commit Graph

380 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos 04ef581c02 fix CVE-2020-5398
reported through security issue report by @motoyasu-saburi
2022-07-21 13:28:44 +03:00
kataras 8bfea48cd6 new {weekday} path parameter type 2022-06-23 23:01:52 +03:00
Gerasimos (Makis) Maropoulos 0d3024b486 README: update sponsors 2022-06-21 00:25:43 +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
Gerasimos (Makis) Maropoulos d8af2a1e14 context transactions removed and make Context.Domain customizable as requested 2022-06-05 06:15:10 +03:00
Gerasimos (Makis) Maropoulos 67f5caacf1 fix #1882 2022-05-08 13:07:16 +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 90750d089d add '{date}' dynamic path parameter type 2022-04-21 02:17:09 +03:00
Gerasimos (Makis) Maropoulos 1e5cbf9e24 minor 2022-04-18 10:52:47 +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 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 28af63fd84 minor 2022-03-06 21:15:11 +02:00
Gerasimos (Makis) Maropoulos a5c43f1d9d As the default value is TLS 1.0, which is considered insecure, it is recommended to explicitly set the MinVersion to a secure version of TLS 2022-03-06 19:43:09 +02:00
Gerasimos (Makis) Maropoulos e2222a8066 fix #1852 2022-03-03 02:34:23 +02:00
Gerasimos (Makis) Maropoulos f28203f1be add Context.ReadMultipartRelated as requested at #1787 2022-03-02 03:49:15 +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 d6cfe3fe5b new Timeout, TimeoutMessage configuration fields and apps.OnApplicationRegistered listener 2021-12-09 14:44:03 +02:00
Gerasimos (Makis) Maropoulos bf54d33a3e add new ':email' path parameter and revert the jsoniter removal 2021-10-13 16:22:22 +03:00
Gerasimos (Makis) Maropoulos 11c1301cda minor 2021-09-14 21:50:39 +03:00
Kim 78108ac96c remove extra newline 2021-08-12 14:09:44 +02:00
Kim b4c9e7124a fix macos panic dereferencing when passing a []byte version of certificate or key as cert|keyFileOrContents to iris.TLS()
if len(certFileOrContents) > 1024 the error returned will be Filename too long and os.IsNotExist(err) will be false
2021-08-12 14:03:40 +02:00
Gerasimos (Makis) Maropoulos 574db973d0 improve Context.Proceed
Now this is possible: ok := (Handler1) && ctx.Proceed(Handler2)) || ctx.Proceed(Handler3)
2021-06-15 00:36:28 +03:00
Gerasimos (Makis) Maropoulos a3b5797e54 add a shortcut for ConfigureContainer().Use as UseFunc on Party 2021-06-11 11:11:36 +03:00
Gerasimos (Makis) Maropoulos 96c2dec47f dependency injection: func (...<T>) iris.Handler can be generated to a simple iris handler if <T> are static dependencies 2021-06-10 21:16:00 +03:00
Gerasimos (Makis) Maropoulos 8f9140b705 New Context.FormFiles method 2021-06-07 15:33:19 +03:00
Gerasimos (Makis) Maropoulos 6219e57135 New APIContainer.EnableStrictMode(bool) method. Read HISTORY.md 2021-04-22 14:00:00 +03:00
Gerasimos (Makis) Maropoulos 43079f75d2 godoc: minor 2021-04-22 11:52:25 +03:00
Gerasimos (Makis) Maropoulos ce6c455601 add Party.RemoveRoute method as requested in the community chat 2021-04-04 20:24:21 +03:00
Gerasimos (Makis) Maropoulos 2b5495e960 Merge pull request #1742 from tuhao1020/master
bug fix #1741 #1744
2021-03-18 20:52:10 +02:00
tuhao 71f1d86420 add a tls.Config parameter for reverse proxy 2021-03-12 13:20:21 +08:00
tuhao 84581e5314 bug fix #1741 2021-03-10 13:03:20 +08:00
Gerasimos (Makis) Maropoulos 89f02c6e87 update jwt dependency and use the current Party if relative path is empty on PartyConfigure only 2021-03-03 14:39:47 +02: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 f34703e3cf minor improvement of the previous commit 2021-02-17 16:57:19 +02:00
Gerasimos (Makis) Maropoulos cbf70a7bcf Add new PartyConfigure helper 2021-02-17 16:50:36 +02:00
Gerasimos (Makis) Maropoulos 5994fd5d4e New iris.WithKeepAlive(time.Duration) Configurator is added as a helper to enable TCP listener featured with keep-alive 2021-01-31 21:24:15 +02:00
tuhao 33344283b8 use DirOptions.ShowHidden in DirListRich 2021-01-29 01:10:40 +08:00
tuhao 8b2bdd0dc2 modifiy DirList's default html format 2021-01-28 23:38:05 +08:00
Gerasimos (Makis) Maropoulos f7757c0793 fix https://github.com/kataras/iris/issues/1713 and add a simple usage example of the 'RemoveHandler' 2021-01-27 01:22:20 +02:00
Gerasimos (Makis) Maropoulos 435f284815 New feature: Fallback views. Read HISTORY.md 2021-01-24 14:08:37 +02:00
tuhao cc69d05727 udpate modifyProxiedRequest 2021-01-22 01:11:25 +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 e990b23a64 Merge pull request #1703 from tuhao1020/master
update host.ProxyHandler to compatiable with different hosts in target url and request host
2021-01-21 05:25:43 +02:00
Gerasimos (Makis) Maropoulos 9f6a75f7c4 Expose the ConfigureContainer().Handle as Application/Party.HandleFunc to make it easier for developers to catch up 2021-01-21 01:36:11 +02:00
tuhao 9eb7d9386d add ProxyHandlerRemote and NewProxyRemote 2021-01-16 11:49:33 +08:00
tuhao 93fa23befa update TestProxy 2021-01-11 17:03:22 +08:00
tuhao b6ebc39b9e update host.ProxyHandler to compatiable with different host in target url 2021-01-11 15:25:32 +08:00