Commit Graph

2834 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
f54dc697cc More on Transactions: iris.UseTransaction and iris.DoneTransaction. See HISTORY.md 2016-12-16 10:20:05 +02:00
Gerasimos (Makis) Maropoulos
48e770dab0 Update to 5.1.1 - Addons for the last feature, Transaction scopes. Read HISTORY.md
Read HISTORY.md and example here:
github.com/iris-contrib/examples/tree/master/transactions
2016-12-15 17:16:17 +02:00
Gerasimos (Makis) Maropoulos
c6b6ebf757 Fix the readme TODOs syntax. Read HISTORY.md for v5.1.0
Simple proof-of-concept example of request-scoped transactions here:
https://github.com/iris-contrib/examples/blob/master/request_transactions/main.go
2016-12-15 15:26:06 +02:00
Gerasimos (Makis) Maropoulos
65980d3363 New Feature: Request-Scoped Transactions
Example:
https://github.com/iris-contrib/examples/tree/master/request_transactions
2016-12-15 15:14:48 +02:00
Gerasimos (Makis) Maropoulos
1ff949b357 Test code: nothing special here, remove the getRandomPort and use getRandomNumber for all 2016-12-14 11:57:07 +02:00
Gerasimos (Makis) Maropoulos
baec4d0fff Update Donations 2016-12-13 09:36:53 +02:00
Gerasimos (Makis) Maropoulos
dba1256d71 Remove the TestCache from tests, no need here. 2016-12-13 08:53:55 +02:00
Gerasimos (Makis) Maropoulos
5ba6ccf365 Qualify the quality repository report tool 2016-12-13 08:41:30 +02:00
Gerasimos (Makis) Maropoulos
731e64eae9 test code again: nothing speicial remove, finish with dublicated code remove actions 2016-12-13 08:09:27 +02:00
Gerasimos (Makis) Maropoulos
bb52d17ef5 test code: nothing special, just random some of the real ports 2016-12-13 07:33:51 +02:00
Gerasimos (Makis) Maropoulos
8a861997a4 nothing special here 2016-12-13 07:12:58 +02:00
Gerasimos (Makis) Maropoulos
309b037e3b Update to 5.0.4 - Read HISTORY.md 2016-12-12 12:18:59 +02:00
Gerasimos (Makis) Maropoulos
424ede7258 Merry Christmas! 2016-12-11 07:50:03 +02:00
Gerasimos (Makis) Maropoulos
7fa368e1ce Update DONATIONS.md 2016-12-09 08:18:53 +02:00
Gerasimos (Makis) Maropoulos
0513fa745b Add test for Redirect while ListenTLS/ListenLETSENCRYPT 2016-12-04 06:53:08 +02:00
Gerasimos (Makis) Maropoulos
b62302d1d7 For unknown reasons I can't use desktop github yet, let's try this
I had the same gitignore for 4months+, github bug or .git ignored issues? lets test.
2016-12-04 06:41:23 +02:00
Gerasimos (Makis) Maropoulos
290a9cad3d Fix testing example README link
As requested here: https://github.com/kataras/iris/issues/543
2016-11-23 22:46:19 +02:00
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