Gerasimos (Makis) Maropoulos
346ca2a219
route logging improvement: group by methods
...
Former-commit-id: ad884991433a244dc76bdad7314d98a5c204dac6
2020-04-26 17:51:27 +03:00
Gerasimos (Makis) Maropoulos
66e641513c
more route logging improvements, see the parent commit
...
Former-commit-id: 973167e3ca7b3463f79ec62ab8be6770727f1c2b
2020-04-26 17:23:38 +03:00
Gerasimos (Makis) Maropoulos
77a79cae58
improve route debug info, see HISTORY.md
...
Former-commit-id: ae245bae5fefa57c5f7663f7d1d661ec68ad366a
2020-04-26 06:21:20 +03:00
Gerasimos (Makis) Maropoulos
5d3c96947c
New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
...
read HISTORY.md
Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
2020-04-25 02:30:19 +03:00
Gerasimos (Makis) Maropoulos
0cf5d5a4a3
minor
...
Former-commit-id: 85c8b1e20da6e39485478025ef1b0f80ef953e4a
2020-04-21 09:27:28 +03:00
Gerasimos (Makis) Maropoulos
6c6de6b85d
improve remote addr parsing as requested at: https://github.com/kataras/iris/issues/1453
...
Former-commit-id: e5fde988eda9bf582b04285a1c77ba123910a699
2020-04-20 10:43:45 +03:00
Gerasimos (Makis) Maropoulos
c5392ede6a
remove the 'typescript' package entirely in favor of iris-cli and because the alm editor was deprecated by its author (consider using the designtsx.com instead)
...
Former-commit-id: 52888ae3fd0da9e5b98e095c665a1a538381ddef
2020-04-19 16:47:15 +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
68c5883bce
add a test for https://github.com/kataras/iris/issues/1488
...
Former-commit-id: aabb01dda7fbbc708bb2ae98a4589d14ae2fc640
2020-04-17 17:54:00 +03:00
Gerasimos (Makis) Maropoulos
c0e6f9e4d9
add a test for controller.GetBy-only method... it passes as expected https://github.com/kataras/iris/issues/1487
...
Former-commit-id: 5f4abd4a8c6528d666d91315fa515a4a607326fc
2020-04-17 16:03:11 +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
eafa63da50
add hCaptcha middleware and example and memstore json struct tags
...
Former-commit-id: 31e4f68429e354c9130ebcf3829683a6d52e4492
2020-04-14 02:22:57 +03:00
Gerasimos (Makis) Maropoulos
a1e6d81b49
add access to the session manager through new 'Session.Man' field
...
relative to: https://github.com/kataras/iris/issues/1485
Former-commit-id: c4ced38b74af42bfcd17abe6b439b35db6837bbf
2020-04-13 22:15:55 +03:00
Gerasimos (Makis) Maropoulos
486e57b9ae
gofmt
...
Former-commit-id: 23590c343ae9d351f3bed0a64487bb31c58f0dba
2020-04-13 10:03:40 +03:00
Gerasimos (Makis) Maropoulos
629ae3c688
minor: sessions testing: fix travis by using InRange for cookie's MaxAge
...
Former-commit-id: a1d6096aec0d716539e1b4b35547c7b3f05bbd3f
2020-04-13 10:01:51 +03:00
Gerasimos (Makis) Maropoulos
989ac436e8
fix https://github.com/kataras/iris/issues/1485 by adding and using the new 'context.UpsertCookie' instead of 'context.SetCookie'
...
Former-commit-id: 31a50e580929616504b9bbbb1d602b0e9274a568
2020-04-13 09:27:49 +03:00
Gerasimos (Makis) Maropoulos
e1d3cad905
add test for sessions.UpdateExpiration
...
Former-commit-id: fe80e61981dfac925eebe472d56641d9c3543b31
2020-04-13 07:11:41 +03:00
Gerasimos (Makis) Maropoulos
6432e34151
typo fix on recaptcha middleware...
...
Former-commit-id: 214c56fcd84c86742175e37185e130eeae85f07f
2020-04-11 20:23:02 +03:00
Gerasimos (Makis) Maropoulos
e9b10b14a3
add read-body example
...
Former-commit-id: 7d7afa555e66fbe7edfa31203c26b4b550f336f4
2020-04-11 00:55:31 +03:00
Gerasimos (Makis) Maropoulos
978718454a
add 'context.StopWithStatus, StopWithJSON, StopWithProblem' and update the json-struct-validation example
...
Former-commit-id: dd0347f22324ef4913be284082b8afc6229206a8
2020-04-10 06:04:46 +03:00
Gerasimos (Makis) Maropoulos
ad154ea479
add 'app.Validator' field for ReadJSON, ReadXML, ReadMsgPack, ReadYAML, ReadForm, ReadQuery data validation, defaults to empty but can be set-ed to 3rd-party packages
...
Former-commit-id: e42d9be5928edcdaad4579c008f741b1a7d97da9
2020-04-09 19:02:08 +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
Gerasimos (Makis) Maropoulos
ee4213f72d
update example for validator v10 (go module)
...
Former-commit-id: dcd729ea0dc6775ca657db2950d2bda5d21388c1
2020-04-07 19:27:49 +03:00
Gerasimos (Makis) Maropoulos
f03afeef2f
add Context.SetSameSite(integrates with sessions too) , iris.JSON.ASCII and iris.JSON.Secure option fields
...
Former-commit-id: fdf0dae234b219c9ca449ae8907d3e459d485dc7
2020-04-07 19:23:30 +03:00
Gerasimos (Makis) Maropoulos
6876f94e67
HISTORY.md additions
...
Former-commit-id: d5537f598fb34c669d8d7e6c019eee6f3ce269e8
2020-04-03 22:12:41 +03:00
Gerasimos (Makis) Maropoulos
a694266c63
fix https://github.com/kataras/iris/issues/1473 and add test for https://github.com/kataras/iris/issues/1468 https://github.com/kataras/iris/pull/1474 https://github.com/kataras/iris/pull/1475
...
Former-commit-id: 3e7d927761a5d5559b65ea3f91b94e3dc523a187
2020-03-24 02:12:10 +02:00
Gerasimos (Makis) Maropoulos
0d3770380f
Merge pull request #1471 from liguoqinjim/master
...
fix .dokerignore to .dockerignore
Former-commit-id: 6b5b725e3f3c88b91b3600286affc03d0297113f
2020-03-23 02:18:22 +02:00
Gerasimos (Makis) Maropoulos
5d5df1aa13
Merge pull request #1474 from rocinantex/master
...
fix bug: deep dependency injection
Former-commit-id: 61f4c7f72555957bee25d3f4cf4be1f07f84744c
2020-03-23 02:17:42 +02:00
rocinantex
6b8b690d4d
fix bug: abount dependency injection
...
Former-commit-id: edf168d762602658ffb5d452f72048ada8b7156e
2020-03-22 09:04:49 +08:00
liguoqinjim
f98ee4e725
fix .dokerignore to .dockerignore
...
Former-commit-id: 61ac943adb6efa7afe96662ab46295be2203a1e3
2020-03-19 16:13:47 +08:00
Gerasimos (Makis) Maropoulos
264c417f4e
move benchmarks to a repository which its results are re-calculated and its README re-generated on each run. This will allow dev community to participate and contribute
...
Former-commit-id: 64287e0be3861663f58fb581cd1f9822379f6586
2020-03-12 01:51:21 +02:00
Gerasimos (Makis) Maropoulos
aea836efc7
add a full gRPC example as previously requested at: https://github.com/kataras/iris/issues/1449
...
Former-commit-id: 0cb5121e7d44644f7f0eb34597ff34274157fe95
2020-03-07 12:53:23 +02:00
Gerasimos (Makis) Maropoulos
dd18dc9ee8
Add a gRPC router wrapper, useful for the upcoming grpc controller example
...
Former-commit-id: ae4c29597ce1336a74278b86b59d08b6c91eab0a
2020-03-06 12:28:08 +02: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
409f83ca66
ℹ️ add mvc 'ByWildcard' example as requested at #1459
...
Although, we already had a usage of this as a test at mvc/controller_test.go#testControllerRelPathFromFunc
Former-commit-id: 66343933aa86750615ab89767f149f6636d03be7
2020-03-02 20:11:44 +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
78ab341862
minor for travis
...
Former-commit-id: 2a62e2817e8fc98a77359344a88505151b61654e
2020-03-02 10:21:38 +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
2756435446
🚀 add Party.OnErrorFunc, UseFunc and DoneFunc to be aligned with the new HandleFunc
...
Former-commit-id: 381ce0f86f376ef7652b5e918474f9e37b391781
2020-03-01 07:07:27 +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
027eb5d6da
minor fix required for the upcoming release
...
Former-commit-id: f04b770f93d7612941340af6e45d7d0516035e14
2020-02-20 05:46:23 +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