Commit Graph

159 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
ce2eae9121 add a dependency-injection examples folder for the next release and some improvements
Former-commit-id: 040168afb7caf808618f7da5e68ae8eb01cb7170
2020-03-01 02:17:19 +02:00
Gerasimos (Makis) Maropoulos
5fc24812bc ❤️ awesome and unique features for end-developers are coming...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)


Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00
Gerasimos (Makis) Maropoulos
027eb5d6da minor fix required for the upcoming release
Former-commit-id: f04b770f93d7612941340af6e45d7d0516035e14
2020-02-20 05:46:23 +02:00
Gerasimos (Makis) Maropoulos
c13fd84354 fix https://github.com/kataras/iris/issues/1450 and continue on implementing 1449
Former-commit-id: 617f64d061e88f050a443ea1751fa244164656c5
2020-02-14 23:34:56 +02:00
Gerasimos (Makis) Maropoulos
d4e38da3ad fix #1440
Former-commit-id: aaf275d4eedca95ef8d8f8ef79b1ff2eecf2fbc9
2020-02-03 10:50:58 +02:00
Gerasimos (Makis) Maropoulos
3093d65363 version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
2020-02-02 16:29:06 +02:00
Gerasimos (Makis) Maropoulos
b2c5ec03fd miscellaneous
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
2020-01-07 03:41:07 +02:00
Gerasimos (Makis) Maropoulos
a3f944b884 Add context.FindClosest(n) to find closest paths - useful for 404 pages to suggest valid pages
Former-commit-id: 90ff7c9da5369df5bd99fbbecf9955a8c555fea5
2019-12-16 02:00:42 +02:00
Gerasimos (Makis) Maropoulos
04477c3e41 fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
2019-12-13 23:06:18 +02:00
Gerasimos (Makis) Maropoulos
0844c109d9 implement path prefx for i18n middleware, as requested at: #1369
Former-commit-id: b0d6b6e7f368e710b01faad9b70dfa4cebdd8c4d
2019-11-19 23:36:18 +02:00
Gerasimos (Makis) Maropoulos
3945fa68d1 obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.


Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
2019-10-25 01:27:02 +03:00
Gerasimos (Makis) Maropoulos
221978e41a Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c.
Former-commit-id: 5809157b952ccc61a67a9861470774b3a6fee024
2019-10-24 18:57:05 +03:00
Gerasimos (Makis) Maropoulos
07046ab978 formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
2019-08-17 10:06:20 +03:00
Gerasimos (Makis) Maropoulos
75ea978194 New XMLMap func which makes a map value type an xml compatible content to render and give option to render a Problem as XML - rel to #1335
Former-commit-id: dcf21098ff7af6becfa9896df5f82c3b0b53f0ac
2019-08-16 19:18:46 +03:00
Gerasimos (Makis) Maropoulos
aee0503913 Publish version 11.2.7
Former-commit-id: 6a62889e0e1530b04d775298da562d376fee91a1
2019-08-15 10:51:20 +03:00
Gerasimos (Makis) Maropoulos
82755304af Merge pull request #1337 from Ibuki-Suika/patch-1
Fixed typo in comment

Former-commit-id: becc3be2c6a7aac1c1182b2d571afc5363b53f15
2019-08-15 10:50:46 +03:00
Gerasimos (Makis) Maropoulos
c9e9a4b3bc add ProblemOptions https://github.com/kataras/iris/issues/1335#issuecomment-521546506
Former-commit-id: 6c03439d21175f120c37a7d8dd067a0d10de837a
2019-08-15 10:39:38 +03:00
Suika
7d43dd1363 Fixed typo in comment
URLParamTrim returns the escaped... -> URLParamEscape returns the escaped...

Former-commit-id: e5d50d81c30e7df6e01a6136327543b4e1df11cb
2019-08-15 14:23:32 +08:00
Gerasimos (Makis) Maropoulos
43754b9c94 forgotten set status on Problem type
as remindered at https://github.com/kataras/iris/issues/1335#issuecomment-521319721


