Commit Graph

28 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
0f113dfcda (#1554) Add support for all common compressions (write and read)
- Remove the context.Context interface and export the *context, the iris.Context now points to the pointer\nSupport compression and rate limiting in the FileServer\nBit of code organisation


Former-commit-id: ad1c61bf968059510c6be9e7f2cceec7da70ba17
2020-07-10 23:21:09 +03:00
Gerasimos (Makis) Maropoulos
311b560717 new feature: versioned controllers
Former-commit-id: c797e23c78b1e74bbe9ba56673f3a98f17f5e2f7
2020-06-19 20:58:24 +03:00
Gerasimos (Makis) Maropoulos
8c470e46a2 mvc controllers and methods: provide mvc.Application automatically
Former-commit-id: 991d8e72c3c231813a455dd0680cd8a83b82abb1
2020-05-06 08:00:56 +03:00
Gerasimos (Makis) Maropoulos
5d3c96947c New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
read HISTORY.md


Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
2020-04-25 02:30:19 +03:00
Gerasimos (Makis) Maropoulos
1bb76853a9 .DI() to ConfigureContainer(...builders)
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
2020-04-17 15:56:36 +03:00
Gerasimos (Makis) Maropoulos
1b02f048ef new 'Party.DI()' method to return the Party's instance of the new 'APIBuilderDI' and move the DI-relative Router to this new APIBuilderDI
Former-commit-id: 2fb81406c6e3162991c90e0918a3cac1b77c2b54
2020-04-08 20:04:56 +03:00
Gerasimos (Makis) Maropoulos
5fc24812bc ❤️ awesome and unique features for end-developers are coming...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)


Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00
Gerasimos (Makis) Maropoulos
08403f0317 Update to version 12.1.8 - Read HISTORY.md
Former-commit-id: d3d30cb15537146e3071731be9d674a5cb59de97
2020-02-16 11:14:35 +02:00
Gerasimos (Makis) Maropoulos
c13fd84354 fix https://github.com/kataras/iris/issues/1450 and continue on implementing 1449
Former-commit-id: 617f64d061e88f050a443ea1751fa244164656c5
2020-02-14 23:34:56 +02:00
Gerasimos (Makis) Maropoulos
3945fa68d1 obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.


Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
2019-10-25 01:27:02 +03:00
Gerasimos (Makis) Maropoulos
bd5f96086b Add status code 103 Early Hints. Add the ability to customize and change the order of controller's fields and their registered valid dependencies relative to: #1343
Former-commit-id: 5bd9e02e5fafca135d17cad87f4a9aec526b333b
2019-08-26 16:43:02 +03:00
Gerasimos (Makis) Maropoulos
07046ab978 formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
2019-08-17 10:06:20 +03:00
Gerasimos (Makis) Maropoulos
1c2472c53f update the online visitors and vuejs +iris mvc todo app (this gave me some ideas to make the api a bit easier)
Former-commit-id: 8c84486a22505b7137669bde52383d2564a6b382
2019-07-15 18:45:22 +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
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
0d4d2bd3fa implement mvc HandleError as requested at #1244
Former-commit-id: 58a69f9cffe67c3aa1bab5d9425c5df65e2367ed
2019-04-16 18:01:48 +03:00
Gerasimos (Makis) Maropoulos
443776c423 add a warning on mvc if someone didn't read the examples or the godocs and .Register dependencies after .Handle
a developer sent a direct question message from our facebook page: https://www.facebook.com/iris.framework/


Former-commit-id: ebd7b4bc9078d4952799b4498ce4dfb0ed4c8072
2019-01-20 14:06:06 +02:00
Gerasimos Maropoulos
4993918a12 remove the complicated fallback handlers, that didn't work and not approve the coblexity addition of the https://github.com/kataras/iris/pull/919, RouteExists accepts first argument the Context, add new AllowMethods per party and fix cors by 048e2be034 https://github.com/kataras/iris/issues/922, rel: https://github.com/iris-contrib/middleware/issues/36, https://github.com/iris-contrib/middleware/issues/34, https://github.com/iris-contrib/middleware/issues/32, https://github.com/iris-contrib/middleware/issues/30, https://github.com/kataras/iris/pull/909
Former-commit-id: 5576c44b64014fb00dd79e618b815b5f52b705e4
2018-03-10 14:22:56 +02:00
Frédéric Meyer
66209cae4f Save
Former-commit-id: 592e9cddf3511fc08e87f19ad39fdaac479b453f
2018-02-21 08:18:53 +03:00
Gerasimos (Makis) Maropoulos
19e9ed330d add sharable package-level hero dependencies with the mvc controllers instances
Former-commit-id: 6c53190e40fa42d242a73eb80361830b65f0d077
2017-12-27 15:09: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
a5a87706c1 misspell fix
Former-commit-id: e301671f86118ad6ac686fd3e43b3cba92dbbff1
2017-12-22 11:08:16 +02:00
Gerasimos (Makis) Maropoulos
b78698f6c0 fix all _examples to the newest mvc, add comments to those examples and add a package-level .Configure in order to make it easier for new users. Add a deprecated panic if app.Controller is used with a small tutorial and future resource link so they can re-write their mvc app's definitions
Former-commit-id: bf07696041be9e3d178ce3c42ccec2df4bfdb2af
2017-12-20 08:33:53 +02:00
Gerasimos (Makis) Maropoulos
20ba72aecf fix typo
Former-commit-id: b6f9de4cf8d62210ffefba5d33dc8372d236748d
2017-12-18 06:47:05 +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
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