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
Gerasimos (Makis) Maropoulos
486d9350e5
update snapshot
...
Former-commit-id: 25fb22a3793282ee0c29b19a4770841145f98e7f
2019-04-08 06:48:57 +03:00
Gerasimos (Makis) Maropoulos
01233a3c22
fix https://github.com/kataras/iris/issues/1220 from last updates
...
Former-commit-id: 1932953145c9386053cae28805020e6b6bd956a6
2019-03-22 19:34:22 +02:00
Gerasimos (Makis) Maropoulos
df3a68255c
fix https://github.com/kataras/iris/issues/1205
...
Former-commit-id: d95be1456a78fbafd7ec5fec22f2066454eb76c6
2019-03-01 14:10:07 +02:00
Gerasimos (Makis) Maropoulos
444a4a0363
remove websocket's connection's temp storage, as it was deprecated for quite long time (we have access to Context().Values() now)
...
Former-commit-id: 26dfa47c374646590831d62fa1fc1dc02d8705fc
2019-02-23 18:35:29 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: 444d4f0718d5c6d7544834c5e44dafb872980238
2019-02-23 07:23:10 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: b680974c593196ce20865ed12778929ced6afea1
2019-02-22 21:24:10 +02:00
Gerasimos (Makis) Maropoulos
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.
...
Former-commit-id: 7390164a6639a7be949c04a000cef9c347d93968
2019-02-22 04:24:01 +02:00
Gerasimos (Makis) Maropoulos
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)
...
Former-commit-id: 3209a7490939bce913732c1375190b0771ba63ae
2019-02-19 22:49:16 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: 40da148afb66a42d47285efce324269d66ed3b0e
2019-02-18 04:42:57 +02:00
Gerasimos (Makis) Maropoulos
eb22309aec
fix issue on binding sessions caused by variadic cookie options, as reported at: https://github.com/kataras/iris/issues/1197
...
Former-commit-id: 595a347706b6816729939a2e9d9098f5d3f72304
2019-02-17 16:10:25 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: be5ee623b7d030bd9e03a1a2f320ead975ef2ba8
2019-02-17 04:39:41 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: a9f8715b07049a5720a38c9352bb1ff781dfc04d
2019-02-16 21:03:48 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: 49e29c06aaaa22743354981342c29fc9d5953d0e
2019-02-16 00:42:26 +02:00
Gerasimos (Makis) Maropoulos
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 )
...
Former-commit-id: 74ccd8f4bf60a71f1eb0e34149a6f19de95a9148
2019-02-14 03:28:41 +02:00
Gerasimos (Makis) Maropoulos
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.
...
Former-commit-id: 3440871b368709e33d2d2a5080c66f7ad9338970
2019-02-10 17:16:43 +02:00
Gerasimos (Makis) Maropoulos
280872fd59
add iris websocket client side for Go and a simple chat example
...
Former-commit-id: af1c555b6b092a3d0484fee2e200fd8767d7239e
2019-02-09 04:28:00 +02:00
Gerasimos (Makis) Maropoulos
d30f17eb3f
minor
...
Former-commit-id: eca4c3d2962cc4e0b6108144a7b59f2519b531da
2019-02-02 04:56:32 +02:00
Gerasimos (Makis) Maropoulos
2cdbe17bd5
add Context#ResetRequest and core/handlerconv.FromStdWithNext updates the request for any incoming request changes - https://github.com/kataras/iris/issues/1180
...
Former-commit-id: 764bf26bcaa3b7bdae0a2bdbf3bf2b6f8c5c546e
2019-02-02 04:49:58 +02:00
Gerasimos (Makis) Maropoulos
7278bcd537
minor fmt
...
Former-commit-id: d22d8c4a715326901cd12368268eb3fb3e087a5f
2019-02-02 04:25:04 +02:00
Gerasimos (Makis) Maropoulos
4284739151
add tutorial for the official mongodb go driver
...
Former-commit-id: 8353dd101c37c223bba404403f9f8fa2d042fede
2019-01-28 05:36:44 +02:00
Gerasimos (Makis) Maropoulos
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
...
Former-commit-id: 38fda8a20da9bc7665cdd209b7b367c1337dbd94
2019-01-25 23:47:31 +02:00
Gerasimos (Makis) Maropoulos
443776c423
add a warning on mvc if someone didn't read the examples or the godocs and .Register dependencies after .Handle
...
a developer sent a direct question message from our facebook page: https://www.facebook.com/iris.framework/
Former-commit-id: ebd7b4bc9078d4952799b4498ce4dfb0ed4c8072
2019-01-20 14:06:06 +02:00
Gerasimos (Makis) Maropoulos
d451335aa2
gofmt
...
Former-commit-id: 75992b3aeae2228a7a7f0e698ce78b2f323cc33a
2019-01-20 00:00:54 +02:00
Gerasimos (Makis) Maropoulos
3dc3fa10ee
minor misspell fix
...
Former-commit-id: 55408a6c25d55cd052bb613db201723eac977232
2019-01-19 23:34:41 +02:00
Gerasimos (Makis) Maropoulos
3fcc70b891
init of v11.2.0: add context#FullRequestURI and NewConditionalHandler
...
As requested at: https://github.com/kataras/iris/issues/1167 and https://github.com/kataras/iris/issues/1170
Former-commit-id: 781c92f444b3e362011be886b32cf88f89998589
2019-01-19 23:33:33 +02:00
Gerasimos (Makis) Maropoulos
571ef59adf
fix minor misspell
...
Former-commit-id: 515763c090184f8ed35f4ee776c3f5b1ea692141
2019-01-16 22:46:35 +02:00