speedwheel
50164f082c
new handlers for client (i.e browser) catching: cache.NoCache and cache.StaticCache including tests
...
Former-commit-id: 18975297c8b96c7f9d5ff757f92051f6b10933c1
2018-03-17 06:15:13 +02:00
Gerasimos Maropoulos
bc45e6444c
Cleanup of some old code
...
Remove the StaticCacheDuration unused package-level variable from context/context.go and /core/router/api_builder.go it should be removed a year ago, now all the cache funcs and middlewares accept their own options | Remove duplicated header keys that are used on both context/context.go and core/router/fs.go by exporting context's one.
Former-commit-id: 2a5c840d26b32144d2b5b3173a1e4bb4324cecba
2018-03-17 02:27:25 +02:00
Gerasimos Maropoulos
7689e48132
Merge branch 'master' of https://github.com/kataras/iris
...
Former-commit-id: 901fb7a50f0d60962f5c7a317e41d65d8a0ee993
2018-03-16 12:39:36 +02:00
Gerasimos Maropoulos
8cec6a6f9b
remove any trailing slash that may passed on StaticEmbeddedHandler (although all examples shows the correct way but you never know)
...
Former-commit-id: 50ab9ddb2e738b4061622ac9ebcfec30e0cdecfa
2018-03-16 12:38:13 +02:00
Gerasimos (Makis) Maropoulos
75601979c5
Merge pull request #931 from hyhkjiy/patch-1
...
Update gzip_response_writer.go
Former-commit-id: 35d47ed1354ec72959c168563d43cdd63a269fdc
2018-03-16 12:33:24 +02:00
Gerasimos Maropoulos
87036fdb6c
add the new StaticEmbeddedGzip on the Party interface, it works within multiple levels like the StaticEmbedded, so why not
...
Former-commit-id: f62c863344a06277935730449d5466fecbc64993
2018-03-15 23:15:10 +02:00
Gerasimos Maropoulos
89022c7051
add some tests for the content type for the embedding files and gziped embedded files
...
Former-commit-id: b7fe470f33efcdf70df3e41ad880bbd4704cbb4a
2018-03-15 23:09:07 +02:00
Gerasimos Maropoulos
2d8652d7fb
fix miss content type occurred by commenting this on the previous commit
...
Former-commit-id: 3320cf863da92cb70f74b046a6a2475f83728932
2018-03-15 22:46:23 +02:00
hyhkjiy
0df0bb8052
Update gzip_response_writer.go
...
The Context.SendFile function Send file size more than 65536 byte with bug.
Former-commit-id: 5ad4c80eb20a7e6663fc460ec68e238dd45a918a
2018-03-14 19:46:55 +08:00
Gerasimos Maropoulos
56215eeb71
Release of version 10.4.0 - x8 faster embedded file server | Star and Read HISTORY.md
...
Former-commit-id: 4f8b8c95c1b107a9be3b1ef6835ece949a75ceb6
2018-03-14 07:17:35 +02:00
Gerasimos (Makis) Maropoulos
1e0c707366
Update Chinese Translation for version 10.3.0 via PR #928
...
Former-commit-id: d0edcc7dbcd112e22d963ea3b011c26674c57269
2018-03-14 06:30:57 +02:00
Zeno-Code
fbc811ad76
Update
...
Former-commit-id: 1dec0ab6da6e6d6ce9c11d36dafdf1d2f0aca798
2018-03-14 01:31:45 +08:00
Zeno-Code
06f75795bb
Merge pull request #10 from kataras/master
...
Update
Former-commit-id: 6c5ffc3c8f7a44929db41a7a7457a77cd1029f2d
2018-03-14 00:55:51 +08:00
Gerasimos Maropoulos
5e5e91e4bb
fix https://github.com/kataras/iris/issues/927
...
Former-commit-id: 7de62d36b7927d790f5af0c1e64713e0a78d12c5
2018-03-13 15:57:52 +02:00
Gerasimos Maropoulos
05b1e80e7f
add protobuf on sessions/sessiondb/badger/vendor and columnize at middleware/logger/vendor
...
Former-commit-id: 7fe5ce84ef9e9c5f46269ebde5dd0d8185ee74a6
2018-03-13 00:02:45 +02:00
Gerasimos Maropoulos
d61d509bc8
update Gopkg.lock and Gopkg.toml
...
Former-commit-id: 6f00ef74a8b96f0ecb5d1b1587a804f43e2d69c5
2018-03-12 23:43:23 +02:00
Gerasimos Maropoulos
ee37850acd
Merge branch 'dev'
...
Former-commit-id: a54a49c60a465e76ea6a2a707f7a54b09fdc0ca5
2018-03-12 23:39:42 +02:00
Gerasimos Maropoulos
d07391df78
Update the golang.org/x/sys vendor
...
Former-commit-id: 85d90c202236cb32b9a4feb4436ecf0dc713a633
2018-03-12 23:36:53 +02:00
Gerasimos (Makis) Maropoulos
4985d5a58b
Merge pull request #925 from mcsakoff/websocket
...
Handle non-WS connections in WS handler with no panic
Former-commit-id: fcfdea392d93668f66a4af7a4d93ea9fd7d7c6ef
2018-03-10 19:52:41 +02:00
Alexey McSakoff
6c9e3c69ff
Handle non-WS connections in WS handler with no panic
...
Former-commit-id: f56665ee444bd16258edf6a34606efc132eced5a
2018-03-10 19:31:40 +04:00
Gerasimos Maropoulos
c746d631d7
Update to version 10.3.0 | Read HISTORY.md
...
Former-commit-id: 10a0663cdf518dcf35290f18dfdc1eb69ea4a127
2018-03-10 15:13:07 +02:00
Gerasimos Maropoulos
4993918a12
remove the complicated fallback handlers, that didn't work and not approve the coblexity addition of the https://github.com/kataras/iris/pull/919 , RouteExists accepts first argument the Context, add new AllowMethods per party and fix cors by 048e2be034
https://github.com/kataras/iris/issues/922 , rel: https://github.com/iris-contrib/middleware/issues/36 , https://github.com/iris-contrib/middleware/issues/34 , https://github.com/iris-contrib/middleware/issues/32 , https://github.com/iris-contrib/middleware/issues/30 , https://github.com/kataras/iris/pull/909
...
Former-commit-id: 5576c44b64014fb00dd79e618b815b5f52b705e4
2018-03-10 14:22:56 +02:00
Gerasimos Maropoulos
1165b4527a
fix https://github.com/kataras/iris/issues/921
...
Former-commit-id: f8560514a7b48f83121ddd21d74b4016af4e1b67
2018-03-08 20:55:58 +02:00
Gerasimos Maropoulos
83c4b7f52d
add examples for read using custom decoder per type, read using custom decoder via iris#UnmarshalerFunc
and to complete it add an example for the context#ReadXML
.
...
Former-commit-id: 536b1780f12d0b9d9ce9aa976a0f95f18634ec2d
2018-03-08 05:21:16 +02:00
Gerasimos Maropoulos
1a4803307d
Add one more example for custom router macro functions, relative to https://github.com/kataras/iris/issues/918
...
Former-commit-id: 457c1a94dc8d93e614e9da70e1ec2482fe0c5765
2018-03-05 20:09:30 +02:00
Gerasimos Maropoulos
5c2edeebec
add go 1.10 in travis (Tip for other project managers: note the quotes, otherwise travis will act like go1.1 instead of go1.10)
...
Former-commit-id: cf687301a86aab2ae8e8b198f4425234687ef4e3
2018-02-25 12:59:09 +02:00
Gerasimos (Makis) Maropoulos
bcd9a1bb17
Add wrappers for Pongo's AsValue() and AsSaveValue() by @neenar via PR: https://github.com/kataras/iris/pull/913
...
Former-commit-id: 06c4e4d849e994a8493308a8c33bd9f5e2c0eecc
2018-02-25 12:15:47 +02:00
Gerasimos Maropoulos
b20933e0bb
upgrade go-bindata link to the most maintainable one
...
Former-commit-id: 58d5253b3332acef480d36f0cf716f2ad6b1c09e
2018-02-25 12:14:49 +02:00
Alexey McSakoff
a1aa1b66c6
Add wrappers for Pongo's AsValue() and AsSaveValue()
...
Former-commit-id: 642c8709b7566dbe5827759155167ec4d82212e3
2018-02-25 12:28:17 +04:00
Gerasimos (Makis) Maropoulos
d7beb9a752
Add a missing call for fallbackHandler
in _examples/routing/fallback-handlers/main.go by @ZaniaDeveloper via PR: #911
...
Former-commit-id: 94ae5849e16538a4bc7f906c52ed7603c7ae01f6
2018-02-23 15:20:53 +02:00
ZaniaDevelopper
abb10e9cbf
Add a missing call for fallbackHandler
...
Former-commit-id: a1ce94b39d326657cdbce34276477c34752f0000
2018-02-23 09:24:35 +03:00
Gerasimos Maropoulos
a1232c9a9a
_examples: replace DELETE string with iris.MethodDelete, for important changes see: https://github.com/kataras/iris/pull/909 and 6de64d517e
[formerly 35dd2ab80b69a5bea6f35f58e636bc11229d9921]
...
Former-commit-id: d0f5785aff289b8c140e4f253eb555135e79603d
2018-02-23 04:25:12 +02:00
Gerasimos Maropoulos
6de64d517e
New: context#NextOr && context#NextOrNotFound and some performance improvements on the awesome https://github.com/kataras/iris/pull/909 pushed a while ago
...
Former-commit-id: 35dd2ab80b69a5bea6f35f58e636bc11229d9921
2018-02-23 04:06:05 +02:00
Gerasimos (Makis) Maropoulos
eeac8ccdbd
NEW Feature: Fallback handlers by @ZaniaDeveloper via PR: #909
...
Relative: https://github.com/kataras/iris/issues/884 and https://github.com/iris-contrib/middleware/issues/32
Former-commit-id: 5d79d9fbb5792521ee707ba513cb40681438ea6f
2018-02-23 02:24:14 +02:00
Gerasimos (Makis) Maropoulos
9bfa0fb52b
fix a typo by @aermolaev via PR: #910
...
Former-commit-id: 4cf236d03fa8e120b650367aaab15c9bac4ce9d3
2018-02-23 02:16:25 +02:00
Gerasimos Maropoulos
86bb29ed14
remove unnecessary reflection usage on context#UnmarshalBody
...
Former-commit-id: a7dc78027c5647b3b21098808f360a536d8b9438
2018-02-23 02:15:38 +02:00
Alexander Ermolaev
8517904bcf
fix a typo
...
Former-commit-id: 8b8e3eaff43019fc0503708e8bc33a2fdb6f1496
2018-02-22 18:25:56 +03:00
ZaniaDevelopper
1196680004
Add comment in example
...
Former-commit-id: 2b9d7a569ed4c5d78cd5dd49865df1cf381619fc
2018-02-21 15:19:09 +03:00
ZaniaDevelopper
7a29519c5a
Fixes bad copy/paste
...
Former-commit-id: 437b60bc6b37d8a755198fb97809c61b9c18004e
2018-02-21 14:48:09 +03:00
ZaniaDevelopper
643358d7cb
Modification
...
- Add configurator for Party
- Modification for CORS middleware example
Former-commit-id: f01c01d4eac41666a92890461851909a6ade018b
2018-02-21 14:22:17 +03:00
Frédéric Meyer
72b096e156
Add fallback handlers
...
Former-commit-id: f7e9bd17076a10e1ed1702780d7ce9e89f00b592
2018-02-21 12:27:01 +03:00
Frédéric Meyer
66209cae4f
Save
...
Former-commit-id: 592e9cddf3511fc08e87f19ad39fdaac479b453f
2018-02-21 08:18:53 +03:00
Gerasimos (Makis) Maropoulos
c0e0886cb9
Update Chinese translation for HISTORY_ZH.md by @Zeno-Code via PR: #907
...
Former-commit-id: dbc5de02c6f8e6f692c25a8a41f6c0b60b58324b
2018-02-15 19:18:32 +02:00
Zeno-Code
9b780eb0fd
Update HISTORY_ZH.md
...
Former-commit-id: 5071c14972340152b0e1c7cd8af52ba33d2d595d
2018-02-15 21:37:47 +08:00
Zeno-Code
e0b5a6f820
Merge pull request #9 from kataras/master
...
Update
Former-commit-id: 88f54d55e219f60348588107444e0bfb6a306bb6
2018-02-15 21:33:13 +08:00
Gerasimos (Makis) Maropoulos
d4993e6a3f
Update to version 10.2.1 - fix StaticEmbedded & StaticWeb when served from a subdomain. Read https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-february-2018--v1021
...
Former-commit-id: 9bc3ed63fadbb4fb38abef06115b5d6d760256f0
2018-02-15 13:01:13 +02:00
Gerasimos (Makis) Maropoulos
ffc3ec86ae
README.md: change the link of 'learn by examples' to the https://iris-go.com/v10/recipe , the page there is always up-to-date with the _examples folder of the repository, automated.
...
Former-commit-id: 51db560d5d542662accb7cd894a944abddb052f7
2018-02-12 06:10:57 +02:00
Gerasimos (Makis) Maropoulos
fce7959424
remove old deprecated code from previous version, no need to keep backward compatibility, it was two months ago v10.0.0 released so we should be ok now
...
Former-commit-id: 81ac9d4913e78154b4bb74a01ce707b510e674ec
2018-02-12 06:03:15 +02:00
Gerasimos (Makis) Maropoulos
7fd8baea75
README.md: make backers visible on the top of the page, replaced the prev api to the https://iris-go.com/backers.svg in order this to happens
...
Former-commit-id: 093f11d05fe9556c79de2cb2886e5d0569f27336
2018-02-12 04:04:46 +02:00
Gerasimos (Makis) Maropoulos
64b26e1211
Update Chinese translation on HISTORY_ZH.md by @Zeno-Code via PR #904
...
Update Chinese translation
Former-commit-id: 07fe4ee54139587a9066a58ace5de95168e1283d
2018-02-11 22:24:52 +02:00