Gerasimos (Makis) Maropoulos
113ce190e6
release version 12.2.10
2024-01-18 03:11:54 +02:00
Gerasimos (Makis) Maropoulos
6add1ba49b
fix #2158 and more
2023-07-08 02:08:18 +03:00
Gerasimos (Makis) Maropoulos
414c1ad1ae
add support for embed.FS
2022-09-19 01:15:38 +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
c1b31ab102
PartyConfigure: try to bind the struct's exported zero fields based on the registered dependencies (if any)
...
If the PartyConfigurator value accepts only static dependencies then we have zero performance penalty, exactly like a Controller (structure) works
2021-02-21 22:24:01 +02:00
Gerasimos (Makis) Maropoulos
6587b387b6
remove travis
2021-02-19 09:41:24 +02:00
Gerasimos (Makis) Maropoulos
0081171aa6
minor
2021-02-19 09:06:22 +02:00
Gerasimos (Makis) Maropoulos
8aedf6bc32
:)
2021-01-09 05:41:20 +02: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
27686d7c1c
...
2020-08-21 20:48:41 +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
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
57dc64625d
file-server: fix ShowList on root dir
...
Former-commit-id: 6795382235d76942bcfd31ecc0b4ab02ecb85a8a
2020-07-05 05:39:48 +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
f75ec4e67c
change the JS MIME to text/javascript instead of application/javascript as https://github.com/golang/go/issues/32351
...
Former-commit-id: 761be7901fff65ef0ca6e3ea4339ff59f569cf75
2020-04-27 12:28:30 +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
78ab341862
minor for travis
...
Former-commit-id: 2a62e2817e8fc98a77359344a88505151b61654e
2020-03-02 10:21:38 +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
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
db433f7dca
minor: sessions: set SameSite to Lax when sharable with subdomains is not disabled.
...
Former-commit-id: d0b15433d5f325f24972669b485be9cf5be6d68a
2019-08-16 12:41:20 +03:00
Gerasimos (Makis) Maropoulos
d0104defa8
create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more
...
relative: https://github.com/kataras/iris/issues/1283 and removing pongo2 from vendor: https://github.com/kataras/iris/issues/1284
Former-commit-id: 3ec57b349f99faca2b8e36d9f7252db0b6ea080d
2019-06-21 19:43:25 +03:00
Gerasimos (Makis) Maropoulos
5d9ded37c4
Add 'context.OnConnectionClose(callbackFn) bool' and 'context.OnClose(callbackFn)' and give a use case example. More on this path later on, stay tuned.
...
Former-commit-id: dc6580f072d076b8cb204a681e45905210981153
2018-08-02 17:46:35 +03:00
Gerasimos Maropoulos
89022c7051
add some tests for the content type for the embedding files and gziped embedded files
...
Former-commit-id: b7fe470f33efcdf70df3e41ad880bbd4704cbb4a
2018-03-15 23:09:07 +02:00
Gerasimos Maropoulos
56215eeb71
Release of version 10.4.0 - x8 faster embedded file server | Star and Read HISTORY.md
...
Former-commit-id: 4f8b8c95c1b107a9be3b1ef6835ece949a75ceb6
2018-03-14 07:17:35 +02:00
Gerasimos Maropoulos
b20933e0bb
upgrade go-bindata link to the most maintainable one
...
Former-commit-id: 58d5253b3332acef480d36f0cf716f2ad6b1c09e
2018-02-25 12:14:49 +02:00
Gerasimos (Makis) Maropoulos
b43b25626b
make cache package to work across multi handlers, remove the old 'WrapHandler' and keep the cache.Handler as documented only
...
Former-commit-id: b030cd92d26a9f646b060e379b3702b9a677749b
2018-01-01 21:53:12 +02:00
kataras
42bc7dbad0
fix line endings... | Prev Commit: 15feaf0237
[formerly dced7d472edabbab4f80c76051f13261928a8dea]?w=1
...
Former-commit-id: 286366ffb0958288821d0b34b6140e203400c682
2017-11-02 06:44:40 +02:00
kataras
666bcacf20
Update to version 8.5.5
...
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
2017-11-02 05:50:56 +02:00
Gerasimos (Makis) Maropoulos
4fb78bbcd9
Update sessions/sessiondb/badger to its latest version and SessionController is able to initialize itself if session manager is not provided by the caller-dev.
...
Changes:
Update the badger database using transactions, as supported from yesterday via: 06242925c2
Add a custom `OnActivate` via mvc/activator/activate_listener.go, this can be used to perform any custom actions when the app registers the supported Controllers. See mvc/session_controller.go for the excellent use case.
errors.Reporter.AddErr returns true if the error is added to the stack, otherwise false
Former-commit-id: c896a2d186a4315643f3c5fdb4325f7ee48a9e0a
2017-10-06 01:19:10 +03:00
Gerasimos (Makis) Maropoulos
cf1e580cde
Add two examples for folder structuring as requested at https://github.com/kataras/iris/issues/748
...
Former-commit-id: 27c97d005d9cbd2309587b11fc9e2bab85870502
2017-10-01 04:31:13 +03:00
kataras
9f85b74fc9
Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
...
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00