Former-commit-id: 7fc7742c5c3374718fbf39530c45fa068b5d433a
2019-08-14 19:41:30 +03:00
Gerasimos (Makis) Maropoulos
8e83959c61 implement Problem Details for HTTP APIs #1335
Former-commit-id: ff789b6d535080c88e05c81ab3fb7d9689801ec7
2019-08-12 12:05:21 +03:00
Gerasimos (Makis) Maropoulos
b7bc89335d fix https://github.com/kataras/iris/issues/1330
Former-commit-id: 221e01638b671586cdab2b84518bd6a1c8d07bda
2019-08-09 08:24:58 +03:00
Gerasimos (Makis) Maropoulos
95ce71be9f Implement method override wrapper as requested at: #1325
Former-commit-id: e476998d8d6b10dc641b3393577937269adb694c
2019-08-06 15:39:42 +03:00
Gerasimos (Makis) Maropoulos
913634384c minor
Former-commit-id: 64d2bc8657fce2ef4565e0d10dd0f412ee29ffc5
2019-08-03 08:40:48 +03:00
Gerasimos (Makis) Maropoulos
b37b369b51 add content negotiation feature, add context.ReadYAML and fix https://github.com/kataras/neffos/issues/1#issuecomment-515698536
Former-commit-id: 9753e3e45c7c24788b97814d3ecfb4b03f5ff414
2019-08-03 04:41:09 +03:00
Gerasimos (Makis) Maropoulos
f3162254a0 fix https://github.com/kataras/iris/issues/1310
Former-commit-id: bd6e0eb0508fb27aea2ff79ad3a82c0acdd51eb7
2019-07-25 17:08:16 +03:00
Gerasimos (Makis) Maropoulos
29bf846bd1 minor version 11.2.2 - register sessions as middleware and Context.HTML/Text like Context.Writef
Former-commit-id: 6f5f1c502fb06d739c350c3ecc891f495dc03a6e
2019-07-24 19:51:42 +03:00
Gerasimos (Makis) Maropoulos
275cc14e39 push 11.2.1 - fixes #1298 and #1207
Former-commit-id: fca9db43ad6d78fcf01acf8edeadc12abc34195f
2019-07-24 03:50:00 +03:00
Gerasimos (Makis) Maropoulos
db0702ca75 implement ReadQuery with 'url' struct field tag name strictly, as requested at: #1207
Former-commit-id: dc0c237f62aa6db5a0c1755b2074d8a18dba0d8f
2019-07-24 03:29:42 +03:00
Gerasimos (Makis) Maropoulos
710cc6da54 fix https://github.com/kataras/iris/issues/1298
Former-commit-id: 7371178a7662a7e55bd1c83a22ae3a4896b449fb
2019-07-24 02:24:47 +03:00
Gerasimos (Makis) Maropoulos
736709aa75 resolve conflicts with current master v11.1.1
Former-commit-id: 659ff392e889f3a8552d7da3d44848f1a364f7b2
2019-07-23 19:20:07 +03:00
Gerasimos (Makis) Maropoulos
bb1a93d7fd touches before release
Former-commit-id: c6539320214e9120a801b2a3c3c8e9867dfb2ed7
2019-07-22 04:32:54 +03:00
Gerasimos (Makis) Maropoulos
c2c748067c respect the WithoutBodyConsumptionOnUnmarshal on 'ctx.ReadForm' and 'ctx.FormValues' and on the new 'ctx.GetBody' method helper as requested at: #1297
Former-commit-id: c6a52681c940681ac85a330465d38a078186a8a1
2019-07-12 20:52:39 +03:00
Gerasimos (Makis) Maropoulos
2576b3da34 add support for iris-specific form of generating connection IDs as requested at: https://github.com/kataras/neffos/issues/1#issuecomment-508689819
Former-commit-id: 0994b63373ebe2b5383a28f042aa2133061cbd18
2019-07-05 16:22:20 +03:00
Gerasimos (Makis) Maropoulos
33028f900d update the nantive-messages(only) example to the latest websocket (minimum changes, the idea is the same) and misc
Former-commit-id: 9598319bc13e8a383114c37f4da84f337ab47b22
2019-06-25 22:10:10 +03:00
Gerasimos (Makis) Maropoulos
076d9121f1 Implement a new View Engine for the Jet template parser as requested at: https://github.com/kataras/iris/issues/1281
Former-commit-id: 3e00bdfbf1f3998a1744c390c12fd70430ac0320
2019-06-22 21:34:19 +03:00
Gerasimos (Makis) Maropoulos
d0104defa8 create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more
relative: https://github.com/kataras/iris/issues/1283 and removing pongo2 from vendor: https://github.com/kataras/iris/issues/1284

