Commit Graph

1779 Commits

Author SHA1 Message Date
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
Gerasimos (Makis) Maropoulos
899aec8b19 minor
Former-commit-id: d941810fbc00f4573d5941617270fec7835067c2
2020-02-15 21:21:08 +02:00
Gerasimos (Makis) Maropoulos
66c0f632c3 fix of https://github.com/kataras/iris/issues/1450#issuecomment-586581677
Former-commit-id: 2b8dfec7d43298bc9ace94595359867180634f04
2020-02-15 21:16:21 +02:00
Gerasimos (Makis) Maropoulos
19778972e4 fix of https://github.com/kataras/iris/issues/1450#issuecomment-586581677
Former-commit-id: 43318477e7f8bf5f8c35fbf2f53922909a11d8fd
2020-02-15 21:16:08 +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
09a410c6cb example: gRPC-compatible controller
as requested at: https://github.com/kataras/iris/issues/1449


Former-commit-id: a0af1a78bcfef85f297c5087c8cbb00124226036
2020-02-12 19:27:11 +02:00
Gerasimos (Makis) Maropoulos
29b360dd26 minor: README: test alignation (2)
Former-commit-id: 65fb09dd1504e850c2b9e177f4b68a7cec5ce924
2020-02-11 04:02:06 +02:00
Gerasimos (Makis) Maropoulos
aad9a0571f minor: README: test alignation
Former-commit-id: 39011a182bd5032091d3e0f78b253d3b05658d9b
2020-02-11 03:55:06 +02:00
Gerasimos (Makis) Maropoulos
e4225543bc minor
Former-commit-id: a4030ed3253a730b8283b9f1880b129b54b96774
2020-02-11 03:24:57 +02:00
Gerasimos (Makis) Maropoulos
a0bda97c87 example: desktop-app/blink: add windows-only build tag
Former-commit-id: d78b7e6cedf9e58eff94a13995bb29fe1686a301
2020-02-10 20:47:33 +02:00
Gerasimos (Makis) Maropoulos
c558e039d5 fix #1446
Former-commit-id: 6ac95ef58bf3dd0dac8bed2100495fa9908f41d4
2020-02-10 20:35:19 +02:00
Gerasimos (Makis) Maropoulos
10f280af63 Update to version 12.1.7
Former-commit-id: 3e214ab6b6da4d1c6e4a66180a4ccfa61c0879ae
2020-02-10 19:40:17 +02:00
Gerasimos (Makis) Maropoulos
ea589b1276 minor
Former-commit-id: 491a1001aff9fc63a0d79efbfee6a78ca711f07c
2020-02-08 13:41:09 +02:00
Gerasimos (Makis) Maropoulos
c55d2063e1 add a simple docker example
Former-commit-id: cacfa3ad903ce542ce455cb2298c40639c645d3c
2020-02-06 18:43:03 +02:00
Gerasimos (Makis) Maropoulos
7096050eda jet example: minor
Former-commit-id: bbcb8d89e7f66465287f896d628679280ddddeba
2020-02-05 12:47:34 +02:00
Gerasimos (Makis) Maropoulos
9c97a8a668 Update to version 12.1.6
Former-commit-id: 4d39e8a764a7c0d91b19a3710d8afe6c8c208c62
2020-02-05 12:36:21 +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
e04ea83c04 Merge pull request #1434 from Kurisu-public/master
fix: fix a comment error
Former-commit-id: 7661fa9f3bff1edde8e22dd26cce49c5ce757d60
2020-01-28 16:15:18 +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
fa232aea06 Merge pull request #1431 from robertocr/patch-1
WebAssembly spelling

Former-commit-id: ab671c6bb0845f43d77f5cd2d0b800400e4b265b
2020-01-22 08:10:01 +02:00
Roberto Civille Rodrigues
2c337e23ed WebAssembly spelling
Former-commit-id: e355f300cb9fbee5038dd9c3cdad9726b557cebb
2020-01-17 15:19:14 -03:00