Gerasimos (Makis) Maropoulos
ec2d9d016e
update view benchmarks and remove ace template parser
2023-03-17 12:38:07 +02:00
Gerasimos (Makis) Maropoulos
7672574232
view: allow only-custom template parsing
2023-03-13 14:39:11 +02:00
Gerasimos (Makis) Maropoulos
41a2396ea1
fix #2034 and #2033
2023-01-08 13:58:46 +02:00
Gerasimos (Makis) Maropoulos
de8883fc98
examples: add an example for #2019
2022-12-17 01:16:10 +02:00
Gerasimos (Makis) Maropoulos
1ea5cd58be
builtin html template functions changes
2022-12-13 01:37:15 +02:00
Gerasimos (Makis) Maropoulos
50d346de84
minor fixes on jet and pug view engines
2022-09-27 22:42:42 +03:00
Gerasimos (Makis) Maropoulos
68daa8d51d
minor (see prev commit)
2022-09-26 00:34:18 +03:00
Gerasimos (Makis) Maropoulos
512ed6ffc0
add support for fs.FS, embed.FS (in addition of string and http.FileSystem) for i18n locales and view engine's templates
2022-09-25 20:40:56 +03:00
Gerasimos (Makis) Maropoulos
95a8110f1e
directly support embed.FS and fs.FS on view engines
2022-09-21 23:26:12 +03:00
Gerasimos (Makis) Maropoulos
141862db37
_examples: minor
2022-07-19 22:48:04 +03:00
Gerasimos (Makis) Maropoulos
ef2643b046
replace ioutil with io package and other minor improvements
2022-06-17 22:03:18 +03:00
Gerasimos (Makis) Maropoulos
677ddd7539
fix #1876
2022-04-23 13:18:54 +03:00
Gerasimos (Makis) Maropoulos
45d693850b
apply update for #1861 as requested
2022-03-18 22:25:22 +02:00
Gerasimos (Makis) Maropoulos
62a1829cb9
🎄 Merry Christmas everyone
...
minor fixes
2021-12-26 00:01:01 +02:00
Gerasimos (Makis) Maropoulos
ed33a77019
upgrade jet parser to version 6 as requested
...
relative to: https://github.com/kataras/iris/issues/1723
2021-02-07 02:08:34 +02:00
Gerasimos (Makis) Maropoulos
435f284815
New feature: Fallback views. Read HISTORY.md
2021-01-24 14:08:37 +02:00
Gerasimos (Makis) Maropoulos
8aedf6bc32
:)
2021-01-09 05:41:20 +02:00
Gerasimos (Makis) Maropoulos
3e86301b7a
view: django: accept struct as template data. Rel to: #1683
2020-12-04 12:48:53 +02:00
Gerasimos (Makis) Maropoulos
552539bed1
Add View Engine Benchmarks: https://github.com/kataras/iris/tree/master/_benchmarks/view
2020-10-01 16:06:16 +03:00
Gerasimos (Makis) Maropoulos
4065819688
New: i18n pluralization and variables support and more...
...
fixes : #1649 , #1648 , #1641 , #1650
relative to: #1597
2020-09-29 19:19:19 +03:00
Gerasimos (Makis) Maropoulos
ab7ee4a331
update pongo2 to version 4
2020-09-16 17:11:46 +03:00
Gerasimos (Makis) Maropoulos
333be428c4
use jet v5.0.2 (no breaking changes)
...
relative to: https://github.com/kataras/iris/pull/1616
2020-09-10 10:12:06 +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
bf9f7617e2
examples: update go.mod (see previous commit)
2020-09-05 08:56:01 +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
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
6844be57ea
add 'iris.Ace' template engine: _examples/view/template_ace_0
2020-08-03 05:46:04 +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
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
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
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
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
66c0f632c3
fix of https://github.com/kataras/iris/issues/1450#issuecomment-586581677
...
Former-commit-id: 2b8dfec7d43298bc9ace94595359867180634f04
2020-02-15 21:16:21 +02:00
Gerasimos (Makis) Maropoulos
c13fd84354
fix https://github.com/kataras/iris/issues/1450 and continue on implementing 1449
...
Former-commit-id: 617f64d061e88f050a443ea1751fa244164656c5
2020-02-14 23:34:56 +02:00
Gerasimos (Makis) Maropoulos
9c97a8a668
Update to version 12.1.6
...
Former-commit-id: 4d39e8a764a7c0d91b19a3710d8afe6c8c208c62
2020-02-05 12:36:21 +02:00
Gerasimos (Makis) Maropoulos
3093d65363
version 12.1.5
...
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
2020-02-02 16:29:06 +02:00
Gerasimos (Makis) Maropoulos
269b832ade
Update to version 12.1.4
...
Former-commit-id: aeb039ea25a831ad1087b1994be97b349a8ed4aa
2019-12-29 19:14:41 +02:00
Gerasimos (Makis) Maropoulos
04477c3e41
fixes, i18n, sitemap generator and new examples
...
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
2019-12-13 23:06:18 +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
221978e41a
Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c.
...
Former-commit-id: 5809157b952ccc61a67a9861470774b3a6fee024
2019-10-24 18:57:05 +03:00
Gerasimos (Makis) Maropoulos
07046ab978
formatting
...
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
2019-08-17 10:06:20 +03:00
Gerasimos (Makis) Maropoulos
416324cc42
push version 11.2.4
...
Former-commit-id: 3451c700c02aa98d7c3f02b305c381b250882791
2019-08-09 23:25:21 +03:00
Gerasimos (Makis) Maropoulos
e05333475a
minor
...
Former-commit-id: eb7899a04d02dd002670a2b52bd1e2a6fd7ce7db
2019-08-09 08:29:22 +03:00
Gerasimos (Makis) Maropoulos
b7bc89335d
fix https://github.com/kataras/iris/issues/1330
...
Former-commit-id: 221e01638b671586cdab2b84518bd6a1c8d07bda
2019-08-09 08:24:58 +03:00
Gerasimos (Makis) Maropoulos
3fdaa897ea
fix https://github.com/kataras/iris/issues/1327
...
Former-commit-id: db3f5014cbc5148cfbe542ec69c2ff330677363b
2019-08-05 20:37:44 +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