Commit Graph

452 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
805ba56863 Update doc
Former-commit-id: c62184510b2ff88656eac7d81b66c3130f0eafc9
2017-02-16 22:11:42 +02:00
Gerasimos (Makis) Maropoulos
bef726894d Update doc.go add static files overview
Former-commit-id: 7a083200b13ebf3679b8c4495e5a8c29d20611db
2017-02-16 22:06:23 +02:00
Gerasimos (Makis) Maropoulos
1a69b19752 Update doc.go
Former-commit-id: b6d72ba79aa640fb61784eb2e0f4df2bf6150693
2017-02-16 21:50:59 +02:00
Gerasimos (Makis) Maropoulos
245d9a5e6f README: executable's overall file size between iris and a simple router
Former-commit-id: 19db08e5a0a37aa4ef3b92085939c5aba6eb22fa
2017-02-16 20:42:04 +02:00
Gerasimos (Makis) Maropoulos
155d3f2d87 Align doc.go
Former-commit-id: 65f2eb1a8bb7de832c854d78c6b245f8b7d7764b
2017-02-16 18:33:36 +02:00
Gerasimos (Makis) Maropoulos
5a1e9cd13f Align doc.go
Former-commit-id: 6d78bc5aec83ddeb15e068679ec1da33fd16e32e
2017-02-16 18:27:34 +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
26a5f9f3b0 Set the NewWebsocketServer's configuration to the user's station, these can be changed later. Preparing for writing the tests.
Former-commit-id: 5d5c19c08fbd5b1d13b79a279e1a230e438874c3
2017-02-14 20:56:23 +02:00
Gerasimos (Makis) Maropoulos
86f34dc5df Fix https://github.com/kataras/go-websocket/issues/27 on iris.v6 too
Former-commit-id: 29b1ea2ff313bdaeb719c242e08c5d5c9149156a
2017-02-14 20:32:36 +02:00
Gerasimos (Makis) Maropoulos
d2aee5e187 Add an example for gorillamux adaptor. Ref: https://github.com/kataras/iris/issues/588
Former-commit-id: ac5a00ca031950c103764fbb9ea2c3fa498252cb
2017-02-14 06:43:54 +02:00
Gerasimos (Makis) Maropoulos
4968fe353e I think my english are going better
Former-commit-id: a4218c54aa0d090873955bb660cecae0dc49f7fa
2017-02-14 06:12:33 +02:00
Gerasimos (Makis) Maropoulos
bcd7b3b169 Add the godoc link
Former-commit-id: b30646f1b5ebca23e336a44eeadcc52ef201085b
2017-02-14 06:01:15 +02:00
Gerasimos (Makis) Maropoulos
a3e694b9bd normalize the doc's routers
Former-commit-id: 81f7a7dbc228c18d10188c39088d34d4bb512282
2017-02-14 05:58:17 +02:00
Gerasimos (Makis) Maropoulos
48b5b1fb46 Remove canonical import path.
Former-commit-id: 411711856f85fbf306d8bd435dd76f94e51f83fc
2017-02-14 05:57:42 +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
2b2a205e63 Finally, full vendor. 200% times faster installations (-48% size reduced). Tested on a clean machine with just the iris folder and worked.
Former-commit-id: e441effe219c70ea6eac313049673f7643584c48
2017-02-14 05:51:29 +02:00
Gerasimos (Makis) Maropoulos
84f61f6b05 Look HISTORY.md for the 6.1.4 improvements. Fix sessions test expect a nil json instead of an empty. 2017-02-07 03:01:26 +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
84cd4ca6f4 Go v1.8 and the upcoming Iris version notes on HISTORY.md. 2017-02-05 20:26:40 +02:00
Gerasimos (Makis) Maropoulos
3430e24188 Fix iris run main.go not worked properly on some editors. Add notes for next version. Read HISTORY.md 2017-02-05 18:13:24 +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
a563b37ba1 Update README. 2017-01-28 11:39:50 +02:00
Gerasimos (Makis) Maropoulos
64a2c7581a Add a 'good' Overview section at the README. 2017-01-28 11:38:20 +02:00
Gerasimos (Makis) Maropoulos
73b8396cd6 https://github.com/iris-contrib/plugin/blob/master/cors/plugin.go#L28 2017-01-27 14:25:48 +02:00
Gerasimos (Makis) Maropoulos
4a903886e8 Update README 2017-01-26 09:50:26 +02:00
Gerasimos (Makis) Maropoulos
7dfb13cfbd Nothing special here 2017-01-25 22:19:06 +02:00
Gerasimos (Makis) Maropoulos
b7b77b62d3 Update DONATIONS.md 2017-01-18 13:56:55 +02:00
Gerasimos (Makis) Maropoulos
306a709c04 Add a tip with a link on how to change the default Router. Remove the comic, not everybody has houmor. 2017-01-14 05:17:46 +02:00
Gerasimos (Makis) Maropoulos
3782a2e679 Update README.md 2017-01-13 09:52:10 +02:00
Gerasimos (Makis) Maropoulos
fdb74b6865 Update README.md
Remove deadlink, add a header to the comic and add a new gif which leads
on a youtube video with iris' users comments
2017-01-13 09:36:52 +02:00
Gerasimos (Makis) Maropoulos
f380d710cc Update to 6.1.2 2017-01-13 05:57:46 +02:00
Gerasimos (Makis) Maropoulos
c73c2a00c3 Add a comic sketch 2017-01-13 02:13:02 +02:00
Gerasimos (Makis) Maropoulos
3489ba3365 Offling routing and prioritize others before static handlers https://github.com/kataras/iris/issues/585
Read HISTORY.md
2017-01-12 10:24:27 +02:00
Gerasimos (Makis) Maropoulos
c91a1e6628 |You will love this| New Feature: Offline routing, dynamic changes against a route's state | https://github.com/kataras/iris/issues/585
Read HISTORY.md for details
2017-01-12 08:28:30 +02:00
Gerasimos (Makis) Maropoulos
020e857b22 Update to 6.1.0 2017-01-12 00:57:07 +02:00
Gerasimos (Makis) Maropoulos
23f9ad13a1 Catch os.Interrupt signal with iris.PostInterrupt example added in comments.
https://github.com/iris-contrib/examples/tree/master/os_interrupt
2017-01-11 18:01:29 +02:00
Gerasimos (Makis) Maropoulos
5ad7c6e01f Update to 6.0.9: Add PostInterrupt plugin. Read HISTORY.md
- Add `PostInterrupt` plugin, useful for customization of the
**os.Interrupt** singal, before that Iris closed the server
automatically.