Former-commit-id: 3ec57b349f99faca2b8e36d9f7252db0b6ea080d
2019-06-21 19:43:25 +03:00
Gerasimos (Makis) Maropoulos
7af5f139e0 fix typo
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
2019-06-07 21:07:08 +03:00
Gerasimos (Makis) Maropoulos
af751c7602 fix https://github.com/kataras/iris/issues/1271#issuecomment-499642546
Former-commit-id: 30043802c9eadcb4b378e773ca79f8e33bd5d573
2019-06-06 23:06:41 +03:00
Gerasimos (Makis) Maropoulos
e10fada695 updates for neffos and re-push the fix of the request path with uri unescaped codes
Former-commit-id: fda1edb3e8dfc538da541070366f5f8f997bf367
2019-06-06 23:05:17 +03:00
Gerasimos (Makis) Maropoulos
ddec78af0a add Context.ResponseWriter.IsHijacked to report whether the underline conn is already hijacked and a lot of cleanup and minor ws stress test example improvements
Former-commit-id: 444d4f0718d5c6d7544834c5e44dafb872980238
2019-02-23 07:23:10 +02:00
Gerasimos (Makis) Maropoulos
d30f17eb3f minor
Former-commit-id: eca4c3d2962cc4e0b6108144a7b59f2519b531da
2019-02-02 04:56:32 +02:00
Gerasimos (Makis) Maropoulos
2cdbe17bd5 add Context#ResetRequest and core/handlerconv.FromStdWithNext updates the request for any incoming request changes - https://github.com/kataras/iris/issues/1180
Former-commit-id: 764bf26bcaa3b7bdae0a2bdbf3bf2b6f8c5c546e
2019-02-02 04:49:58 +02:00
Gerasimos (Makis) Maropoulos
680b5a0923 websocket: replace sync.Map with custom map[string]*connection. Add translate template function example. Fix ctx.HandlerName() does not return the end-dev-defined current route's name, this will give better warnings when using MVC in a wrong way
Former-commit-id: 38fda8a20da9bc7665cdd209b7b367c1337dbd94
2019-01-25 23:47:31 +02:00
Gerasimos (Makis) Maropoulos
3fcc70b891 init of v11.2.0: add context#FullRequestURI and NewConditionalHandler
As requested at: https://github.com/kataras/iris/issues/1167 and https://github.com/kataras/iris/issues/1170


Former-commit-id: 781c92f444b3e362011be886b32cf88f89998589
2019-01-19 23:33:33 +02:00
Gerasimos (Makis) Maropoulos
55ec53b416 minor doc fix
Former-commit-id: ccacb4275cbdc3285f4c8c3b0f13c8985f69a5be
2019-01-11 01:43:22 +02:00
Gerasimos (Makis) Maropoulos
caac0480ba context#ReadForm can skip unkown fields by iris/context.IsErrPath(err), fixes: https://github.com/kataras/iris/issues/1157
Former-commit-id: 5cc8e5a9d58071591154e988262b547653c34e36
2019-01-04 11:40:55 +02:00
Gerasimos (Makis) Maropoulos
8b85b602df fix https://github.com/kataras/iris/issues/1141 and https://github.com/kataras/iris/issues/1142
Former-commit-id: d8d73b3e1b713af9bf7b4712121324079ede6a41
2018-11-28 23:20:08 +02:00
Gerasimos (Makis) Maropoulos
ba7503c9eb move blackfriday pkg to iris-contrib to avoid future issues like https://github.com/kataras/iris/issues/1132
Former-commit-id: 15119e623ab0e6ec480ed1be3621b87e2d29dafe
2018-11-11 00:53:28 +02:00
Gerasimos (Makis) Maropoulos
3962710d3d Version 11 released. Read https://github.com/kataras/iris/blob/master/HISTORY.md#su-21-october-2018--v1100
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
2018-10-21 19:20:05 +03:00
Gerasimos (Makis) Maropoulos
dd8f06d950 context#ErrEmptyForm
Former-commit-id: 92db200ae1dc08dbdb7b345d4299941d248747f0
2018-10-03 20:39:38 +03:00