Commit Graph

1022 Commits

Author SHA1 Message Date
Zeno-Code
db73f852af Update README_ZH.md
Former-commit-id: a5fc70a8f85b4a71fc9acf3df6ccc37c58511547
2018-01-02 10:19:36 +08:00
Zeno-Code
e8d71c6682 Update README_ZH.md
Former-commit-id: 12d34a89d95c95bf647e339ab973b02442de4407
2018-01-02 04:46:19 +08: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
e30862b74b Merge pull request #852 from kataras/dev
make cache package to work across multi handlers.

Former-commit-id: 2aafeb75f093c973d0b05b7f94c302f64b4b70e6
2018-01-01 21:55:10 +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
4e9e1cba39 Happy New Year to everybody! Version 10 Published. Read HISTORY.md
Thank you all for your amazing feedback and requests!

Former-commit-id: 1515aa37d73df109235813c94b3dc3cc9fd7fa48
2018-01-01 00:08:38 +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
4dbecf762c write a README at the _examples/tutorial/vuejs-todo-mvc mini tutorial, which will be published to other sites soon
Former-commit-id: cee096d0e327b0180bd4ec83d5674729c67b3ddb
2017-12-31 08:00:02 +02:00
Gerasimos (Makis) Maropoulos
e389097249 add(?) the chinese readme, some sentences are from the previous translation by community and the rest.... let's hope someone will help us more here
Former-commit-id: bd5fbd2ee29389f609793148845c658f08722297
2017-12-31 07:22:31 +02:00
Gerasimos (Makis) Maropoulos
05334560f3 add a code snippet as a very simplistic overview and update the license dates from 2017 to 2017-2018
Former-commit-id: 1114ea5a38d0f8cf71c808f9603acf05419ecd4d
2017-12-31 06:45:12 +02:00
Gerasimos (Makis) Maropoulos
85f179602d https://github.com/kataras/iris/pull/849
Former-commit-id: cf65444356bf636997128593661367c89906beee
2017-12-31 03:46:25 +02:00
Gerasimos (Makis) Maropoulos
3069fb915b resolve conflicts from master
Former-commit-id: 893b3b1903cdde396356193d860987faac79f826
2017-12-31 03:45:29 +02:00
Gerasimos (Makis) Maropoulos
c483b298f4 re-remove the readme on vendors
Former-commit-id: fd7ba630b4fc065b2a1c1bf02d71c6e692f06178
2017-12-31 03:44:59 +02:00
Gerasimos (Makis) Maropoulos
825f014ceb resolve conflicts from master
Former-commit-id: e196ccc4a4e390b4d2b623a322d12e90dc9141d2
2017-12-31 03:44:03 +02:00
Gerasimos (Makis) Maropoulos
bc1fa77d6a github fix your cache
Former-commit-id: a2fbdb8f80b1b0e5e140c5722c60c0b4e887dbf7
2017-12-31 03:22:22 +02:00
Gerasimos (Makis) Maropoulos
1e91a82ac5 logo to icon rename because of github cache, no ?
Former-commit-id: 90cf98e2f2b5edbf3c42823e0594e92753e89f22
2017-12-31 03:20:28 +02:00
Gerasimos (Makis) Maropoulos
b4e1e8fecb capitalize the title
Former-commit-id: b9e7c1413ac4ea76ffd775e5a7505193d5920550
2017-12-31 02:59:35 +02:00
Gerasimos (Makis) Maropoulos
eb5526c36a add a newline after support's images[2]
Former-commit-id: 8e5ae5ee0229d8f88506ef8647cf614a6cdfac91
2017-12-31 02:50:04 +02:00
Gerasimos (Makis) Maropoulos
369ea01531 add a newline after support's images
Former-commit-id: cea04dd4e3a4ef2c5f5942fe27e2a3a4d784d71e
2017-12-31 02:42:26 +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
617258890e add GetRoute for MVC Controllers. Give the chance to change rsome route's properties like Name (used for reverse routing in templates, optionally).
Former-commit-id: 5ee9b1f97ff3c98cd8e5faddd23a87bbafb8e2e0
2017-12-30 22:04:26 +02:00
Gerasimos (Makis) Maropoulos
c8ade43b64 fix black with external link
Former-commit-id: b83c0d57c7401e27049353679f4f3e4b3bc9e981
2017-12-30 21:02:25 +02:00
Gerasimos (Makis) Maropoulos
2bc74a5832 fix black svg?
Former-commit-id: 89a6bd0774a2738caa00e4dd875b93114a5602b3
2017-12-30 20:48:07 +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
75d710ce90 respect the new configurator WithPostMaxMemory on the context.PostFile
Former-commit-id: b0127d2ae3048a94f2647c53b2177dbc79084448
2017-12-27 20:47:19 +02:00
Gerasimos (Makis) Maropoulos
90c825efc8 breaking change: remove static field context.DefaultMaxMemory and replace it with a better configurable option inside the main configuration, this makes things clear and it allows users to prevent any unwanted client behavior without digging into the framework's internals
Former-commit-id: 875afd32acfab8abdea15ce9be2ad384eb6bad5e
2017-12-27 20:42:46 +02:00
Gerasimos (Makis) Maropoulos
6254ade603 some improvements on the context#Post/Form comments docs
Former-commit-id: 0486e2291f3fb39eeed4d03a7d20becd516e5bbc
2017-12-27 19:52:06 +02:00
Gerasimos (Makis) Maropoulos
969aaab4f6 some comment grammar fixes? need help here.
Former-commit-id: 5695e4c6456b052fae45de1fa6724fae39ceac3e
2017-12-27 17:09:47 +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
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
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
8fd4dc2b4b update badger sessiondb
Former-commit-id: 8419d561ef732d6e4d0d3bb5536db540e1dd3a9f
2017-12-27 03:40:10 +02:00
Gerasimos (Makis) Maropoulos
03ecfe49f1 update badger db to its latest version and remove it from gopkg.toml/lock because it's vendored inside the sessionsdb/badger itself, this should fix https://github.com/kataras/iris/issues/848
Former-commit-id: 006b1d4d3c8dbe09b448ff33dade8978fddef4eb
2017-12-27 03:35:01 +02:00
Gerasimos (Makis) Maropoulos
650cd6c294 add images for hero basic examples to be easier to understand
Former-commit-id: 012ec70fc7761e899f4114f956839a6adce7c21a
2017-12-27 03:17:06 +02:00
Gerasimos (Makis) Maropoulos
38ff34ee1e fix trailing parenthesis on the mvc/ideas/1/main.go which will be removed at the next commits, this was my dream and I made it reality in just 50 hours :P
Former-commit-id: 9c01ab4d684897815dccb02ab6515f568b22a1cc
2017-12-25 21:00:14 +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
46505f62db create a new package, name it as hero, I was thinking super or superb but hero is better name for what it does - the goal is to split the new 'mvc handlers' from the mvc system because they are not the same, users should know that they can use these type of rich binded handlers without controllers as well, like a normal handler and that I implemented here, the old files exist on the mvc package but will be removed at the next commit, I have to decide if we want type aliases for Result or no
Former-commit-id: cb775edc72bedc88aeab4c5a6de6bfc6bd56fae2
2017-12-25 20:05:32 +02:00
Gerasimos (Makis) Maropoulos
4ab889da5f minor comment updates for sessions package
Former-commit-id: 6f73c5d83861a1f61acda07e7f78cb882320dc8c
2017-12-24 19:43:31 +02:00
Gerasimos (Makis) Maropoulos
042603c311 this is just a temporary view
Former-commit-id: d13c9a98d1a1ccc192ac1f5049936d94c959eb07
2017-12-24 06:27:03 +02:00
Gerasimos (Makis) Maropoulos
7f423ba068 thinking a new way of displaying the README, give no readme hand-written examples, we have the _examples folder already but I should continue creating the new documentation for deep understanding and show a part of it on readme as image(?)
Former-commit-id: 9b6a6bceffb6ae23bf490d78cad31367ca2aa78e
2017-12-24 06:24:45 +02:00
Gerasimos (Makis) Maropoulos
2b566d68e8 resolve vendor duplication, we won few MB in size but not much, if I apply my solution they will think me illuminati like florin did lol
Former-commit-id: 56c273b3d8b79ce7f777c587564f58363512491e
2017-12-24 02:53:52 +02:00
Gerasimos (Makis) Maropoulos
9c79dcc97a add locks on the MemoryService of the vue mvc example, keep it simple but runnable:P
Former-commit-id: 5d661f401e486a26d66f5c0c297f5cf897fc1834
2017-12-24 01:22:44 +02:00
Gerasimos (Makis) Maropoulos
d31b8c5274 _examples/tutorial/vuejs-todo-mvc finished, live updates on all clients with the same session id (u can do it with login id for example) and memory storage on the server side, works perfectly and amazing fast, nice vue and iris
Former-commit-id: 0bb930f43e2d70a707d3c6880dc255acd78debf2
2017-12-23 18:11:00 +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
a2f217be17 Merge branch 'master' into dev
Former-commit-id: ff754fb445bdc579c1d7925fcc9315e5ffc92615
2017-12-22 11:12:41 +02:00
Gerasimos (Makis) Maropoulos
93b037737c add comment doc on the core/memstore.go#Entry##GetByKindOrNil
Former-commit-id: 8e5f0132ace95088a7cdca05b923773369116ad4
2017-12-22 11:12:10 +02:00
Gerasimos (Makis) Maropoulos
a5a87706c1 misspell fix
Former-commit-id: e301671f86118ad6ac686fd3e43b3cba92dbbff1
2017-12-22 11:08:16 +02:00
Gerasimos (Makis) Maropoulos
12ef034ea1 add some comment docs at the mvc/controller.go
Former-commit-id: 6ff3c8694c3e581c3e28fc706bddbc6759492280
2017-12-22 11:07:13 +02:00