Commit Graph

512 Commits

Author SHA1 Message Date
kataras
6c6c6b2885 Add xorm example
Former-commit-id: 89940d656398f0adab13b4cae921b645bab7894c
2017-08-11 04:11:20 +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
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
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
d664f3f0d6 Better documentation for the Application#Logger()
Former-commit-id: 7d70c7ffba9ae6a94b600b85b078714dd943a7da
2017-08-02 04:22:15 +03:00
Gerasimos (Makis) Maropoulos
351f099ad6 Merge pull request #693 from corebreaker/session-expiration
Fix up for sessions

Former-commit-id: 12b18902b4776335053b4d971ec564a9659a4c2d
2017-08-01 13:13:09 +03:00
corebreaker
ef979cf541 Little change of session API + Update examples
Former-commit-id: e8c58b186acf1c8932af6e886dae7035f4d581c1
2017-08-01 08:34:18 +03:00
kataras
8dc4779ef5 Add iris#ConfigureHost as an alternative way to interact with the app's hosts.
Former-commit-id: 5f36f44b86b70818c4c0c6ef7c178b550cc4ac46
2017-07-31 19:11:58 +03:00
kataras
4f2985cb4e Nothing serious yet, thinking new features with the team, post some to help us!
Former-commit-id: 5741c47230bd2f3b88bf9e943742418be664cfdd
2017-07-30 19:47:50 +03:00
kataras
8d2e7fc071 Notify on shutdown
Former-commit-id: 28d9475665e29aa34f7fe0fad31c2388c8fc9ea2
2017-07-29 04:39:30 +03:00
kataras
6432759dbf Give an easier and more permant solution for https://github.com/kataras/iris/pull/689
Former-commit-id: 8dc16d15f7bd14cb98b91b16d7d6b1bd756132bd
2017-07-29 04:27:58 +03:00
kataras
345e7280a1 Update to 8.1.0 - a new logger implemented as a solution for https://github.com/kataras/iris/issues/680
Former-commit-id: 765b43602655fad7f525ca7a5f7f297a6167d075
2017-07-26 15:30:20 +03:00
kataras
726d89fd1b fix https://github.com/kataras/iris/issues/683#issuecomment-317229068
Former-commit-id: a42c54708297e6fed78d6fdc2b7cd5ee91c9574b
2017-07-23 12:10:51 +03:00
hiveminded
6f8b802551 fix the listen-addr test fails on unix 1️⃣
Former-commit-id: a953a0bf2f843f6da5d062dc0bd6cd561b7b10b2
2017-07-22 23:10:20 +03:00
hiveminded
9a0b18acbf move sessions and websocket examples, gofmt, fix misspells and experimental optimizations 🍐
Former-commit-id: cae4f94bbd404d26ab13dade02b52f81feaddf24
2017-07-22 22:57:20 +03:00
hiveminded
feb1d264c0 add quicktemplate example. Iris + Quicktemplate made easy 👍
Former-commit-id: b17fb21d8c1d5a73f9f9170f49ae0527870377a1
2017-07-18 21:17:23 +03:00
kataras
093d087a68 Update to 8.0.4 | New: transfer a message to the request logger
Former-commit-id: 2bab3c9f28f7e9edd5d85e579349f70388af871d
2017-07-17 17:42:51 +03:00
kataras
56aa3de645 Update to 8.0.3 | Request logger improvements, error handlers improvements. Read HISTORY.md
Former-commit-id: fb5eca0dc955d8c07fdba35b47068008565dbbd1
2017-07-16 13:58:10 +03:00
kataras
5752625c80 Update to 8.0.2. Read HISTORY.md for the surpise
Former-commit-id: bbdf020ccaa986c332716aa7f749b7bdc24e427e
2017-07-15 17:40:29 +03:00
hiveminded
654d9e630d simplify omit server errors test code 🎶
Former-commit-id: 2fb491cb4bccc5e8164bb19acd209954f5abd50c
2017-07-14 06:54:20 +03:00
hiveminded
69a2b3c81e fix from configuration structure example link 📋
Former-commit-id: 73bcc8bf24a9e36e86efa1c06a498229a50653ff
2017-07-14 06:26:33 +03:00
hiveminded
8526217085 minor versioning
ion is the other iris-based web framework that my team manages but I forgot to change the following two names to iris back again.


