Commit Graph

834 Commits

Author SHA1 Message Date
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
3c5f729f40 Merge pull request #797 from kataras/hiveminded-patch-1
Thank you!

Former-commit-id: 6bd178e97e517811deb67a20a6819f8a86ebc7a6
2017-10-24 22:32:10 +03:00
Bill Q
069caf2b96 Update HISTORY.md
Former-commit-id: 5e99447a20fcd359fd46beec300cc85594788e84
2017-10-24 16:47:02 +03:00
Bill Q
6f6bbfea52 Update HISTORY.md
Former-commit-id: 244700cd6ac2eccd459a1354c0213447e4b73594
2017-10-24 16:40:58 +03:00
Bill Q
55bf9c1b7a Update AUTHORS
Former-commit-id: 97fff38993685c8e5f812e5ecff80a342d6d513b
2017-10-24 16:26:08 +03:00
Bill Q
45706768a3 Update AUTHORS
Former-commit-id: 1a719b794194f7cf2bb450641602f657bb63143b
2017-10-24 16:25:46 +03:00
Bill Q
4383d0c2e7 Update AUTHORS
Former-commit-id: 63cebcbb80ab06c4311c46edf97f6e515eef633f
2017-10-24 16:25:34 +03:00
Bill Q
1d3db24ccf Update AUTHORS
Former-commit-id: 7929d344f1ec2468e6d7601a88ca91b31db643f2
2017-10-24 16:25:21 +03:00
Bill Q
b470adc862 Update AUTHORS
Former-commit-id: 0c636c9c512094ceb593db3f1e062dc5627b82e9
2017-10-24 16:25:06 +03:00
Bill Q
c62db0560a Update CODEOWNERS
Former-commit-id: 400dfe79205c9271ece7c94bf49655e6499d9d67
2017-10-24 16:24:26 +03:00
Gerasimos (Makis) Maropoulos
b2360ba88c Codesponsor
Former-commit-id: 4e166d0075582c9deb2be798101c810603b9af5a
2017-10-22 20:57:29 +03:00
Gerasimos (Makis) Maropoulos
3e910918c5 Update to version 8.5.3 | Read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md#su-22-october-2017--v853

Former-commit-id: 1d0db704d5be5736d46d3f2d8e9f58ec5887da26
2017-10-22 16:38:08 +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
f95986d0c0 Nothing crazy, yet. Add an iris.StaticEmbeddedHandler shortcut of router.StaticEmbeddedHandler and extend the configuration's tests
Former-commit-id: 7a105c12ffe08f071bff2c212f96d648ed58c542
2017-10-22 01:12:12 +03:00
Gerasimos (Makis) Maropoulos
7372cfe38d Merge pull request #795 from jerson/patch-6
Websocket: added GetTotalConnections, GetConnections and GetConnection
Former-commit-id: b4a90a3b9d0dbdfcc740b7d84a3725abe76d9ff2
2017-10-22 00:47:17 +03:00
Gerasimos (Makis) Maropoulos
1cd9b70791 Some fixes to the previous edit
Former-commit-id: da5219084b60d820ced713feff837e3964fa1fb0
2017-10-22 00:41:04 +03:00
Gerasimos (Makis) Maropoulos
9061d3d695 Some changes for the benefit of performance for https://github.com/kataras/iris/pull/795
Former-commit-id: 4b2896381c78f35daaaf85d694c15e1cbdb78ac4
2017-10-22 00:33:05 +03:00
Gerson Alexander Pardo Gamez
6f1d1d2fea Websocket: added GetTotalConnections, GetConnections and GetConnection
Former-commit-id: fddddcdebd2a72ca082223bd29638a13ae6c0343
2017-10-21 15:44:36 -05:00
Gerasimos (Makis) Maropoulos
dd5b293011 replace time.Ticker with time.Sleep in websocket pinger
Websocket: replaced time.Ticker with sleep for avoid memory leak
Former-commit-id: 75470549033c286a0d3cbfb094cc298e6ffa9e83
2017-10-20 20:01:58 +03:00
Gerson Alexander Pardo Gamez
732c9f70ed Websocket: replaced time.Ticker with sleep for avoid memory leak
Former-commit-id: f17706649faebe3020792e31de877c724be41057
2017-10-19 22:06:31 -05:00
Bill Q
cddce4de5b Merge pull request #788 from jerson/patch-3
Websocket: fixed memory leak on startPinger
Former-commit-id: 9c4277f6eda39c52c02942e1311ec6fa1ecf8974
2017-10-17 13:31:11 +03:00
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