Commit Graph

713 Commits

Author SHA1 Message Date
kataras
e12513a534 Update to 8.3.2 | Read HISTORY.md file
Former-commit-id: e6ab761989d596cb004c39e65e04e8968d9461ab
2017-08-22 13:00:24 +03:00
kataras
33e651866e Nothing in code | give a link to the just-published the new benchmarking article
Former-commit-id: 03b7ac158138ee9a56afc2969c59f789c8ce5792
2017-08-21 22:51:01 +03:00
kataras
3ec5ff58c9 Fix https://github.com/kataras/iris/issues/726
My second mistake on redis session db because I'm not personally use redis, so I'm waiting for redis users to find these type of errors inside it, such as @sy264115809


Former-commit-id: df84348df7509c0f863f41f01de6ed6db6e8133e
2017-08-21 20:59:54 +03:00
kataras
40f79c1f19 Kestrel vs Iris new benchmarks, as you asked for 👍
Former-commit-id: d8979e55679bbb586dd79a81a43e1c29082ad9c2
2017-08-21 16:17:32 +03:00
kataras
0c403fd0c6 .NET Core (no mvc) with Sessions vs Iris (no mvc) with Sessions
Former-commit-id: 04a9660645a824dfbc49414605aeff2b3ff88b55
2017-08-21 13:29:49 +03:00
kataras
14aa770869 minor session enhancements
Former-commit-id: be6503e9b12c138ccc4dbce415bf3fa301e454e7
2017-08-21 01:45:02 +03:00
kataras
996961dd86 fix redis sessiondb expiration
I don't know why I did add LifeTime.Second() back then, it was silly of me but didn't receive any reports except a commit comment 25 minutes ago, so we can assume that redis is almost "dead" nowdays. Thank you for the notice @sy264115809


Former-commit-id: 140caa2a42aa16b1e80905d24976c481eae24c69
2017-08-20 18:57:19 +03:00
kataras
4099bd15c1 Add .NET Core MVC with Templates vs Iris MVC with Templates
https://hackernoon.com/go-vs-net-core-in-terms-of-http-performance-7535a61b67b8

Former-commit-id: dabf2d23a2f8a341ded9fc87ced82300855e26a6
2017-08-20 10:42:31 +03:00
kataras
89d0d5c5de Update the benchmarks results as Scott Hanselman‏ and Josh Clark noted.
No such a difference (before: 8.61MB/s now: 8.91MB/s).

I think we can't do much more, I already removed the heavy parts on the first run... but still I'm open for any suggestions. Thank you for the feedback!


Former-commit-id: 0b0c8ba40c8380b530b6c77a5ee75ecfb4357f16
2017-08-20 06:53:15 +03:00
kataras
83614f1089 update recursively when new version is available
This would take more but it's safer approach for common usage.


Former-commit-id: 87e11d9ea6dbb0df438e91fb478ca08e1a631d31
2017-08-19 22:54:13 +03:00
kataras
9232d3f48e Add a note about .NET Core, although I am not C# guy anymore, still know more compared to other net developers out there...
Former-commit-id: 310c09a046ee94583de2be5b963896b00455c9da
2017-08-19 22:38:50 +03:00
kataras
8c1a4da804 Update to v8.3.1 | MVC: RelPath and RelTmpl implemented. Read HISTORY.md
Read HISTORY.md

https://github.com/kataras/iris/blob/master/HISTORY.md#sa-19-august-2017--v831

Former-commit-id: 23f7c1c0dc3bc64f27db591a9b22cd5934337891
2017-08-19 21:54:33 +03:00
kataras
27f0e0b4b1 add some articles and put the latest one first
Former-commit-id: 7743d6a7a66b3e927a308770cdf2d97ea68cf499
2017-08-19 08:02:49 +03:00
kataras
151e38d5c8 .NET Core vs Iris MVC vs Iris (classic API with Handlers)
No need to format using Writef on benchmarks for a simple string value without dynamic text, just use the WriteString which is the correct function for these apps.


