Commit Graph

52 Commits

Author SHA1 Message Date
morihaya
057ea27f99 Fixed typo in comment
'iris.YAML("myconfig.tml")' -> 'iris.TOML("myconfig.tml")'


Former-commit-id: 6fe53f743520744447d503570993cb0f54b572d9
2018-09-03 00:49:02 +09: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
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
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
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
1b1661ed53 ok almost finished. We're good at deadlines eventually. Tomorrow at 23:59 an article will be published same time with the dev branch merge to master
Former-commit-id: 42c1bf88cedbddf3cc01366ab769139546902e71
2017-12-31 02:32:28 +02:00
Gerasimos (Makis) Maropoulos
64da28af8b one for today, one for tomorrow and ready :)
Former-commit-id: 2e0a335c84c1d9c57a61b7f3203e54f7cccd7dcc
2017-12-30 20:40:52 +02:00
Gerasimos (Makis) Maropoulos
90c825efc8 breaking change: remove static field context.DefaultMaxMemory and replace it with a better configurable option inside the main configuration, this makes things clear and it allows users to prevent any unwanted client behavior without digging into the framework's internals
Former-commit-id: 875afd32acfab8abdea15ce9be2ad384eb6bad5e
2017-12-27 20:42:46 +02:00
Gerasimos (Makis) Maropoulos
8dcbdc0741 performance close to handlers if no bindings but even if bindings except service (new feature is that we can bind functions as well) is x1.1 faster than the previous mvc implementation - make BaseController (so and C) optionally but not break the existing APIs that using iris.C or mvc.C
Former-commit-id: a26a8f836894c061e0f435df8ac1c2c534f0ee48
2017-12-13 06:17:28 +02:00
kataras
7723e438a1 able to share static configuration between multiple server instances based on the homepath+iris.yml file with iris.WithGlobalConfiguration configurator
Former-commit-id: 3e528a3d01eb36b4c0781149e52acffd4dc5cf9f
2017-11-07 01:40:56 +02:00
kataras
15feaf0237 Update to version 8.5.5 | Read HISTORY.md
Former-commit-id: dced7d472edabbab4f80c76051f13261928a8dea
2017-11-02 05:54:33 +02:00
Gerasimos (Makis) Maropoulos
c6a3b47573 fix https://github.com/kataras/iris/issues/772
Former-commit-id: 37fb93250c2ed48fcadb550d1444c77e4a89bce8
2017-10-03 04:54:46 +03:00
kataras
b96476d100 Update to 8.3.0 | MVC Models and Bindings and fix of #723 , read HISTORY.md
Former-commit-id: d8f66d8d370c583a288333df2a14c6ee2dc56466
2017-08-18 17:09:18 +03:00
kataras
4da5cd47f1 Update to 8.2.2 | Google reCAPTCHA. Read HISTORY.md
Former-commit-id: dc8ee74fa33b2fbc41659c9097955afb152d5a6f
2017-08-10 15:21:42 +03:00
hiveminded
be8295eb50 simple version checker ✌️
Former-commit-id: 077b9c9816211c84adda864a832acf8c1296eeaf
2017-08-09 17:12:24 +03:00
hiveminded
9a0b18acbf move sessions and websocket examples, gofmt, fix misspells and experimental optimizations 🍐
Former-commit-id: cae4f94bbd404d26ab13dade02b52f81feaddf24
2017-07-22 22:57:20 +03:00
hiveminded
0a4e80c744 add example link for IgnoreServerErrors https://github.com/kataras/iris/blob/master/HISTORY.md#th-13-july-2017--v801 🔉
look for details at https://github.com/kataras/iris/blob/master/HISTORY.md#th-13-july-2017--v801


Former-commit-id: 9466a2a6e697f17e5b47cb7cacec087c745af146
2017-07-13 16:38:35 +03:00
hiveminded
16ccb2edc4 omit errors received by the server via configuration 🍪 | requested by https://github.com/kataras/iris/issues/668
relative link: https://github.com/kataras/iris/issues/668


