Commit Graph

104 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
9dbb300d9b implement the Iris Crypto Library for Request Authentication and Verification. With Examples and Tests.
Relative to this one as well: https://github.com/kataras/iris/issues/1200


Former-commit-id: 3a29e7398b7fdeb9b48a118b742d419d5681d56b
2019-07-02 19:19:43 +03:00
Gerasimos (Makis) Maropoulos
35389c6ef8 update websocket examples - keep neffos and use the iris/websocket as helper only
Former-commit-id: c34b916e186286cd0de6d694d8bdb4f9390121a2
2019-07-01 18:52:17 +03:00
Gerasimos (Makis) Maropoulos
076d9121f1 Implement a new View Engine for the Jet template parser as requested at: https://github.com/kataras/iris/issues/1281
Former-commit-id: 3e00bdfbf1f3998a1744c390c12fd70430ac0320
2019-06-22 21:34:19 +03:00
Gerasimos (Makis) Maropoulos
d0104defa8 create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more
relative: https://github.com/kataras/iris/issues/1283 and removing pongo2 from vendor: https://github.com/kataras/iris/issues/1284

Former-commit-id: 3ec57b349f99faca2b8e36d9f7252db0b6ea080d
2019-06-21 19:43:25 +03:00
Gerasimos (Makis) Maropoulos
adb6fd764a extract the Delim for redis sessiondb as requested at https://github.com/kataras/iris/issues/1256 and add a mvc/regexp example and some other trivial changes
Former-commit-id: f9e09320bfe07ae10ac74f54a78272cf21d21cc7
2019-05-30 10:48:07 +03:00
Gerasimos (Makis) Maropoulos
280872fd59 add iris websocket client side for Go and a simple chat example
Former-commit-id: af1c555b6b092a3d0484fee2e200fd8767d7239e
2019-02-09 04:28:00 +02:00
Gerasimos (Makis) Maropoulos
b8addac888 add versioning example
Former-commit-id: 54c903135d1c2ba1838b47fa419433dbb010c317
2018-11-18 03:06:59 +02:00
Gerasimos (Makis) Maropoulos
3962710d3d Version 11 released. Read https://github.com/kataras/iris/blob/master/HISTORY.md#su-21-october-2018--v1100
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
2018-10-21 19:20:05 +03:00
Gerasimos (Makis) Maropoulos
9f464310e3 Add one more example for dependency injection (HTTP Request-based) using our hero
Former-commit-id: ff18371d254caf2d1932d6522b1ebc1f8032708f
2018-08-10 00:23:17 +03:00
Gerasimos (Makis) Maropoulos
2b2492abfa Add a simple 'Context#GetReferrer', as requested by the People: adapt the goreferrer external package
Former-commit-id: 8f1dce93dd5a2449d806f0b28baf5a8c860193b5
2018-08-04 15:19:17 +03:00
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
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
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
cd5109ae0e Iris + WebAssemply = = 💓
Former-commit-id: 44f08f112cfba8006d2a6fe34e32b24e5c246856
2018-07-09 09:13:36 +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
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
3c6d1f2fa3 _examples/README: add bolt session database example link
Former-commit-id: 373f25cc016fbdad84e208123c024999d35a47e4
2018-04-26 08:07:09 +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 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
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
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 (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
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
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
ad9c76adb3 nothing tremendous here
Former-commit-id: 34e7c423d0b777b2d8c60e74c8aad0efc13bd7fc
2018-01-09 04:37:23 +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
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
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
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
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
2042fddb66 Another new feature: websocket controller, for real
Former-commit-id: c1a59b86733e890709b52446e22427a17d87f5fc
2017-12-20 17:56:28 +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
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
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
kataras
8d659d3589 move csrf middleware example
Former-commit-id: 5dbe3affead73a97b5313b9f7c00e88470aba24d
2017-11-21 11:38:55 +02:00
kataras
3b572eb23b Add an example for CSRF Protection
Former-commit-id: c38fd425b00210f730e274385cb2156b423f7fbc
2017-11-14 10:48:57 +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
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
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
11277f12a0 Structuring examples - Pushed to iris-contrib/examples as well.
Former-commit-id: 24ee6ce233d83f0b394afc6c69b5a88243406045
2017-10-22 16:04:11 +03:00