Commit Graph

1252 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
cc679280ff fast-fix from prev commit
Former-commit-id: 3e1160018eb25cd844785fb951af0d31776df04c
2018-08-08 13:29:01 +03:00
Gerasimos (Makis) Maropoulos
51e1b44c72 websocket: use of sync.Map
Former-commit-id: 8ecb1e6f70380195ce916d4dfc3fe8d41c851995
2018-08-08 13:22:00 +03:00
Gerasimos (Makis) Maropoulos
43fd73eab9 internals: core/router/api_builder_benchmark_test.go: replace the strings.Builder(go 1.10+) with the bytes.Buffer, it is a test so we are ok let it build and run for go1.10- as well
Former-commit-id: a531db90fe02fd327e12ecc20128090e18b3dbcb
2018-08-07 13:05:32 +03:00
Gerasimos (Makis) Maropoulos
55e4cf038e add example for hero *sessions.Session dependency which is used on an index route outside of the main package, it is as easy as it shown. Added mostly after the issue: https://github.com/kataras/iris/issues/1057 -- have fun
Former-commit-id: 93338d0e03d6be885edf783c09a2c181568e9ec5
2018-08-07 12:43:51 +03:00
Gerasimos (Makis) Maropoulos
293c29d6e7 preparing for the Iris control panel -- stay tuned when you hear my new project name 'cornea'
Former-commit-id: 8c0ada865ee17801efe90b197bf49bdbd55f636b
2018-08-06 04:20:59 +03:00
Gerasimos (Makis) Maropoulos
e5f6bce86f examples: writing an API for the Apache Kafka: add a root handler for routes documentation to make navigation easier and add some other methods that may find them useful for request state and routes description
Former-commit-id: 3775aab2386051b23e127ccc9e3a6accdfdee6d0
2018-08-05 13:51:05 +03:00
Gerasimos (Makis) Maropoulos
2b2492abfa Add a simple 'Context#GetReferrer', as requested by the People: adapt the goreferrer external package
Former-commit-id: 8f1dce93dd5a2449d806f0b28baf5a8c860193b5
2018-08-04 15:19:17 +03:00
Gerasimos (Makis) Maropoulos
1ec8452208 simplify readme
Former-commit-id: 95158c51fc01195b60f9ee873ab416c314568198
2018-08-04 13:08:18 +03:00
Gerasimos (Makis) Maropoulos
8b5c106d1c NEW TUTORIAL: Writing an API for Apache Kafka with Iris: _examples/tutorial/api-for-apache-kafka. Hope you will enjoy it as I did the whole night:)
Former-commit-id: c88f5bbbe171e386c855b91be265b972caa3c1a8
2018-08-04 05:50:22 +03:00
Gerasimos (Makis) Maropoulos
f6160c61bd add some of the _examples to the README, nothing crazy here
Former-commit-id: ec6e4dc3e986e476da99f840bc897324d03ba0d0
2018-08-03 13:45:05 +03:00
Gerasimos (Makis) Maropoulos
21e90ac4c5 examples: improve the server-sent events example with a table and javascript use...
Former-commit-id: 20a6dd0e62679b20fefb2f0a7819c158247a3ca1
2018-08-03 01:59:19 +03:00
Gerasimos (Makis) Maropoulos
5d9ded37c4 Add 'context.OnConnectionClose(callbackFn) bool' and 'context.OnClose(callbackFn)' and give a use case example. More on this path later on, stay tuned.
Former-commit-id: dc6580f072d076b8cb204a681e45905210981153
2018-08-02 17:46:35 +03:00
Gerasimos (Makis) Maropoulos
d98da25ffb add a README note about the known issues for Go inside code editors/IDEs
Former-commit-id: a4be78e746f5675291bab5a1b3e62eaf42cbd98c
2018-08-02 01:58:46 +03:00
Gerasimos (Makis) Maropoulos
2b72aadb15 add server side events via broker example (based on external resource but it is fairly good for a simple SSE showcase)
Former-commit-id: 926c2a88bf1c44354a99654bc85e267b940723b8
2018-07-31 03:12:16 +03:00
Gerasimos (Makis) Maropoulos
badea8b9c5 Merge pull request #1053 from dibyendu/iris-ws.js
Minified the client.js using UglifyJs

Former-commit-id: 7026de0467d986b959f61d85b23b8f50137abaff
2018-07-30 12:39:49 +03:00
Dibyendu Das
f4dd07ad00 Minified the client.js using UglifyJs
$ npm install uglify-js -g
$ uglifyjs --compress --mangle -o client.min.js client.js

