Commit Graph

1779 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
090c448472 minify README.md
Former-commit-id: 59289978887334fd05a1889d37c242712de3f1e3
2019-07-22 05:46:30 +03:00
Gerasimos (Makis) Maropoulos
c86636b550 align image (try 2)
Former-commit-id: 212002053838f76ec9e7084f7b20e3dfd77c75b3
2019-07-22 04:39:14 +03:00
Gerasimos (Makis) Maropoulos
acc2178f8f align image (try 2)
Former-commit-id: f3c4f9f3070c46ea8a59c4ef79870ee575a47fb6
2019-07-22 04:37:04 +03:00
Gerasimos (Makis) Maropoulos
86af4088f3 align image (try 1)
Former-commit-id: b0004167f164b4131d55bc3e9aa73a48793e3b36
2019-07-22 04:34:48 +03:00
Gerasimos (Makis) Maropoulos
bb1a93d7fd touches before release
Former-commit-id: c6539320214e9120a801b2a3c3c8e9867dfb2ed7
2019-07-22 04:32:54 +03:00
Gerasimos (Makis) Maropoulos
ac86d687c3 able to fetch the ngrok executable path through a 'NGROK' env variable as well, and humanize the returned error
Former-commit-id: 8a61ed64b64e18bd2beb938ccb38150f2090ec54
2019-07-19 12:55:57 +03:00
Gerasimos (Makis) Maropoulos
452b7d2df0 minor
Former-commit-id: f0a26383ace695525d5aec52ec2181d781d26a83
2019-07-19 12:27:35 +03:00
Gerasimos (Makis) Maropoulos
4c4b2f5d00 New feature: automatic public domain using tunneling: https://github.com/kataras/iris/issues/1305
Former-commit-id: 54844edae9e5eed9bd6b17a06ec8d868923d3681
2019-07-18 00:53:30 +03:00
Gerasimos (Makis) Maropoulos
94f67f7fbb all examples and tests ran successfully based on iris v11.2.0 and go+gomodules 1.12.7
Former-commit-id: a3a9056b321c059b52bd0d46d727a3eb8204174a
2019-07-17 01:56:41 +03:00
Gerasimos (Makis) Maropoulos
9364dde3ca start of the server tunneling feature - probably will help new users a lot but still thinking of it
Former-commit-id: b0b41ef10b0b6369661991af16757c1de306557b
2019-07-16 16:10:46 +03:00
roamboy
78e5e6d626 NewProxy no work
NewProxy no work

Former-commit-id: 01923793abb91d5c9ce661136f5f02e1ba0a3b2c
2019-07-16 13:37:53 +08:00
Gerasimos (Makis) Maropoulos
1c2472c53f update the online visitors and vuejs +iris mvc todo app (this gave me some ideas to make the api a bit easier)
Former-commit-id: 8c84486a22505b7137669bde52383d2564a6b382
2019-07-15 18:45:22 +03:00
Gerasimos (Makis) Maropoulos
55bdb44e26 remove experimental-handlers examples, users should visit github.com/iris-contrib/middleware instead, let's not have duplications
Former-commit-id: 72754683d1bcd4325b5fcd9f57c6cb87f1d7337d
2019-07-15 16:03:19 +03:00
Gerasimos (Makis) Maropoulos
5b4cc9a0a2 hmm
Former-commit-id: db17245e0d732a2ffe4091c05b750201070f8c30
2019-07-15 10:07:07 +03:00
Gerasimos (Makis) Maropoulos
ccafe67c80 nothing important here
Former-commit-id: e6c4ade12d085cb8fa4989b15fa446b75ee114b2
2019-07-15 09:58:05 +03:00
Gerasimos (Makis) Maropoulos
2725267aa4 update mongodb official driver tutorial to its latest API (requires an options.ClientOptions instead of a simple url to connect to the server/host
Former-commit-id: 86ad73198016ce9d4b8c89ddb7191e932f759628
2019-07-15 08:15:06 +03:00
Gerasimos (Makis) Maropoulos
137c41344d Updated all dependencies one by one to go.mod - Backup and remove the vendor folder entirely and update most of the examples - next commit will contain the rest of the updated
Former-commit-id: 2791c50256c0f00d6e08a408e5cb009262c49588
2019-07-15 07:49:04 +03:00
Gerasimos (Makis) Maropoulos
86a18ff545 sync kataras/iris/websocket with kataras/neffos - added support for nats scaling and Server.Ask method
Former-commit-id: 3a3f00410e113817c4e609feaad70f76c0b09b57
2019-07-14 20:22:59 +03:00
Gerasimos (Makis) Maropoulos
85b1f6fc24 prepare new users for what's coming
Former-commit-id: 0a4efbf37db97d0e153bfaef9867869b4fc6a09e
2019-07-14 03:17:12 +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
657e0133d0 add support for b.HandleMany(GET, /custom3/{ps:string}/{pssecond:string} /custom3/{ps:string}, CtrlMethodName) relative to: https://github.com/kataras/iris/issues/1292
Former-commit-id: de08c5eeab7a1c2729fbff7260de00cc2516f78c
2019-07-11 16:33:20 +03:00
Gerasimos (Makis) Maropoulos
f8d19b3ed2 add HandleMany to controller's Before/AfterActivation feature as requested at: https://github.com/kataras/iris/issues/1292
Former-commit-id: c021f49522a214ddc3978a1c8f5e8d32f029eb2d
2019-07-11 15:07:39 +03:00
Gerasimos (Makis) Maropoulos
33dfb42d73 add the new neffos StackExchange feature to the type aliases and shortcuts of the websocket subpackage and auto-enable debug mode on websocket MVC application when iris logger's level is set to debug
Former-commit-id: 4d8cb79d01a4172fc1ed7a9b626da0228d902b3c
2019-07-11 12:59:11 +03:00
Gerasimos (Makis) Maropoulos
82d645e3cb add running with http/3 quic protocol as server listener to examples, rel to: https://github.com/kataras/iris/issues/1295
Former-commit-id: 4c970c8143a663e5b879c8aeb6614504432dfe8d
2019-07-09 15:22:48 +03:00
Gerasimos (Makis) Maropoulos
29deac3270 Remove the two day old crypto package, let's not confuse users between that and JWT - keep only JWT. And also, Drop older go versions support, only go1.12 and above which comes with a lot of performance improvements and security patches
Former-commit-id: a1d791ce45b87ecc440ed9c5aee5d5d204763f0d
2019-07-09 12:42:27 +03:00
Gerasimos (Makis) Maropoulos
2567ed22be minor example fixes
Former-commit-id: 163652ddfad00300590fbe6798cf9761a8e4b5e6
2019-07-09 12:25:06 +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
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