Commit Graph

1502 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
85666da682 improve the example and add jwt authentication on handshake or server connect event or any other event
as requested a long time ago at: https://github.com/kataras/iris/issues/1229#issuecomment-484791181


Former-commit-id: 17259069bc5decc022bf3b706b0654c8f473d3c8
2019-07-06 06:27:28 +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
9dbb300d9b implement the Iris Crypto Library for Request Authentication and Verification. With Examples and Tests.
Relative to this one as well: https://github.com/kataras/iris/issues/1200


Former-commit-id: 3a29e7398b7fdeb9b48a118b742d419d5681d56b
2019-07-02 19:19:43 +03:00
Gerasimos (Makis) Maropoulos
35389c6ef8 update websocket examples - keep neffos and use the iris/websocket as helper only
Former-commit-id: c34b916e186286cd0de6d694d8bdb4f9390121a2
2019-07-01 18:52:17 +03:00
Gerasimos (Makis) Maropoulos
69171e844d add the DefaultIDGenerator as variable to the iris neffos helpers
Former-commit-id: db0f6361823c99969ccd6da06db560177c45dade
2019-07-01 18:50:13 +03:00
Gerasimos (Makis) Maropoulos
7e6dc3240a nothing tremendous here
Former-commit-id: 9ae6a00400750b9769383ea28bb00f2b202fb79e
2019-06-27 16:28:44 +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
8ad4c061d1 remove the json-iterator from vendor, keep its most stable version only on the go.mod instead so users can interact with its 'extra' subpackage when iris.WithOptimizations is set
relative to: https://github.com/kataras/iris/issues/1245


Former-commit-id: c833189909c73cfdd9e91b1a9aec0c1ea6113af9
2019-06-24 14:30:00 +03:00
Gerasimos (Makis) Maropoulos
c512222b9b nothing serious here yet, just having fun with powershell and my nerves - but it works
Former-commit-id: ec83062ab7a588e9bfc6c42ce59834abf24723fa
2019-06-24 04:49:24 +03:00
Gerasimos (Makis) Maropoulos
78c51cd1bb security fix on macros - new users will have it but previous users should force-update or wait for v11.2.0
Former-commit-id: 74fe5f646656e54db14a64bd24c319ff2aefd889
2019-06-23 18:55:41 +03:00
Gerasimos (Makis) Maropoulos
edbb128c68 fix https://github.com/kataras/iris/issues/1286
Former-commit-id: 00b5b1ed0daa310912fcb02c96861d049909020b
2019-06-23 18:45:50 +03:00
Gerasimos (Makis) Maropoulos
208e593df7 finally make the silent and local installation for nodejs get working on windows - there is no resource online that works correctly LAWL!
Former-commit-id: f6727efd6bbc059c96a0f242b29e10bbac3b65b8
2019-06-23 17:32:37 +03:00
Gerasimos (Makis) Maropoulos
aee3c489ed a good start of making the ./_benchmarks benchmarker works autonomous by installing dependencies, running them and finally save them on disk as markdown files
Former-commit-id: 685b296f62c63f98455dce36ce52989be772ba34
2019-06-23 05:53:49 +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
b71d4032e6 replace the redis library we used with another one, no performance differences but most options for connections pooling and read/write/connect timeout (two config fields are changed as well)
relative to: https://github.com/kataras/iris/issues/1285


