Commit Graph

1113 Commits

Author SHA1 Message Date
Gerasimos Maropoulos
b20933e0bb upgrade go-bindata link to the most maintainable one
Former-commit-id: 58d5253b3332acef480d36f0cf716f2ad6b1c09e
2018-02-25 12:14:49 +02: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
Zeno-Code
4ac37ea2b7 Update HISTORY_ZH.md
Former-commit-id: 475608c8e80adcbfacc6d3ecbdf3199dcbefef49
2018-02-11 14:21:13 +08:00
Zeno-Code
a4e9a97ddf Merge pull request #8 from kataras/master
Update

Former-commit-id: 9b56b5916c1ced20d52ae34d085543b3fc953fbd
2018-02-11 12:49:58 +08:00
Gerasimos (Makis) Maropoulos
9cdae4ee67 Update to version 10.2.0. Read: https://github.com/kataras/iris/blob/master/HISTORY.md#th-08-february-2018--v1020
Former-commit-id: 2eb94ec0f565b80790784ac55af024429384b3d3
2018-02-08 14:04:39 +02:00
Gerasimos (Makis) Maropoulos
5d62b5d428 replace boltdb/bolt to coreos/bbolt for sessions/sessiondb/boltdb
Former-commit-id: 0451425be0550e6a6f0c430e036452b60e393789
2018-02-07 01:06:42 +02:00
Gerasimos (Makis) Maropoulos
1675203e5f Translate the latest HISTORY_ZH entry by @Zeno-Code via PR #900
Former-commit-id: fdca0fce85e45566a3061385e3f9e2511cbd4943
2018-02-07 01:05:22 +02:00
Zeno-Code
3f529f51a1 Update HISTORY_ZH.md
Former-commit-id: 0b1f368561aa1a186f498c82ead45276141a2529
2018-02-06 21:27:05 +08:00
Zeno-Code
592a48139f Update HISTORY_ZH.md
Former-commit-id: 1278a719396d391d330777a985d0b437e4917a14
2018-02-06 21:25:59 +08:00
Zeno-Code
19606c3d6e Update HISTORY_ZH.md
Former-commit-id: 749ae4bfef0467fa03e1c560c1cdf954d2d7ff17
2018-02-06 21:23:39 +08:00
Zeno-Code
ce7304fc37 Merge pull request #7 from kataras/master
Update

Former-commit-id: adaed6b2a5769b86ba0e1c91bd7baf6a2532c49d
2018-02-06 21:05:03 +08:00
Gerasimos (Makis) Maropoulos
5fa306d69d Update to version 10.1.0. Happy February to Everyone!!
Former-commit-id: 9c2a95f10c7299d21085d9d5cb4f1327f917123d
2018-02-06 12:38:02 +02:00
Gerasimos (Makis) Maropoulos
431e339ccc don't force-set content type on gzip response writer's WriteString and Writef if already there
Former-commit-id: c882a6ef14e89dd0da7a3a2afc85100ca07dc869
2018-02-06 11:55:56 +02:00
Gerasimos (Makis) Maropoulos
e523d08cb1 add websocket/Connection#IsJoined as requested at https://github.com/kataras/iris/issues/895
Former-commit-id: 560fc8b911a9c1352be577d2f7bebd1fac7b5d4a
2018-02-03 18:53:39 +02:00
Gerasimos (Makis) Maropoulos
711e48d9ab fix https://github.com/kataras/iris/issues/897
Former-commit-id: 6f94a79d9ce3ac9b2b05d1e2637059996a02df1d
2018-02-03 18:31:01 +02:00
Gerasimos (Makis) Maropoulos
019911237c add context#StatusCodeNotSuccessful for customize even the most customized clients that are not compatible with the standards and fix the SPA if static file serve handlers are passed as its AssetHandler as reported at the chat.iris-go.com
Former-commit-id: ccd0815a09b9305bfbeaad7b46559dd86f34f20b
2018-01-31 02:35:22 +02:00
Gerasimos (Makis) Maropoulos
e38ea65dc7 fix example comment on routing/dynamic-path/main.go#L101
Former-commit-id: affb9b646e83ab9087d4c84aac8c12e11468257b
2018-01-30 21:16:54 +02:00
Gerasimos (Makis) Maropoulos
999fefd649 Merge pull request #890 from kataras/dev
New Cache Middleware: iris.Cache304

