Gerasimos (Makis) Maropoulos
1ea5cd58be
builtin html template functions changes
2022-12-13 01:37:15 +02:00
jesse.tang
9e8a58bf3b
Optimize: map or slice initialize allocation size / cap ( #1965 )
2022-09-09 15:56:23 +03:00
Gerasimos (Makis) Maropoulos
6e82b40c2e
_examples: minor
2022-07-21 13:40:20 +03:00
Gerasimos (Makis) Maropoulos
94540fa664
_examples: minor
2022-07-19 23:22:51 +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
e7f5efa058
minor
2022-05-24 01:44:36 +03:00
Gerasimos (Makis) Maropoulos
f17a325df6
minor improvements
2022-04-07 01:56:42 +03:00
Gerasimos (Makis) Maropoulos
872dd45359
auth: add an option to enforce the secure attr of the set-cookie
2022-04-02 18:17:47 +03:00
Gerasimos (Makis) Maropoulos
8652ee09f6
rename the sso to auth package
2022-04-02 17:30:55 +03:00
Gerasimos (Makis) Maropoulos
cf36063adf
first release of SSO package and more examples
2022-03-28 14:00:26 +03:00
Gerasimos (Makis) Maropoulos
5a7485124c
add a query helper on x/sqlx sub-package and fix the example for basicauth
2022-03-08 19:45:25 +02:00
Gerasimos (Makis) Maropoulos
485395190b
update dependencies
2021-10-31 11:49:39 +02:00
Gerasimos (Makis) Maropoulos
856f65be78
remove the 'retract' directive, as it's only available on the latest go release
2021-05-28 19:09:16 +03:00
Gerasimos (Makis) Maropoulos
1243150690
let's see
2021-02-19 08:49:15 +02:00
Gerasimos (Makis) Maropoulos
240fdb6dc3
API versioning improvements
...
Replace the go-version package with a regex-free alternative semver
the result: versioned apis have almost zero performance cost now
thanks @motogo for your kind donation ❤️ - please check your github notifications
2021-01-07 04:14:41 +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
afa1d89a23
update deps
2020-11-25 04:47:36 +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
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
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
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
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
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
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
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
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
85b5453ae1
add auth/jwt/refresh-token example as requested at #1635
2020-09-16 13:57:11 +03:00
Gerasimos (Makis) Maropoulos
64f95a59b4
fix ip_test (see prev commit)
2020-09-16 13:21:34 +03:00
Gerasimos (Makis) Maropoulos
1a163eb78d
minor: README
2020-09-01 17:58:07 +03:00
Gerasimos (Makis) Maropoulos
f93c8b13bc
minor: oauth2 example updates
2020-08-30 17:51:53 +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
05ae7792df
add a rs/cors full example
...
Former-commit-id: 9655e04b91145f60e69096cbd662fef08a91f988
2020-06-09 22:12:11 +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