1
0
mirror of https://github.com/kataras/iris.git synced 2026-06-10 07:33:42 +00:00

311 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos 66e3c26efe new app.MiddlewareExists method 2024-01-21 17:16:59 +02:00
Gerasimos (Makis) Maropoulos 4eb7705fae minor improvements 2024-01-20 20:32:56 +02:00
Gerasimos (Makis) Maropoulos 9279ca5a27 Add example of the powerful 'templ' generated templates 2023-12-13 02:18:16 +02:00
Gerasimos (Makis) Maropoulos 7d540f580d add Party.HandleServer and macro.IsMacro methods 2023-12-06 01:09:43 +02:00
Gerasimos (Makis) Maropoulos ec69670edc add Pool and Handlers method helpers on the new ContextWrapper 2023-11-02 15:24:45 +02:00
secsys-go 67f6df37be add fuzz driver based on TestUseRouterParentDisallow (#2217) 2023-10-01 00:29:57 +03:00
Gerasimos (Makis) Maropoulos f955489f3a fix #2215 2023-09-25 19:30:48 +03:00
Gerasimos (Makis) Maropoulos e7b40398aa update Blocks module 2023-09-24 17:35:49 +03:00
Gerasimos (Makis) Maropoulos 48f7b38d15 rename master branch to main 2023-08-20 03:12:46 +03:00
Gerasimos (Makis) Maropoulos 9d538eabb0 implement a dynamic router handler for #2167 2023-08-04 17:59:00 +03:00
Gerasimos (Makis) Maropoulos d254d48f34 Add mvc.Application.EnableStructDependents() and app.ConfigureContainer().EnableStructDependents()
relative to: #2158
2023-07-17 18:30:45 +03:00
Gerasimos (Makis) Maropoulos 6add1ba49b fix #2158 and more 2023-07-08 02:08:18 +03:00
Gerasimos (Makis) Maropoulos b8b96474a0 fix #2147 2023-06-05 23:34:50 +03:00
Gerasimos (Makis) Maropoulos bb3d5f21d6 README: add two links for the chinese documents, based on #2043 2023-01-27 19:20:14 +02:00
Gerasimos (Makis) Maropoulos 1ea5cd58be builtin html template functions changes 2022-12-13 01:37:15 +02:00
Gerasimos (Makis) Maropoulos 2bd10b1a25 fix #2008 2022-11-25 23:53:39 +02:00
Gerasimos (Makis) Maropoulos 53dde1b15d thanks @getsentry for the montlhy sponsor 2022-10-13 12:46:39 +03:00
Gerasimos (Makis) Maropoulos 758feb2e50 minor edits 2022-10-05 03:10:27 +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 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 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 23741e7209 fix prev commit 2022-09-18 21:11:41 +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
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 0d3024b486 README: update sponsors 2022-06-21 00:25:43 +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 67f5caacf1 fix #1882 2022-05-08 13:07:16 +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 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 11c1301cda minor 2021-09-14 21:50:39 +03: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 6219e57135 New APIContainer.EnableStrictMode(bool) method. Read HISTORY.md 2021-04-22 14:00:00 +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 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