Former-commit-id: 078ce0534f845c018fb66767c0aec17dd1406160
2018-07-30 14:27:28 +05:30
Gerasimos (Makis) Maropoulos
774a2142a4 grammar
Former-commit-id: 1c715e3477595c7704450d96f721f88e2b7696a1
2018-07-25 06:17:21 +03:00
Gerasimos (Makis) Maropoulos
6bd50dda52 give more life to the README like the old times
Former-commit-id: ed0cdd621ab6f6cb89f622e2d978d2e2ae8a6b8a
2018-07-25 06:14:33 +03:00
Gerasimos (Makis) Maropoulos
bc4ca99cf9 websocket: dupl the client js lib for cdns as requested by: https://github.com/kataras/iris/issues/1047
Former-commit-id: c76a6cf70ce11ac1beeafb9b80559f2bf0274b9f
2018-07-25 04:46:31 +03:00
Gerasimos (Makis) Maropoulos
247a558394 Add example for struct validation(3rd-party) through json request body binding
Former-commit-id: 78bbbe068f219e5a264951c900b77cb9b70f2079
2018-07-24 04:33:53 +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
f7c0cbe5cd update deps and move one vendor to our organisation for making a new branch in order to solve this: https://github.com/kataras/iris/issues/1040, although it's not ours problem...
Former-commit-id: 6013525d2aabc35461bf24871e3b36ca91004fb9
2018-07-15 16:09:03 +03:00
Gerasimos (Makis) Maropoulos
cd5109ae0e Iris + WebAssemply = = 💓
Former-commit-id: 44f08f112cfba8006d2a6fe34e32b24e5c246856
2018-07-09 09:13:36 +03:00
Gerasimos (Makis) Maropoulos
0297afdc6b nothing crazy here, add the 'Transcoder' type explicitly to the sessions#DefaultTranscoder, relative to https://github.com/kataras/iris/issues/1033
Former-commit-id: 3a907d20eaf2be4b0ee21aa2be3fcc2558b7fb4e
2018-06-27 13:30:28 +03:00
Gerasimos (Makis) Maropoulos
16a37dbfac add kataras/survey to the Gopkg.toml although I do NOT recommend using 'dep' or 'gp' or any other third-party tool for your dependencies -- Go is not ready for that, at least yet. Iris is fully vendored you don't need those here. Rel: https://github.com/kataras/iris/issues/1029\#issuecomment-400272324
Former-commit-id: b2f3c766ae9fb250f1f8c76cf7f47ff640169929
2018-06-26 17:36:08 +03:00
Gerasimos (Makis) Maropoulos
2acb6e9385 session examples: add the 'AllowReclaim: true' session.Config field to true, help users like https://github.com/kataras/iris/issues/1031\#issuecomment-399894693
Former-commit-id: 2ab7e56a4fda380fb52a8912a328797ba332f2c8
2018-06-25 20:21:52 +03:00
Gerasimos (Makis) Maropoulos
d216b91074 update protobuf vendor for badger session database
Former-commit-id: de02f8fcd7fa45a18285b687b5f3452c580b1339
2018-06-24 14:24:58 +03:00
Gerasimos Maropoulos
cc4409e77a Update to version 10.6.6. Read https://github.com/kataras/iris/blob/master/HISTORY.md#tu-05-june-2018--v1066 for more
Former-commit-id: 9f73b831dcd6bda160ddd3f70ace59a5cc63c31c
2018-06-05 01:24:35 +03:00
Gerasimos Maropoulos
f83e125d7f fix https://github.com/kataras/iris/issues/1020, redis database stores the int as float64, so make that type assertion on GetInt as well
Former-commit-id: d29abdfe3a39fa1e046acbc5d118421a153d9c04
2018-06-03 02:47:48 +03:00
Gerasimos Maropoulos
b4856d542d Cookies: Ability to set custom cookie encoders to encode the cookie's value before sent by ctx.SetCookie and ctx.SetCookieKV and cookie decoders to decode the cookie's value when retrieving from ctx.GetCookie. That was the second and final part relative to a community's question at: https://github.com/kataras/iris/issues/1018
Former-commit-id: 53b6810076c8db8646df335d57a30c78b23cd9b8
2018-06-02 16:35:18 +03:00
Gerasimos Maropoulos
fcff62d5b4 Some minor but helpful additions, like CookieOption. Relative: https://github.com/kataras/iris/issues/1018. Simple cookies example added too. Cookie encoding (side by side with the already session's cookie id encoding) and version upgrade will come tomorrow with a new HISTORY.md entry as well, stay tuned!
Former-commit-id: d14181fac998d32d77690b1b3e42b6c7c72f1ace
2018-06-02 07:28:40 +03:00
Gerasimos Maropoulos
f84248cb4e middleware/logger: new configuration field, defaults to false: Query bool, if true prints the full path, including the URL query as requested at https://github.com/kataras/iris/issues/1017
Former-commit-id: 03c8fc523a8ba955dae43e4c7e9498fc3d86a1c8
2018-05-31 01:39:23 +03:00
Gerasimos (Makis) Maropoulos
5de17a08f9 Merge pull request #1015 from tkhkokd/tkhkokd-readmeJPN
README_JPN added

