1
0
mirror of https://github.com/kataras/iris.git synced 2026-06-09 15:13:34 +00:00
Commit Graph

1967 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos 619a54a9f2 Fix an old issue https://github.com/kataras/iris/issues/355 2016-11-22 16:46:07 +02:00
Gerasimos (Makis) Maropoulos 163817bec4 Fix https://github.com/kataras/iris/issues/541 2016-11-19 10:16:07 +02:00
Gerasimos Maropoulos 8b88aabc05 Update to 5.0.2 - Cache(only) improvements
Cache - only improvements
2016-11-15 20:20:29 +02:00
Gerasimos Maropoulos 948eb2ecc1 Yesterday I refused a great offer. I hope for the better. 2016-11-13 22:17:11 +02:00
Gerasimos Maropoulos 7b2bcc19cd Fix url typo as reported here: https://github.com/kataras/iris/issues/531 2016-11-13 11:12:59 +02:00
Gerasimos Maropoulos 5e4db0e56b Update DONATIONS.md 2016-11-07 15:15:22 +02:00
Gerasimos Maropoulos 7efa206ec4 Update DONATIONS.md
Done: Hi, could you please use Damon Zhao instead of 赵 益鋆
2016-11-04 13:00:00 +02:00
Gerasimos Maropoulos ac58a95d2d Update the book link for the stable version
https://docs-v4.iris-go.com
2016-11-01 13:22:15 +02:00
Gerasimos Maropoulos 504006a7bb Add a link to the stable version on the Installation section 2016-10-31 21:21:11 +02:00
Gerasimos Maropoulos 32e3cbede1 Prepare for 4.0.0 gopkg.in for-ever package (All 20+ other repositories refactored) including gitbook and examples 2016-10-31 08:19:00 +02:00
Gerasimos Maropoulos 6f22da7622 Nothing special here, remote cache is not ready yet
Remote Cache is not inside docs or history because it's not ready for
production yet, however it seems to works fine, but until I test it on
more than 2kk requests I will not add this on history or docs. The
upcoming 24 hours I will upload a relative package which will combine
all cache features to one
2016-10-28 21:55:00 +03:00
Gerasimos Maropoulos 3243432d48 A small improvement to LETSENCRYPT and LETSENCRYPTPROD
just  an improvement to the `LETSENCRYPT` in order to meet your needs,
it lets you configure the cache file to any directory  or to disable it
by passing "" as the second argument.

**OUTLINE**
```
// ListenLETSENCRYPT starts a server listening at the specific nat
address
// using key & certification taken from the letsencrypt.org 's servers
// it's also starts a second 'http' server to redirect all
'http://$ADDR_HOSTNAME:80' to the' https://$ADDR'
// it creates a cache file to store the certifications, for performance
reasons, this file by-default is "./letsencrypt.cache"
// if you skip the second parameter then the cache file is
"./letsencrypt.cache"
// if you want to disable cache then simple pass as second argument an
empty emtpy string ""
//
// example:
https://github.com/iris-contrib/examples/blob/master/letsencyrpt/main.go
//
// supports localhost domains for testing,
// NOTE: if you are ready for production then use
`$app.Serve(iris.LETSENCRYPTPROD("mydomain.com"))` instead
ListenLETSENCRYPT(addr string, cacheFileOptional ...string)
```

