1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00
Commit Graph

2117 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
1a163eb78d minor: README 2020-09-01 17:58:07 +03:00
Gerasimos (Makis) Maropoulos
0273da2279 fix CookieSameSite alias
fix https://github.com/kataras/iris/issues/1612
2020-09-01 13:37:07 +03:00
Gerasimos (Makis) Maropoulos
fec6783a22 examples: write-rest: json: usage of the Secure, ASCII and UnescapeHTML fields 2020-09-01 13:28:21 +03:00
Gerasimos (Makis) Maropoulos
c7157f1c92 add bind checkboxes example 2020-09-01 11:39:57 +03:00
Gerasimos (Makis) Maropoulos
dbeb7bfb73 add Context.ReadHeaders 2020-08-31 21:28:13 +03:00
Gerasimos (Makis) Maropoulos
29084d062e examples: minor. See prev commit 2020-08-31 20:46:25 +03:00
Gerasimos (Makis) Maropoulos
477f5e6f9b add Context.ReadParams method 2020-08-31 20:30:01 +03:00
Gerasimos (Makis) Maropoulos
2f51845138 add mvc.Err on builtin mvc and hero dependencies 2020-08-31 15:30:45 +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
f20e7f1ecc examples: minor 2020-08-31 09:48:37 +03:00
Gerasimos (Makis) Maropoulos
8d99b46801 minor improvements 2020-08-31 09:40:27 +03:00
Gerasimos (Makis) Maropoulos
5700690dea minor 2020-08-31 05:09:59 +03:00
Gerasimos (Makis) Maropoulos
d0a27d2c08 add a simple URLParamSlice
I would love to change the current URLParams() to URLParams(name string) []string to match the PostValues(name string) []string, error but that would be a big breaking changes to many servers... so stick with it.
2020-08-31 05:07:55 +03:00
Gerasimos (Makis) Maropoulos
5f0a43cbc0 minor: sqlx example: indentation 2020-08-30 18:25:34 +03:00
Gerasimos (Makis) Maropoulos
b9f38be9ea add sqlx example 2020-08-30 18:24:24 +03:00
Gerasimos (Makis) Maropoulos
77ce225c2f minor: update xorm example based on chat comments (they moved repository) 2020-08-30 17:59:14 +03:00
Gerasimos (Makis) Maropoulos
f93c8b13bc minor: oauth2 example updates 2020-08-30 17:51:53 +03:00
Gerasimos (Makis) Maropoulos
8b28ae14f8 minor: godoc 2020-08-30 17:18:04 +03:00
Gerasimos (Makis) Maropoulos
65e60df44e revert last commit 2020-08-30 16:19:52 +03:00
Gerasimos (Makis) Maropoulos
6ee69ffd1c minor: fix Context.ViewData ignored when nil is passed as view data on Context.View method 2020-08-30 16:14:32 +03:00
Gerasimos (Makis) Maropoulos
600eb645df minor: examples 2020-08-30 15:26:50 +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
07f07ecf6c New Context.PostValueMany. The PostValues method now returns a second output argument of error too
relative to: #1609
2020-08-29 17:58:16 +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
6f9a453160 DBUG API: mark overlapped routes, hide the builtin functionality (read description)
also reference the correct file:line on <autogenerated> (by searching for the file,line of method inside the embedded fields themselves, as go automatically generates the methods foreach struct for their embedded fields)

fix UseGlobal may override the overlap feature
2020-08-28 16:02:14 +03:00
Gerasimos (Makis) Maropoulos
0b31b50404 Thanks @sumjoe ❤️ 2020-08-28 08:31:50 +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
933534574a fix #1603 2020-08-28 02:22:38 +03:00
Gerasimos (Makis) Maropoulos
39e3911d41 fix future issues like #1607 2020-08-27 07:23: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
a46f71804a minor 2020-08-26 07:54:48 +03:00
Gerasimos (Makis) Maropoulos
d44b69faed Add Party.ResetRouterFilters
relative to: https://github.com/kataras/iris/issues/1604#issuecomment-680410131
2020-08-26 06:57:36 +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
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
ef5685bf7e add Iris + Serverless example link 2020-08-23 17:55: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
a018ba9b0a add example for #1601 2020-08-22 03:21:44 +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
02c85c27cc add on-site documentation for the new 'apps' subpackage 2020-08-21 04:19:13 +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
dddfeb9ca9 add options feature on apps package and add a SetHost option to force host on multiple subdomains that should mean the same exact application, so any handler should run based on the same Host field 2020-08-19 05:32:21 +03:00
Gerasimos (Makis) Maropoulos
bdb94bbae2 request logger middleware: add graphical information about executed route's handlers 2020-08-19 01:24:36 +03:00
Gerasimos (Makis) Maropoulos
4228dd8ea4 add some MVC error handle examples 2020-08-18 23:14:11 +03:00
Gerasimos (Makis) Maropoulos
35ab1de212 add TraceRoute feature on request logger 2020-08-18 19:33:07 +03:00
Gerasimos (Makis) Maropoulos
e98fd21c83 README: update supporters
there are four more waiting for github username confirmation
2020-08-18 19:02:20 +03:00