Commit Graph

1203 Commits

Author SHA1 Message Date
Gerasimos Maropoulos
0fc4436da6 fix https://github.com/kataras/iris/issues/995
Former-commit-id: 7f743e18c1202eaa19062ca4304611194a10962c
2018-05-07 16:49:17 +03:00
Gerasimos Maropoulos
0087bc218d Update to version 10.6.3. Read HISTORY.md. It contains a very important fix for the websocket servers caused some time ago by an external contributor
Former-commit-id: 1626ff0660801a28a5034ecd2788e87561c55f41
2018-05-02 17:57:01 +03:00
Gerasimos Maropoulos
0db2afea93 websocket: fix a bug on emit on specific room when it doesn't exist it sends to all connections caused by a third-party contributor's PR...
Former-commit-id: de6fddadd7cef8537ad1d1aff1acd991e4cf99cf
2018-05-02 17:47:14 +03:00
Gerasimos Maropoulos
087c8c8b3a Update to (minor) version 10.6.2. Added: websocket/Connection#OnPong and websocket/Connection#OnError(func(error)) instead of func(string) relative issues: https://github.com/kataras/iris/pull/988 and https://github.com/kataras/iris/issues/987 respectfully.
Former-commit-id: 76d4fda4ab4f34f8a251c8c2d5bb1ae7c3ef7047
2018-05-02 06:40:18 +03:00
Gerasimos (Makis) Maropoulos
d39a5b913d Merge pull request #988 from Kirguir/master
Websocket: added OnPong to Connection #986
Former-commit-id: fa14ab8fc1a7b5afd40744dbdf0a163be499af59
2018-05-02 06:26:41 +03:00
Kirguir
655a19ea74 Websocket: added OnPong to Connection #986
see issue #986


Former-commit-id: 964d393d40fc7e64a8bf02eae08d97fd5f847483
2018-04-30 14:27:28 +03:00
Gerasimos Maropoulos
4eeffd07c7 Update the _examples/http_request/upload-file to fill the gap, relative discussion: https://github.com/kataras/iris/issues/979
Former-commit-id: a113e8815a6a2821a80ac424f52302528a6e71b5
2018-04-28 14:48:09 +03:00
Gerasimos Maropoulos
3c6d1f2fa3 _examples/README: add bolt session database example link
Former-commit-id: 373f25cc016fbdad84e208123c024999d35a47e4
2018-04-26 08:07:09 +03:00
Gerasimos (Makis) Maropoulos
e35513d3a9 Update Chinese translation for HISTORY_ZH.md and README_ZH.md
Former-commit-id: 2150b120c3da0200814c9895d19e38e76df61709
2018-04-26 08:03:45 +03:00
Zeno-Code
614b46f97e Update README_ZH.md
Former-commit-id: 03c595e252ecdf5b52697ca201e20ea96cabbbd5
2018-04-25 19:19:05 +08:00
Zeno-Code
35c4d6d315 Update HISTORY_ZH.md
Former-commit-id: 3531ea73dc42bd302f327a5e398d6000400702e3
2018-04-25 19:17:20 +08:00
Gerasimos Maropoulos
5dc8cbcefc websocket: expose Connection#Write in favor of https://github.com/kataras/iris/issues/976
Former-commit-id: 74cba9b2bfb4d5cc874eba3330dc9c7bad2ffac5
2018-04-25 13:40:40 +03:00
Gerasimos Maropoulos
59f138963b fix https://github.com/kataras/iris/issues/975
Former-commit-id: 752a788263f8bd9219690b3b63b1183546fb91e5
2018-04-25 13:10:27 +03:00
Gerasimos Maropoulos
b22151d4b7 Update to version 10.6.1 | Re-implement the BoltDB as built'n session database and more. Please read the HISTORY file for further details
Former-commit-id: fa68a914bec5fe4f595bdeaea84ecab6374ba643
2018-04-25 05:29:19 +03:00
Gerasimos Maropoulos
cfe484f769 Update to Version 10.6.0 and add Video Courses section at READMEs
Former-commit-id: 2a6bf807b989e6b3d02ec6d1d46b42953507535e
2018-04-22 16:22:24 +03:00
Gerasimos Maropoulos
06c17bc8bb sessions: add OnDestroy event, relative to: https://github.com/kataras/iris/issues/969
Former-commit-id: de9ad83a663f44d62dbb7520595cacb21a7f694a
2018-04-22 14:13:40 +03:00
Gerasimos (Makis) Maropoulos
6862501f7f Merge pull request #964 from Chengyumeng/fix/cookie
fix when destroy session can't remove cookie in subdomain

