Gerson Alexander Pardo Gamez
dcde9d05a2
Websocket: fixed memory leak on startPinger
...
Former-commit-id: fe6162dd8914398e1333850950e1898e89e75005
2017-10-16 17:54:17 -05: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
6d94a51d3d
Update README.md
...
Former-commit-id: 79f2afdda02ca9e227ada5c1b78c34ead20fbc88
2017-10-12 21:45:14 +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
92bb47803f
Merge pull request #783 from jerson/patch-1
...
Fixed fireOnLeave when connection is already closed
Former-commit-id: 6af5403ac3adceed1017f886a1b7cb336495d125
2017-10-12 02:26:19 +03:00
Gerson Alexander Pardo Gamez
9da7bdb27d
Fixed fireOnLeave when connection is already closed
...
Former-commit-id: 664afda8f052b9c7596f82d66cc4faeb6e09148d
2017-10-11 12:34:01 -05:00
Gerasimos (Makis) Maropoulos
501c9d18d9
add some minor comments for the view/django's origin type getters pushed by https://github.com/kataras/iris/pull/765
...
Former-commit-id: 2d406337901d5d22636490bd8de3939a33cee882
2017-10-11 01:28:26 +03:00
Gerasimos (Makis) Maropoulos
be03f915bb
vendor the sessions/sessiondb/badger database
...
// The Iris' vendored badger it's self-vendored as well.
// Why?
// Because they were changing their public API a lot and iris was unable to built itself...
// https://github.com/dgraph-io/badger/pull/256
// https://github.com/dgraph-io/badger/pull/254
// https://github.com/dgraph-io/badger/pull/261
// I fixed everything by pushing a PR(the original's repository tests were failing) from the kataras/badger to the dgraph-io/badger:
// https://github.com/dgraph-io/badger/pull/264
// But it's better to have it on its own folder for the shake of stability,
// Iris should be not affected of any third-party changes,
// this method guards against upstream renames and deletes.
Former-commit-id: 56e796cc96ac93024c1c53905ae9a78b81b37230
2017-10-11 01:21:54 +03:00
Gerasimos (Makis) Maropoulos
99c18f5a86
fix badger session db can't built, they changed their api 3 hours ago: https://github.com/dgraph-io/badger/pull/261
...
This is the last time I update this session database, if they change their API again iris will vendor that session database and remove the `sessions/sessiondb/badger.go#NewFromDB`
Relative: https://github.com/dgraph-io/badger/pull/261
Read https://github.com/kataras/iris/blob/master/HISTORY.md#tu-10-october-2017--v851 for the previous release.
Former-commit-id: b8df7292f3b73c5ba2b595514c58fb0c85bc1ec5
2017-10-10 17:07:01 +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
713e5c3362
Minor changes. The important: v8.5.0 released, read https://github.com/kataras/iris/blob/master/HISTORY.md#mo-09-october-2017--v850
...
Former-commit-id: d79204bb6ff8e495378637481e022b014d7f7bed
2017-10-10 05:25:09 +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
fda35cbdb5
Update to version 8.4.5 | Read https://github.com/kataras/iris/blob/master/HISTORY.md#fr-06-october-2017--v845 User Experience Report: https://docs.google.com/forms/d/e/1FAIpQLSdCxZXPANg_xHWil4kVAdhmh7EBBHQZ_4_xSZVDL-oCC_z5pA/viewform?usp=sf_link
...
Former-commit-id: abc2dc12c58a8160eee05b3140b9f32a1f77a2c5
2017-10-06 08:44:10 +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
6925ed9b33
Merge pull request #779 from ZaniaDeveloper/fixup-useglobal-order
...
Fixup #778 : UseGlobal call order
Former-commit-id: 96458bcbe02df44c9ecd14440f4a292c6d9e002e
2017-10-06 00:51:35 +03:00
ZaniaDeveloper
0d339ce91e
Fixup #778
...
UseGlobal call order.
Former-commit-id: 293b37e6071e55aaa6c39bf12db9aed5c453c235
2017-10-05 08:15:05 +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
efa3c8557a
https://docs.google.com/forms/d/e/1FAIpQLSdCxZXPANg_xHWil4kVAdhmh7EBBHQZ_4_xSZVDL-oCC_z5pA/viewform?usp=sf_link Submit your experience with Iris, today
...
Former-commit-id: 51f802637e5eae8d52b5b7c79c4dad0ebbe845c6
2017-10-04 02:25:58 +03:00
Gerasimos (Makis) Maropoulos
12e9e7397a
Submit your Experience with Iris now: https://goo.gl/forms/vKMsg4bjHO09kGwb
...
Former-commit-id: 4bc56671143b19a820b893e173746d6bac6126ba
2017-10-03 22:45:19 +03:00
Gerasimos (Makis) Maropoulos
f6ca34dc29
Merge pull request #774 from codehakase/patch-1
...
Update doc.go
Former-commit-id: ea459154bfc2861548390990bebf77ad866df0fe
2017-10-03 18:48:00 +03:00
Francis Sunday
4a6fc6edbe
Update doc.go
...
Former-commit-id: 3b274fb568da4ece8cc38bba4ee3c78ccb9282dc
2017-10-03 16:02:58 +01: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
c6a3b47573
fix https://github.com/kataras/iris/issues/772
...
Former-commit-id: 37fb93250c2ed48fcadb550d1444c77e4a89bce8
2017-10-03 04:54:46 +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
e066771207
Add support for multi http methods route registration at the .HandleMany
...
Former-commit-id: 6aa2c3027d64dac31a1cf84d782a3c63ad7b2fb0
2017-10-02 04:01:23 +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
ba63031871
Update to version 8.4.4 | Read https://github.com/kataras/iris/blob/master/HISTORY.md#su-01-october-2017--v844
...
Former-commit-id: 8c339fc59ade04ad35bc108c817c4d4c30dbca33
2017-10-01 06:55:01 +03:00
Gerasimos (Makis) Maropoulos
3e6ec4d441
fix https://github.com/kataras/iris/issues/762
...
Former-commit-id: 13d1a274518ed6b2fdfa9fefd02021b0ebc3071f
2017-10-01 06:26:21 +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
7989a2fd72
fix https://github.com/kataras/iris/issues/771
...
Former-commit-id: 5659b6ca274bb51d7de0d079b0e87c0c513540a6
2017-09-30 23:52:32 +03:00
Gerasimos (Makis) Maropoulos
20e2dd694f
Add expressjs benchmarks similar to iris and netcore but MVC
...
Former-commit-id: 0f56ebf040514ee332b6b4a13ecc02ce6cd339c7
2017-09-29 15:35:51 +03:00
Gerasimos (Makis) Maropoulos
3dc0604376
Upgrade the donation link to https://www.paypal.me/kataras
...
Former-commit-id: 9dbb03cd4ab2e9153cf34c2b37c6148d5a4379de
2017-09-29 05:23:03 +03:00
Gerasimos (Makis) Maropoulos
bff09c1a93
Improve memstore's GetBoolDefault
...
Former-commit-id: db47fcf76eaf09ea9d63bae2623c61a1af435c39
2017-09-29 03:58:43 +03:00
Gerasimos (Makis) Maropoulos
1a57504431
Add nil checks for memstore's GetInt, GetInt64, GetFloat64, GetBool and remove the golang/net/context's interface completion from Context
...
Former-commit-id: f79940acf96d44df5bae8eaaaf20086fdc5e251e
2017-09-29 03:54:05 +03:00
Gerasimos (Makis) Maropoulos
95fe7c2853
Update to version 8.4.3 https://github.com/kataras/iris/blob/master/HISTORY.md#we-27-september-2017--v843 and Update README.md
...
Former-commit-id: 1774927a71b0570c9f887e298562f602b8ed1309
2017-09-27 17:30:09 +03:00
Gerasimos (Makis) Maropoulos
1b1ec0ab4c
Earlier: Update to version 8.4.3 - Minor change: move the type aliases section to the FAQ file, one place.
...
https://github.com/kataras/iris/blob/master/HISTORY.md#we-27-september-2017--v843
Former-commit-id: cde45404fd2abff404dc6f505912f33f3457d2a3
2017-09-27 17:09:10 +03:00
Gerasimos (Makis) Maropoulos
7d3e2ae290
Update to version 8.4.3
...
Former-commit-id: ca3e87f77855424f1d50fa871741dac53375cb63
2017-09-27 17:00:34 +03:00
hiveminded
4bb230d9ab
add a second type aliases section at README for new gophers 🆎
...
Former-commit-id: 3e2abd4e0b322021f3a22db4dcdccc61fc76f15d
2017-09-27 15:40:45 +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