Former-commit-id: 927ab75400aa43c3594c598b1e588defb019be2d
2018-01-28 15:45:44 +02:00
Gerasimos (Makis) Maropoulos
687477f210 fix comment on csrf example
Former-commit-id: c5c001cbc5381fb169429f132ea18c4fc7c76a42
2018-01-28 15:43:25 +02:00
Gerasimos (Makis) Maropoulos
969c2e87d4 add Cache304 as an alternative to the server-side kataras/iris/cache middleware - it can perform better with less server overheat but it comes with a cost of 304 instead of 200 so custom clients must make that check
Former-commit-id: b0ba68c528c870fe060e2825c35689771a1d3680
2018-01-25 16:19:45 +02:00
Gerasimos (Makis) Maropoulos
befb1f0c08 some major improvements to the (server-side) cache middleware and an example of a client-side responsibility cache
Former-commit-id: 93d3a7a6f163c6d49f315f86d10e63f7b1b1d93a
2018-01-25 15:09:24 +02:00
Gerasimos (Makis) Maropoulos
981322cfd2 no need to default the Configuration.RemoteAddrHeaders to a list of 'dissalowed' header names, the ctx.RemoteAddr() made unnecessary checks if no X-header was passed, even if they defaulted to false, this will not give a crazy improvement but it's a good practise
Former-commit-id: ba9ed1475a76489df16cac0ed87275b5604f2ad0
2018-01-25 06:31:05 +02:00
Gerasimos (Makis) Maropoulos
bf13f7648a add vscode extension link and badge | Some internal improvements (not completed yet)
Former-commit-id: 9bc94e90a2780ee81f8188509d98063fb3f2924b
2018-01-25 03:16:49 +02:00
Gerasimos (Makis) Maropoulos
243439af9d Corrected spelling from simmilate to simulate by @HintikkaKimmo via PR #883
corrected spelling for example docs

Former-commit-id: 79c2cd4f7f0c6b5396920bf13bd7da27fd51d457
2018-01-22 19:09:04 +02:00
Gerasimos (Makis) Maropoulos
4b4dbb04af add an app.View example for parsing and writing templates outside of the HTTP scope(context.View)
Former-commit-id: e65d8ece521c778dedf45cf2f522383c26b9901b
2018-01-22 15:42:19 +02:00
Kimmo Hintikka
d4b09987c4 corrected spelling for example docs
Corrected spelling from simmilate to simulate

Former-commit-id: f672aa340fd53119defa89da0d93757dc0b0152b
2018-01-22 11:04:33 +00:00
Gerasimos (Makis) Maropoulos
68acbf3f31 fix https://github.com/kataras/iris/issues/879 by @martinnagelberg
Former-commit-id: 171480e3cb0b172d8f28eb95a36c97f926836810
2018-01-21 07:14:51 +02:00
Gerasimos (Makis) Maropoulos
25918427bc support multi-level subdomains redirect, see previous commit for the SubdomainRedirect fast solution
Former-commit-id: bc5749e46d1ae65f9d17063f3d8f2ea72510a9d8
2018-01-20 14:54:04 +02:00
Gerasimos (Makis) Maropoulos
e176ff7b0c NEW: Application#SubdomainRedirect. Example: https://github.com/kataras/iris/blob/master/_examples/subdomains/redirect/main.go
Former-commit-id: d8dd7c426dc9f14c870f103fef703595a2915612
2018-01-20 05:17:31 +02:00
Gerasimos (Makis) Maropoulos
a4ff39df65 Chinese Translation Updates for HISTORY_ZH.md v10.0.2 from @Zeno-Code
Update chinese translation on HISTORY_ZH.md

Former-commit-id: 0e31f9d04b50a27e46553795856ce6fadd89f8cb
2018-01-17 12:50:20 +02:00