1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-25 22:07:03 +00:00
Commit Graph

2149 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
c81b97188a add example for https://github.com/kataras/iris/issues/1671 2020-11-13 00:34:17 +02:00
Gerasimos (Makis) Maropoulos
7b6a8f1e26 simplify some examples 2020-11-07 12:49:14 +02:00
Gerasimos (Makis) Maropoulos
7a19cfb211 add DirOptions.SPA field
relative to #1653
2020-11-07 00:08:49 +02:00
Gerasimos (Makis) Maropoulos
7f523d52e1 thank you @dtrifonov for your donation ❤️ 2020-11-06 14:19:53 +02:00
Gerasimos (Makis) Maropoulos
3d5ed9926e Merge pull request #1662 from kataras/jwt-new-features
New JWT Middleware features and more
2020-11-06 11:42:35 +02:00
Gerasimos (Makis) Maropoulos
f049c51336 last touch 2020-11-06 11:36:57 +02:00
Gerasimos (Makis) Maropoulos
d562f09531 OK, I think we are done with the new JWT package 2020-11-05 10:47:56 +02:00
Gerasimos (Makis) Maropoulos
a9e808345b minor 2020-11-04 21:31:15 +02:00
Gerasimos (Makis) Maropoulos
579c3878f0 add a jwt tutorial + go client 2020-11-04 21:12:13 +02:00
Gerasimos (Makis) Maropoulos
3ed3aed717 thank you @midhubalan for your kind donation ❤️ 2020-11-02 18:48:08 +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
23d4c411ca thanks @tuxaanand @edsongley @ganben @tejzpr @BlackHole1 @wangbl11 @juanxme and @andychongyz for your kindly donations ❤️ 2020-10-31 06:06:57 +02:00
Gerasimos (Makis) Maropoulos
a70ee32ebd fix #1665 2020-10-31 05:04:05 +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
83462d2999 minor: godoc: remove invalid comment 2020-10-18 19:39:31 +03:00
Gerasimos (Makis) Maropoulos
d0add202d9 minor 2020-10-18 19:38:23 +03:00
Gerasimos (Makis) Maropoulos
7ab51805ba add an example for #1659 2020-10-18 19:37:33 +03:00
Gerasimos (Makis) Maropoulos
637f7aeea7 add context.ReadURL - relative to #1659 2020-10-18 19:26:43 +03:00
Gerasimos (Makis) Maropoulos
b335ab9c78 Thank you @KevinZhouRafael for your kind donation ❤️ 2020-10-18 18:26:01 +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
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
546c7bf465 add RemoveHandler to Party too, as requested at #1658 2020-10-12 12:56:54 +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
2d62d49fdb fix redis sessions database prefix 2020-10-10 13:18:33 +03:00
Gerasimos (Makis) Maropoulos
0dd03c0e92 Thank you @jazar17 for your kind donation ❤️ 2020-10-10 12:52:06 +03:00
Gerasimos (Makis) Maropoulos
06b20c56e5 Thank you @goten002 for your kind donation ❤️ 2020-10-10 12:48:45 +03:00
Gerasimos (Makis) Maropoulos
1b151db08c Thanks for your kind donation @TonyZhu ❤️ 2020-10-10 12:30:37 +03:00
Gerasimos (Makis) Maropoulos
1cf3474199 Thanks @wiener01mu @theantichris @L-M-Sherlock and @tsailiting ❤️ 2020-10-10 12:25:54 +03:00
Gerasimos (Makis) Maropoulos
ff7417badd Add Route.RemoveHandler (a fast change to the previous commit) 2020-10-09 18:53:00 +03:00
Gerasimos (Makis) Maropoulos
ae8190eb97 add Route.RemoveMiddleware method
Useful when all routes under a Party accept a middleware with some exceptions.

For Party-level use its Reset method instead, unless otherwise requested
2020-10-09 18:31:38 +03:00
Gerasimos (Makis) Maropoulos
1be327f6b4 Thank you @nguyentamvinhlong and @vguhesan for your kind donation ❤️ 2020-10-04 19:48:49 +03:00
Gerasimos (Makis) Maropoulos
0069bccd75 add example for https://github.com/kataras/iris/issues/1653 2020-10-04 19:04:10 +03:00
Gerasimos (Makis) Maropoulos
cc7e3860f2 fix #1610 #1651 - read HISTORY.md 2020-10-04 16:50:21 +03:00
Gerasimos (Makis) Maropoulos
5fc50a0049 Thanks @Cesar ❤️ 2020-10-02 15:13:44 +03:00
Gerasimos (Makis) Maropoulos
46710fc972 README: add a small gif 2020-10-02 00:59:32 +03:00
Gerasimos (Makis) Maropoulos
2f971c365a Thanks @ky2s and @unixedia ❤️ ❤️ 2020-10-01 17:32:09 +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
5017e3c986 i18n: respect fallback language when Strict is false and no DefaultMessageFunc was provided 2020-09-30 10:36:25 +03:00
Gerasimos (Makis) Maropoulos
5b983800ec update dependencies (see previous commit for more interesting stuff) 2020-09-29 20:34:47 +03:00