Former-commit-id: 6491abd68b74e18bf4ed0b32406e67597c9b55a9
2017-07-13 16:31:36 +03:00
kataras
9f85b74fc9 Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00
kataras
6282a71a6f 7.0.1 - https://github.com/iris-contrib/community-board/issues/1 https://github.com/iris-contrib/community-board/issues/2
Read HISTORY.md


Former-commit-id: 82df2d266055818ffafe0ba66b58cf4ed9089922
2017-06-07 07:20:53 +03:00
kataras
5e4b63acb2 Publish the new version ✈️ | Look description please!
# FAQ

### Looking for free support?

	http://support.iris-go.com
    https://kataras.rocket.chat/channel/iris

### Looking for previous versions?

    https://github.com/kataras/iris#version

### Should I upgrade my Iris?

Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
> Iris uses the [vendor directory](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo) feature, so you get truly reproducible builds, as this method guards against upstream renames and deletes.

**How to upgrade**: Open your command-line and execute this command: `go get -u github.com/kataras/iris`.
For further installation support, please click [here](http://support.iris-go.com/d/16-how-to-install-iris-web-framework).

### About our new home page
    http://iris-go.com

Thanks to [Santosh Anand](https://github.com/santoshanand) the http://iris-go.com has been upgraded and it's really awesome!

[Santosh](https://github.com/santoshanand) is a freelancer, he has a great knowledge of nodejs and express js, Android, iOS, React Native, Vue.js etc, if you need a developer to find or create a solution for your problem or task, please contact with him.

The amount of the next two or three donations you'll send they will be immediately transferred to his own account balance, so be generous please!

Read more at https://github.com/kataras/iris/blob/master/HISTORY.md


Former-commit-id: eec2d71bbe011d6b48d2526eb25919e36e5ad94e
2017-06-03 23:22:52 +03:00
Gerasimos (Makis) Maropoulos
7b73f6b1d9 Add iris.TOML to load configuration from toml-syntax based documents.
Former-commit-id: f92dc5bcaa92ca13aaf892dc27829ae33907b387
2017-03-06 00:08:58 +02:00
Gerasimos (Makis) Maropoulos
42cf24fda2 Add a simple and pure .Regex middleware for routers that don't support regex route path validations out-of-the-box
Former-commit-id: 84cf1fb267e54543ad6d419b2ca39658b2773b58
2017-02-22 00:51:50 +02:00
Gerasimos (Makis) Maropoulos
9a3c4f4c0a Add an example for httprouter_test, gofmt everything and misspel fixes.
Former-commit-id: e69ffdf9bba4c7e8c3df45c015b3363cc3fc59b6
2017-02-17 10:45:47 +02:00
Gerasimos (Makis) Maropoulos
21a18d0990 Add the new Go 1.8 Shutdown | Remove DisableBanner, is controlled by LoggerPolicy now.
Former-commit-id: 6ef71a4b9f5a79160a42d1111dd924e244ce1f4e
2017-02-17 04:46:33 +02:00
Gerasimos (Makis) Maropoulos
1851d49b58 Set the yaml configuration fields identical to the original's Configuration fields. Update Readme
Former-commit-id: 2fa9f7985a16c5c292634d0140ee6b1959c04dbb
2017-02-16 18:14:55 +02:00
Gerasimos (Makis) Maropoulos
dd1d6837d9 Add the ability to use .yaml/yml files for the Configuration.
Former-commit-id: 0c49eb04d991aabf67970fe7f7b3ed969a36a708
2017-02-16 05:00:08 +02:00
Gerasimos (Makis) Maropoulos
40b62f2958 gofmt everything, even the vendor.
Former-commit-id: c2bf34c63b5cc6c974ce2b3bcf04bb1c9b77efaf
2017-02-16 03:26:02 +02:00
Gerasimos (Makis) Maropoulos
13e83fc57e SessionsPolicy and sessions adaptor, history and _example written.
Former-commit-id: e8b0dde3cb3b72919f01b9d836d8ccb3d4e20214
2017-02-15 20:06:19 +02:00
Gerasimos (Makis) Maropoulos
82afcc5aa6 Implement the websocket adaptor, a version of kataras/go-websocket, and refactor all of the previous websocket examples.
https://github.com/kataras/go-websocket/issues/27

Former-commit-id: 0b7e52e0a61150a8bba973ef653986d8b3ddd26b
2017-02-15 08:40:43 +02:00
Gerasimos (Makis) Maropoulos
244a59e055 20 days of unstoppable work. Waiting fo go 1.8, I didn't finish yet, some touches remains.
Former-commit-id: ed84f99c89f43fe5e980a8e6d0ee22c186f0e1b9
2017-02-14 05:54:11 +02:00
Gerasimos (Makis) Maropoulos
5aaec72634 Update to 6.1.4 - Align with the improved kataras/go-sessions 2017-02-07 02:37:35 +02:00
Gerasimos (Makis) Maropoulos
2a911a450c Add DisableBodyConsumptionOnUnmarshal configuration field as discussed on [chat](https://kataras.rocket.chat/channel/iris). Read HISTORY.md 2017-01-30 12:35:43 +02:00
Gerasimos (Makis) Maropoulos
e4ab993760 Nothing special here, read HISTORY.md 2017-01-10 15:03:02 +02:00
Gerasimos (Makis) Maropoulos
893271bf02 Update to 6.0.7 2017-01-10 08:54:39 +02:00
Gerasimos (Makis) Maropoulos
c476fe8921 Feature Request: *http.Request access from Websockets. iris.Config.Websocket.IDGenerator custom connection's ID generator added too.
Example:

-
https://github.com/iris-contrib/examples/blob/master/websocket/main.go#L34

Relative commits to kataras/go-websocket:
-
550fc8b32e

-
62c2d989d8
2017-01-09 06:23:49 +02:00
Gerasimos (Makis) Maropoulos
8bbd9f8fc5 Happy new year! Update to 6.0.0 | HTTP/2 full support. https://github.com/kataras/iris/issues/565
full commit from development branch.

Examples, book, middleware, plugins are updated to the latest iris
version. Read HISTORY.md for more.

The 'old' v5 branch which relied on fasthttp exists for those who want
to use it navigate there: https://github.com/kataras/iris/tree/5.0.0
2017-01-02 21:20:17 +02:00
Gerasimos (Makis) Maropoulos
309b037e3b Update to 5.0.4 - Read HISTORY.md 2016-12-12 12:18:59 +02:00
Gerasimos Maropoulos
7eb520fc6b [2] Continue working on #513 2016-10-28 11:13:12 +03:00
Gerasimos Maropoulos
d32ae1377c Implement Cache as https://github.com/kataras/iris/issues/513
I love coding unique Iris staff!!!
2016-10-27 03:17:09 +03:00
Gerasimos Maropoulos
122aab4083 Update to 4.6.0, read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-13 17:25:01 +03:00
Gerasimos Maropoulos
9bce4e846a Update to 4.5.2 2016-10-11 22:35:12 +03:00
Gerasimos Maropoulos
f66b7e2eab Update to 4.5.0 2016-10-09 21:09:53 +03:00
Gerasimos Maropoulos
716b5001da Fix https://github.com/iris-contrib/middleware/issues/13 2016-09-30 18:48:48 +03:00
Gerasimos Maropoulos
c2144a83c6 Update DONATIONS.md summary 2016-09-29 20:17:42 +03:00
Gerasimos Maropoulos
5c98c5a493 Update to v4.4.0 Implementation of https://github.com/kataras/iris/issues/438
Read HISTORY.md
2016-09-27 16:28:38 +03:00
Gerasimos Maropoulos
131eddb701 Ability to change the whole default router 2016-09-18 06:55:44 +03:00
Gerasimos Maropoulos
000dfbbee2 Update to 4.2.6, read HISTORY.md 2016-09-18 01:08:06 +03:00
Gerasimos Maropoulos
27f2ba7be9 Update DONATIONS.md summary & iris updater runs async unless CheckForUpdatesSync is true 2016-09-18 00:50:10 +03:00
Gerasimos Maropoulos
c818b9d4bf Implement a version checker, as requested here: https://github.com/kataras/iris/issues/401
Read the README.md
2016-09-16 10:02:18 +03:00