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
Gerasimos Maropoulos
66d367b255
Update to version 10.5.0 | Read HISTORY.md for more
...
Former-commit-id: 41b1947aafa258d342bbf9d22baeecc946d198a4
2018-03-24 10:39:44 +02:00
Gerasimos (Makis) Maropoulos
2955edd81c
Merge pull request #939 from StefanPahlplatz/patch-1
...
Fixed a typo
Former-commit-id: 5208cc634d069f373d282663a001937bb657390b
2018-03-24 03:10:49 +02:00
Stefan Pahlplatz
5aba0d0ff4
Fixed a typo
...
Former-commit-id: 4d3a281839fe2dc72d1cb67af0f6d3b04782968e
2018-03-22 12:02:22 +01:00
Gerasimos (Makis) Maropoulos
1a2af3ccac
Update Chinese translation, merge pull request #936 from @Zeno-Code
...
Former-commit-id: 12fac905886481825ebdc97763546ee2ce531d85
2018-03-21 09:01:13 +02:00
Gerasimos (Makis) Maropoulos
9bd70d7c91
Merge pull request #938 from kataras/dev
...
misspell fixes
Former-commit-id: 3becabe965f0e92f41ae65a63e2d8f8e7bc9937b
2018-03-21 09:00:23 +02:00
Gerasimos Maropoulos
ff41c672ce
misspell fixes
...
Former-commit-id: 7efa2d8641d8fc324231989cbfcc0905f1d90009
2018-03-21 08:59:37 +02:00
Zeno-Code
194b7c8ad9
Update HISTORY_ZH.md
...
Former-commit-id: 3b2e3d46dd35192234408edbf1617be6cb234ce6
2018-03-19 10:19:41 +08:00
Zeno-Code
8973565acb
Merge pull request #11 from kataras/master
...
.
Former-commit-id: 5c2fc434d0dfb1371753db2b229998a397761990
2018-03-19 09:58:25 +08:00
Gerasimos (Makis) Maropoulos
7b2409fc7f
New middlewares for various client cache methods that can speed your pages even more
...
Former-commit-id: 243a625144fc52255ed21474055f52dd5b33d257
2018-03-18 14:33:15 +02:00
Gerasimos Maropoulos
8e9deec4ab
Add one more browser (and 304 server) cache method using ETag and If-None-Match headers
...
And replace the 'ctx.WriteWithExpiration' with simple 'ctx.Write' at 'StaticEmbeddedHandler' of core/router/fs.go, now that we have plenty of options for client cache give the end-dev the oportunity to use them or not on static embedded handlers
Former-commit-id: 9c9e2f3de3c5ad8c9e14e453b67e6b649b02bde8
2018-03-18 11:55:05 +02:00
Gerasimos (Makis) Maropoulos
fae3906587
Add some useful middlewares for browser caching
...
By @speedwheel via PR #934
Former-commit-id: 653815c2ef09039ee2a867ec1d95d984997a179a
2018-03-17 17:12:48 +02:00
speedwheel
46453ff522
fix import path order, guidelines of iris
...
Former-commit-id: 4c938dd13691b8f753a7d1b00a6fa2da56ad4e99
2018-03-17 06:19:49 +02:00