Gerasimos (Makis) Maropoulos
|
5c91440e46
|
remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten
got an email feedback about this
Former-commit-id: b1caa261a0d425d8db2091bffb8cfd6065c4e1fa
|
2019-08-11 15:43:47 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
4caf8d7d9b
|
remove some examples learning content as they are exist on the wiki itself now
Former-commit-id: 8c69be5bf8ca21eb0e405ca5ad8431ceb1c2511e
|
2019-07-23 17:47:28 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f8d19b3ed2
|
add HandleMany to controller's Before/AfterActivation feature as requested at: https://github.com/kataras/iris/issues/1292
Former-commit-id: c021f49522a214ddc3978a1c8f5e8d32f029eb2d
|
2019-07-11 15:07:39 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
33dfb42d73
|
add the new neffos StackExchange feature to the type aliases and shortcuts of the websocket subpackage and auto-enable debug mode on websocket MVC application when iris logger's level is set to debug
Former-commit-id: 4d8cb79d01a4172fc1ed7a9b626da0228d902b3c
|
2019-07-11 12:59:11 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
2567ed22be
|
minor example fixes
Former-commit-id: 163652ddfad00300590fbe6798cf9761a8e4b5e6
|
2019-07-09 12:25:06 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
450f20902d
|
MVC improvements: add HandleWebsocket that now registers events automatically based on the struct's methods(!) and fix a bug when more than one value of the same type is registered to a static field of a controller
Former-commit-id: e369d1426ac1a6b58314930a18362670317da3c1
|
2019-07-09 12:16: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
|
7df7f0fea2
|
clean up the mvc error handler example
Former-commit-id: 30e42fe0a6c39909739ec6423d75a2be0fe4f1f6
|
2019-04-16 18:08:03 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0d4d2bd3fa
|
implement mvc HandleError as requested at #1244
Former-commit-id: 58a69f9cffe67c3aa1bab5d9425c5df65e2367ed
|
2019-04-16 18:01:48 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
ddec78af0a
|
add Context.ResponseWriter.IsHijacked to report whether the underline conn is already hijacked and a lot of cleanup and minor ws stress test example improvements
Former-commit-id: 444d4f0718d5c6d7544834c5e44dafb872980238
|
2019-02-23 07:23:10 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
c477251d1f
|
improve client test, I think we are OK, both gorilla(websocket) and ws(websocket2) have the same API, it's time to combine them but first let's give a lower level of api available for users if they want to manage the routines by theirselves (i.e on unix they can use netpolls manually)
Former-commit-id: 3209a7490939bce913732c1375190b0771ba63ae
|
2019-02-19 22:49:16 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
680b5a0923
|
websocket: replace sync.Map with custom map[string]*connection. Add translate template function example. Fix ctx.HandlerName() does not return the end-dev-defined current route's name, this will give better warnings when using MVC in a wrong way
Former-commit-id: 38fda8a20da9bc7665cdd209b7b367c1337dbd94
|
2019-01-25 23:47:31 +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
|
7337396e3c
|
README.md: example change
Former-commit-id: 4a66a689f86e5cd93ec9001e5ca18b4f5d3923be
|
2018-07-23 15:58:55 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
cd5109ae0e
|
Iris + WebAssemply = = 💓
Former-commit-id: 44f08f112cfba8006d2a6fe34e32b24e5c246856
|
2018-07-09 09:13:36 +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
|
66d367b255
|
Update to version 10.5.0 | Read HISTORY.md for more
Former-commit-id: 41b1947aafa258d342bbf9d22baeecc946d198a4
|
2018-03-24 10:39:44 +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
|
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
|
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
|
64da28af8b
|
one for today, one for tomorrow and ready :)
Former-commit-id: 2e0a335c84c1d9c57a61b7f3203e54f7cccd7dcc
|
2017-12-30 20:40:52 +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
|
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
|
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
|
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
|
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 |
|
kataras
|
7043f352d9
|
made it work but looking for another approach
Former-commit-id: e61c4573543c57b8d6d4ef2583e40f52c391402f
|
2017-12-04 05:06:03 +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
|
666bcacf20
|
Update to version 8.5.5
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
|
2017-11-02 05:50:56 +02: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
|
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
|
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
|
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 |
|