kataras
14e7751d21
SetImmutable
for sessions and context's values. https://github.com/iris-contrib/community-board/issues/5
...
New package "memstore" created, read it to see how I made it.
Former-commit-id: 9edc344b938786b2ef68defec03c44259a2d539c
2017-06-08 03:39:15 +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
40b9449ffd
Nothing important here 👽
...
Former-commit-id: eb2034a1078829472365eeb65884824a1be014c3
2017-06-05 03:35:44 +03:00
kataras
a2df3c9740
Fix django view engine and context.ViewData
...
Former-commit-id: e16a9ef0241f83c4b9a7ebd3b5b7663b33fb070a
2017-06-05 03:27:35 +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
esemplastic
3e5f61ff6b
Fix httpcache sub-package.
...
Former-commit-id: d0bf86713bda90ade130c93dcf04d9b26f1e4f08
2017-04-12 01:25:42 +03:00
Gerasimos (Makis) Maropoulos
7a6cf4c5aa
Add (10) more _examples. TOC: https://github.com/kataras/iris/tree/v6/_examples
...
Part 3.
Former-commit-id: 229b86baca4043c69517968318d9a962d2e026d0
2017-03-24 02:25:00 +02:00
Gerasimos (Makis) Maropoulos
221334f8cb
Readme Update
...
Former-commit-id: ed3f825945b51aa4cafd231c2ad7eb5fa1270852
2017-03-22 05:45:03 +02:00
Gerasimos (Makis) Maropoulos
0733ea37c0
Enhance the view engine's example for {{url ...}} and {{urlpath ...}} tmpl funcs for reverse routing.
...
Former-commit-id: ec3cda69e5cbe5a04842150011b3788b70055572
2017-03-19 02:06:15 +02:00
Gerasimos (Makis) Maropoulos
d51c0b7b50
Implement feature request: http://support.iris-go.com/d/29-mark-cookie-for-session-as-secure
...
Example:
app := iris.New()
app.Adapt(httprouter.New())
// IMPORTANT
cookieName := "mycustomsessionid"
// AES only supports key sizes of 16, 24 or 32 bytes.
// You either need to provide exactly that amount or you derive the key
from what you type in.
hashKey := []byte("the-big-and-secret-fash-key-here")
blockKey := []byte("lot-secret-of-characters-big-too")
secureCookie := securecookie.New(hashKey, blockKey)
app.Adapt(sessions.New(sessions.Config{
Cookie: cookieName,
Encode: secureCookie.Encode,
Decode: secureCookie.Decode,
}))
Former-commit-id: 6fe5ce6cb834d55862242e08405fad4e721caa5b
2017-03-18 12:22:20 +02:00
Gerasimos (Makis) Maropoulos
1f5a274cae
Nothing special yet: Readme updates and gofmt -s -w . (including vendor)
...
Former-commit-id: b275e55b7cd90392772c49f72e8ecd644bf0634c
2017-03-03 04:54:18 +02:00
Gerasimos (Makis) Maropoulos
a6fc0072ff
Organising kataras/go-fs. No api changes for these changes don't worry. See previous commit's description for more info.
...
Former-commit-id: 8af960e5e4e5f7c8816140ac912328b9c524370b
2017-03-01 19:17:32 +02:00
Gerasimos (Makis) Maropoulos
57aea4aa75
Move the kataras/go-serializer into one iris' file.
...
Start organising the kataras/go-*package which are relative to the Iris
project. The kataras/go-*package will be exists and their features will
be adapted to Iris every 2 months, as we say at readme, iris-relative
packages should be tested for a long time before adapted to Iris.
With this way we have stability, code readability(the developer can
easly navigate to iris' code without need to move across different
kataras/ projects).
Former-commit-id: db291faaf59d4f53f14ce5800fde805f56c8b802
2017-03-01 15:04:42 +02:00
Gerasimos (Makis) Maropoulos
064282036c
Helpers for third-party adaptors and middleware authors to generate route paths without even know the router that has being selected by user
...
Former-commit-id: b21147f2bc306d5c41539a1be0c83456c3d62651
2017-02-28 15:01:18 +02:00
Gerasimos (Makis) Maropoulos
b214df742b
Nothing special: when iris.DevLogger() used then group logs based on time.
...
Former-commit-id: 921e2d5baabd3d299f4a719ef0a0abd924bc3bc9
2017-02-28 05:37:53 +02:00
Gerasimos (Makis) Maropoulos
9597fab37c
Add error message when reverse routing using gorillamux happens before boot
...
Former-commit-id: 96dd812a16338824474ba1be0db18c486b2ebc0d
2017-02-18 08:18:09 +02:00
Gerasimos (Makis) Maropoulos
f83c7fb4e7
Fix history big mistakes, point links to /v6 tag only https://github.com/kataras/iris/issues/606
...
Former-commit-id: e0a7ce1a991e5d6600de6cc0a853ef8b1cb8d282
2017-02-18 07:22:57 +02:00
Gerasimos (Makis) Maropoulos
7263649002
Make ExecRouteAgainst to work better and fix gorillamux and httprouter, remove of contextlinker policy it's useless now
...
Former-commit-id: 8d3501e6c490d630d3a4bec0c077dcd7d532242f
2017-02-18 07:03:37 +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
48b470f5da
Add HTTP/2 Example and Websocket wss:// too in the same time :)
...
Former-commit-id: fd4c12043d6ed739770236e014ccd2f0f4f5a84c
2017-02-17 06:49:54 +02:00
Gerasimos (Makis) Maropoulos
929b00a24b
HTTP/2 Push https://github.com/kataras/iris/issues/565
...
Former-commit-id: 32af4dd8ef18a5fb2fa88aa8b87e71a594faa6f2
2017-02-17 04:57:51 +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
2a4997cadf
Add listen and proxy tests
...
Former-commit-id: 7c89556942af8e9c6966022323cb9746db446cfc
2017-02-17 02:55:26 +02:00
Gerasimos (Makis) Maropoulos
fa5b529634
Update readme
...
Former-commit-id: 825f79a9cc8eedb2026906ce28ebf795c7c0b158
2017-02-17 00:09:04 +02:00
Gerasimos (Makis) Maropoulos
a132e7cebc
Update README.md
...
Former-commit-id: 6f1ee755e36aeba65367a3ec276bd10d21d45343
2017-02-16 23:54:00 +02:00
Gerasimos (Makis) Maropoulos
155d3f2d87
Align doc.go
...
Former-commit-id: 65f2eb1a8bb7de832c854d78c6b245f8b7d7764b
2017-02-16 18:33:36 +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
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
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
73b8396cd6
https://github.com/iris-contrib/plugin/blob/master/cors/plugin.go#L28
2017-01-27 14:25:48 +02:00
Gerasimos (Makis) Maropoulos
7dfb13cfbd
Nothing special here
2017-01-25 22:19:06 +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
f380d710cc
Update to 6.1.2
2017-01-13 05:57:46 +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
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
Gerasimos (Makis) Maropoulos
5daa3d6fa7
Add iris.DestroySessionByID(string)
and iris.DestroyAllSessions()
as requested. Read HISTORY.md
...
c9d94b7b44
2017-01-08 06:18:02 +02:00
Gerasimos (Makis) Maropoulos
bcc35c11ca
Add iris.DestroySessionByID(string)
and iris.DestroyAllSessions()
as requested.
2017-01-08 06:11:50 +02:00
Gerasimos (Makis) Maropoulos
d060a73559
https://github.com/iris-contrib/gitbook/issues/30
2017-01-05 18:59:15 +02:00