Former-commit-id: 27b970ce281cd299dea0d3c7ce38699b10891a39
2017-07-14 06:19:58 +03:00
hiveminded
bde589f0a8 restore hello-world example for go1.9 👪
relative to https://github.com/kataras/iris/pull/673


Former-commit-id: 3df6becbb40b14c4073b99255c75537e5046ffe8
2017-07-14 01:19:14 +03:00
Christian Saiki
055f3442d7 Fixed context
Getting this bug

# command-line-arguments
./main.go:22: undefined: iris.Context
./main.go:29: undefined: iris.Map

Former-commit-id: b2db7da817e89d4c1d02f2f9b70f5fb3fb6ab34d
2017-07-13 14:44:05 -03:00
hiveminded
16ccb2edc4 omit errors received by the server via configuration 🍪 | requested by https://github.com/kataras/iris/issues/668
relative link: https://github.com/kataras/iris/issues/668


Former-commit-id: 6491abd68b74e18bf4ed0b32406e67597c9b55a9
2017-07-13 16:31:36 +03:00
hiveminded
ace439203d remove deprecated code from websocket/_examples/secure/main.go
Former-commit-id: 2eb8dff1ac0677473a5f26f938240106903ba336
2017-07-12 14:36:26 +03:00
kataras
4229e5859a Split in three the _examples/tutorial/url-shortener and add the link of the updated article
Former-commit-id: 23e21f5e6317c6f47f1ff8e0565480266d9006f5
2017-07-11 19:09:08 +03:00
kataras
9f85b74fc9 Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00
kataras
494ecdc323 Complete the HISTORY.md for the new v7.2.0
Former-commit-id: 0f2fe05ee0dd7239711284a241557282c8a740a4
2017-06-15 20:34:14 +03:00
kataras
e0128d204d Update to 7.2.0. Read https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-june-2017--v720
Fix https://github.com/iris-contrib/community-board/issues/12 .

Read more: https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-june-2017--v720


Former-commit-id: 398cb69fdc7e5367b147693371287ffb7b912feb
2017-06-15 20:02:08 +03:00
kataras
a10e80842f Update to 7.1.1. Read HISTORY.md
Fix https://github.com/iris-contrib/community-board/issues/11

Read the latest fixes and features by visiting: https://github.com/kataras/iris/blob/master/HISTORY.md


Former-commit-id: 7f35481f917673d0bbb356a4816d9cf54cc0c9ba
2017-06-13 09:06:10 +03:00
kataras
e4df35e351 Fix https://github.com/iris-contrib/community-board/issues/10 and upgrade the minor version number
Former-commit-id: 02f6656aceb890217bfc19688d7f45224df274ec
2017-06-12 18:23:35 +03:00
kataras
74989ad0a1 Remove internal/cmd/gen, it has no use for the end-developer.
Former-commit-id: 12bead9d379c6644e391c482fe71b2e88263376c
2017-06-11 23:58:34 +03:00
kataras
d031ad55b8 Update to 7.0.5 | Dynamic and static paths are not in conflict anymore.
Read more at: https://github.com/kataras/iris/blob/master/HISTORY.md


Former-commit-id: b636d25c141ebdd5ad095ae9271433876a96e7ff
2017-06-11 23:07:50 +03:00
kataras
5fa9789c35 Simplify the basicauth middleware
Former-commit-id: 8d184a434c992a884c5565bc22767ef295a1575a
2017-06-10 15:28:09 +03:00
kataras
dd26fbf26d move example flash-messages to sessions example folder and change httptest example with basicauth
Former-commit-id: 3c5f6c97629a2a6ae44e62f2900edd32c0329b50
2017-06-10 05:00:18 +03:00
kataras
f747c682b9 Add links for JWT & Cors examples
Former-commit-id: e33281d352841749638d68faa5fcb42d7473860b
2017-06-08 19:10:03 +03:00
kataras
a0dee3abdb Add link for the "community-maden" middleware
I did maintain and upgrade them because community is not evolved too much on these, but that's OK for now.


Former-commit-id: b811c133fbfb310834c67d78248f944e0a89c9a6
2017-06-08 15:19:04 +03:00
kataras
8b66c2de3b Add a trivial sessions example of SetImmutable.
https://github.com/iris-contrib/community-board/issues/5#issuecomment-307030072

