Gerasimos (Makis) Maropoulos
8b5c106d1c
NEW TUTORIAL: Writing an API for Apache Kafka with Iris: _examples/tutorial/api-for-apache-kafka. Hope you will enjoy it as I did the whole night:)
...
Former-commit-id: c88f5bbbe171e386c855b91be265b972caa3c1a8
2018-08-04 05:50:22 +03:00
Gerasimos (Makis) Maropoulos
f6160c61bd
add some of the _examples to the README, nothing crazy here
...
Former-commit-id: ec6e4dc3e986e476da99f840bc897324d03ba0d0
2018-08-03 13:45:05 +03:00
Gerasimos (Makis) Maropoulos
21e90ac4c5
examples: improve the server-sent events example with a table and javascript use...
...
Former-commit-id: 20a6dd0e62679b20fefb2f0a7819c158247a3ca1
2018-08-03 01:59:19 +03:00
Gerasimos (Makis) Maropoulos
5d9ded37c4
Add 'context.OnConnectionClose(callbackFn) bool' and 'context.OnClose(callbackFn)' and give a use case example. More on this path later on, stay tuned.
...
Former-commit-id: dc6580f072d076b8cb204a681e45905210981153
2018-08-02 17:46:35 +03:00
Gerasimos (Makis) Maropoulos
d98da25ffb
add a README note about the known issues for Go inside code editors/IDEs
...
Former-commit-id: a4be78e746f5675291bab5a1b3e62eaf42cbd98c
2018-08-02 01:58:46 +03:00
Gerasimos (Makis) Maropoulos
2b72aadb15
add server side events via broker example (based on external resource but it is fairly good for a simple SSE showcase)
...
Former-commit-id: 926c2a88bf1c44354a99654bc85e267b940723b8
2018-07-31 03:12:16 +03:00
Gerasimos (Makis) Maropoulos
247a558394
Add example for struct validation(3rd-party) through json request body binding
...
Former-commit-id: 78bbbe068f219e5a264951c900b77cb9b70f2079
2018-07-24 04:33:53 +03:00
Gerasimos (Makis) Maropoulos
7337396e3c
README.md: example change
...
Former-commit-id: 4a66a689f86e5cd93ec9001e5ca18b4f5d3923be
2018-07-23 15:58:55 +03:00
Gerasimos (Makis) Maropoulos
f7c0cbe5cd
update deps and move one vendor to our organisation for making a new branch in order to solve this: https://github.com/kataras/iris/issues/1040 , although it's not ours problem...
...
Former-commit-id: 6013525d2aabc35461bf24871e3b36ca91004fb9
2018-07-15 16:09:03 +03:00
Gerasimos (Makis) Maropoulos
cd5109ae0e
Iris + WebAssemply = = 💓
...
Former-commit-id: 44f08f112cfba8006d2a6fe34e32b24e5c246856
2018-07-09 09:13:36 +03:00
Gerasimos (Makis) Maropoulos
2acb6e9385
session examples: add the 'AllowReclaim: true' session.Config field to true, help users like https://github.com/kataras/iris/issues/1031\#issuecomment-399894693
...
Former-commit-id: 2ab7e56a4fda380fb52a8912a328797ba332f2c8
2018-06-25 20:21:52 +03:00
Gerasimos Maropoulos
f83e125d7f
fix https://github.com/kataras/iris/issues/1020 , redis database stores the int as float64, so make that type assertion on GetInt as well
...
Former-commit-id: d29abdfe3a39fa1e046acbc5d118421a153d9c04
2018-06-03 02:47:48 +03:00
Gerasimos Maropoulos
b4856d542d
Cookies: Ability to set custom cookie encoders to encode the cookie's value before sent by ctx.SetCookie
and ctx.SetCookieKV
and cookie decoders to decode the cookie's value when retrieving from ctx.GetCookie
. That was the second and final part relative to a community's question at: https://github.com/kataras/iris/issues/1018
...
Former-commit-id: 53b6810076c8db8646df335d57a30c78b23cd9b8
2018-06-02 16:35:18 +03:00
Gerasimos Maropoulos
fcff62d5b4
Some minor but helpful additions, like CookieOption
. Relative: https://github.com/kataras/iris/issues/1018 . Simple cookies example added too. Cookie encoding (side by side with the already session's cookie id encoding) and version upgrade will come tomorrow with a new HISTORY.md entry as well, stay tuned!
...
Former-commit-id: d14181fac998d32d77690b1b3e42b6c7c72f1ace
2018-06-02 07:28:40 +03:00
Gerasimos Maropoulos
f84248cb4e
middleware/logger: new configuration field, defaults to false: Query bool
, if true prints the full path, including the URL query as requested at https://github.com/kataras/iris/issues/1017
...
Former-commit-id: 03c8fc523a8ba955dae43e4c7e9498fc3d86a1c8
2018-05-31 01:39:23 +03:00
Schatzman
008dfe869c
Fix typo
...
"Procceed" -> "Proceed"
Former-commit-id: 7f9b983d4281bf3d8492e2722e327e551ed7e716
2018-05-26 14:23:19 -06:00
Gerasimos Maropoulos
beef97fd5d
Update vendor for Pug (Jade) Parser and add Iris + Pug examples in the _examples/view folder, relative to https://github.com/kataras/iris/issues/1003
...
Former-commit-id: e26a5701e00ec055f3bcf693c1980c7d22147310
2018-05-26 22:49:48 +03:00
Gerasimos Maropoulos
94b93484b5
Update to version 10.6.5: 1 New Feature And Indonesia Translation | Read HISTORY.md
...
Former-commit-id: 4788e36e52f6b40c7e15120e0675c097eabf0f0d
2018-05-21 07:40:43 +03:00
Gerasimos Maropoulos
4eeffd07c7
Update the _examples/http_request/upload-file to fill the gap, relative discussion: https://github.com/kataras/iris/issues/979
...
Former-commit-id: a113e8815a6a2821a80ac424f52302528a6e71b5
2018-04-28 14:48:09 +03:00
Gerasimos Maropoulos
3c6d1f2fa3
_examples/README: add bolt session database example link
...
Former-commit-id: 373f25cc016fbdad84e208123c024999d35a47e4
2018-04-26 08:07:09 +03:00
Gerasimos Maropoulos
b22151d4b7
Update to version 10.6.1 | Re-implement the BoltDB as built'n session database and more. Please read the HISTORY file for further details
...
Former-commit-id: fa68a914bec5fe4f595bdeaea84ecab6374ba643
2018-04-25 05:29:19 +03:00
Gerasimos Maropoulos
b62080c4bb
Sessions are now in full sync with the registered database, on acquire(init), set, get, delete, clear, visit, len, release(destroy)
as requested by almost everyone. https://github.com/kataras/iris/issues/969
...
Former-commit-id: 49fcdb93106a78f0a24ad3fb4d8725e35e98451a
2018-04-22 13:52:36 +03:00
Gerasimos (Makis) Maropoulos
f113872b7d
A better http_responsewriter/stream-writer example, see SSE example for server-side events
...
Former-commit-id: 635cadf6bac376c2b7b805523ab8d9d6472a5502
2018-04-21 20:46:16 +03:00
Gerasimos Maropoulos
cb69df2ccf
Add a very simple usage-example for sending server side events
...
Former-commit-id: 6df287d915a772bcae3f2f98445676aba39a2bc6
2018-04-10 21:01:24 +03:00
Gerasimos Maropoulos
989cb3f045
update vendor
...
Former-commit-id: 8e7fca843e404d34fec071415191657ea554dd05
2018-04-03 13:07:23 +03:00
Gerasimos (Makis) Maropoulos
e9e2998538
Merge pull request #950 from Zeno-Code/master
...
Examples README_ZH.md
Former-commit-id: 3e1db0582142a6240921cfb303d31e0a45e96b87
2018-04-02 02:59:57 +03:00
Zeno-Code
4a3e97a9bd
Update README_ZH.md
...
Former-commit-id: 8865a9b486dc56821f3505b25cc8764d641c21bf
2018-03-31 14:20:29 +08:00
Zeno-Code
b7bf311058
Update README_ZH.md
...
Former-commit-id: 41af389366ad45114473df779111a8f698e5cfda
2018-03-30 19:18:18 +08:00
Zeno-Code
515fd82873
Update README_ZH.md
...
Former-commit-id: a0c4b2d627621bbd060bd861debcafa21c223710
2018-03-30 00:15:58 +08:00
Zeno-Code
61406dcbae
Update README_ZH.md
...
Former-commit-id: b2392ff60de3fbf5d167cd2f16051ee6dd382948
2018-03-29 23:24:30 +08:00
Zeno-Code
37b5875ab0
Update README_ZH.md
...
Former-commit-id: 981f0266b25e92cb38d767288db3bed112d70399
2018-03-29 03:31:49 +08:00
Gerasimos (Makis) Maropoulos
502b4654d4
fix the bug of lost argument in log function caused by PR: #946
...
Former-commit-id: 80fc2b2ff2455c328bb49b9ddcee519cf8138be9
2018-03-28 17:16:29 +03:00
Chengyumeng
addf984ed3
fix the bug of lost argument in log function
...
Former-commit-id: 566a0c8bff8e77d5d12c1b4d10b3c69be0a962ba
2018-03-28 20:39:56 +08:00
Zeno-Code
2b0280b646
Update README.md
...
Former-commit-id: 86b6b483349c30211234626b91723a8f35d6a12f
2018-03-28 12:23:06 +08:00
Zeno-Code
58c9de3ab7
Update README_ZH.md
...
Former-commit-id: 61d8df659e22d518de09d4a35cdf93277b5bc3d6
2018-03-28 12:22:29 +08:00
Zeno-Code
a79496de6d
Create README_ZH.md
...
Former-commit-id: 35656f423a935b9fe4c0f639bdcac591b98c4667
2018-03-28 12:21:17 +08:00
Zeno-Code
fbb3bb89f0
Update README.md
...
Former-commit-id: ea1325f29246fa90219344434f5bc7e9317e62db
2018-03-28 11:45:05 +08:00
Gerasimos (Makis) Maropoulos
b579e89aaa
add more information for access log merge pull request #946 from Chengyumeng/feature/logger
...
Former-commit-id: 91fbc9420c52287231a284aa8092764c7273e987
2018-03-27 10:06:29 +03:00
Gerasimos Maropoulos
fc0f27c4fc
Do not create the global configuration in homedir by-default, as, correctly, requested on chat. Use iris.WithGlobalConfiguration with a pre-defined iris.yml file on your home directory, existing users will not have any issues, new one will have to create the file before
...
Former-commit-id: 033f7e96693b13f87b44b445ed166328fea6e0a0
2018-03-27 09:59:29 +03:00
Chengyumeng
edc24d529f
add more information for access log
...
Former-commit-id: 60517837c5bfdb2d879909c4b413e83cbd10321a
2018-03-26 15:50:33 +08:00
Gerasimos Maropoulos
66d367b255
Update to version 10.5.0 | Read HISTORY.md for more
...
Former-commit-id: 41b1947aafa258d342bbf9d22baeecc946d198a4
2018-03-24 10:39:44 +02:00
Stefan Pahlplatz
5aba0d0ff4
Fixed a typo
...
Former-commit-id: 4d3a281839fe2dc72d1cb67af0f6d3b04782968e
2018-03-22 12:02:22 +01:00
Gerasimos Maropoulos
89022c7051
add some tests for the content type for the embedding files and gziped embedded files
...
Former-commit-id: b7fe470f33efcdf70df3e41ad880bbd4704cbb4a
2018-03-15 23:09:07 +02:00
Gerasimos Maropoulos
56215eeb71
Release of version 10.4.0 - x8 faster embedded file server | Star and Read HISTORY.md
...
Former-commit-id: 4f8b8c95c1b107a9be3b1ef6835ece949a75ceb6
2018-03-14 07:17:35 +02:00
Gerasimos Maropoulos
4993918a12
remove the complicated fallback handlers, that didn't work and not approve the coblexity addition of the https://github.com/kataras/iris/pull/919 , RouteExists accepts first argument the Context, add new AllowMethods per party and fix cors by 048e2be034
https://github.com/kataras/iris/issues/922 , rel: https://github.com/iris-contrib/middleware/issues/36 , https://github.com/iris-contrib/middleware/issues/34 , https://github.com/iris-contrib/middleware/issues/32 , https://github.com/iris-contrib/middleware/issues/30 , https://github.com/kataras/iris/pull/909
...
Former-commit-id: 5576c44b64014fb00dd79e618b815b5f52b705e4
2018-03-10 14:22:56 +02:00
Gerasimos Maropoulos
83c4b7f52d
add examples for read using custom decoder per type, read using custom decoder via iris#UnmarshalerFunc
and to complete it add an example for the context#ReadXML
.
...
Former-commit-id: 536b1780f12d0b9d9ce9aa976a0f95f18634ec2d
2018-03-08 05:21:16 +02:00
Gerasimos Maropoulos
1a4803307d
Add one more example for custom router macro functions, relative to https://github.com/kataras/iris/issues/918
...
Former-commit-id: 457c1a94dc8d93e614e9da70e1ec2482fe0c5765
2018-03-05 20:09:30 +02:00
Gerasimos Maropoulos
b20933e0bb
upgrade go-bindata link to the most maintainable one
...
Former-commit-id: 58d5253b3332acef480d36f0cf716f2ad6b1c09e
2018-02-25 12:14:49 +02:00
Gerasimos (Makis) Maropoulos
d7beb9a752
Add a missing call for fallbackHandler
in _examples/routing/fallback-handlers/main.go by @ZaniaDeveloper via PR: #911
...
Former-commit-id: 94ae5849e16538a4bc7f906c52ed7603c7ae01f6
2018-02-23 15:20:53 +02:00
ZaniaDevelopper
abb10e9cbf
Add a missing call for fallbackHandler
...
Former-commit-id: a1ce94b39d326657cdbce34276477c34752f0000
2018-02-23 09:24:35 +03:00
Gerasimos Maropoulos
a1232c9a9a
_examples: replace DELETE string with iris.MethodDelete, for important changes see: https://github.com/kataras/iris/pull/909 and 6de64d517e
[formerly 35dd2ab80b69a5bea6f35f58e636bc11229d9921]
...
Former-commit-id: d0f5785aff289b8c140e4f253eb555135e79603d
2018-02-23 04:25:12 +02:00
Gerasimos Maropoulos
6de64d517e
New: context#NextOr && context#NextOrNotFound and some performance improvements on the awesome https://github.com/kataras/iris/pull/909 pushed a while ago
...
Former-commit-id: 35dd2ab80b69a5bea6f35f58e636bc11229d9921
2018-02-23 04:06:05 +02:00
ZaniaDevelopper
1196680004
Add comment in example
...
Former-commit-id: 2b9d7a569ed4c5d78cd5dd49865df1cf381619fc
2018-02-21 15:19:09 +03:00
ZaniaDevelopper
7a29519c5a
Fixes bad copy/paste
...
Former-commit-id: 437b60bc6b37d8a755198fb97809c61b9c18004e
2018-02-21 14:48:09 +03:00
ZaniaDevelopper
643358d7cb
Modification
...
- Add configurator for Party
- Modification for CORS middleware example
Former-commit-id: f01c01d4eac41666a92890461851909a6ade018b
2018-02-21 14:22:17 +03:00
Frédéric Meyer
72b096e156
Add fallback handlers
...
Former-commit-id: f7e9bd17076a10e1ed1702780d7ce9e89f00b592
2018-02-21 12:27:01 +03:00
Frédéric Meyer
66209cae4f
Save
...
Former-commit-id: 592e9cddf3511fc08e87f19ad39fdaac479b453f
2018-02-21 08:18:53 +03:00
Gerasimos (Makis) Maropoulos
7fd8baea75
README.md: make backers visible on the top of the page, replaced the prev api to the https://iris-go.com/backers.svg in order this to happens
...
Former-commit-id: 093f11d05fe9556c79de2cb2886e5d0569f27336
2018-02-12 04:04:46 +02:00
Gerasimos (Makis) Maropoulos
9cdae4ee67
Update to version 10.2.0. Read: https://github.com/kataras/iris/blob/master/HISTORY.md#th-08-february-2018--v1020
...
Former-commit-id: 2eb94ec0f565b80790784ac55af024429384b3d3
2018-02-08 14:04:39 +02:00
Gerasimos (Makis) Maropoulos
5d62b5d428
replace boltdb/bolt to coreos/bbolt for sessions/sessiondb/boltdb
...
Former-commit-id: 0451425be0550e6a6f0c430e036452b60e393789
2018-02-07 01:06:42 +02:00
Gerasimos (Makis) Maropoulos
711e48d9ab
fix https://github.com/kataras/iris/issues/897
...
Former-commit-id: 6f94a79d9ce3ac9b2b05d1e2637059996a02df1d
2018-02-03 18:31:01 +02:00
Gerasimos (Makis) Maropoulos
019911237c
add context#StatusCodeNotSuccessful for customize even the most customized clients that are not compatible with the standards and fix the SPA
if static file serve handlers are passed as its AssetHandler
as reported at the chat.iris-go.com
...
Former-commit-id: ccd0815a09b9305bfbeaad7b46559dd86f34f20b
2018-01-31 02:35:22 +02:00
Gerasimos (Makis) Maropoulos
e38ea65dc7
fix example comment on routing/dynamic-path/main.go#L101
...
Former-commit-id: affb9b646e83ab9087d4c84aac8c12e11468257b
2018-01-30 21:16:54 +02:00
Gerasimos (Makis) Maropoulos
687477f210
fix comment on csrf example
...
Former-commit-id: c5c001cbc5381fb169429f132ea18c4fc7c76a42
2018-01-28 15:43:25 +02:00
Gerasimos (Makis) Maropoulos
969c2e87d4
add Cache304
as an alternative to the server-side kataras/iris/cache middleware - it can perform better with less server overheat but it comes with a cost of 304 instead of 200 so custom clients must make that check
...
Former-commit-id: b0ba68c528c870fe060e2825c35689771a1d3680
2018-01-25 16:19:45 +02:00
Gerasimos (Makis) Maropoulos
befb1f0c08
some major improvements to the (server-side) cache middleware and an example of a client-side responsibility cache
...
Former-commit-id: 93d3a7a6f163c6d49f315f86d10e63f7b1b1d93a
2018-01-25 15:09:24 +02:00
Gerasimos (Makis) Maropoulos
981322cfd2
no need to default the Configuration.RemoteAddrHeaders to a list of 'dissalowed' header names, the ctx.RemoteAddr()
made unnecessary checks if no X-header was passed, even if they defaulted to false, this will not give a crazy improvement but it's a good practise
...
Former-commit-id: ba9ed1475a76489df16cac0ed87275b5604f2ad0
2018-01-25 06:31:05 +02:00
Gerasimos (Makis) Maropoulos
bf13f7648a
add vscode extension link and badge | Some internal improvements (not completed yet)
...
Former-commit-id: 9bc94e90a2780ee81f8188509d98063fb3f2924b
2018-01-25 03:16:49 +02:00
Gerasimos (Makis) Maropoulos
243439af9d
Corrected spelling from simmilate to simulate by @HintikkaKimmo via PR #883
...
corrected spelling for example docs
Former-commit-id: 79c2cd4f7f0c6b5396920bf13bd7da27fd51d457
2018-01-22 19:09:04 +02:00
Gerasimos (Makis) Maropoulos
4b4dbb04af
add an app.View
example for parsing and writing templates outside of the HTTP scope(context.View)
...
Former-commit-id: e65d8ece521c778dedf45cf2f522383c26b9901b
2018-01-22 15:42:19 +02:00
Kimmo Hintikka
d4b09987c4
corrected spelling for example docs
...
Corrected spelling from simmilate to simulate
Former-commit-id: f672aa340fd53119defa89da0d93757dc0b0152b
2018-01-22 11:04:33 +00:00
Gerasimos (Makis) Maropoulos
25918427bc
support multi-level subdomains redirect, see previous commit for the SubdomainRedirect fast solution
...
Former-commit-id: bc5749e46d1ae65f9d17063f3d8f2ea72510a9d8
2018-01-20 14:54:04 +02:00
Gerasimos (Makis) Maropoulos
e176ff7b0c
NEW: Application#SubdomainRedirect
. Example: https://github.com/kataras/iris/blob/master/_examples/subdomains/redirect/main.go
...
Former-commit-id: d8dd7c426dc9f14c870f103fef703595a2915612
2018-01-20 05:17:31 +02:00
Gerasimos (Makis) Maropoulos
742ad6db72
upstream update for crypto/acme relative to iris.AutoTLS
...
Former-commit-id: 20d22c163f8063673536127caec4eecfb3561226
2018-01-15 12:34:35 +02:00
Gerasimos (Makis) Maropoulos
a19e570c8a
Update to version 10.0.1 - read more at: https://github.com/kataras/iris/blob/master/HISTORY.md#mo-15-jenuary-2018--v1001
...
Former-commit-id: 292d155c877ba3f9d1210db54c3df3fedd1d0c1c
2018-01-15 00:54:01 +02:00
Gerasimos (Makis) Maropoulos
ad9c76adb3
nothing tremendous here
...
Former-commit-id: 34e7c423d0b777b2d8c60e74c8aad0efc13bd7fc
2018-01-09 04:37:23 +02:00
Gerasimos (Makis) Maropoulos
1690cc9334
add Greek language side by side with Chinese and Russian
...
Former-commit-id: 4a44ae6f27d94deddd89afda6b1d83218a0ae309
2018-01-05 07:57:04 +02:00
Gerasimos (Makis) Maropoulos
bcc3e9920a
fix https://github.com/kataras/iris/issues/859
...
Former-commit-id: 55ce0b2f911a3088d28d4393b68ba9af97f79f94
2018-01-04 15:35:24 +02:00
Gerasimos (Makis) Maropoulos
10f440b9db
add a new article about Iris and Vue.js
...
Former-commit-id: c7406cbd961d44016628c55083f554bba1f5745e
2018-01-01 22:14:52 +02:00
Gerasimos (Makis) Maropoulos
b69aebb14a
add a simple example about registering middleware(s) to an mvc Application
...
Former-commit-id: 59da5e241e1488b6b39d2ec0e72c45ad2cc7d901
2018-01-01 22:08:14 +02:00
Gerasimos (Makis) Maropoulos
b43b25626b
make cache package to work across multi handlers, remove the old 'WrapHandler' and keep the cache.Handler as documented only
...
Former-commit-id: b030cd92d26a9f646b060e379b3702b9a677749b
2018-01-01 21:53:12 +02:00
Gerasimos (Makis) Maropoulos
9e6691e5ce
fix _benchmarks/iris-mvc-templates
...
Former-commit-id: 10b4952308c62b81eb7270b9e0b29ad0bb645bc5
2017-12-31 20:33:33 +02:00
Gerasimos (Makis) Maropoulos
4dbecf762c
write a README at the _examples/tutorial/vuejs-todo-mvc mini tutorial, which will be published to other sites soon
...
Former-commit-id: cee096d0e327b0180bd4ec83d5674729c67b3ddb
2017-12-31 08:00:02 +02:00
Gerasimos (Makis) Maropoulos
1b1661ed53
ok almost finished. We're good at deadlines eventually. Tomorrow at 23:59 an article will be published same time with the dev branch merge to master
...
Former-commit-id: 42c1bf88cedbddf3cc01366ab769139546902e71
2017-12-31 02:32:28 +02:00
Gerasimos (Makis) Maropoulos
617258890e
add GetRoute
for MVC Controllers. Give the chance to change rsome route's properties like Name (used for reverse routing in templates, optionally).
...
Former-commit-id: 5ee9b1f97ff3c98cd8e5faddd23a87bbafb8e2e0
2017-12-30 22:04:26 +02:00
Gerasimos (Makis) Maropoulos
64da28af8b
one for today, one for tomorrow and ready :)
...
Former-commit-id: 2e0a335c84c1d9c57a61b7f3203e54f7cccd7dcc
2017-12-30 20:40:52 +02:00
Gerasimos (Makis) Maropoulos
969aaab4f6
some comment grammar fixes? need help here.
...
Former-commit-id: 5695e4c6456b052fae45de1fa6724fae39ceac3e
2017-12-27 17:09:47 +02:00
Gerasimos (Makis) Maropoulos
685954d341
add a simple context#YAML function to render yaml data and make sure that the cookie's values are url escaped and unescaped when retrieve from client's headers
...
Former-commit-id: cad1e09679f6b646c12bb6ffdeba62738bdeef5d
2017-12-27 15:38:06 +02:00
Gerasimos (Makis) Maropoulos
19e9ed330d
add sharable package-level hero dependencies with the mvc controllers instances
...
Former-commit-id: 6c53190e40fa42d242a73eb80361830b65f0d077
2017-12-27 15:09:52 +02:00
Gerasimos (Makis) Maropoulos
b4827c2b5e
fix examples link in the /mvc and a controller test
...
Former-commit-id: 1384d7297f79f47a395701433034c57ad361f5ab
2017-12-27 04:20:42 +02:00
Gerasimos (Makis) Maropoulos
b282e7c563
Replace controller's .Register with .Handle and AddDependencies with .Register in order to be aligned with the 'hero' package, all examples and docs are updated, it's crazy how I can't stop even on Christmas
...
Former-commit-id: 3b42963e9806e327ee42942cf156bda6059eaf8f
2017-12-27 04:15:41 +02:00
Gerasimos (Makis) Maropoulos
650cd6c294
add images for hero basic examples to be easier to understand
...
Former-commit-id: 012ec70fc7761e899f4114f956839a6adce7c21a
2017-12-27 03:17:06 +02:00
Gerasimos (Makis) Maropoulos
2ab1456414
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
...
Former-commit-id: d67f5a5ed9033286bcc4c04f6be612823cba2a57
2017-12-25 20:57:04 +02:00
Gerasimos (Makis) Maropoulos
46505f62db
create a new package, name it as hero, I was thinking super or superb but hero is better name for what it does - the goal is to split the new 'mvc handlers' from the mvc system because they are not the same, users should know that they can use these type of rich binded handlers without controllers as well, like a normal handler and that I implemented here, the old files exist on the mvc package but will be removed at the next commit, I have to decide if we want type aliases for Result or no
...
Former-commit-id: cb775edc72bedc88aeab4c5a6de6bfc6bd56fae2
2017-12-25 20:05:32 +02:00
Gerasimos (Makis) Maropoulos
4ab889da5f
minor comment updates for sessions package
...
Former-commit-id: 6f73c5d83861a1f61acda07e7f78cb882320dc8c
2017-12-24 19:43:31 +02:00
Gerasimos (Makis) Maropoulos
7f423ba068
thinking a new way of displaying the README, give no readme hand-written examples, we have the _examples folder already but I should continue creating the new documentation for deep understanding and show a part of it on readme as image(?)
...
Former-commit-id: 9b6a6bceffb6ae23bf490d78cad31367ca2aa78e
2017-12-24 06:24:45 +02:00
Gerasimos (Makis) Maropoulos
9c79dcc97a
add locks on the MemoryService of the vue mvc example, keep it simple but runnable:P
...
Former-commit-id: 5d661f401e486a26d66f5c0c297f5cf897fc1834
2017-12-24 01:22:44 +02:00
Gerasimos (Makis) Maropoulos
d31b8c5274
_examples/tutorial/vuejs-todo-mvc finished, live updates on all clients with the same session id (u can do it with login id for example) and memory storage on the server side, works perfectly and amazing fast, nice vue and iris
...
Former-commit-id: 0bb930f43e2d70a707d3c6880dc255acd78debf2
2017-12-23 18:11:00 +02:00
Gerasimos (Makis) Maropoulos
e1c65d23fb
finish the first state of the vuejs todo mvc example, a simple rest api - todo: websocket and live updates between browser tabs with the same session id
...
Former-commit-id: 0bd859420cff87014479c44a471ec273c621c1a2
2017-12-23 17:07:39 +02:00
Gerasimos (Makis) Maropoulos
b8b9643ca7
Remove big README examples, will be replaced with small quick examples so new users can found easier to get started
...
Former-commit-id: d5e804babf0edc0765a4195247071e410b27ea27
2017-12-22 10:25:34 +02:00
Gerasimos (Makis) Maropoulos
ef3a09c126
update the documents for the new MVC API and some of its new features but not finished yet, README big examples and _examples/mvc/login is are yet updated and I'm thinking of removing the big examples on README.md, they exist on the _examples/mvc updated.
...
Former-commit-id: c2938d4bcaa3520744526f7975ee3cce632499b3
2017-12-22 10:18:31 +02:00
Gerasimos (Makis) Maropoulos
8fa33a9882
fix typo
...
Former-commit-id: 1aaca0e3473003d00f19af9d16cf6f29f3f526a2
2017-12-20 18:10:57 +02:00
Gerasimos (Makis) Maropoulos
254a4ede95
add explanation why the 'globalVisitorsController' example is a Singleton, because it was not clear for new gophers previously.
...
Former-commit-id: 9267c415e53eeb00adadf6fde9e0aeeb415cf24a
2017-12-20 18:09:31 +02:00
Gerasimos (Makis) Maropoulos
2042fddb66
Another new feature: websocket controller, for real
...
Former-commit-id: c1a59b86733e890709b52446e22427a17d87f5fc
2017-12-20 17:56:28 +02:00
Gerasimos (Makis) Maropoulos
b78698f6c0
fix all _examples to the newest mvc, add comments to those examples and add a package-level .Configure in order to make it easier for new users. Add a deprecated panic if app.Controller is used with a small tutorial and future resource link so they can re-write their mvc app's definitions
...
Former-commit-id: bf07696041be9e3d178ce3c42ccec2df4bfdb2af
2017-12-20 08:33:53 +02:00
Gerasimos (Makis) Maropoulos
20ba72aecf
fix typo
...
Former-commit-id: b6f9de4cf8d62210ffefba5d33dc8372d236748d
2017-12-18 06:47:05 +02:00
Gerasimos (Makis) Maropoulos
4fb46bf1f3
fix mvc/ideas/1/main.go->AfterActivation
...
Former-commit-id: bf3d8227793fba76f0f7349d82d1200275ac9147
2017-12-18 02:24:53 +02:00
Gerasimos (Makis) Maropoulos
d5a38a0cd6
more checks about creating new instance of controller on each request - this time if all bindings are static then set them to the initial-devpassed controller and if the total number of lengths are equal with these static dependencies then we ignore the injector and use the initial controller on each request - maximize the performance when simple controller is used - need more cleanup before new release but I hope until Christmas iris developers will be amazed
...
Former-commit-id: 32ed69368d1df2c25cdb712bb7f0cf47b2e36c05
2017-12-18 00:16:10 +02:00
Gerasimos (Makis) Maropoulos
68cc6641d4
Add session.Destroy (before I've added: Increment & Decrement entry helpers as well) | Improve the debug messages for the controllers
...
Former-commit-id: f5f17b05252a5032ace1e2d0fdd2304fc4004635
2017-12-16 23:09:00 +02:00
Gerasimos (Makis) Maropoulos
b8cafce6b9
add simple tests for _examples/mvc/hello-world and session-controller
...
Former-commit-id: d88a792ba57cd869d2888f41bca6eb3e5b4f7d49
2017-12-16 21:27:20 +02:00
Gerasimos (Makis) Maropoulos
34664aa311
OK, my dream-idea is implemented. TODO: Some examples and doc.go is not updated yet, comments on the mvc/di subpackage, the tutorial/vuejs-todo-mvc is running but not finished yet (it's using browser's localstorage and it should be replaced by the http requests that are registered via iris mvc
...
Former-commit-id: 0ea7e01ce1d78bcb78b40f3b0f5c03ad7c9abaea
2017-12-16 06:38:28 +02:00
Gerasimos (Makis) Maropoulos
55dfd195e0
remove the old 'mvc' folder - examples are not changed yet - add the 'di' package inside the mvc2 package - which will be renamed to 'mvc' on the next commit - new mvc.Application and some dublications removed - The new version will be version 9 because it will contain breaking changes (not to the end-developer's controllers but to the API they register them) - get ready for 'Christmas Edition' for believers
...
Former-commit-id: c7114233dee90ee308c0a3e77ec2ad0c361094b8
2017-12-15 20:28:06 +02:00
Gerasimos (Makis) Maropoulos
4e15f4ea88
create one generic package for dependency injection which can be used outside of Iris too - worked but unfished
...
Former-commit-id: a9d600321c07d7c9f39105416f14ae91528a16a3
2017-12-14 23:04:42 +02:00
Gerasimos (Makis) Maropoulos
a5fac270cf
Merge branch 'master' into dev
...
Former-commit-id: d9d3c857d953c379f724bdb1d0473f91758f7cfe
2017-12-14 14:21:03 +02:00
Gerasimos (Makis) Maropoulos
434b07675e
add example for the simple context#WriteGzip
...
Former-commit-id: 3b4e0834370ebde5e4796b3d75cdbd5c2c25093f
2017-12-14 14:15:29 +02:00
Gerasimos (Makis) Maropoulos
3349fd5c91
Merge branch 'master' into dev
...
Former-commit-id: a95af68b60eee434994d8bfa55ad26d587f4fe89
2017-12-14 06:16:01 +02:00
Gerasimos (Makis) Maropoulos
22504f01ef
add a simple hero template example as requested at https://github.com/kataras/iris/issues/840
...
Former-commit-id: 1c65190d21a5febbbbad1b2b565f82f749278d48
2017-12-14 06:11:37 +02:00
Gerasimos (Makis) Maropoulos
0b2dcc76f5
start of the vue + mvc example and a simple session binding
...
Former-commit-id: 994f00952352c93d270ad197cb843f3222fb37c0
2017-12-14 05:56:23 +02:00
Gerasimos (Makis) Maropoulos
ea863914dc
update the vendor json library which is used when 'WithOptimizations' passed on 'app.Run' and resolve https://github.com/kataras/iris/pull/839#issuecomment-351374343
...
Former-commit-id: ad3354717d593393a3f3aec863ec92f1f7e1c829
2017-12-13 14:37:02 +02:00
Gerasimos (Makis) Maropoulos
ed79f0c3cd
ok the new mvc system works great, all tests done and almost x3 smaller LOC used plus new three awesome features:) - next commit will be commenting out and replace the mvc package with the new mvc2
...
Former-commit-id: 552095d29256a1116849cc6054c82001e790e705
2017-12-10 07:00:51 +02:00
kataras
7043f352d9
made it work but looking for another approach
...
Former-commit-id: e61c4573543c57b8d6d4ef2583e40f52c391402f
2017-12-04 05:06:03 +02:00
kataras
907ba28f84
give some more control over request params and their entries for the end-developers
...
Former-commit-id: 91362d3de5c63faf0d124e66747e40ad0df04fbb
2017-11-23 12:30:13 +02:00
kataras
56871ce4d7
update test to cover the multi files per language new feature - requested at: https://github.com/kataras/iris/issues/815
...
Former-commit-id: 6516e648a30a0886ad55146d463bfa696972d1c6
2017-11-22 01:08:26 +02:00
kataras
53ed4f3a4e
add support for multi languages, without change the API, separated by commas as requested at: https://github.com/kataras/iris/issues/815
...
Former-commit-id: ae3dcabb543c017f0661f2b2a1af8250d73773cf
2017-11-22 00:57:29 +02:00
kataras
8d659d3589
move csrf middleware example
...
Former-commit-id: 5dbe3affead73a97b5313b9f7c00e88470aba24d
2017-11-21 11:38:55 +02:00
Pierre PACI
8d0ba9a0d0
more example in example
...
As this file is an example, it could help people to learn golang pattern. So, i've added another way to get a clock signal. I've kept the original to show people 2 different ways.
Former-commit-id: d5b50c0845e93388a41863fb262b166320c2735c
2017-11-17 21:22:27 +01:00
kataras
3b572eb23b
Add an example for CSRF Protection
...
Former-commit-id: c38fd425b00210f730e274385cb2156b423f7fbc
2017-11-14 10:48:57 +02:00
kataras
9640f59961
app. SPA from router wrapper to a simple handler, works faster now. Iris' router respects wildcards with other paths as well (unique) for almost a half year now... so we don't need a whole wrapper for those things anymore, fixes https://github.com/kataras/iris/issues/807
...
Former-commit-id: 5bd7f24997bb025a01bb92960a1bf255f073a228
2017-11-10 16:15:47 +02:00
kataras
2a0c6dade6
Update to version 8.5.8 | Read HISTORY.md
...
Former-commit-id: 82128ce7a2896a9a8bafd7a5268b0b42057fc21a
2017-11-09 12:03:14 +02:00
kataras
5a8b17f0e8
Add a useful(?) introduction README.md section to some examples
...
Former-commit-id: 14041307dc2f98810d2c20dee68d2c4a7aa63e13
2017-11-07 19:12:30 +02:00
kataras
06a52e9bec
fix https://github.com/kataras/iris/issues/802
...
Former-commit-id: 0f9609ee485e94cf7b0d56cf134dd2a3ce703cdf
2017-11-07 12:16:52 +02:00
kataras
7723e438a1
able to share static configuration between multiple server instances based on the homepath+iris.yml file with iris.WithGlobalConfiguration configurator
...
Former-commit-id: 3e528a3d01eb36b4c0781149e52acffd4dc5cf9f
2017-11-07 01:40:56 +02:00
kataras
af9a1f1241
Update to version 8.5.6 | Read HISTORY.md
...
Former-commit-id: 3c1fb7ad47d54133f68ee0ee8ebe4c3835fe4ce0
2017-11-05 04:12:18 +02:00
kataras
ef41e07d4e
Add a better example for the recaptcha middleware as requested at: https://github.com/kataras/iris/issues/799
...
Former-commit-id: 85c3286a9d6be5cf47631e7608f70f3790934e64
2017-11-04 02:59:21 +02:00
kataras
42bc7dbad0
fix line endings... | Prev Commit: 15feaf0237
[formerly dced7d472edabbab4f80c76051f13261928a8dea]?w=1
...
Former-commit-id: 286366ffb0958288821d0b34b6140e203400c682
2017-11-02 06:44:40 +02:00
kataras
666bcacf20
Update to version 8.5.5
...
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
2017-11-02 05:50:56 +02:00
Gerasimos (Makis) Maropoulos
a5440153c1
We need your help with translations into your native language.
...
Instructions can be found at: https://github.com/kataras/iris/issues/796 written by @speedwheel
Former-commit-id: e612ec2c42e09e10ad8bb17d164f7934bc4dca36
2017-10-26 05:10:40 +03:00
Gerasimos (Makis) Maropoulos
4a63488948
Update to version 8.5.4 | Read HISTORY.md
...
https://github.com/kataras/iris/blob/master/HISTORY.md#th-26-october-2017--v854
Former-commit-id: 43a3b46b99085e0e0ed47b281e2f61dbb1ac6eb6
2017-10-26 02:48:16 +03:00
Gerasimos (Makis) Maropoulos
a24a2a8e29
fix improt path on login-mvc-single-responsibility-package example.
...
Former-commit-id: 655cbb0a39ca5fe42b5b5b57e8c4a60db926cd69
2017-10-22 16:19:08 +03:00
Gerasimos (Makis) Maropoulos
11277f12a0
Structuring examples - Pushed to iris-contrib/examples as well.
...
Former-commit-id: 24ee6ce233d83f0b394afc6c69b5a88243406045
2017-10-22 16:04:11 +03:00
Gerasimos (Makis) Maropoulos
1816b22870
Nothing crazy, just ran gofmt -s -w .
...
Former-commit-id: 506f413a749421083d7dcdabf29ab18ba44f1a1d
2017-10-13 07:05:32 +03:00
Gerasimos (Makis) Maropoulos
21dc2cfbd8
Add an example on how to use third-party handlers that are not compatible to the "next pattern"
...
Former-commit-id: 39a57bd97542142cb61eac9b0ee9b40df2334019
2017-10-13 06:59:31 +03:00
Gerasimos (Makis) Maropoulos
a9ac0aee2f
add layouts to the _examples/view/embedding-templates-into-app
...
Former-commit-id: 15085969eb5cad90022b249782e0620d4f5d267a
2017-10-12 23:22:18 +03:00
Gerasimos (Makis) Maropoulos
13975a5d81
Nothing in codebase, just some MVC examples enhancements
...
Former-commit-id: 81f1121da0e7632ef3a0f7b78d6784ee1690eb7e
2017-10-12 21:24:11 +03:00
Gerasimos (Makis) Maropoulos
32d14db46d
Update the _examples/mvc/login example - add a Path property at mvc.Response
and add a context.Proceed
helper function
...
Former-commit-id: b898901fe4a324e888a6e09c93530cf7a551cf2a
2017-10-12 16:28:41 +03:00
Gerasimos (Makis) Maropoulos
b0f8329768
Update to version 8.5.2 | Read HISTORY.md: https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-october-2017--v852
...
https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-october-2017--v852
Former-commit-id: 2501cf6066812c2aac158d8d6cd4e992a2b538f9
2017-10-12 03:51:06 +03:00
Gerasimos (Makis) Maropoulos
de3fc8ae46
Update to version 8.5.1. It contains a minor fix. Read HISTORY.md
...
https://github.com/kataras/iris/blob/master/HISTORY.md#tu-10-october-2017--v851
Former-commit-id: af1424c691613ccde911bef7d1371aa52e6abb79
2017-10-10 16:58:14 +03:00
Gerasimos (Makis) Maropoulos
7ab607aab2
minor https://github.com/kataras/iris#quick-mvc-tutorial-3
...
Former-commit-id: 0f0667f7e460dc241f3a8fcca50cc6caf228d081
2017-10-10 05:17:53 +03:00
Gerasimos (Makis) Maropoulos
82b5a1d4ed
Enhance the MVC "using-method-result" example. Prev: update to version 8.5.0
...
Prev Commit: 49ee8f2d75
[formerly 6a3579f2500fc715d7dc606478960946dcade61d]
Changelog: https://github.com/kataras/iris/blob/master/HISTORY.md#mo-09-october-2017--v850
This example is updated with the current commit: https://github.com/kataras/iris/tree/master/_examples/mvc/using-output-result
Former-commit-id: 29486ef014b3667fa1c7c66e11c8e95c76a37e57
2017-10-10 04:46:32 +03:00
Gerasimos (Makis) Maropoulos
49ee8f2d75
Update to version 8.5.0 | NEW: MVC Output Result | Read HISTORY.md
...
Former-commit-id: 6a3579f2500fc715d7dc606478960946dcade61d
2017-10-09 15:26:46 +03:00
Gerasimos (Makis) Maropoulos
e5600fcf0d
Update to version 8.4.5 | Read https://github.com/kataras/iris/blob/master/HISTORY.md#fr-06-october-2017--v845 for more.
...
Former-commit-id: 4e30bf6a74acb7d463c7fcf1e9e08ca3147117a7
2017-10-06 08:23:03 +03:00
Gerasimos (Makis) Maropoulos
4fb78bbcd9
Update sessions/sessiondb/badger to its latest version and SessionController is able to initialize itself if session manager is not provided by the caller-dev.
...
Changes:
Update the badger database using transactions, as supported from yesterday via: 06242925c2
Add a custom `OnActivate` via mvc/activator/activate_listener.go, this can be used to perform any custom actions when the app registers the supported Controllers. See mvc/session_controller.go for the excellent use case.
errors.Reporter.AddErr returns true if the error is added to the stack, otherwise false
Former-commit-id: c896a2d186a4315643f3c5fdb4325f7ee48a9e0a
2017-10-06 01:19:10 +03:00
Gerasimos (Makis) Maropoulos
b2a24d36e8
Fix _examples/mvc/login/user/controller.go redirection from POST: /user/register to GET: /user/me as reported at https://github.com/kataras/iris/issues/777
...
Former-commit-id: f26d36dfcb21fae7d3ce9b92fa97611dbc15802d
2017-10-05 03:26:39 +03:00
Gerasimos (Makis) Maropoulos
f780159afe
Bet that many of you didn't know that Iris could handle regexp-based path parameters with ease :)
...
Former-commit-id: d2c5564cfb99fbea5d90106be0c6d5c505d293ab
2017-10-04 03:12:50 +03:00
Gerasimos (Makis) Maropoulos
8410b12436
Add two more just-published articles at README.md > Blogs
...
Former-commit-id: ecf7a03013f6c2bd3025a19688b7fd3ce9df7ae7
2017-10-03 15:55:25 +03:00
Gerasimos (Makis) Maropoulos
2013411400
_examples/tutorial/dropzonejs. Stay tuned for two-parts article series on https://medium.com/@kataras and https://dev.to/@kataras
...
tried to fix `README_NEXT.MD` to `README_NEXT.md` but suffix is not recognised by git so rename README_NEXT.MD to README_PART2.md.
I'll write two articles based on that content you can see already (because you follow the Iris project in github)
Former-commit-id: 48bb828909a9bd72939a6de3ee325d15dbb9f88b
2017-10-03 05:23:18 +03:00
Gerasimos (Makis) Maropoulos
000d1b000d
Add tutorial for DropzoneJS. Stay tuned for two-parts article series on https://medium.com/@kataras and https://dev.to/@kataras
...
Former-commit-id: 2aac5c1f5a5b5a7039a7a5fad3312a49e9311ddd
2017-10-03 05:14:53 +03:00
Gerasimos (Makis) Maropoulos
bd8721000a
Add a link for the iris-starter-kit: Isomorphic react/hot reloadable/redux/css-modules starter kit
...
Former-commit-id: bcb96b645b7a99629408d744b204ebb938c47281
2017-10-02 04:20:53 +03:00
Gerasimos (Makis) Maropoulos
4ff0571785
A tiny improvement to the context.ServeFile
...
Former-commit-id: e9eaa1f51c08ec74cbc17c7cd3f62d557faf23a0
2017-10-01 19:02:55 +03:00
Gerasimos (Makis) Maropoulos
38c6241055
Add a third, simple, example for folder structuring as requested at https://github.com/kataras/iris/issues/748
...
One change to code base but it will be described at the next version:
Error Handlers (`app.OnErrorCode/OnAnyErrorCode`) respect the `app.UseGlobal`'s middlewares now (not the `app.Use` for reasons we can all understand, hopefully).
Former-commit-id: ec97bbb04548f9932cf4d7b950be513b70747bcb
2017-10-01 16:29:25 +03:00
Gerasimos (Makis) Maropoulos
cf1e580cde
Add two examples for folder structuring as requested at https://github.com/kataras/iris/issues/748
...
Former-commit-id: 27c97d005d9cbd2309587b11fc9e2bab85870502
2017-10-01 04:31:13 +03:00
Gerasimos (Makis) Maropoulos
88b2343bd9
Implement "badger" kv store back-end for sessions
...
Former-commit-id: b9d85467238b5611d177b2b95ac9815cf5f8fe83
2017-09-24 14:32:16 +03:00
Gerasimos (Makis) Maropoulos
99c6d3546e
Add "release" badge at README.md
...
Former-commit-id: 0344c998a68284bb0310da4b0131fdc1aec7c64a
2017-09-17 14:43:35 +03:00
Gerasimos (Makis) Maropoulos
69b5327ecc
Update to Version 8.4.2 | Read HISTORY.md
...
https://github.com/kataras/iris/blob/master/HISTORY.md#fr-15-september-2017--v842
Former-commit-id: 0ee4cc1d93ef7f26e5d402fdfbe07062aff5b08c
2017-09-15 15:05:35 +03:00
hiveminded
89f79799d1
fix https://github.com/kataras/iris/issues/737 fix https://github.com/kataras/iris/issues/740
...
Former-commit-id: e760aa67d8750bfdd15fc84e2dedeb591c204ba9
2017-09-11 12:18:30 +03:00
hiveminded
8a9a498316
update to version 8.4.1 ❤️ https://github.com/kataras/iris/blob/master/HISTORY.md#th-07-september-2017--v841
...
Former-commit-id: 9e5f0a08049b83605aa847b8f51fb856427354a6
2017-09-07 16:20:31 +03:00
kataras
fcfc65a7bc
add h2 header manually for pre-go 1.9 users when manually key files are being used
...
Former-commit-id: edf521fc02de87b53cd3bdf0b8e77610dd535862
2017-09-05 14:47:41 +03:00
kataras
59a61e5930
add the new param:long into the docs
...
Former-commit-id: a4189660ad6228b5d3e118ef0f03a52972ac03ad
2017-09-03 18:08:19 +03:00
hiveminded
f68e547fb6
example for automated apidoc tool named "yaag" 👍
...
Former-commit-id: 1afed4ac2913b5f135e44992cf060e44694ceacb
2017-09-02 17:44:35 +03:00
hiveminded
d7ec0d4416
add content type and response text to the Controller 💯
...
Former-commit-id: 99cde0a445027b10839155501a7918732a783af3
2017-09-02 14:32:14 +03:00
kataras
674622f814
Add a simple Caddy+Iris tutorial 👍
...
Former-commit-id: 8761afce72aa35b91c9b5a958f1cafc027aabddd
2017-08-28 12:26:45 +03:00
kataras
e2600450f7
Fan of the MVC Architectural Pattern?
...
Former-commit-id: c6e425e8a4b150ea78456b2db88367093c164a38
2017-08-28 11:40:25 +03:00
kataras
42b123975c
8.4.0 | New MVC Features | Refactor examples and godoc for go 1.9 use. Read HISTORY.md.
...
Former-commit-id: 90c05e743052bc3722e7fefaa0cbb0ed5153a1fb
2017-08-27 20:35:23 +03:00
kataras
a2de506f80
Upgrade the markdown parser vendor. Prev Commit: Update to v8.4.4, new mvc features. Read HISTORY.md.
...
Former-commit-id: 194b8fb1ba68a046e0e89a42a3e79b2cd319f14b
2017-08-27 19:05:15 +03:00
kataras
591806795e
Update to 8.4.0 | New macro type, new high-optimized MVC features. Read HISTORY.md
...
Former-commit-id: b72a23ba063be60a9750c8b1b0df024b0c8ed549
2017-08-27 18:46:04 +03:00
kataras
9232b96188
Update iris.AutoTLS
example, read description.
...
Iris devs should declare all the information now, there is no option to "leave something out" anymore, it's for your own good. Version is not changed yet, giving you time to see that changelog and do the necessary changes to your codebase, it will written to HISTORY.md too of course.
Before:
app.Run(iris.AutoTLS(":443"))
Now:
app.Run(iris.AutoTLS(":443", "example.com", "mail@example.com")
Commit Change: f7b655f145
[formerly f5314a8c1f8303d7216481d05129eb8a62766e14]
Happy weekend!
Former-commit-id: bf974dc486d05ff008c9ed13aaf96e716b1e55c6
2017-08-26 01:49:23 +03:00
kataras
8f7b5752f8
fix some typos
...
Former-commit-id: 338c7421e2cd49f558cf09d194fe42c4db701be1
2017-08-24 15:51:43 +03:00
kataras
8b5b6b116a
add a nested parties and wildcard subdomains test
...
Former-commit-id: c2faa1bd02935ef13c32027f99c097b5c60babef
2017-08-23 15:26:46 +03:00
kataras
1ffe4479f7
Update to 8.3.3 | Even better MVC. Read HISTORY.md
...
Former-commit-id: 88998c317117abff1a214cf396b205d8d8ea888c
2017-08-23 01:11:52 +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
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
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
e00cf383a2
Vol2 : https://github.com/kataras/iris/issues/717 , worked
...
Former-commit-id: f4a19eb83a28279782b8a75ee298b38c9e180157
2017-08-12 08:49:00 +03:00
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