Gerasimos (Makis) Maropoulos
5d480dc801
Ability to register a view engine per group of routes or for the current a chain of handlers
...
Example at: https://github.com/kataras/iris/tree/master/_examples/view/context-view-engine
2020-08-05 19:34:55 +03:00
Gerasimos (Makis) Maropoulos
b363492cca
add 'iris.Blocks' template engine
...
read more about its features at: https://github.com/kataras/blocks
2020-08-05 06:46:45 +03:00
Gerasimos (Makis) Maropoulos
6844be57ea
add 'iris.Ace' template engine: _examples/view/template_ace_0
2020-08-03 05:46:04 +03:00
Gerasimos (Makis) Maropoulos
dfa08041a1
add a raw gorilla websocket example
2020-08-02 21:22:42 +03:00
Gerasimos (Makis) Maropoulos
676048666c
minor, see prev commit
2020-08-01 05:11:08 +03:00
Gerasimos (Makis) Maropoulos
acf058b006
add database/orm/reform example
2020-08-01 03:46:51 +03:00
Gerasimos (Makis) Maropoulos
eacbcea653
fix: ctx.Record and then iris.Compression flow
2020-07-30 20:13:59 +03:00
Gerasimos (Makis) Maropoulos
53c6f46941
README: minor
2020-07-28 13:56:52 +03:00
Gerasimos (Makis) Maropoulos
04a7eadd0e
minor, see prev commit
2020-07-26 20:32:31 +03:00
Gerasimos (Makis) Maropoulos
ad5e5d82ce
correctly handle recorded compressed response
...
see https://github.com/kataras/iris/issues/1569#issuecomment-664003098
2020-07-26 20:28:31 +03:00
Gerasimos (Makis) Maropoulos
613d3fc749
README: minor
2020-07-26 15:47:53 +03:00
Gerasimos (Makis) Maropoulos
22a89c12cb
Add Configuration.RemoteAddrHeadersForce as requested at #1567 and change RemoteAddrHeaders from map to string slice
...
Read HISTORY.md entry
2020-07-26 14:37:30 +03:00
Gerasimos (Makis) Maropoulos
a50f0ed5ba
HISTORY: move an entry
2020-07-26 13:33:24 +03:00
kataras
a63108e754
add HISTORY entry for bfg, an amazing tool
2020-07-26 13:28:27 +03:00
Gerasimos (Makis) Maropoulos
f42797c2ce
Update go.mod : jet/v4.1.0
...
Former-commit-id: 25c3dce31372430b00430f652c94426a02818f63
2020-07-25 09:46:39 +03:00
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
Josef Fröhle
6693cc57c6
Update go.mod
...
Former-commit-id: 52ef0ef436ea8f6f4313fe605b1e32d51a4b3ace
2020-07-24 23:39:01 +02:00
Gerasimos (Makis) Maropoulos
e70ceba051
issue template: ask for the iris version
...
Former-commit-id: 189aa0fc2b3bac3ad527727ae5237bb5788151d9
2020-07-24 22:51:00 +03:00
Gerasimos (Makis) Maropoulos
2f8b29cb3d
examples: use ctx.ResponseWriter().Naive().(http.Pusher) instead
...
Former-commit-id: 7802f4eadf2b1c0a0d2a42ed5ebac3e5c77f88cc
2020-07-24 22:36:46 +03:00
Gerasimos (Makis) Maropoulos
a4efb222cc
docfix #1566
...
Former-commit-id: fe2dbe46ac8153ef4db0b5788794bf907b98baad
2020-07-24 21:09:30 +03:00
Gerasimos (Makis) Maropoulos
baf68391b5
fix #1564
...
Former-commit-id: d17b205a56f95f476db8b846c88b4cb6df8b5239
2020-07-24 16:50:00 +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
d697426cb6
minor
...
Change the new ctx.Compres to ctx.CompressWriter and iris.Compress and iris.CompressReader as one iris.Compression
Update the README example
(master development branch)
Former-commit-id: fb67858fe5be5662b5816df41020c28ff9a8c6f6
2020-07-20 13:36:39 +03:00
Gerasimos (Makis) Maropoulos
beb67dc495
testing: add a 'Do' helper that accepts http.ResponseWriter and http.Request for integration with the standard net/http/httptest package for easier transition from net/http and other frameworks into Iris
...
Former-commit-id: 8ec6e3468affc28ce34c9bef6795b444fffa08c5
2020-07-20 05:44:12 +03:00
Gerasimos (Makis) Maropoulos
302597faac
example: sessions: scale out using redis
...
Former-commit-id: a811648e0bdf83c289656426f8ba67d785b7d5cc
2020-07-19 12:55:48 +03:00
Gerasimos (Makis) Maropoulos
3faaf954bb
doc: minor
...
Former-commit-id: 649e2d673a834625d5f3e8703533ad1db2553aec
2020-07-19 10:26:59 +03:00
Gerasimos (Makis) Maropoulos
c18106166b
fix #1553
...
Former-commit-id: 5cb64a4121a664d5066312d385ebd36bb05151ce
2020-07-19 07:09:14 +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
fb8e677c08
PushTargetRegexp: simplify code
...
rel to: https://github.com/kataras/iris/issues/1562#issuecomment-660415246
Former-commit-id: da04ae0543e9b743cd4989ded5983ae15316a879
2020-07-18 12:41:31 +03:00
Gerasimos (Makis) Maropoulos
e16abc96c6
PushTargetsRegexp: take advantage of the AssetNames on embedded file system
...
rel to: https://github.com/kataras/iris/issues/1562#issuecomment-660415246
Former-commit-id: 9e3fb4d71e14dda025a3af86cf210ff72127b716
2020-07-18 07:51:36 +03:00
Gerasimos (Makis) Maropoulos
552f990358
New iris.DirOptions.PushTargetsRegexp
...
rel to: https://github.com/kataras/iris/issues/1562#issuecomment-659702891
Former-commit-id: 778cf9146b730d424040ea9e259ce6500f53b563
2020-07-18 06:10:16 +03:00
Gerasimos (Makis) Maropoulos
dab03102f3
fix #1563 due to latest DI source changes
...
Former-commit-id: 3e3f209ebc60edf6a8702979f56e1f0ed73e4189
2020-07-17 12:59:39 +03:00
Gerasimos (Makis) Maropoulos
0f79728c88
https://github.com/kataras/iris/issues/1562#issuecomment-659845730
...
Former-commit-id: 60d9b0d77693895fdfbebe83712e9cc1ee3f8f26
2020-07-17 12:03:20 +03:00
Gerasimos (Makis) Maropoulos
baeff3e80b
DirOptions.PushTargets: add example for https://github.com/kataras/iris/issues/1562
...
Former-commit-id: 940f07fdb1184266dc315441fb91afa5754092fa
2020-07-16 11:42:45 +03:00
Gerasimos (Makis) Maropoulos
fba8492e78
add 'DirOptions.PushTargets' for http/2 push on index(es) - #1562
...
Former-commit-id: 5a3f626ba0fbcf10be979b5a800eba51e88602cd
2020-07-16 08:03:55 +03:00
Gerasimos (Makis) Maropoulos
38eec57e46
add HashGenerator on requestid middleware
...
Former-commit-id: 8f59a46a3fecc538d6d3e624fc36f2c314c20bb6
2020-07-15 11:18:40 +03:00
Gerasimos (Makis) Maropoulos
4f1af5d135
Merge pull request #1560 from Dexus/patch-1
...
fix #1559 - remove not need colon
Former-commit-id: 379172fe09cc4c82470983e88e2beb0f3ea5863f
2020-07-12 16:34:46 +03:00
Josef Fröhle
eca1cf315e
fix #1559 - remove not need colon
...
fix #1559
Former-commit-id: 868c18f6cab6207a3fd433354490746e231c5b51
2020-07-12 14:15:59 +02:00
Gerasimos (Makis) Maropoulos
c8ed26ee51
fix #1557
...
Former-commit-id: 55589069c8ed458183d28f32870fdf8f233629c6
2020-07-11 16:14:31 +03:00
Gerasimos (Makis) Maropoulos
3574816e1d
add doc for #1556
...
Former-commit-id: 6e0708f87f6ee9c6efd92f7677595feb8910988a
2020-07-11 01:01:28 +03:00
Gerasimos (Makis) Maropoulos
54bef51eb9
minor: examples: use the master version on go example-modules
...
Former-commit-id: 9e86a50f53e479843f20ab0025baf56a85902bcf
2020-07-10 23:37:01 +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
645da2b2ef
HandleDir: add Attachments options to DirOptions
...
have a bit more work to do on that, if Gzip option is true then it does not work and it's not the 'if gzip' statement inside the handler
Former-commit-id: 866578d29b6a63ee60a22b0eb9b37288c717b7e2
2020-07-07 15:40:12 +03:00
Gerasimos (Makis) Maropoulos
cba6351d62
HandleDir: customize file/dir listing page through registered view engine
...
Former-commit-id: 98bfd9d5a073c5bc7c2c167e2a72dd7b05bfb24a
2020-07-07 06:11:44 +03:00
Gerasimos (Makis) Maropoulos
87e08dbddc
Update jet parser to v4.0.0 as requested at: #1551
...
Former-commit-id: 1ad89532d11716af7a49fe9aafca59e943d98ebe
2020-07-06 21:40:40 +03:00
Gerasimos (Makis) Maropoulos
38b0a796bd
fix #1552
...
Former-commit-id: 953df27468e3905e557bb1f6a97ea431cb60f6a6
2020-07-06 19:08:02 +03:00
Gerasimos (Makis) Maropoulos
dd72a1e398
file-server example: use a custom template for listing dirs/files
...
Former-commit-id: 5b9bb0be4ac3f5d463f0957a3074aa6e7b1a71f7
2020-07-06 16:06:48 +03:00
Gerasimos (Makis) Maropoulos
3ec94b9e4a
HISTORY.md updates
...
Former-commit-id: 420052adbc02802e93ad000be0dd93e6652d6b80
2020-07-05 23:41:16 +03:00
Gerasimos (Makis) Maropoulos
0b279c11fe
minor
...
Former-commit-id: f201fcad8fb425d0a5e9c32faa649b5199f60183
2020-07-05 23:35:45 +03:00
Gerasimos (Makis) Maropoulos
16a6372cc9
add a DirListRich helper to make the file listing a bit more appealing than its default
...
Former-commit-id: 1d8338cddac0856be1c9f1e7b6d8d400bee71bef
2020-07-05 23:27:32 +03:00