Former-commit-id: 2d6267465cceeba31c96feba19f4851d4db7f7aa
2017-06-08 14:39:55 +03:00
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
5e00c50c37 Add OAuth2 integration example, have fun! https://github.com/iris-contrib/community-board/issues/4
Former-commit-id: e4f9dfbdfe16c9ca1ad84ac5a844a5d060fb3b5e
2017-06-07 22:14:13 +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
1bea8f5803 Start of the internal cmd
gen website examples is the first command that I should finish soon because we need it for the website's "Recipe" page. Two more html query-relative dependencies added.


Former-commit-id: 04b7f8bb968cbc3c441e2a09a4aa525b10cd4aca
2017-06-05 16:57:47 +03:00
kataras
4013577c53 add a hello-world example as we had before, we have overview too but it's a little larger and newcomers may afraid 👍
Former-commit-id: 459d70bb690844176177050e37c24e28587f343b
2017-06-05 01:01:58 +03:00
kataras
fd6e49c57e New Community Board, have fun
Former-commit-id: 84bdd3893da5ad28e918e4dc32d2657d27b0ed32
2017-06-04 21:24:05 +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
Slash
0bfd133763 if name has value, it will show "Empty name!!"
Former-commit-id: 58dd393a2c724aba8b7ffa0237ca9b0d7fdd5de1
2017-05-08 18:04:10 +03:00
Gerasimos (Makis) Maropoulos
9f4cea1e52 Fix missing view from intermediate/e-mail example.
Former-commit-id: 505b5f7c6e0f2e7cf5af973be779c85d2f1a9c63
2017-05-08 18:01:42 +03:00
Gerasimos (Makis) Maropoulos
2d3bd55dd5 Fix embedded template example link. ViewData and ViewLayout: HISTORY.md
Former-commit-id: 06ee0a5153be0394e0fcbd1206bf5868bda136f7
2017-03-28 08:04:31 +03:00
Gerasimos (Makis) Maropoulos
57576c70cb context.ViewData(key,value) and ViewLayout(layout) http://support.iris-go.com/d/27-using-middleware-to-inject-properties-for-templates/3
Nothing that you couldn't do before.


Former-commit-id: 658ec25d8045d25a76f87c8f992e67e64006e287
2017-03-28 07:53:57 +03:00
Gerasimos (Makis) Maropoulos
b7be15b34b Add an Internal Application File LoggerPolicy simple example
Former-commit-id: ac7bfd25c1302f9c304c888c28804a6f5a00328c
2017-03-24 13:00:55 +02:00
Gerasimos (Makis) Maropoulos
847a59386f _examples: Table Of Contents
Part 4.


Former-commit-id: 1c06fe7237aa862b31773f7ce10677f57cfe1d63
2017-03-24 02:51:10 +02:00
Gerasimos (Makis) Maropoulos
8fb9da038c Add "certification" files for the _examples/beginner/listen-tls example.
Former-commit-id: e3684139b6eb7084ee75aef8d2fa8d1062fb5760
2017-03-24 02:28:24 +02: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
7c5d7cae05 Add More Examples & Categorized in Folders & TOC
Part 2.


Former-commit-id: 3ccb7c259e86c0b6e5147d372aa9cff10c1b5bb1
2017-03-24 00:25:59 +02:00
Gerasimos (Makis) Maropoulos
55c250c93a Add More Examples & Categorized in Folders & TOC
Former-commit-id: ce4d711a75a4ba08ffab075e6baa88724725885b
2017-03-24 00:22:05 +02:00
Gerasimos (Makis) Maropoulos
73dc9adf10 Add an example for sessions + securecookie. Relative: http://support.iris-go.com/d/29-mark-cookie-for-session-as-secure
Former-commit-id: 10c30aabdf6b8fa59457ed8296b3e87108d3861c
2017-03-18 23:43:04 +02:00
Gerasimos (Makis) Maropoulos
549c8eba10 URL Shortener using Iris and BoltDB example
Former-commit-id: 059f5fcd6c1df8df11ed2594ee3c1b1ccc13c7b0
2017-03-14 14:54:04 +02:00
Gerasimos (Makis) Maropoulos
ac3abca684 Nothing special here, just split the static handler to a package-level func and per-route func (same as before)
Former-commit-id: 1912d85de84856c715dfa7b79d771cada1b638b9
2017-03-14 02:58:56 +02:00
Gerasimos (Makis) Maropoulos
f487cd0029 Add some _examples in the main repository too.
Former-commit-id: 98895c34115ec2076b431332f0ffe9645adf7590
2017-03-13 15:16:12 +02:00