Gerasimos (Makis) Maropoulos
|
b2c5ec03fd
|
miscellaneous
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
|
2020-01-07 03:41:07 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
79a965ec2d
|
minor
Former-commit-id: de1a500475a9d6f96e86445cfb9e85a57a65d1c2
|
2020-01-05 18:27:21 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
269b832ade
|
Update to version 12.1.4
Former-commit-id: aeb039ea25a831ad1087b1994be97b349a8ed4aa
|
2019-12-29 19:14:41 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
5f92475dea
|
Merry Christmas: version 12.1.3 released
Former-commit-id: d4c9538646b8c17b32bc49b911e1535bcfe55401
|
2019-12-25 13:12:20 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
a1c11996b7
|
Update to version 12.1.2
Former-commit-id: f52b1b6b0680a96ff4a4c246f1451953382ddb36
|
2019-12-19 11:35:26 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
af90337cfd
|
Update to version 12.1.1 (context.FindClosest)
Former-commit-id: a57d18bab865a7c40b806c7fd2cd4ce1a259699c
|
2019-12-16 06:50:36 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
a3f944b884
|
Add context.FindClosest(n) to find closest paths - useful for 404 pages to suggest valid pages
Former-commit-id: 90ff7c9da5369df5bd99fbbecf9955a8c555fea5
|
2019-12-16 02:00:42 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
04477c3e41
|
fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
|
2019-12-13 23:06:18 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
4e9a6be9aa
|
i18n several improvements
trigger #1369
Former-commit-id: af16dd8de1a0096d33c4e4c97f29ec12a73302f4
|
2019-11-22 02:57:26 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
2c229234f1
|
add subdomain support for i18n and a custom language Indentifier - rel to: #1369
Former-commit-id: b4d31978f6ddcdcebd18505eaa0db297db462d8e
|
2019-11-20 16:40:28 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
eb3328dbe9
|
add tests for #1369 and various improvements
Former-commit-id: 2fe1f077cf5b6a0fb32a27cf86462fea776a7d58
|
2019-11-20 02:35:41 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
0844c109d9
|
implement path prefx for i18n middleware, as requested at: #1369
Former-commit-id: b0d6b6e7f368e710b01faad9b70dfa4cebdd8c4d
|
2019-11-19 23:36:18 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
6d60a65339
|
Merge branch 'master' into v12
Former-commit-id: 50fae564bda3607f4f4208fdcb72f835c1751a1e
|
2019-11-13 19:19:33 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
8da68a0a43
|
Add socket.io example
Former-commit-id: 895669c537db46f1694e8006418ea0509c60cb04
|
2019-11-13 19:18:41 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
75dd5b759f
|
_examples/file-server update to test a party of file server
Former-commit-id: 2137bd00d256d57058bedd3b4a5868427cbdc64a
|
2019-11-13 19:14:56 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
42e752b3f5
|
minor
Former-commit-id: c66f17fb0dc5c130e5060bea4cb4f291e031a36c
|
2019-11-03 00:41:52 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
dc9ad50e76
|
fix example as reported as #1390
Former-commit-id: 0864cdb5a77b75919e733dab29a85767333de7f8
|
2019-11-01 16:07:17 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
303f9d3d69
|
add a note on http-errors example about #1389
Former-commit-id: 73485e195bc246e8b81a1be3156b361e92c054c7
|
2019-10-31 06:37:35 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
49fde92db4
|
remove unnecessary apidoc example comment
Former-commit-id: 3ff3b3aa5296267c8bbdd513fae161d456d2528a
|
2019-10-28 22:48:39 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
f3cebb747d
|
update the dependencies of the apidoc example
Former-commit-id: 7a126a9e74ff9a05a325e8b65032cb75f90c3e88
|
2019-10-28 22:47:09 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
466978f1fe
|
examples: minor
Former-commit-id: 7e86dfbbc496bdd33faad744c8242468d95d3055
|
2019-10-27 11:47:34 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
c3a55462bd
|
fix sessions.ErrNotFound.Equal example
Former-commit-id: 292eadaea9df1c680e68a3f92f86c8bf1edc2d7d
|
2019-10-26 19:27:58 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
3945fa68d1
|
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.
Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
|
2019-10-25 01:27:02 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
d13f1fe877
|
make the yaag example as go module (to set the latest yaag pseudo-version)
Former-commit-id: 89c03751d93dab5ccc1ee29271f12e99bfe6c8c7
|
2019-10-25 01:13:25 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0e2c44e231
|
fix embedded fs not access to dir list because of options.ShowList unnecessary check. Solves #1383
Former-commit-id: 1ad4535deb1c4792408a3bf63456b333aa752594
|
2019-10-25 01:04:08 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
07046ab978
|
formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
|
2019-08-17 10:06:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
75ea978194
|
New XMLMap func which makes a map value type an xml compatible content to render and give option to render a Problem as XML - rel to #1335
Former-commit-id: dcf21098ff7af6becfa9896df5f82c3b0b53f0ac
|
2019-08-16 19:18:46 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
8d188817a6
|
minor: update jwt example to match the wiki's one
Former-commit-id: 72e3a05a670665631c97a098d5d9d446ab29cee0
|
2019-08-16 17:02:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
a7635afe62
|
add experimental handlers examples
Former-commit-id: 8d8a0d15afce2554dc5926f6b9bd9c42cb95dad0
|
2019-08-16 16:57:03 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
db433f7dca
|
minor: sessions: set SameSite to Lax when sharable with subdomains is not disabled.
Former-commit-id: d0b15433d5f325f24972669b485be9cf5be6d68a
|
2019-08-16 12:41:20 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
c9e9a4b3bc
|
add ProblemOptions https://github.com/kataras/iris/issues/1335#issuecomment-521546506
Former-commit-id: 6c03439d21175f120c37a7d8dd067a0d10de837a
|
2019-08-15 10:39:38 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b98bb5a870
|
Publish version 11.2.6
Former-commit-id: 3563f65de75fe8923ceca8a4b36c8c1cd5abebe7
|
2019-08-14 11:04:05 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
8e83959c61
|
implement Problem Details for HTTP APIs #1335
Former-commit-id: ff789b6d535080c88e05c81ab3fb7d9689801ec7
|
2019-08-12 12:05:21 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
5c91440e46
|
remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten
got an email feedback about this
Former-commit-id: b1caa261a0d425d8db2091bffb8cfd6065c4e1fa
|
2019-08-11 15:43:47 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
416324cc42
|
push version 11.2.4
Former-commit-id: 3451c700c02aa98d7c3f02b305c381b250882791
|
2019-08-09 23:25:21 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0271e316e0
|
minor spelling...
Former-commit-id: ed7222ed2e6677ddfc038b5a87369c9386842c59
|
2019-08-09 08:28:28 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
6be7bbfbb0
|
misspell
Former-commit-id: aca03445a2baa4608d3307f3bf329a6591b60a19
|
2019-08-09 08:27:38 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b7bc89335d
|
fix https://github.com/kataras/iris/issues/1330
Former-commit-id: 221e01638b671586cdab2b84518bd6a1c8d07bda
|
2019-08-09 08:24:58 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
eb29a80753
|
redis sessiondb: support more than one driver - builtin redigo(default) and radix - rel to: #1328
Former-commit-id: 1eee58f2c49f64899fffc3ad61bcf074f8949cc1
|
2019-08-06 18:40:13 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
95ce71be9f
|
Implement method override wrapper as requested at: #1325
Former-commit-id: e476998d8d6b10dc641b3393577937269adb694c
|
2019-08-06 15:39:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
913634384c
|
minor
Former-commit-id: 64d2bc8657fce2ef4565e0d10dd0f412ee29ffc5
|
2019-08-03 08:40:48 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b37b369b51
|
add content negotiation feature, add context.ReadYAML and fix https://github.com/kataras/neffos/issues/1#issuecomment-515698536
Former-commit-id: 9753e3e45c7c24788b97814d3ecfb4b03f5ff414
|
2019-08-03 04:41:09 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
970279deb8
|
minor
Former-commit-id: da3ffd7b32daa12b17ad2863cb55e9d15ec9943a
|
2019-07-30 18:02:02 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
04834484ff
|
add a test near to the _examples/routing/basic example
Former-commit-id: 24b4ffc004f76355f6269a95ede3488fff9dfe36
|
2019-07-30 06:04:08 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
700dcc8005
|
new feature: handle different param types in the exact same path pattern
implements https://github.com/kataras/iris/issues/1315
Former-commit-id: 3e9276f2a95d6fc7c10fbf91186d041dcba72611
|
2019-07-29 23:09:22 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f3162254a0
|
fix https://github.com/kataras/iris/issues/1310
Former-commit-id: bd6e0eb0508fb27aea2ff79ad3a82c0acdd51eb7
|
2019-07-25 17:08:16 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
29bf846bd1
|
minor version 11.2.2 - register sessions as middleware and Context.HTML/Text like Context.Writef
Former-commit-id: 6f5f1c502fb06d739c350c3ecc891f495dc03a6e
|
2019-07-24 19:51:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
db0702ca75
|
implement ReadQuery with 'url' struct field tag name strictly, as requested at: #1207
Former-commit-id: dc0c237f62aa6db5a0c1755b2074d8a18dba0d8f
|
2019-07-24 03:29:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
64cd073d73
|
Merge branch 'master' into v11.2.0
Former-commit-id: 889380e7eb07c54f159095b617460bdd8dea6251
|
2019-07-23 19:36:00 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
9ffb04e72d
|
from master
Former-commit-id: 38143f9ea1230ac17a5a20fce0459b6ef3804d90
|
2019-07-23 19:35:04 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
736709aa75
|
resolve conflicts with current master v11.1.1
Former-commit-id: 659ff392e889f3a8552d7da3d44848f1a364f7b2
|
2019-07-23 19:20:07 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
79539b0055
|
add the gorm example from: https://github.com/kataras/iris/pull/1275
Former-commit-id: 5f17e5923e93b65e6853ddcb715cec68209ff0b0
|
2019-07-23 18:18:36 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
ba2919b4c2
|
fixes
Former-commit-id: d12fa8ee9af63187a2f143f27b08cbdb80609e2a
|
2019-07-23 18:12:18 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
4caf8d7d9b
|
remove some examples learning content as they are exist on the wiki itself now
Former-commit-id: 8c69be5bf8ca21eb0e405ca5ad8431ceb1c2511e
|
2019-07-23 17:47:28 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
bb1a93d7fd
|
touches before release
Former-commit-id: c6539320214e9120a801b2a3c3c8e9867dfb2ed7
|
2019-07-22 04:32:54 +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 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
164f24dec4
|
add more websocket helpers from neffos project
Former-commit-id: fcb9ec46849fd745fe0f62524d9b85067a334048
|
2019-06-15 14:07:35 +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 |
|
XieWei
|
8587f84e25
|
feat: gorm example
Former-commit-id: 56495ea07f26efa1a98729046ad678ba65c3a92c
|
2019-06-09 01:31:38 +08: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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|