Gerasimos (Makis) Maropoulos
802348cedd
fix https://github.com/kataras/iris/issues/1569#issuecomment-663739177
...
Former-commit-id: c55f1023f4d93f6712c7fa4d299bcf1098872ecf
2020-07-25 09:23:34 +03:00
Gerasimos (Makis) Maropoulos
c3205dafa1
New DirOptions.Cache field for in-memory caching and pre-compression for the fastest possible static file server
...
Read HISTORY.md it contains a breaking change, second parameter of HandleDir should be iris.Dir(...) instead of just a string
relative to: https://github.com/kataras/iris/issues/1556#issuecomment-661057446
Former-commit-id: 14b48a06fb3b99287dff543932be2937a64233b9
2020-07-24 13:03:49 +03:00
Gerasimos (Makis) Maropoulos
a1991a0830
README: update benchmarks.
...
minor performance boost by making RequestParameter Set and Get methods more direct to the underline Memstore's kv
Former-commit-id: 4fae45b5bd23804e88aac1f7c66055dd81efc9c9
2020-07-18 14:35:27 +03:00
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
38b0a796bd
fix #1552
...
Former-commit-id: 953df27468e3905e557bb1f6a97ea431cb60f6a6
2020-07-06 19:08:02 +03:00
Gerasimos (Makis) Maropoulos
beb3f730a0
add an example (and a test case) for same route path pattern but different macro function's input argument
...
Former-commit-id: f20ac838a08473b6b8114b407cb0dcde7765f634
2020-07-02 20:56:22 +03:00
Gerasimos (Makis) Maropoulos
43502ed047
minor
...
Former-commit-id: 26b0b59ba54caac38d726d7fec562a5d6a0a76e3
2020-06-18 09:36:47 +03:00
Gerasimos (Makis) Maropoulos
6557dcf6c5
add route-handlers-execution-rules example
...
Former-commit-id: 95e3dfad33b98d20b761ea1d06dee8df91c3632d
2020-06-17 00:02:09 +03:00
Gerasimos (Makis) Maropoulos
6d977dacd2
minor example fix (design change that was actually not pushed)
...
Former-commit-id: db253c191bad711b592d914d386675bf118e497c
2020-06-08 05:19:12 +03:00
Gerasimos (Makis) Maropoulos
7bb2223226
fix #1531 and introduce the 'Configuration.ResetOnFireErrorCode' (read HISTORY.md)
...
Former-commit-id: 84f1e894378a6dfd94e0bf057f4037e35aee0c4f
2020-06-08 05:16:55 +03:00
Gerasimos (Makis) Maropoulos
ed45c77be5
reorganization of _examples and add some new examples such as iris+groupcache+mysql+docker
...
Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
2020-06-07 15:26:06 +03:00
Gerasimos (Makis) Maropoulos
1e20996330
add 'Configuration.PathIntelligence' and 'OnErrorCode' and 'OnAnyErrorCode' on APIContainer
...
Former-commit-id: bc3d0232106622063205f326bfa4ed3aa84179de
2020-05-17 08:10:07 +03:00
Gerasimos (Makis) Maropoulos
c039730521
HTTP error handlers per Party (docs and details in progress)
...
Former-commit-id: 7092ebed556b56d9f1769b9b23f2340c2a3a18f7
2020-05-11 00:44:54 +03:00
Gerasimos (Makis) Maropoulos
ffc493a0b9
add authenticated-controller example - proof of concept
...
Former-commit-id: 7a15da2bd966f2a699337cd494af8b5d1877b11d
2020-05-06 04:45:12 +03:00
Gerasimos (Makis) Maropoulos
ac08f53ba0
minor
...
Former-commit-id: d4eebea0b5849c574e2ffd4b0bb36e4380b14111
2020-04-29 05:50:29 +03:00
Gerasimos (Makis) Maropoulos
2a4043a3c2
more route info improvements
...
Former-commit-id: ccbe95de0badb1bf448fcc443cecda60772716dc
2020-04-28 22:34:36 +03:00
Gerasimos (Makis) Maropoulos
b657c5e6af
don't fire ErrServerClosed on manually interrupt signals (CTRL/CMD+C)
...
Former-commit-id: 673c84dd13bb99c0926aa1b4a6b4eff9745403d8
2020-04-28 05:22:58 +03:00
Gerasimos (Makis) Maropoulos
27ca1c93f5
logging: several improvements
...
Former-commit-id: 12538c74a1aa55314c35ac3cf2665646b704851d
2020-04-28 01:58:56 +03:00
Gerasimos (Makis) Maropoulos
d1f18501e8
add a way to customize the handler names (recommended: before server execution) so route logging can be more human-friendly on handlers like standard iris middlewares, e.g. request logger
...
Former-commit-id: 039c233f2d4da0d52b1d6fc86b6d73be14b15608
2020-04-27 15:48:09 +03:00
Gerasimos (Makis) Maropoulos
346ca2a219
route logging improvement: group by methods
...
Former-commit-id: ad884991433a244dc76bdad7314d98a5c204dac6
2020-04-26 17:51:27 +03:00
Gerasimos (Makis) Maropoulos
66e641513c
more route logging improvements, see the parent commit
...
Former-commit-id: 973167e3ca7b3463f79ec62ab8be6770727f1c2b
2020-04-26 17:23:38 +03:00
Gerasimos (Makis) Maropoulos
0d26f24eb7
examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example.
...
Former-commit-id: d20afb2e899aee658a8e0ed1693357798df93462
2020-03-05 22:41:27 +02:00
Gerasimos (Makis) Maropoulos
027eb5d6da
minor fix required for the upcoming release
...
Former-commit-id: f04b770f93d7612941340af6e45d7d0516035e14
2020-02-20 05:46:23 +02:00
Gerasimos (Makis) Maropoulos
c558e039d5
fix #1446
...
Former-commit-id: 6ac95ef58bf3dd0dac8bed2100495fa9908f41d4
2020-02-10 20:35:19 +02:00
Gerasimos (Makis) Maropoulos
10f280af63
Update to version 12.1.7
...
Former-commit-id: 3e214ab6b6da4d1c6e4a66180a4ccfa61c0879ae
2020-02-10 19:40:17 +02:00
Gerasimos (Makis) Maropoulos
a3f944b884
Add context.FindClosest(n) to find closest paths - useful for 404 pages to suggest valid pages
...
Former-commit-id: 90ff7c9da5369df5bd99fbbecf9955a8c555fea5
2019-12-16 02:00:42 +02:00
Gerasimos (Makis) Maropoulos
42e752b3f5
minor
...
Former-commit-id: c66f17fb0dc5c130e5060bea4cb4f291e031a36c
2019-11-03 00:41:52 +02:00
Gerasimos (Makis) Maropoulos
dc9ad50e76
fix example as reported as #1390
...
Former-commit-id: 0864cdb5a77b75919e733dab29a85767333de7f8
2019-11-01 16:07:17 +02:00
Gerasimos (Makis) Maropoulos
303f9d3d69
add a note on http-errors example about #1389
...
Former-commit-id: 73485e195bc246e8b81a1be3156b361e92c054c7
2019-10-31 06:37:35 +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
07046ab978
formatting
...
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
2019-08-17 10:06:20 +03:00
Gerasimos (Makis) Maropoulos
75ea978194
New XMLMap func which makes a map value type an xml compatible content to render and give option to render a Problem as XML - rel to #1335
...
Former-commit-id: dcf21098ff7af6becfa9896df5f82c3b0b53f0ac
2019-08-16 19:18:46 +03:00
Gerasimos (Makis) Maropoulos
c9e9a4b3bc
add ProblemOptions https://github.com/kataras/iris/issues/1335#issuecomment-521546506
...
Former-commit-id: 6c03439d21175f120c37a7d8dd067a0d10de837a
2019-08-15 10:39:38 +03:00
Gerasimos (Makis) Maropoulos
b98bb5a870
Publish version 11.2.6
...
Former-commit-id: 3563f65de75fe8923ceca8a4b36c8c1cd5abebe7
2019-08-14 11:04:05 +03:00
Gerasimos (Makis) Maropoulos
8e83959c61
implement Problem Details for HTTP APIs #1335
...
Former-commit-id: ff789b6d535080c88e05c81ab3fb7d9689801ec7
2019-08-12 12:05:21 +03:00
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
970279deb8
minor
...
Former-commit-id: da3ffd7b32daa12b17ad2863cb55e9d15ec9943a
2019-07-30 18:02:02 +03:00
Gerasimos (Makis) Maropoulos
04834484ff
add a test near to the _examples/routing/basic example
...
Former-commit-id: 24b4ffc004f76355f6269a95ede3488fff9dfe36
2019-07-30 06:04:08 +03:00
Gerasimos (Makis) Maropoulos
700dcc8005
new feature: handle different param types in the exact same path pattern
...
implements https://github.com/kataras/iris/issues/1315
Former-commit-id: 3e9276f2a95d6fc7c10fbf91186d041dcba72611
2019-07-29 23:09:22 +03:00
Gerasimos (Makis) Maropoulos
29bf846bd1
minor version 11.2.2 - register sessions as middleware and Context.HTML/Text like Context.Writef
...
Former-commit-id: 6f5f1c502fb06d739c350c3ecc891f495dc03a6e
2019-07-24 19:51:42 +03:00
Gerasimos (Makis) Maropoulos
736709aa75
resolve conflicts with current master v11.1.1
...
Former-commit-id: 659ff392e889f3a8552d7da3d44848f1a364f7b2
2019-07-23 19:20:07 +03:00
Gerasimos (Makis) Maropoulos
33028f900d
update the nantive-messages(only) example to the latest websocket (minimum changes, the idea is the same) and misc
...
Former-commit-id: 9598319bc13e8a383114c37f4da84f337ab47b22
2019-06-25 22:10:10 +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
7af5f139e0
fix typo
...
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
2019-06-07 21:07:08 +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
3fcc70b891
init of v11.2.0: add context#FullRequestURI and NewConditionalHandler
...
As requested at: https://github.com/kataras/iris/issues/1167 and https://github.com/kataras/iris/issues/1170
Former-commit-id: 781c92f444b3e362011be886b32cf88f89998589
2019-01-19 23:33:33 +02:00
Gerasimos (Makis) Maropoulos
8b74e3343d
fix https://github.com/kataras/iris/issues/1164
...
Former-commit-id: 533b277c6a33d44da48df2ad9ca2b5ebb962bc96
2019-01-04 11:16:40 +02:00
Gerasimos (Makis) Maropoulos
8b85b602df
fix https://github.com/kataras/iris/issues/1141 and https://github.com/kataras/iris/issues/1142
...
Former-commit-id: d8d73b3e1b713af9bf7b4712121324079ede6a41
2018-11-28 23:20:08 +02:00
Gerasimos (Makis) Maropoulos
d766bf9f65
fix https://github.com/kataras/iris/pull/1128 for https://github.com/kataras/iris/issues/1132
...
Former-commit-id: fd3ef788ff4696e8a7f3d0d2cf11be4532abdf3f
2018-11-10 23:46:01 +02:00
Gerasimos (Makis) Maropoulos
7608873e70
versioning API: initialize support for grouping
...
Former-commit-id: 36cf8cd79801e8556f3c7b560f3bd759d9770d67
2018-11-10 23:29:24 +02:00