```go
iris.Plugins.PostInterrupt(func(s *Framework){
// when os.Interrupt signal is fired the body of this function will be
fired,
// you're responsible for closing the server with s.Close()

// if that event is not registered then the framework
// will close the server for you.

/* Do  any custom cleanup and finally call the s.Close()
remember you have the iris.Plugins.PreClose(func(s *Framework)) event
too
so you can split your logic in two logically places.
*/

})

```
2017-01-11 16:23:38 +02:00
Gerasimos (Makis) Maropoulos
c5f95ba78a Update donations 2017-01-10 18:29:38 +02:00
Gerasimos (Makis) Maropoulos
4246ef6980 don't write status code when the response writer was hijacked 2017-01-10 17:51:52 +02:00
Gerasimos (Makis) Maropoulos
acc3a0b9a3 Add a response recorder test to showcase its usage 2017-01-10 17:30:03 +02:00
Gerasimos (Makis) Maropoulos
3f74f61e26 Add more HISTORY/CHANGELOG as requested here: https://github.com/kataras/iris/issues/58 2017-01-10 17:14:19 +02:00
Gerasimos (Makis) Maropoulos
e6b967bbb7 Update to 6.0.8 2017-01-10 15:14:14 +02:00
Gerasimos (Makis) Maropoulos
e4ab993760 Nothing special here, read HISTORY.md 2017-01-10 15:03:02 +02:00
Gerasimos (Makis) Maropoulos
053588babd Update to 7.0.8 | iris.UseTemplateFunc -> Read HISTORY.md | Remove vendor folder because of: https://github.com/gavv/httpexpect/pull/34
Read HISTORY.md
2017-01-10 14:21:49 +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