Former-commit-id: 5caf0fa5d92f53ba7b744dc1b3b7d47f688a96db
2018-04-22 14:01:48 +03:00
Gerasimos (Makis) Maropoulos
e09a7e32ed update to use the formatCookieDomain
Former-commit-id: eb1f56c33dbf56bdc9d9e8df5f3f4915ff3cec42
2018-04-22 14:00:08 +03:00
Gerasimos (Makis) Maropoulos
d4c20b8e2a update cookie.go to be aligned with quality standars
Former-commit-id: 54aea6a281106f60000645efc7f77ea04e72d7ac
2018-04-22 13:59:21 +03:00
Gerasimos Maropoulos
b62080c4bb Sessions are now in full sync with the registered database, on acquire(init), set, get, delete, clear, visit, len, release(destroy) as requested by almost everyone. https://github.com/kataras/iris/issues/969
Former-commit-id: 49fcdb93106a78f0a24ad3fb4d8725e35e98451a
2018-04-22 13:52:36 +03:00
Gerasimos (Makis) Maropoulos
f113872b7d A better http_responsewriter/stream-writer example, see SSE example for server-side events
Former-commit-id: 635cadf6bac376c2b7b805523ab8d9d6472a5502
2018-04-21 20:46:16 +03:00
Gerasimos (Makis) Maropoulos
4ccf31eb44 Merge pull request #972 from wozz/patch-1
Fix open redirect

Former-commit-id: c2f89d48d6fd1e0b96f057d32cff58147b83b5f0
2018-04-21 13:04:20 +03:00
wozz
21a31afb55 Update handler.go
Former-commit-id: f6bd29025c97d04b058584fecb8e0fee91021cb1
2018-04-20 16:56:12 -07:00
wozz
923d151190 Fix open redirect
Fix open redirect by using strings.Trim.

Another option would be to use path.Clean similar to here, but I'm unsure of side effects that may have for this use case: https://github.com/golang/go/blob/master/src/net/http/server.go#L2034

See a PoC of this issue with this link: https://iris-go.com//google.com/

Former-commit-id: fa422e436353a7e0699f0b346f3679455c5d965b
2018-04-20 16:49:30 -07:00
Chengyumeng
bb59ad8cf2 change code duplication from update/delete cookie
Former-commit-id: 87980f8ca6dc61a4fc3d722b90967154a74afc91
2018-04-13 19:06:24 +08:00
Gerasimos Maropoulos
cb69df2ccf Add a very simple usage-example for sending server side events
Former-commit-id: 6df287d915a772bcae3f2f98445676aba39a2bc6
2018-04-10 21:01:24 +03:00
Chengyumeng
8f32e991e8 fix when destroy session can't remove cookie in subdomain
Former-commit-id: 6ad05d62e03233c61a54f11c36867041ecba3f4d
2018-04-04 15:25:00 +08:00
Gerasimos Maropoulos
989cb3f045 update vendor
Former-commit-id: 8e7fca843e404d34fec071415191657ea554dd05
2018-04-03 13:07:23 +03:00
Gerasimos (Makis) Maropoulos
e9e2998538 Merge pull request #950 from Zeno-Code/master
Examples README_ZH.md

Former-commit-id: 3e1db0582142a6240921cfb303d31e0a45e96b87
2018-04-02 02:59:57 +03:00
Gerasimos (Makis) Maropoulos
b394f61326 Merge pull request #958 from meydjer/master
Fix article link