Former-commit-id: c20530cd67144ab8d1c9325807fe5c13268fa428
2019-06-22 14:46:20 +03:00
Gerasimos (Makis) Maropoulos
1f9ead426e fix travis fail on deprecation example test
Former-commit-id: 3f6bb0f01702ab2c2cd7f348b29ec142af036cb3
2019-06-21 23:17:27 +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
7f9e33cabb add a Route#StaticTarget string to determinate if a specific route is handling static files, could be handly for 3rd party tools
Former-commit-id: 5befb73654c9499ce99a1f14257f85edb9bd7b52
2019-06-15 16:59:32 +03:00
Gerasimos (Makis) Maropoulos
164f24dec4 add more websocket helpers from neffos project
Former-commit-id: fcb9ec46849fd745fe0f62524d9b85067a334048
2019-06-15 14:07:35 +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
272566950d _examples/websocket/basic: add a nodejs client and provide a README.md on how to run the websocket clients and the server
Former-commit-id: a98a80996d7d95fa947e72c71803407682229fa7
2019-06-13 12:15:01 +03:00
Gerasimos (Makis) Maropoulos
5f148987f7 sync master README.md: video courses, articles and starter kits
Former-commit-id: e6be795004a1e7a3156db2af90f4e6b99425c6af
2019-06-12 22:10:09 +03:00
Gerasimos (Makis) Maropoulos
4e8f56fd9d Merge branch 'master' of https://github.com/kataras/iris
Former-commit-id: 8666bd44099ed4b0bdd37c7d145c38da1e179aed
2019-06-12 22:06:28 +03:00
Gerasimos (Makis) Maropoulos
9ebedec626 README.md: replace long with short links in articles and starter kits
Former-commit-id: ecaa59f15c262ac58c58ac90df77994cc41ce4dd
2019-06-12 22:06:16 +03:00
Gerasimos (Makis) Maropoulos
74e1cc3da5 Add gorm example - merge pull request #1275
feat: gorm example
Former-commit-id: bff897436bcdaa0548c604c8f77ebb640175a0ad
2019-06-08 21:35:11 +03:00
XieWei
8587f84e25 feat: gorm example
Former-commit-id: 56495ea07f26efa1a98729046ad678ba65c3a92c
2019-06-09 01:31:38 +08:00
Gerasimos (Makis) Maropoulos
ee2ad57836 add go 1.12.x on the travis
Former-commit-id: 2e2d6533f2ce0aac13bd789a888b82a0cd467a81
2019-06-07 21:15:23 +03:00
Gerasimos (Makis) Maropoulos
7af5f139e0 fix typo
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
2019-06-07 21:07:08 +03:00
Gerasimos (Makis) Maropoulos
9c92952a40 remove the 3rd party socket io example because its API has a breaking-change now and some features are not reproducable to that
Former-commit-id: 8d89947be6a3ee6942d596c15f346c3ed6cf6728
2019-06-07 20:45:00 +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
e19a519c6e add neffos.Object based on the latest neffos API and update the go.mod for neffos
Former-commit-id: 47836caf61d3c951f1599714a4310bbdef1c87b7
2019-06-03 12:06:18 +03:00
Gerasimos (Makis) Maropoulos
162c1b9cfe add go1.12 to the travis builds (there are 4 tested versions, and this delays the result - we may just use go1.12 in the future
Former-commit-id: a57466a1b29d324dda045bb69de9e79b60e42c5b
2019-06-02 18:29:22 +03:00
Gerasimos (Makis) Maropoulos
2495be17f6 add example line on how to get the upgraded conn's iris.Context with websocket.GetContext.
Former-commit-id: 7d9cae97e2736d59dccb60c13b0cc5b6ca36a9fd
2019-06-02 18:27:51 +03:00
Gerasimos (Makis) Maropoulos
04bc21dd3b Add the new websocket package (which is just a helper for kataras/neffos) and an example for go server, client, browser client and nodejs client. Add a .fossa.yml and the generated NOTICE file for 3rd-party libs. Update go.mod, go.sum. Update the vendor folder for pongo2 to its latest master as well
Former-commit-id: 89c05079415977d65e7328a1eb8a1c602d76f78a
2019-06-02 17:49:45 +03:00
Gerasimos (Makis) Maropoulos
8d388fb1c6 fix go.mod caused by prev commit
Former-commit-id: a93e1794c6d8ef01a5539577835fe997d60ec86a
2019-05-30 10:54:42 +03:00
Gerasimos (Makis) Maropoulos
adb6fd764a extract the Delim for redis sessiondb as requested at https://github.com/kataras/iris/issues/1256 and add a mvc/regexp example and some other trivial changes
Former-commit-id: f9e09320bfe07ae10ac74f54a78272cf21d21cc7
2019-05-30 10:48:07 +03:00
Gerasimos (Makis) Maropoulos
cd3dced02a Update README.md
Former-commit-id: 97888d121460acc02040934d7aaada320d83b4be
2019-05-29 19:39:41 +03:00
Gerasimos (Makis) Maropoulos
030c6c7bd7 Merge pull request #1264 from kataras/github-sponsor-program
Create FUNDING.yml for the GitHub Sponsor Program

Former-commit-id: d38d5c60cb33c59352cdffdddbcf02ccde7f6a58
2019-05-25 22:52:08 +03:00
Gerasimos (Makis) Maropoulos
4c0c1b3ef7 Create FUNDING.yml
Former-commit-id: 305437f20a5cb69297971a01735018be341beba0
2019-05-25 22:51:45 +03:00
Gerasimos (Makis) Maropoulos
6da6f80715 Update README note for the upcoming websocket module
Former-commit-id: f298ae460f3fe79d2d6b9770341a74e72762e6fc
2019-05-09 15:17:48 +03:00
Gerasimos (Makis) Maropoulos
7df7f0fea2 clean up the mvc error handler example
Former-commit-id: 30e42fe0a6c39909739ec6423d75a2be0fe4f1f6
2019-04-16 18:08:03 +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
cc713ca1eb Add FOSSA license scan
Former-commit-id: c56690373ffd968ad08a86285752ed919f286786
2019-04-14 21:59:24 +03:00
Gerasimos (Makis) Maropoulos
f6cdeb4674 Merge pull request #1236 from AlexJuca/master
Improved english documentation

Former-commit-id: 30e8dad0603247a23e1ef8d50950a36a166a4d02
2019-04-10 14:57:58 +03:00
Alexandre Juca
f21e1e7a57 Improved english documentation
Former-commit-id: 01fe103889432389fd91f4ee497326ff32e50ee3
2019-04-09 00:20:05 +01:00
Alexandre Juca
c69bd7193d Improved english documentation
Former-commit-id: 318b093489563b85c540388d77b12b63a97ce6e1
2019-04-09 00:15:23 +01:00
Gerasimos (Makis) Maropoulos
7624bcfff9 A message about the new websocket capabilities
Former-commit-id: 682cfd729918e570cb506ef7ea25242701f405f6
2019-04-08 07:02:15 +03:00