1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-12 22:45:58 +00:00

Commit Graph

  • ccafe67c80 nothing important here Gerasimos (Makis) Maropoulos 2019-07-15 09:58:05 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-07-15 08:15:06 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-07-15 07:49:04 +03:00
  • 86a18ff545 sync kataras/iris/websocket with kataras/neffos - added support for nats scaling and Server.Ask method Gerasimos (Makis) Maropoulos 2019-07-14 20:22:59 +03:00
  • 85b1f6fc24 prepare new users for what's coming Gerasimos (Makis) Maropoulos 2019-07-14 03:17:12 +03:00
  • c2c748067c respect the WithoutBodyConsumptionOnUnmarshal on 'ctx.ReadForm' and 'ctx.FormValues' and on the new 'ctx.GetBody' method helper as requested at: #1297 Gerasimos (Makis) Maropoulos 2019-07-12 20:52:39 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-07-11 16:33:20 +03:00
  • f8d19b3ed2 add HandleMany to controller's Before/AfterActivation feature as requested at: https://github.com/kataras/iris/issues/1292 Gerasimos (Makis) Maropoulos 2019-07-11 15:07:39 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-07-11 12:59:11 +03:00
  • 82d645e3cb add running with http/3 quic protocol as server listener to examples, rel to: https://github.com/kataras/iris/issues/1295 Gerasimos (Makis) Maropoulos 2019-07-09 15:22:48 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-07-09 12:42:27 +03:00
  • 2567ed22be minor example fixes Gerasimos (Makis) Maropoulos 2019-07-09 12:25:06 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-07-09 12:16:19 +03:00
  • 85666da682 improve the example and add jwt authentication on handshake or server connect event or any other event Gerasimos (Makis) Maropoulos 2019-07-06 06:27:28 +03:00
  • 2576b3da34 add support for iris-specific form of generating connection IDs as requested at: https://github.com/kataras/neffos/issues/1#issuecomment-508689819 Gerasimos (Makis) Maropoulos 2019-07-05 16:22:20 +03:00
  • 9dbb300d9b implement the Iris Crypto Library for Request Authentication and Verification. With Examples and Tests. Gerasimos (Makis) Maropoulos 2019-07-02 19:19:43 +03:00
  • 35389c6ef8 update websocket examples - keep neffos and use the iris/websocket as helper only Gerasimos (Makis) Maropoulos 2019-07-01 18:52:17 +03:00
  • 69171e844d add the DefaultIDGenerator as variable to the iris neffos helpers Gerasimos (Makis) Maropoulos 2019-07-01 18:50:13 +03:00
  • 7e6dc3240a nothing tremendous here Gerasimos (Makis) Maropoulos 2019-06-27 16:28:44 +03:00
  • 33028f900d update the nantive-messages(only) example to the latest websocket (minimum changes, the idea is the same) and misc Gerasimos (Makis) Maropoulos 2019-06-25 22:10:10 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-06-24 14:30:00 +03:00
  • c512222b9b nothing serious here yet, just having fun with powershell and my nerves - but it works Gerasimos (Makis) Maropoulos 2019-06-24 04:49:24 +03:00
  • 78c51cd1bb security fix on macros - new users will have it but previous users should force-update or wait for v11.2.0 Gerasimos (Makis) Maropoulos 2019-06-23 18:55:41 +03:00
  • edbb128c68 fix https://github.com/kataras/iris/issues/1286 Gerasimos (Makis) Maropoulos 2019-06-23 18:45:50 +03:00
  • 208e593df7 finally make the silent and local installation for nodejs get working on windows - there is no resource online that works correctly LAWL! Gerasimos (Makis) Maropoulos 2019-06-23 17:32:37 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-06-23 05:53:49 +03:00
  • 076d9121f1 Implement a new View Engine for the Jet template parser as requested at: https://github.com/kataras/iris/issues/1281 Gerasimos (Makis) Maropoulos 2019-06-22 21:34:19 +03:00
  • 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) Gerasimos (Makis) Maropoulos 2019-06-22 14:46:20 +03:00
  • 1f9ead426e fix travis fail on deprecation example test Gerasimos (Makis) Maropoulos 2019-06-21 23:17:27 +03:00
  • d0104defa8 create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more Gerasimos (Makis) Maropoulos 2019-06-21 19:43:25 +03:00
  • 7f9e33cabb add a Route#StaticTarget string to determinate if a specific route is handling static files, could be handly for 3rd party tools Gerasimos (Makis) Maropoulos 2019-06-15 16:59:32 +03:00
  • 164f24dec4 add more websocket helpers from neffos project Gerasimos (Makis) Maropoulos 2019-06-15 14:07:35 +03:00
  • 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] Gerasimos (Makis) Maropoulos 2019-06-14 11:33:01 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-06-14 11:32:19 +03:00
  • 0f907a3dae fix https://github.com/kataras/iris/issues/1273 Gerasimos (Makis) Maropoulos 2019-06-14 11:26:56 +03:00
  • 272566950d _examples/websocket/basic: add a nodejs client and provide a README.md on how to run the websocket clients and the server Gerasimos (Makis) Maropoulos 2019-06-13 12:15:01 +03:00
  • 5f148987f7 sync master README.md: video courses, articles and starter kits Gerasimos (Makis) Maropoulos 2019-06-12 22:10:09 +03:00
  • 4e8f56fd9d Merge branch 'master' of https://github.com/kataras/iris Gerasimos (Makis) Maropoulos 2019-06-12 22:06:28 +03:00
  • 9ebedec626 README.md: replace long with short links in articles and starter kits Gerasimos (Makis) Maropoulos 2019-06-12 22:06:16 +03:00
  • 74e1cc3da5 Add gorm example - merge pull request #1275 Gerasimos (Makis) Maropoulos 2019-06-08 21:35:11 +03:00
  • 8587f84e25 feat: gorm example XieWei 2019-06-09 01:31:38 +08:00
  • ee2ad57836 add go 1.12.x on the travis Gerasimos (Makis) Maropoulos 2019-06-07 21:15:23 +03:00
  • 7af5f139e0 fix typo Gerasimos (Makis) Maropoulos 2019-06-07 21:07:08 +03:00
  • 9c92952a40 remove the 3rd party socket io example because its API has a breaking-change now and some features are not reproducable to that Gerasimos (Makis) Maropoulos 2019-06-07 20:45:00 +03:00
  • af751c7602 fix https://github.com/kataras/iris/issues/1271#issuecomment-499642546 Gerasimos (Makis) Maropoulos 2019-06-06 23:06:41 +03:00
  • e10fada695 updates for neffos and re-push the fix of the request path with uri unescaped codes Gerasimos (Makis) Maropoulos 2019-06-06 23:05:17 +03:00
  • 630ffcf5c5 Merge pull request #1 from kataras/master Hank Shen 2019-06-03 22:12:57 +08:00
  • e19a519c6e add neffos.Object based on the latest neffos API and update the go.mod for neffos Gerasimos (Makis) Maropoulos 2019-06-03 12:06:18 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-06-02 18:29:22 +03:00
  • 2495be17f6 add example line on how to get the upgraded conn's iris.Context with websocket.GetContext. Gerasimos (Makis) Maropoulos 2019-06-02 18:27:51 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-06-02 17:49:45 +03:00
  • 8d388fb1c6 fix go.mod caused by prev commit Gerasimos (Makis) Maropoulos 2019-05-30 10:54:42 +03:00
  • 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 Gerasimos (Makis) Maropoulos 2019-05-30 10:48:07 +03:00
  • cd3dced02a Update README.md Gerasimos (Makis) Maropoulos 2019-05-29 19:39:41 +03:00
  • 030c6c7bd7 Merge pull request #1264 from kataras/github-sponsor-program Gerasimos (Makis) Maropoulos 2019-05-25 22:52:08 +03:00
  • 4c0c1b3ef7 Create FUNDING.yml Gerasimos (Makis) Maropoulos 2019-05-25 22:51:45 +03:00
  • 6da6f80715 Update README note for the upcoming websocket module Gerasimos (Makis) Maropoulos 2019-05-09 15:17:48 +03:00
  • 7df7f0fea2 clean up the mvc error handler example Gerasimos (Makis) Maropoulos 2019-04-16 18:08:03 +03:00
  • 0d4d2bd3fa implement mvc HandleError as requested at #1244 Gerasimos (Makis) Maropoulos 2019-04-16 18:01:48 +03:00
  • cc713ca1eb Add FOSSA license scan Gerasimos (Makis) Maropoulos 2019-04-14 21:59:24 +03:00
  • f6cdeb4674 Merge pull request #1236 from AlexJuca/master Gerasimos (Makis) Maropoulos 2019-04-10 14:57:58 +03:00
  • f21e1e7a57 Improved english documentation Alexandre Juca 2019-04-09 00:20:05 +01:00
  • c69bd7193d Improved english documentation Alexandre Juca 2019-04-09 00:15:23 +01:00
  • 7624bcfff9 A message about the new websocket capabilities Gerasimos (Makis) Maropoulos 2019-04-08 07:02:15 +03:00
  • 486d9350e5 update snapshot Gerasimos (Makis) Maropoulos 2019-04-08 06:48:57 +03:00
  • 01233a3c22 fix https://github.com/kataras/iris/issues/1220 from last updates Gerasimos (Makis) Maropoulos 2019-03-22 19:34:22 +02:00
  • df3a68255c fix https://github.com/kataras/iris/issues/1205 Gerasimos (Makis) Maropoulos 2019-03-01 14:10:07 +02:00
  • 444a4a0363 remove websocket's connection's temp storage, as it was deprecated for quite long time (we have access to Context().Values() now) Gerasimos (Makis) Maropoulos 2019-02-23 18:35:29 +02:00
  • 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 Gerasimos (Makis) Maropoulos 2019-02-23 07:23:10 +02:00
  • 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 Gerasimos (Makis) Maropoulos 2019-02-22 21:24:10 +02:00
  • 30ae2cb9dd Add new 2019 video course made by J-Secur1ty and add the most important part of our README.md; the support that we provided over the years. Gerasimos (Makis) Maropoulos 2019-02-22 04:24:01 +02:00
  • c477251d1f improve client test, I think we are OK, both gorilla(websocket) and ws(websocket2) have the same API, it's time to combine them but first let's give a lower level of api available for users if they want to manage the routines by theirselves (i.e on unix they can use netpolls manually) Gerasimos (Makis) Maropoulos 2019-02-19 22:49:16 +02:00
  • 65c1fbf7f2 websocket: from 1k to 100k on a simple raspeberry pi 3 model b by using a bit lower level of the new ws lib api and restore the previous sync.Map for server's live connections, relative: https://github.com/kataras/iris/issues/1178 Gerasimos (Makis) Maropoulos 2019-02-18 04:42:57 +02:00
  • eb22309aec fix issue on binding sessions caused by variadic cookie options, as reported at: https://github.com/kataras/iris/issues/1197 Gerasimos (Makis) Maropoulos 2019-02-17 16:10:25 +02:00
  • 701267e034 add a new websocket2 package without breaking changes to the iris API. It implements the gobwas/ws library (it works but need fixes on determinate closing connections) as suggested at: https://github.com/kataras/iris/issues/1178 Gerasimos (Makis) Maropoulos 2019-02-17 04:39:41 +02:00
  • 6ca19e0bca sessions: give ability to the end-user to modify the cookie via context.CookieOption on Start and Update/ShiftExpiration as requested at: https://github.com/kataras/iris/issues/1186, add a StartWithPath helper as well Gerasimos (Makis) Maropoulos 2019-02-16 21:03:48 +02:00
  • 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 Gerasimos (Makis) Maropoulos 2019-02-16 00:42:26 +02:00
  • 07994adabb add websocket client stress test, passed and update the vendors (this commit fixes the https://github.com/kataras/iris/issues/1178 and https://github.com/kataras/iris/issues/1173) Gerasimos (Makis) Maropoulos 2019-02-14 03:28:41 +02:00
  • 946c100f7d use the same connection structure for both client and server-side connections interfaces, the 'Connection' interface could be changed to 'ServerConn' but this would produce breaking naming change to the iris users, so keep it as it's. Gerasimos (Makis) Maropoulos 2019-02-10 17:16:43 +02:00
  • 280872fd59 add iris websocket client side for Go and a simple chat example Gerasimos (Makis) Maropoulos 2019-02-09 04:28:00 +02:00
  • d30f17eb3f minor Gerasimos (Makis) Maropoulos 2019-02-02 04:56:32 +02:00
  • 2cdbe17bd5 add Context#ResetRequest and core/handlerconv.FromStdWithNext updates the request for any incoming request changes - https://github.com/kataras/iris/issues/1180 Gerasimos (Makis) Maropoulos 2019-02-02 04:49:58 +02:00
  • 7278bcd537 minor fmt Gerasimos (Makis) Maropoulos 2019-02-02 04:25:04 +02:00
  • 4284739151 add tutorial for the official mongodb go driver Gerasimos (Makis) Maropoulos 2019-01-28 05:36:44 +02:00
  • 680b5a0923 websocket: replace sync.Map with custom map[string]*connection. Add translate template function example. Fix ctx.HandlerName() does not return the end-dev-defined current route's name, this will give better warnings when using MVC in a wrong way Gerasimos (Makis) Maropoulos 2019-01-25 23:47:31 +02:00
  • 443776c423 add a warning on mvc if someone didn't read the examples or the godocs and .Register dependencies after .Handle Gerasimos (Makis) Maropoulos 2019-01-20 14:06:06 +02:00
  • d451335aa2 gofmt Gerasimos (Makis) Maropoulos 2019-01-20 00:00:54 +02:00
  • 3dc3fa10ee minor misspell fix Gerasimos (Makis) Maropoulos 2019-01-19 23:34:41 +02:00
  • 3fcc70b891 init of v11.2.0: add context#FullRequestURI and NewConditionalHandler Gerasimos (Makis) Maropoulos 2019-01-19 23:33:33 +02:00
  • 571ef59adf fix minor misspell Gerasimos (Makis) Maropoulos 2019-01-16 22:46:35 +02:00
  • ff3f052da1 push version 11.1.1 Gerasimos (Makis) Maropoulos 2019-01-11 02:10:33 +02:00
  • 55ec53b416 minor doc fix Gerasimos (Makis) Maropoulos 2019-01-11 01:43:22 +02:00
  • b1f4a85bbe README: Iris Starter Kits: add yz124/superstar -- Iris + xorm to implement the star library Gerasimos (Makis) Maropoulos 2019-01-08 00:33:27 +02:00
  • caac0480ba context#ReadForm can skip unkown fields by iris/context.IsErrPath(err), fixes: https://github.com/kataras/iris/issues/1157 Gerasimos (Makis) Maropoulos 2019-01-04 11:40:55 +02:00
  • 8b74e3343d fix https://github.com/kataras/iris/issues/1164 Gerasimos (Makis) Maropoulos 2019-01-04 11:16:40 +02:00
  • 8d12c526d8 update kataras/pio gomod version Gerasimos (Makis) Maropoulos 2019-01-03 12:57:49 +02:00
  • 67081d8219 add https://github.com/snowlyg/IrisApiProject to starter kits (chinese) Gerasimos (Makis) Maropoulos 2018-12-24 02:32:33 +02:00
  • 4a77067c8a Merge pull request #1156 from fduxiao/master Gerasimos (Makis) Maropoulos 2018-12-18 12:51:32 +02:00
  • b01aa84551 Translate _examples/README.md into Chinese fduxiao 2018-12-18 18:02:40 +08:00
  • e0f67d8d2c Add StatusTooEarly, compatible with: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425#Browser_compatibility Gerasimos (Makis) Maropoulos 2018-12-08 21:12:47 +02:00