Gerasimos (Makis) Maropoulos
e0f324041d
update examples modules
2024-09-26 17:26:54 +03:00
Gerasimos (Makis) Maropoulos
4117f3b88f
release v12.2.11
2024-04-25 01:32:28 +03:00
Gerasimos (Makis) Maropoulos
6167d3ed6b
update examples dependencies
2024-04-24 18:18:39 +03:00
Gerasimos (Makis) Maropoulos
fabbc271b9
update examples deps
2024-01-18 15:08:48 +02:00
Gerasimos (Makis) Maropoulos
5ef854d835
add mathx.RoundToInteger helper
2024-01-13 12:56:59 +02:00
Gerasimos (Makis) Maropoulos
06a6e63dd9
update examples deps before release
2024-01-10 10:58:00 +02:00
Gerasimos (Makis) Maropoulos
7024f61a62
thanks for the donations ❤️
2024-01-07 23:14:13 +02:00
Gerasimos (Makis) Maropoulos
0608c7385e
update deps
2023-12-19 15:09:49 +02:00
Gerasimos (Makis) Maropoulos
d808958057
update deps
2023-12-19 12:15:29 +02:00
Gerasimos (Makis) Maropoulos
9279ca5a27
Add example of the powerful 'templ' generated templates
2023-12-13 02:18:16 +02:00
Gerasimos (Makis) Maropoulos
e7b40398aa
update Blocks module
2023-09-24 17:35:49 +03:00
Gerasimos (Makis) Maropoulos
6add1ba49b
fix #2158 and more
2023-07-08 02:08:18 +03:00
Gerasimos (Makis) Maropoulos
ec2d9d016e
update view benchmarks and remove ace template parser
2023-03-17 12:38:07 +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
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
7ab0f6fff5
set min version on tls configuration even on the tests and examples
2022-03-10 21:48:05 +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
197df1ef64
minor (see previous commit)
2021-01-24 23:49:37 +02:00
Gerasimos (Makis) Maropoulos
435f284815
New feature: Fallback views. Read HISTORY.md
2021-01-24 14:08:37 +02:00
Gerasimos (Makis) Maropoulos
b409f7807e
New feature: versioning.Aliases
...
Thanks @mulyawansentosa and @remopavithran for your donates ❤️
2021-01-06 01:52:39 +02:00
Gerasimos (Makis) Maropoulos
dfe27567ae
Add an example for urlpath template func for Django engine
...
relative to #1656
2020-10-12 13:08:42 +03: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
31c616c886
update pongo2 to version 4
2020-09-20 01:09:16 +03:00
Gerasimos (Makis) Maropoulos
ab7ee4a331
update pongo2 to version 4
2020-09-16 17:11:46 +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
8b28ae14f8
minor: godoc
2020-08-30 17:18:04 +03:00
Gerasimos (Makis) Maropoulos
6ee69ffd1c
minor: fix Context.ViewData ignored when nil is passed as view data on Context.View method
2020-08-30 16:14:32 +03:00
Gerasimos (Makis) Maropoulos
600eb645df
minor: examples
2020-08-30 15:26:50 +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
2f8b29cb3d
examples: use ctx.ResponseWriter().Naive().(http.Pusher) instead
...
Former-commit-id: 7802f4eadf2b1c0a0d2a42ed5ebac3e5c77f88cc
2020-07-24 22:36:46 +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
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
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
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