Gerasimos (Makis) Maropoulos
95c3c2a951
rewrite middleware: add a feature which supports users.json to users?format=json local route redirection
2020-08-21 18:09:21 +03:00
Gerasimos (Makis) Maropoulos
ffae9c0d09
rewrite middleware: add PrimarySubdomain and simplify its usage example
2020-08-20 03:05:47 +03:00
Gerasimos (Makis) Maropoulos
bdb94bbae2
request logger middleware: add graphical information about executed route's handlers
2020-08-19 01:24:36 +03:00
Gerasimos (Makis) Maropoulos
e98fd21c83
README: update supporters
...
there are four more waiting for github username confirmation
2020-08-18 19:02:20 +03:00
Gerasimos (Makis) Maropoulos
a491cdf7ef
implement #1593 - Read HISTORY.md
...
updated example: https://github.com/kataras/iris/blob/master/_examples/i18n/main.go#L28-L50
2020-08-18 08:05:51 +03:00
Gerasimos (Makis) Maropoulos
589c8c6242
new apps/switch (beta)
2020-08-17 21:53:17 +03:00
Gerasimos (Makis) Maropoulos
a61f743fa8
add internal subdomain redirect handler
...
TODO more things
2020-08-16 20:16:49 +03:00
Gerasimos (Makis) Maropoulos
889b7942d3
add two new examples and share the app's specific logger instance with sessions databases and APIBuilder
2020-08-16 07:07:36 +03:00
Gerasimos (Makis) Maropoulos
ef7d365e81
add iris.Minify middleware and Context.OnCloseErr/OnConnectionCloseErr
2020-08-15 17:21:57 +03:00
Gerasimos (Makis) Maropoulos
d0d7679a98
minor
2020-08-14 14:18:41 +03:00
Gerasimos (Makis) Maropoulos
9f0872719f
fix SubdomainRedirect on loopbacks
...
fix: https://github.com/kataras/iris/issues/1584#issuecomment-674001454
2020-08-14 14:14:29 +03:00
Gerasimos (Makis) Maropoulos
dc35391ceb
fix https://github.com/kataras/iris/issues/1584
2020-08-14 13:04:48 +03:00
Gerasimos (Makis) Maropoulos
5f235993ee
fix Context.Proceed called on last handler in the chain
...
relative: https://github.com/kataras/iris/issues/1581#issuecomment-673958152
2020-08-14 11:53:38 +03:00
Gerasimos (Makis) Maropoulos
0761bc35ee
General Improvements (UseRouter per Party, fix AutoTLS). Read HISTORY.md
...
relative to: https://github.com/kataras/iris/issues/1577 and https://github.com/kataras/iris/issues/1578
2020-08-12 07:20:07 +03:00
Gerasimos (Makis) Maropoulos
5de9d0f63e
comment fix as reported at #1574
2020-08-09 05:46:02 +03:00
Gerasimos (Makis) Maropoulos
46a3a99adf
various improvements and new 'UseOnce' method - read HISTORY.md
2020-08-06 03:35:58 +03:00
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
eacbcea653
fix: ctx.Record and then iris.Compression flow
2020-07-30 20:13:59 +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
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
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
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
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
3faaf954bb
doc: minor
...
Former-commit-id: 649e2d673a834625d5f3e8703533ad1db2553aec
2020-07-19 10:26:59 +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
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
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
c8ed26ee51
fix #1557
...
Former-commit-id: 55589069c8ed458183d28f32870fdf8f233629c6
2020-07-11 16:14:31 +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
57dc64625d
file-server: fix ShowList on root dir
...
Former-commit-id: 6795382235d76942bcfd31ecc0b4ab02ecb85a8a
2020-07-05 05:39:48 +03:00
Gerasimos (Makis) Maropoulos
8c3e43df7f
minor
...
Former-commit-id: 4c71a275f3e10dd0ce77bf5723c370be765663ab
2020-07-03 13:48:34 +03:00
Gerasimos (Makis) Maropoulos
85fc0f5dab
add Context.Clone and change the input argument of Context.OnClose and OnCloseConnection ( the un-released Defer has been removed, OnClose can do its job)
...
Former-commit-id: 7b606e285f4b9de24338ea96d482cf1f7c4907a3
2020-07-02 20:31:34 +03:00
Gerasimos (Makis) Maropoulos
134e2531bf
use Request().Context().Done() channel instead of the ResponseWriter().CloseNotify() one
...
Former-commit-id: e380a3624c03faada74c9efc24266679c3ff5e2b
2020-06-29 21:05:12 +03:00
Gerasimos (Makis) Maropoulos
871b4ef7fc
add Context.ReadJSONProtobuf method
...
Former-commit-id: 9c7f268c0d7be7e405ea97a5ac12257beba3a4f3
2020-06-28 23:05:07 +03:00
Gerasimos (Makis) Maropoulos
7f9e664b90
Option for Socket Sharding as requested at #1544
...
Former-commit-id: 0384baf593012377a94344d647ca41121294285a
2020-06-26 20:29:36 +03:00
Gerasimos (Makis) Maropoulos
836e641229
minor
...
Former-commit-id: 0bc9c92c519edda9e04be8481e16fd2fdcfc74c0
2020-06-25 13:04:36 +03:00
Gerasimos (Makis) Maropoulos
3fa022738b
README: add 'run in the browser' button
...
after the quick start details, so it is visible always
Former-commit-id: 0c13135a01c2b883aa4a9629a507aaf622d22ade
2020-06-24 00:13:31 +03:00
Gerasimos (Makis) Maropoulos
29d98ac281
use the new protobuf package and other minor stuff
...
Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2
2020-06-21 17:15:28 +03:00
Gerasimos (Makis) Maropoulos
878484204e
minor: versioning: Match: store the matched version and revert the last change
...
Former-commit-id: e7aa04671d3f54650bb194a97300b6a89e1b0d2b
2020-06-20 09:39:42 +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
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
ed5964716b
implement #1536 with (SetRegisterRule(iris.RouteOverlap))
...
Former-commit-id: 2b5523ff3e2aab60dd83faa3c520b16a34916fbe
2020-06-14 08:09:42 +03:00
Gerasimos (Makis) Maropoulos
78a45163e3
add 'HostProxyHeaders' Configuration field
...
Former-commit-id: 067360d8db638d6f268d154b50fd872c465eaf1a
2020-06-11 18:52:35 +03:00
Gerasimos (Makis) Maropoulos
12e61f4456
godoc: ConfigurationReadOnly: comment to just a reference of the field
...
Former-commit-id: b0b74e892d5bdf05dc4c2897c6e0ec3d3747ad49
2020-06-11 16:27:38 +03:00