**OVERVIEW**
```
package main

import "github.com/kataras/iris"

func main() {
iris.Get("/", func(ctx *iris.Context) {
ctx.Write("Hello from SECURE SERVER!")
})

iris.ListenLETSENCRYPT("mydomain.com", "./mycachefile.cache)
}

```
2016-10-28 21:21:57 +03:00
Gerasimos Maropoulos 7eb520fc6b [2] Continue working on #513 2016-10-28 11:13:12 +03:00
Gerasimos Maropoulos f634826346 Continue working on https://github.com/kataras/iris/issues/513 2016-10-27 10:37:52 +03:00
Gerasimos Maropoulos bbf74ce8f0 Update README 2016-10-27 03:41:49 +03:00
Gerasimos Maropoulos bb38bd7ccc Fix travis test 2016-10-27 03:31:11 +03:00
Gerasimos Maropoulos 606e824036 Fix travis test
On normal pc is running but travis slows things... so timing is not a
good idea to test, if that fails again I will remove this test from
github entirely.......
2016-10-27 03:28:28 +03:00
Gerasimos Maropoulos 539c62f954 Fix travis test 2016-10-27 03:23:50 +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 6d65c00423 Add some random articles happened to be fetched the last two weeks 2016-10-25 18:47:19 +03:00
Gerasimos Maropoulos ee9b153f6d gofmted -s 2016-10-25 16:49:57 +03:00
Gerasimos Maropoulos 78d145c207 Introduce version 5.0.1 2016-10-25 15:58:18 +03:00
Gerasimos Maropoulos 9958337e5d Fix and improve the iris cmd according to this: https://github.com/kataras/iris/issues/506 2016-10-23 07:20:39 +03:00
Gerasimos Maropoulos fc9cd0a8c2 Update DONATIONS | Thanks for your support! 2016-10-21 18:23:26 +03:00
Gerasimos Maropoulos 0f096b49a5 Format HISTORY.md for V4 LTS 2016-10-21 03:16:00 +03:00
Gerasimos Maropoulos 5c896b39a5 V4 LTS, check the HISTORY.md 2016-10-21 03:06:50 +03:00
Gerasimos Maropoulos fe71a8acbe Add donates to the top of the README, I really thanks you 2016-10-17 10:27:19 +03:00
Gerasimos Maropoulos 9bbbbf6769 StaticEmbedded: Do the actual work if cache duration passed
For StaticEmbedded example take a look at the HISTORY.md file
2016-10-17 04:43:31 +03:00
Gerasimos Maropoulos 1a913d45d4 Implement feature request for embedded assets
Example:
https://github.com/iris-contrib/examples/tree/master/static_files_embedded

Read HISTORY.md
2016-10-17 03:37:57 +03:00
Gerasimos Maropoulos 5ee987feb9 Fix plugin activation when this activates other (sub)plugins 2016-10-16 20:14:47 +03:00
Gerasimos Maropoulos 7e8c1e57d2 Nothing special, some linting 2016-10-16 17:13:49 +03:00
Gerasimos Maropoulos 6dbfc7ad1c Update the License to Apache Version 2 in order to be compatible 2016-10-16 17:05:10 +03:00
Gerasimos Maropoulos e5547f7102 Change the comments on MustRender , now it renders a message instead of panic 2016-10-15 20:57:52 +03:00
Gerasimos Maropoulos 89abc3349d Replace panic with a message when MustRender fails 2016-10-15 20:48:06 +03:00
Gerasimos Maropoulos 9a0ef4822c README: https://docs.iris-go.com link replacement for gitbook 2016-10-15 16:40:43 +03:00
Gerasimos Maropoulos 1ddd2e6528 Meetup with GoLang User Group. Happened yesterday. 2016-10-14 03:59:16 +03:00
Gerasimos Maropoulos 22b60d6871 Github https://github.com/blog/2111-issue-and-pull-request-templates 2016-10-14 03:52:03 +03:00
Gerasimos Maropoulos ee5dff96e3 For v4.6.0 - Remove unused testFramework from the previous commit
Read HISTORY.md for changes:
https://github.com/kataras/iris/blob/master/HISTORY.md
2016-10-13 17:28:23 +03:00
Gerasimos Maropoulos 157e3cf054 Push version 4.6.0, read HISTORY.md
Real commit is the parent, as usual
2016-10-13 17:25:50 +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 cd8a21c074 Update to 4.5.3, remove unused code, zero user changes 2016-10-13 04:08:45 +03:00
Gerasimos Maropoulos f2a7b4e43a Update to 5.4.3, zero user changes. 2016-10-13 04:02:04 +03:00
Gerasimos Maropoulos 26fdbd948e Update to 4.5.2, read HISTORY.md 2016-10-11 22:44:08 +03:00
Gerasimos Maropoulos 9bce4e846a Update to 4.5.2 2016-10-11 22:35:12 +03:00
Gerasimos Maropoulos 40b000c20f Update to 4.5.1 2016-10-11 14:10:19 +03:00
Gerasimos Maropoulos f46452a7ab Add newest articles that I could easly find 2016-10-10 18:52:27 +03:00
Gerasimos Maropoulos 110f28fda5 Fix HISTORY.md v4.5.0 entry's format 2016-10-09 21:13:52 +03:00
Gerasimos Maropoulos f66b7e2eab Update to 4.5.0 2016-10-09 21:09:53 +03:00
Gerasimos Maropoulos 14982891c5 Update to 4.4.9 2016-10-09 07:47:27 +03:00
Gerasimos Maropoulos aa0003eb68 Update to 4.4.8. Read HISTORY.md for more 2016-10-06 23:23:33 +03:00