Gerasimos (Makis) Maropoulos
|
ad74d7b935
|
error handlers per party: log those routes too and all test cases paased
need cleanup though
Former-commit-id: 6b0c18e38b58af2388015c7cf1af9cc43d7d35d3
|
2020-05-11 11:11:27 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
24665990ce
|
add ctx.Tr support to hero/mvc.Response
Former-commit-id: f5e60e591dbbb162af1d671706a108a795865516
|
2020-05-06 06:36:05 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
c10dd32ad7
|
new simple _examples/README.md, wiki should live only inside kataras/iris/wiki and the provided e-book
Former-commit-id: 350eafb0f70f8433e394e103ff93fa332ee00a05
|
2020-05-05 16:03:19 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
340664dca9
|
add test for hero/Container.UseResultHandler
Former-commit-id: 8954541f8da055f30965cce07a85f485580fee48
|
2020-04-19 12:05:22 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
dcf02480b3
|
Implement ResultHandler as requested at: https://github.com/kataras/iris/issues/1465
Former-commit-id: 9d76c2f00766afd53cf6e591c25f861f179dd817
|
2020-04-18 22:40:47 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
1bb76853a9
|
.DI() to ConfigureContainer(...builders)
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
|
2020-04-17 15:56:36 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
1b02f048ef
|
new 'Party.DI()' method to return the Party's instance of the new 'APIBuilderDI' and move the DI-relative Router to this new APIBuilderDI
Former-commit-id: 2fb81406c6e3162991c90e0918a3cac1b77c2b54
|
2020-04-08 20:04:56 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
5852327f30
|
move the hero binding logic to the new 'context.ReadBody'
Former-commit-id: d336bb1ec6ca66087fe9e8d28b38062508b45227
|
2020-04-08 17:27:23 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
837787104b
|
add context.Protobuf, MsgPack, ReadProtobuf, ReadMsgPack methods
Former-commit-id: 39d547ecfb1516505a1eb76a12a1f6e9e4111962
|
2020-04-08 16:48:22 +03:00 |
|
rocinantex
|
6b8b690d4d
|
fix bug: abount dependency injection
Former-commit-id: edf168d762602658ffb5d452f72048ada8b7156e
|
2020-03-22 09:04:49 +08:00 |
|
Gerasimos (Makis) Maropoulos
|
0d26f24eb7
|
examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example.
Former-commit-id: d20afb2e899aee658a8e0ed1693357798df93462
|
2020-03-05 22:41:27 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
b6445c7238
|
next version preparation: hero: add a Container.Inject method to inject values outside of HTTP lifecycle, e.g. a database may be used by other services outside of Iris, the hero container (and API's Builder.GetContainer()) should provide it.
Former-commit-id: 89863055a3a3ab108a3f4b753072a35321a3a193
|
2020-03-05 19:49:45 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
5ee06f9a92
|
next version preparation: hero, mvc: fix payload binding
Former-commit-id: d95f750dd9e1532c9ac0d30a85b383d60acb3178
|
2020-03-04 10:29:34 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
bb66c10ad3
|
🐵 prepare next version: improve the hero and mvc path parameters bindings
Former-commit-id: 0626b91c6448b5cebf1d04ee3f115cde68aa3d6d
|
2020-03-02 19:48:53 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
5da8ff92f3
|
🚌 next version preparation: new PreflightResult interface for hero handlers
Former-commit-id: ea2d7ab93889beaddfe269bd213d259d26df979f
|
2020-03-02 10:07:44 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
afd0f5caef
|
🔗 prepare next version: add builtin dependencies for headers, http request, http response writer for convenience
Former-commit-id: 6f4b291a50cb1083532d7a13f64ea51e89b5ee21
|
2020-03-01 09:24:11 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
1c9b592088
|
👔 next version: some linting
Former-commit-id: a102fbb90e2a8a8b09fcb9c9e0c370e4078b74d1
|
2020-03-01 08:34:53 +02:00 |
|
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
|
08403f0317
|
Update to version 12.1.8 - Read HISTORY.md
Former-commit-id: d3d30cb15537146e3071731be9d674a5cb59de97
|
2020-02-16 11:14:35 +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
|
3093d65363
|
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
|
2020-02-02 16:29:06 +02:00 |
|
Amatist_kurisu
|
714c12374d
|
fix: fix a comment error
Former-commit-id: 9245f027c77b270b62ff64d0d142e5ca802f86e8
|
2020-01-28 16:37:22 +08:00 |
|
Gerasimos (Makis) Maropoulos
|
b2c5ec03fd
|
miscellaneous
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
|
2020-01-07 03:41:07 +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
|
bd5f96086b
|
Add status code 103 Early Hints. Add the ability to customize and change the order of controller's fields and their registered valid dependencies relative to: #1343
Former-commit-id: 5bd9e02e5fafca135d17cad87f4a9aec526b333b
|
2019-08-26 16:43:02 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
07046ab978
|
formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
|
2019-08-17 10:06:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
450f20902d
|
MVC improvements: add HandleWebsocket that now registers events automatically based on the struct's methods(!) and fix a bug when more than one value of the same type is registered to a static field of a controller
Former-commit-id: e369d1426ac1a6b58314930a18362670317da3c1
|
2019-07-09 12:16:19 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
c93093d6c2
|
hero/mvc: func result -> struct, map, slices check if content type is already given by other output value before setting it, look the previous commit for more [2]
Former-commit-id: 3e86857d5a7141f6609ad09a46349cfea3e33a89
|
2019-06-14 11:33:01 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
41d225af3b
|
hero/mvc: func result -> struct, map, slices check if content type is already given by other output value before setting it, look the previous commit for more
Former-commit-id: b2fcf1158ff2018889d2db81bfc7a5b4daab11c0
|
2019-06-14 11:32:19 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0f907a3dae
|
fix https://github.com/kataras/iris/issues/1273
Former-commit-id: 2b48b9b912e9eb8f5f2c6d413907dbfdae857e08
|
2019-06-14 11:26:56 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0d4d2bd3fa
|
implement mvc HandleError as requested at #1244
Former-commit-id: 58a69f9cffe67c3aa1bab5d9425c5df65e2367ed
|
2019-04-16 18:01:48 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
df3a68255c
|
fix https://github.com/kataras/iris/issues/1205
Former-commit-id: d95be1456a78fbafd7ec5fec22f2066454eb76c6
|
2019-03-01 14:10:07 +02: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
|
bda36145e5
|
some cleanup, and remove the test 'testwebocket2' package at all; A lower-level fast websocket impl based on gobwas/ws will be published on a different repo, it is a WIP
Former-commit-id: b680974c593196ce20865ed12778929ced6afea1
|
2019-02-22 21:24:10 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
eb22309aec
|
fix issue on binding sessions caused by variadic cookie options, as reported at: https://github.com/kataras/iris/issues/1197
Former-commit-id: 595a347706b6816729939a2e9d9098f5d3f72304
|
2019-02-17 16:10:25 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
9cfaff07d6
|
add support for mvc and hero dynamic dependencies to understand the error type as a second output value as requested at: https://github.com/kataras/iris/issues/1187
Former-commit-id: 49e29c06aaaa22743354981342c29fc9d5953d0e
|
2019-02-16 00:42:26 +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
|
bf13f7648a
|
add vscode extension link and badge | Some internal improvements (not completed yet)
Former-commit-id: 9bc94e90a2780ee81f8188509d98063fb3f2924b
|
2018-01-25 03:16:49 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
2e9cf2def7
|
linting, 99% is not fine let's do it 100%
Former-commit-id: 45d246e8d14deb7c238e01e6a2b1648a9ddf39c0
|
2018-01-04 16:34:04 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
b282e7c563
|
Replace controller's .Register with .Handle and AddDependencies with .Register in order to be aligned with the 'hero' package, all examples and docs are updated, it's crazy how I can't stop even on Christmas
Former-commit-id: 3b42963e9806e327ee42942cf156bda6059eaf8f
|
2017-12-27 04:15:41 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
2ab1456414
|
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
Former-commit-id: d67f5a5ed9033286bcc4c04f6be612823cba2a57
|
2017-12-25 20:57:04 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
46505f62db
|
create a new package, name it as hero, I was thinking super or superb but hero is better name for what it does - the goal is to split the new 'mvc handlers' from the mvc system because they are not the same, users should know that they can use these type of rich binded handlers without controllers as well, like a normal handler and that I implemented here, the old files exist on the mvc package but will be removed at the next commit, I have to decide if we want type aliases for Result or no
Former-commit-id: cb775edc72bedc88aeab4c5a6de6bfc6bd56fae2
|
2017-12-25 20:05:32 +02:00 |
|