Commit Graph

119 Commits

Author SHA1 Message Date
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