Former-commit-id: 196a9cedbc4287ac8a5099b6ca46207563a58070
2018-05-30 09:53:52 +03:00
Gerasimos (Makis) Maropoulos
f9bfe4a70a Merge pull request #1008 from gschri/adding_readme_pt_br
Create README_PT_BR.md

Former-commit-id: 085749f0d4bcf724a9cd1b459f83ab6037309280
2018-05-30 09:51:19 +03:00
Gerasimos (Makis) Maropoulos
5884d87bfa Merge pull request #1009 from Schatzman/patch-1
Fix Typo in CSRF Example signup.html

Former-commit-id: 2fe1c222e46843d8c2a8432429bd941bb9012332
2018-05-30 09:49:53 +03:00
Takahiko Okada
0b24e173a8 fixed typos and wording
fixed typos and wording

Former-commit-id: 39b95630c1d1c8935a4f8e60e179ec946b22f3d1
2018-05-29 21:23:59 +02:00
Takahiko Okada
1fe1ee17e0 README Japanese Version Created
README Japanese Version Created

Former-commit-id: 2c90894380f691ffb49ef16b5c572fbbfe3cc8d3
2018-05-29 21:15:06 +02:00
Schatzman
008dfe869c Fix typo
"Procceed" -> "Proceed"

Former-commit-id: 7f9b983d4281bf3d8492e2722e327e551ed7e716
2018-05-26 14:23:19 -06:00
Gerasimos Maropoulos
beef97fd5d Update vendor for Pug (Jade) Parser and add Iris + Pug examples in the _examples/view folder, relative to https://github.com/kataras/iris/issues/1003
Former-commit-id: e26a5701e00ec055f3bcf693c1980c7d22147310
2018-05-26 22:49:48 +03:00
gschri
4441da3d8e Create README_PT.md
Translated README.md to Brazilian Portuguese and created README_PT_BR.md file with the translation.

Former-commit-id: 33163dacf50647e598d4d1962675b79d86f20844
2018-05-26 11:29:32 -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 (Makis) Maropoulos
8c41968905 Merge pull request #1000 from haritsfahreza/master
Add README_ID.md

Former-commit-id: 13a3b5d7b63f4e0d8a849694112ecb599291c12a
2018-05-20 23:35:09 +03:00
Gerasimos (Makis) Maropoulos
cf00188008 Merge pull request #1005 from chengyumeng/fix/cookie-subdomain
fix cookie bug when domain is such as 'subsubdomain.subdomain.localho…

Former-commit-id: cd07434b230d315eea61245ad90efa00e7614fdc
2018-05-20 23:34:49 +03:00
zhangpenghao-pd
5920df909e fix cookie bug when domain is such as 'subsubdomain.subdomain.localhost.com'
Former-commit-id: 3a19ba09098cdc0f01299126d05c8d6d6387415b
2018-05-18 13:09:07 +08:00
Harits Fahreza Christyonotoputra
a21e85a613 Create HISTORY_ID.md
Create HISTORY_ID.md to translate HISTORY.md into Bahasa Indonesia


Former-commit-id: ebe8b677b61f665419946d0a36360fd571e4e202
2018-05-15 14:21:19 +07:00
Harits Fahreza Christyonotoputra
74d099f283 Change FREE word into GRATIS
Translate FREE word into GRATIS to make it perfect


Former-commit-id: 261ffcc34db6acdea6c170e50313c90020e15ac2
2018-05-15 02:00:25 +07:00
Harits Fahreza Christyonotoputra
cd5a70744c Create README_ID.md
Translate README.md into Bahasa Indonesia and create README_ID.md


Former-commit-id: efd9027dcac9edf8d2c12d357023a9a46f451ab7
2018-05-15 01:57:33 +07:00
Gerasimos Maropoulos
485cfbc838 Update to version 10.6.4 | Read HISTORY.md for the bug fixes
Former-commit-id: 4b981358f4e89807d1ccd8357a53641e770ab075
2018-05-09 01:36:04 +03:00
Gerasimos Maropoulos
4d9909cba5 fix https://github.com/kataras/iris/issues/996
Former-commit-id: bcb8905faf20e08be1ef9ec203385a1a7440eebd
2018-05-09 01:28:26 +03:00
Gerasimos Maropoulos
0fc4436da6 fix https://github.com/kataras/iris/issues/995
Former-commit-id: 7f743e18c1202eaa19062ca4304611194a10962c
2018-05-07 16:49:17 +03:00