Former-commit-id: 896ec514570d533d8da91af3ad199fc4f823fe74
2017-08-19 07:11:30 +03:00
kataras
ca4c66d5b4 .NET Core vs Iris MVC vs Iris (classic API with Handlers)
Former-commit-id: 19c71f41c0864d2f3f36627e9da53b4802a4476b
2017-08-19 06:06:05 +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
398d1e816c Push v8.2.6. More on new Iris Controllers: EndRequest optional function. Read HISTORY.md for more and don't forget to star if you'd love and learn what you see here
Former-commit-id: 96d496c4ecc98ff7aebe79485ef552e8a883208f
2017-08-14 16:23:10 +03:00
kataras
35620f6ecb Update to 8.2.6 | More on Iris Controllers: optional EndRequest. Read HISTORY.md
Former-commit-id: 5255ca5c4a898e2f3e7388f3af0457599e65f87f
2017-08-14 16:21:51 +03:00
kataras
8cd07719a6 Update to 8.2.5 | Say Hello to Controllers. Read HISTORY.md
Former-commit-id: 70f8619440497d132362da86c5187bcc57f8687b
2017-08-13 21:58:34 +03:00
kataras
2786ca1960 MVC Example - you can learn a lot | Asleep for your eyes (again)
Former-commit-id: cd66c00b29c903b724763cb84cae96426934acb5
2017-08-13 07:57:47 +03:00
kataras
39a24fb7cb Document https://github.com/kataras/iris/issues/720 and fix https://github.com/kataras/iris/issues/719 for good
Former-commit-id: 75b855bee9216c28ce8e1ff46aee467766c37f23
2017-08-13 01:47:19 +03:00
kataras
960ddb9f72 Push v8.2.4, it contains a bugfix for StaticWeb with gzip | Read HISTORY.md
Maybe we'll have to investigate it more some time, but for now I think we are ok, it's working as expected except the content-length canno be reported because we get the compressed size after the gzip writer.Write and we can't send headers after its underline writer which is the ResponseWriter, a solution for that is to use a temp bytes.Buffer but this will slow down the performance, users who need to know the size can use a temp writer instead for theirselves.


Former-commit-id: a4400ca5db526998a646fd5880ca67358fa72c0f
2017-08-12 09:08:42 +03:00
kataras
e00cf383a2 Vol2 : https://github.com/kataras/iris/issues/717, worked
Former-commit-id: f4a19eb83a28279782b8a75ee298b38c9e180157
2017-08-12 08:49:00 +03:00
kataras
71af9d7f45 untested solution for https://github.com/kataras/iris/issues/717 , waiting for respond before push the minor version
Former-commit-id: 6c7f36dde24f36f513b4a6f939a6d52c18c6c8ed
2017-08-12 07:02:56 +03:00
kataras
23faae3f43 POI
Former-commit-id: c572c183471871d5bc5f16bb4fa0551ff43a7a1e
2017-08-12 04:24:53 +03:00
kataras
6c6c6b2885 Add xorm example
Former-commit-id: 89940d656398f0adab13b4cae921b645bab7894c
2017-08-11 04:11:20 +03:00
kataras
85cfaa2874 Prev Commit: Update to 8.2.3 | Read HISTORY.md | Now: Improve version checker's messages
Former-commit-id: 2d773e9ef04ce4595167eb57784fc9113aeccab0
2017-08-10 21:34:05 +03:00
kataras
bf929aa557 Update to 8.2.3 | Fix https://github.com/kataras/iris/issues/714
Former-commit-id: 67ec32dd9ca5f228f56b2b73196cfa9c2ae94474
2017-08-10 21:15:26 +03:00
kataras
0e260897fb Add example for Google reCAPTCAA middleware. Prev Commit: Update to 8.2.2. Read HISTORY.md
Former-commit-id: 04f8d4b96336506f49c9b4285112d638f1e8dd97
2017-08-10 15:41:59 +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
e23f821341 fix websocket some times tries to emit to a disconnected client
Former-commit-id: 026798e6bc587c902bfc9f92281aced406d628a5
2017-08-09 13:31:56 +03:00
kataras
87d0f2e967 Add "Blogs" | Prev Commit: Update to 8.2.1 | LevelDB-based session database implemented, Read HISTORY.md
Former-commit-id: 1b7b288c1cf1d400f229794a33f3c049054f341f
2017-08-08 16:05:16 +03:00
kataras
056f9a9415 Update to 8.2.1 | LevelDB-based session database implemented, Read HISTORY.md
Former-commit-id: 4e341b185aedaaa9a04fdebe43b4364dec59e3c8
2017-08-08 16:00:34 +03:00
kataras
92d0b146df remove MaxAgeSeconds from redis sessiondb - now it derives from the sessions configuration automatically. Add option to use an existing BoltDB connection on boltdb sessiondb.
TODO: leveldb sessiondb

