Gerasimos (Makis) Maropoulos
|
7272c76847
|
minor test fix
|
2021-03-04 18:10:13 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
8aedf6bc32
|
:)
|
2021-01-09 05:41:20 +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
|
a2d0b86815
|
accesslog: add FileUnbuffered helper
|
2020-12-29 16:38:24 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
763300b566
|
basicauth: add session for current login tries (if MaxTries > 0) and log debug error handler
|
2020-11-25 04:20:56 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
11e21150d0
|
more features and fix database/mysql:jwt example
|
2020-11-24 14:58:02 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
4d857ac53f
|
New basic auth middleware and GetRaw on User (godocs missing)
|
2020-11-21 12:04:37 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
f049c51336
|
last touch
|
2020-11-06 11:36:57 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
579c3878f0
|
add a jwt tutorial + go client
|
2020-11-04 21:12:13 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
ed38047385
|
add an example for sessions + view data as requested
|
2020-11-02 18:46:38 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
f1ebddb6d9
|
jwt: add redis blocklist
|
2020-11-02 06:31:28 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
836fb18c57
|
add some godoc to jwt
|
2020-11-01 04:23:36 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
3d59d19de6
|
add context partial user helper and accept a generic interface on SetUser - the same method now returns an error if the given value does not complete at least one method of the User interface
|
2020-10-31 15:47:28 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
8eea0296a7
|
As noticed in my previous commit, the existing jwt libraries added a lot of performance cost between jwt-featured requests and simple requests. That's why a new custom JWT parser was created. This commit adds our custom jwt parser as the underline token signer and verifier
|
2020-10-30 22:12:16 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
d517f36a29
|
minor commit. But I am not happy with the jwt implementations for Go...they seem to produce enough performance cost, will try to make a jwt parser by myself and see the difference
|
2020-10-19 10:05:48 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
02bfc83f2a
|
jwt: make the Blocklist an interface, so end-developers can implement their own storage (e.g. redis)
|
2020-10-18 21:51:25 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
3db77684ec
|
add a very simple example on JWT and move the previous to the 'overview' sub folder
|
2020-10-18 20:31:58 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0d73b63b28
|
jwt: add the (last) helper: VerifyRefreshToken
|
2020-10-18 17:15:29 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
09923183e8
|
add an extra security layer on JWT and able to separate access from refresh tokens without any end-developer action on the claims payload (e.g. set a different issuer)
|
2020-10-18 14:42:19 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
a412ee55ae
|
jwt: add VerifyJSON and ReadJSON helpers
|
2020-10-17 15:22:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
1864f99145
|
New JWT features and changes (examples updated). Improvements on the Context User and Private Error features
TODO: Write the new e-book JWT section and the HISTORY entry of the chnages and add a simple example on site docs
|
2020-10-17 06:40:17 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b816156e77
|
accesslog: new HumanTime option as requested at #1661
|
2020-10-16 09:53:22 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
8e51a296b9
|
Add Context.SetUser and Context.User methods
relative to: https://github.com/iris-contrib/middleware/issues/63
|
2020-10-12 15:52:53 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f6905a3f79
|
New Context.SetLogoutFunc/Logout and SetFunc/CallFunc methods
Read HISTORY.md
|
2020-10-12 02:07:04 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
a04a6b5011
|
add accesslog+proxy example
|
2020-09-19 17:47:44 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
d5a179cc45
|
fix UseRouter not respected by iris-cli live reload
|
2020-09-18 02:08:27 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
7fa2666f58
|
add accesslog+MVC example
|
2020-09-17 18:01:35 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
85b5453ae1
|
add auth/jwt/refresh-token example as requested at #1635
|
2020-09-16 13:57:11 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
076f806925
|
accesslog: SetOutput change at servetime and wait(no lock) until prev is closed as requested at #1631
|
2020-09-14 17:35:17 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
d00a4b33f1
|
accesslog: experimental SetOutput at serve-time as requested at #1631
|
2020-09-14 13:37:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
701713efdb
|
accesslog: add Truncate method as requested at #1631
|
2020-09-14 12:15:08 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
54a095c23f
|
Add example for custom fast Accesslog Formatter
|
2020-09-14 02:35:01 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
fb00ecd2b7
|
accesslog: add a blank configuration field as requested at #1627
|
2020-09-13 17:01:57 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
7431fcc9cf
|
more tiny improvements
|
2020-09-13 14:28:05 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
65b7983d7a
|
minor
|
2020-09-13 04:20:00 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
4845b77177
|
accesslog: improvements and new features
relative to: #1601 and #1624
|
2020-09-13 02:56:22 +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
|
a30bbb61f7
|
accesslog: export the delimeter used on default formatter and improve its performance
relative to: #1601 and #1622
|
2020-09-11 23:22:18 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
17b32e3aaa
|
thanks @hazmi-e205 and @remyDeme
|
2020-09-11 11:42:27 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
e63d1041d2
|
accesslog: add IP in builtin fields, change the format a bit. Default func: remove compression middleware, force-set debug log level, replace the old request logger with the accesslog one, use request id middlewareand keep recovery
|
2020-09-11 09:38:55 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
0f5ec75d54
|
accesslog: Timestamp to unix milliseconds instead of seconds
relative to https://github.com/kataras/iris/issues/1601#issuecomment-690868305
|
2020-09-11 07:51:24 +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
|
2bb04823b0
|
recover, accesslog middlewares: give more information to the stored error, accesslog: make use of that information and introduce panic log levels
relative to: https://github.com/kataras/iris/issues/1601#issuecomment-690541789
|
2020-09-10 21:03:34 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
facc94b725
|
accesslog: improvements
|
2020-09-10 19:41:30 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
ae67987f55
|
accesslog: log error bodies and communicate with the recover middleware
|
2020-09-10 14:47:14 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
777ef0cd3e
|
i18n: expose the LoaderConfig from the main i18n instance and add an example
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
|
2020-09-10 05:17:03 +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
|
61a9eff43e
|
accesslog middleware: more examples and usecase, e.g. log latency per handler and sessions values or authentication
relative to: #1601
|
2020-09-09 08:21:10 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
d6867e1f9e
|
accesslog middleware: add total bytes received and sent
relative to: https://github.com/kataras/iris/issues/1601
|
2020-09-08 13:44:50 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
dac834cf11
|
new accesslog middleware: require the writer inside its constructor so we can 'detect' if we must force-lock a writer
relative to: https://github.com/kataras/iris/issues/1601
|
2020-09-07 18:04:35 +03:00 |
|