Gerasimos (Makis) Maropoulos
7d5789c3de
add an accesslog simple example
2020-09-12 13:45:00 +03:00
Gerasimos (Makis) Maropoulos
2b342a5122
accesslog: add CSV format
...
relative to: https://github.com/kataras/iris/issues/1601
2020-09-12 12:34:59 +03:00
Gerasimos (Makis) Maropoulos
16a794a245
acesslog new example: custom fields and custom template
2020-09-10 21:40:30 +03:00
Gerasimos (Makis) Maropoulos
59b8ddf5be
i18n: add the ability to register template funcs per locale
2020-09-10 06:22:53 +03:00
Gerasimos (Makis) Maropoulos
b77227a0f9
accesslog: NEW log broker and many more features
...
some fixes about context clone, fix response recorder concurrent access, fix reload views with only ParseTemplate and more
2020-09-09 14:43:26 +03:00
Gerasimos (Makis) Maropoulos
a4996b90c8
Add a 'ParseTemplate' method on view engines to manually parse and add a template from a text
...
examples at: https://github.com/kataras/iris/tree/master/_examples/view/parse-template
relative to: https://github.com/kataras/iris/issues/1617
2020-09-08 07:55:33 +03:00
Gerasimos (Makis) Maropoulos
64038b09e3
add a ParseTemplate to the HTML view engine.
...
relative to: #1617
Wait for an answer from the issuer and if that's the expected behavior, do the same for the rest of the view engines
2020-09-08 01:58:02 +03:00
Gerasimos (Makis) Maropoulos
0be856e54c
add accesslog middleware (rel: #1601 )
2020-09-06 10:38:48 +03:00
Gerasimos (Makis) Maropoulos
e1f25eb098
Full support of the http.FileSystem on all view engines as requested at #1575
...
Also, the HandleDir accepts both string and http.FileSystem (interface{}) (like the view's fs)
2020-09-05 08:34:09 +03:00
Gerasimos (Makis) Maropoulos
c7157f1c92
add bind checkboxes example
2020-09-01 11:39:57 +03:00
Gerasimos (Makis) Maropoulos
dbeb7bfb73
add Context.ReadHeaders
2020-08-31 21:28:13 +03:00
Gerasimos (Makis) Maropoulos
477f5e6f9b
add Context.ReadParams method
2020-08-31 20:30:01 +03:00
Gerasimos (Makis) Maropoulos
b9f38be9ea
add sqlx example
2020-08-30 18:24:24 +03:00
Gerasimos (Makis) Maropoulos
600eb645df
minor: examples
2020-08-30 15:26:50 +03:00
Gerasimos (Makis) Maropoulos
ef5685bf7e
add Iris + Serverless example link
2020-08-23 17:55:29 +03:00
Gerasimos (Makis) Maropoulos
8e049d77c9
HandleHTTPError MVC Method as requested at #1595 . Read HISTORY.md
...
example at: https://github.com/kataras/iris/tree/master/_examples/mvc/error-handler-http
2020-08-22 08:04:22 +03:00
Gerasimos (Makis) Maropoulos
a018ba9b0a
add example for #1601
2020-08-22 03:21:44 +03:00
Gerasimos (Makis) Maropoulos
12737c5b7f
implement a rewrite middleware
2020-08-19 22:40:17 +03:00
Gerasimos (Makis) Maropoulos
4228dd8ea4
add some MVC error handle examples
2020-08-18 23:14:11 +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
8340285e7d
fix #1588
2020-08-15 12:17:48 +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
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
acf058b006
add database/orm/reform example
2020-08-01 03:46:51 +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
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
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
d55bb34766
add a new 'overview' MVC example
...
Former-commit-id: f73cbf6010595c639f6c5b5119e2ec41bc9802a5
2020-06-21 00:12:07 +03:00
Gerasimos (Makis) Maropoulos
45c6bce15f
fix https://github.com/kataras/iris/issues/1542
...
Former-commit-id: 23f795a6b6b64745311d0630d8e630edc3f65244
2020-06-20 16:06:26 +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
6557dcf6c5
add route-handlers-execution-rules example
...
Former-commit-id: 95e3dfad33b98d20b761ea1d06dee8df91c3632d
2020-06-17 00:02:09 +03:00
Gerasimos (Makis) Maropoulos
05ae7792df
add a rs/cors full example
...
Former-commit-id: 9655e04b91145f60e69096cbd662fef08a91f988
2020-06-09 22:12:11 +03:00
Gerasimos (Makis) Maropoulos
2042637e41
add a rollbar example
...
Former-commit-id: 4cbe61a217f4863fe38e23848252126d864d9f5c
2020-06-09 02:58:17 +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
791fd7ac3d
minor: fix two broken example links
...
Former-commit-id: 4b102ed9e2b3e78b133d00f253eac86d66a77b6e
2020-06-07 15:47:02 +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
1079bb8f8b
add a new 'Context.GzipReader(bool) method and 'iris.GzipReader' middleware as requested at #1528
...
Former-commit-id: 7665545069bf1784d17a9db1e5f9f5f8df4b0c43
2020-05-28 19:29:14 +03:00
Gerasimos (Makis) Maropoulos
d556cfc39a
New builtin JWT middleware - this one supports encryption and ed25519
...
Former-commit-id: ca20d256b766e3e8717e91de7a3f3b5f213af0bc
2020-05-27 12:02:17 +03:00
Gerasimos (Makis) Maropoulos
c866709acc
add 'Context.Register/RemoveDependency' for registering dependencies for next handler in the chain from a common iris handler in serve-time
...
And also, add a Configuration.FireEmptyFormError if end-dev wants to receive an iris.ErrEmptyForm error on missing form data on 'Context.ReadForm/ReadBody'
Former-commit-id: a2713bec77375b2908f1f066a46be4f19e6b7a61
2020-05-19 09:28:27 +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
221f026491
improvements on cookie options
...
Former-commit-id: f1d5cfc88a33077a9359eaa25b6a20265f5632b5
2020-05-10 02:17:28 +03:00
Gerasimos (Makis) Maropoulos
cd62ba3712
organise sessions examples
...
Former-commit-id: 682472d2cf4ebfc740687522fe5eef77b5bb1a72
2020-05-07 07:34:17 +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