Former-commit-id: 8cb781bf089ab7b9a09dccc633454db9c6077610
2017-08-08 12:31:42 +03:00
kataras
48e352e1df Update to 8.2.0 | BoltDB session database, fix file sessiondb, faster, simpler and improvement Session Database API
Former-commit-id: 4034737a65b78a77277e4283fd9289c17f4a452e
2017-08-07 06:04:35 +03:00
kataras
36e6fb37b8 remove second "and" from sessions/sessiondb/file#SerializeBytes comment.
Former-commit-id: b648f43eb2827dbb682ef3aac7f99643a15619a5
2017-08-03 00:43:43 +03:00
kataras
94043bc117 Session DB File Storage: Catch and Log any error (i.e if access denied) as requested https://github.com/kataras/iris/issues/704#issuecomment-319804704
Former-commit-id: 6a96da0bde5ae8d999fc9c1e6af49db2a893a6d5
2017-08-03 00:38:17 +03:00
kataras
8a7e718bb1 Session DB file storage: https://github.com/kataras/iris/issues/702 example added
Tested on Windows and worked, waiting for more testers.


Former-commit-id: 2b5be0202c1124f424d2276948c3203677f26a56
2017-08-02 21:52:53 +03:00
kataras
d08c8aa1d6 Session database for file-storage https://github.com/kataras/iris/issues/702 using the latest API (Not tested on every OS, yet)
Former-commit-id: fb98f86f2a602d543ca1abb5281a30af96462c11
2017-08-02 21:18:37 +03:00
kataras
6fb90cfdb4 Implement a file-storage session database for https://github.com/kataras/iris/issues/702 (UNTESTED)
Former-commit-id: 7ca4183ee0602936d8270d6e7dac6bec3d3fa2b5
2017-08-02 20:53:17 +03:00
kataras
2b6af256fa Fix https://github.com/kataras/iris/issues/703
Former-commit-id: 54afc90ad3f04f7164916e34f692d68118bfa675
2017-08-02 20:37:13 +03:00
kataras
41bc0f40ba Add a link to help new gophers to learn how to convert their apps to Iris
Former-commit-id: 9117632d38b53bb67bd2a24d3f11938c14effa91
2017-08-02 15:36:56 +03:00
kataras
f143d506a0 Add support for fatal leveled logs via iris' logger
Former-commit-id: 99f6d55201a3f6f774be7f2b89c8244f82f846d8
2017-08-02 15:10:02 +03:00
kataras
6231f96d5f Add a note for the latest history entry written by @hiveminded , only go1.9 users can use reference to iris.Party
Former-commit-id: 8821d33c40e7e5fda80895703b2131db4ed7c83e
2017-08-02 14:31:34 +03:00
Gerasimos (Makis) Maropoulos
b848e2ebdc Merge pull request #699 from corebreaker/session-cookie-decoder-error
Sessions: Test decoded cookie for empty strings
Former-commit-id: 776e478b75d87b22723f6539ba15604eb0abee28
2017-08-02 13:43:58 +03:00
corebreaker
8fded5f86d Test decoded cookie for empty strings
Fixes up issue #698.
The input of `decodeCookieValue` is tested in case of there is an empty string, so then its output really reflect the validity of the input.
It takes in consideration that underlying decoder can unvalidate the cookie.

Former-commit-id: a82cccfe1c252c68ceeb4126ea43495fa2cdf96d
2017-08-02 09:40:54 +03:00
kataras
d664f3f0d6 Better documentation for the Application#Logger()
Former-commit-id: 7d70c7ffba9ae6a94b600b85b078714dd943a7da
2017-08-02 04:22:15 +03:00
hiveminded
516dc14b1a add vendor/CHANGES 📓
Former-commit-id: 2ec2acab408e6557c1cb9720f879a8b4bb60ac4a
2017-08-02 03:38:51 +03:00
Bill Q
1da255bfc9 Merge pull request #697 from j-lenoch/i18n-accept-language-header
Update i18n middleware and toolkit methods to support IETF and RFC2616.

Former-commit-id: 9926dafa40c422b4a6f8f859ca43cebebab3cd24
2017-08-02 03:32:42 +03:00