Former-commit-id: 2b2aa130d3b4a72b1244e39968dfa38f35249fea
2018-04-02 02:59:19 +03:00
Meydjer Luzzoli
cbb379d541 Fix article link
Former-commit-id: 7dc91a47b85bbc31333371cb9a1dac6ad7db53a8
2018-03-31 23:20:21 -03:00
Zeno-Code
4a3e97a9bd Update README_ZH.md
Former-commit-id: 8865a9b486dc56821f3505b25cc8764d641c21bf
2018-03-31 14:20:29 +08:00
Gerasimos Maropoulos
fbf2bd6480 core/router/supervisor:https ForceRSA to true
Former-commit-id: 86174563b57b142b1e70da6756a54b12b6d5e353
2018-03-31 06:38:30 +03:00
Zeno-Code
b7bf311058 Update README_ZH.md
Former-commit-id: 41af389366ad45114473df779111a8f698e5cfda
2018-03-30 19:18:18 +08:00
Zeno-Code
515fd82873 Update README_ZH.md
Former-commit-id: a0c4b2d627621bbd060bd861debcafa21c223710
2018-03-30 00:15:58 +08:00
Zeno-Code
61406dcbae Update README_ZH.md
Former-commit-id: b2392ff60de3fbf5d167cd2f16051ee6dd382948
2018-03-29 23:24:30 +08:00
Zeno-Code
37b5875ab0 Update README_ZH.md
Former-commit-id: 981f0266b25e92cb38d767288db3bed112d70399
2018-03-29 03:31:49 +08:00
Gerasimos (Makis) Maropoulos
502b4654d4 fix the bug of lost argument in log function caused by PR: #946
Former-commit-id: 80fc2b2ff2455c328bb49b9ddcee519cf8138be9
2018-03-28 17:16:29 +03:00
Chengyumeng
addf984ed3 fix the bug of lost argument in log function
Former-commit-id: 566a0c8bff8e77d5d12c1b4d10b3c69be0a962ba
2018-03-28 20:39:56 +08:00
Zeno-Code
2b0280b646 Update README.md
Former-commit-id: 86b6b483349c30211234626b91723a8f35d6a12f
2018-03-28 12:23:06 +08:00
Zeno-Code
58c9de3ab7 Update README_ZH.md
Former-commit-id: 61d8df659e22d518de09d4a35cdf93277b5bc3d6
2018-03-28 12:22:29 +08:00
Zeno-Code
a79496de6d Create README_ZH.md
Former-commit-id: 35656f423a935b9fe4c0f639bdcac591b98c4667
2018-03-28 12:21:17 +08:00
Zeno-Code
fbb3bb89f0 Update README.md
Former-commit-id: ea1325f29246fa90219344434f5bc7e9317e62db
2018-03-28 11:45:05 +08:00
Zeno-Code
bdd9948111 Merge pull request #13 from kataras/master
Up

Former-commit-id: 95b3b37813f27cb14c63cf82e61c5d85f45af820
2018-03-28 11:23:32 +08:00
Gerasimos (Makis) Maropoulos
cba023c51f Chinese Translation updates | merge pull request #945 from Zeno-Code/master
Former-commit-id: 443df63780fd9ab5f4b6e02d645ccb4af3fe9e6b
2018-03-27 10:08:13 +03:00
Gerasimos (Makis) Maropoulos
b579e89aaa add more information for access log merge pull request #946 from Chengyumeng/feature/logger
Former-commit-id: 91fbc9420c52287231a284aa8092764c7273e987
2018-03-27 10:06:29 +03:00
Gerasimos Maropoulos
fc0f27c4fc Do not create the global configuration in homedir by-default, as, correctly, requested on chat. Use iris.WithGlobalConfiguration with a pre-defined iris.yml file on your home directory, existing users will not have any issues, new one will have to create the file before
Former-commit-id: 033f7e96693b13f87b44b445ed166328fea6e0a0
2018-03-27 09:59:29 +03:00
Chengyumeng
edc24d529f add more information for access log
Former-commit-id: 60517837c5bfdb2d879909c4b413e83cbd10321a
2018-03-26 15:50:33 +08:00
Zeno-Code
dfe6b3fa1e Update HISTORY_ZH.md
Former-commit-id: f1d0611883032242f673c09b901bc87c95464f55
2018-03-24 18:24:06 +08:00
Zeno-Code
042a82a4aa Merge pull request #12 from kataras/master
merge

Former-commit-id: 3edcae11226c25f90064a3d5f4ab28787234f881
2018-03-24 18:02:26 +08:00