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

137 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
1ea5cd58be builtin html template functions changes 2022-12-13 01:37:15 +02:00
Gerasimos (Makis) Maropoulos
3d99983d96 fix #1967 and #1968 2022-09-18 01:52:30 +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
kataras
8bfea48cd6 new {weekday} path parameter type 2022-06-23 23:01:52 +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
288a67bc58 introduce iris.NewGuide() 2022-06-05 22:12:57 +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
fc2f8f4776 improvements to the x/errors pkg 2022-03-03 20:55:28 +02:00
Gerasimos (Makis) Maropoulos
a6f2bc7f24 update kataras/blocks dependency 2022-03-01 21:44:56 +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
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
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
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
Gerasimos (Makis) Maropoulos
e901575ca8 Path type parameter error handler: add the parameter index in the input arguments
see previous commit
2021-02-15 11:30:29 +02:00
Gerasimos (Makis) Maropoulos
5990e7f432 NEW (HOT) FEATURE: Add custom error handlers on path type parameters error 2021-02-14 15:31:27 +02:00
Gerasimos (Makis) Maropoulos
5fe233278a add a new 'uuid' path parameter type e.g. /{id:uuid} 2021-02-12 17:12:23 +02: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
541fa75caf minor (see previous commit) 2021-01-07 05:36:56 +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
Gerasimos (Makis) Maropoulos
b409f7807e New feature: versioning.Aliases
Thanks @mulyawansentosa and @remopavithran for your donates ❤️
2021-01-06 01:52:39 +02:00
Gerasimos (Makis) Maropoulos
7aa2d1f9d5 make versioning.Group a Party compatible by using a type alias on its embedded field
was reported as missing of the a Party method, the type alias is a good hack to solve that
2021-01-05 18:16:32 +02:00
Gerasimos (Makis) Maropoulos
4d857ac53f New basic auth middleware and GetRaw on User (godocs missing) 2020-11-21 12:04:37 +02:00
Gerasimos (Makis) Maropoulos
f6905a3f79 New Context.SetLogoutFunc/Logout and SetFunc/CallFunc methods
Read HISTORY.md
2020-10-12 02:07:04 +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
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
a3279b8fa9 add a note on rewrite middleware for local URL modifications 2020-08-29 18:15:22 +03:00
Gerasimos (Makis) Maropoulos
00684f9d2e add Route.ExcludeSitemap method to exclude a route from sitemap, also exclude the offline routes as requested 2020-08-29 01:21:42 +03:00
Gerasimos (Makis) Maropoulos
9c56ed6261 examples: minor: update go mod master version 2020-08-26 19:37:14 +03:00
Gerasimos (Makis) Maropoulos
1780d97d44 update the subdomain redirect example using the rewrite middleware 2020-08-26 00:07:07 +03:00
Gerasimos (Makis) Maropoulos
e41e861c4c update examples go mods 2020-08-21 20:53:45 +03:00
Gerasimos (Makis) Maropoulos
27686d7c1c ... 2020-08-21 20:48:41 +03:00
Gerasimos (Makis) Maropoulos
95c3c2a951 rewrite middleware: add a feature which supports users.json to users?format=json local route redirection 2020-08-21 18:09:21 +03:00
Gerasimos (Makis) Maropoulos
cb80e43ff0 rewrite middleware: add subdomain redirect example 2020-08-20 16:34:19 +03:00
Gerasimos (Makis) Maropoulos
ffae9c0d09 rewrite middleware: add PrimarySubdomain and simplify its usage example 2020-08-20 03:05:47 +03:00
Gerasimos (Makis) Maropoulos
12737c5b7f implement a rewrite middleware 2020-08-19 22:40:17 +03:00
Gerasimos (Makis) Maropoulos
5481b9a6c1 apps.Switch(apps.Hosts...) example 2020-08-18 04:17:53 +03:00
Gerasimos (Makis) Maropoulos
a61f743fa8 add internal subdomain redirect handler
TODO more things
2020-08-16 20:16:49 +03:00
Gerasimos (Makis) Maropoulos
227170fd33 see https://github.com/kataras/iris/issues/1591#issuecomment-674473247 2020-08-16 18:04:52 +03:00
Gerasimos (Makis) Maropoulos
889b7942d3 add two new examples and share the app's specific logger instance with sessions databases and APIBuilder 2020-08-16 07:07:36 +03:00
Gerasimos (Makis) Maropoulos
ef7d365e81 add iris.Minify middleware and Context.OnCloseErr/OnConnectionCloseErr 2020-08-15 17:21:57 +03:00
Gerasimos (Makis) Maropoulos
8340285e7d fix #1588 2020-08-15 12:17:48 +03:00