1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-26 06:17:03 +00:00
Commit Graph

432 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
8652ee09f6 rename the sso to auth package 2022-04-02 17:30:55 +03:00
Gerasimos (Makis) Maropoulos
84d1a60334 add Context.SetJSONOptions 2022-03-31 20:47:01 +03:00
Gerasimos (Makis) Maropoulos
9cf6f9fa5e add a new Party.EnsureStaticBindings method - read HISTORY.md 2022-03-12 12:32:27 +02:00
Gerasimos (Makis) Maropoulos
4ecc9e3831 add a new x/sqlx sub-package and example 2022-03-08 00:33:08 +02:00
Gerasimos (Makis) Maropoulos
410e5eae83 add a new x/reflex sub-package for reflection common functions - may be improved in the near future 2022-03-06 17:11:56 +02:00
Gerasimos (Makis) Maropoulos
f28203f1be add Context.ReadMultipartRelated as requested at #1787 2022-03-02 03:49:15 +02:00
Gerasimos (Makis) Maropoulos
61872a1612 Add Party.Container.SetDependencyMatcher, hero.Container.DependencyMatcher and hero.Dependency.Match to fullfil the feature request asked at: #1842 2022-03-01 21:26:02 +02:00
Gerasimos (Makis) Maropoulos
481332090e register cors middleware on iris.Default() function 2022-03-01 14:00:54 +02:00
Gerasimos (Makis) Maropoulos
5844eaef24 add x/jsonx.DayTime type 2022-02-27 22:38:09 +02:00
Gerasimos (Makis) Maropoulos
20fa672097 fix 2 minor issues 2022-02-26 21:16:08 +02:00
Gerasimos (Makis) Maropoulos
70a73ef80b publish v12.2.0-alpha7 version 2022-02-25 20:17:02 +02:00
Gerasimos (Makis) Maropoulos
37c766fef7 new x/errors package to handle HTTP wire errors 2022-02-24 23:49:46 +02:00
Gerasimos (Makis) Maropoulos
8ded69fd7e add new x/timex sub-package 2022-02-21 22:50:27 +02:00
Gerasimos (Makis) Maropoulos
41026c9209 publish v12.2.0-alpha6 2022-02-18 22:19:33 +02:00
Gerasimos (Makis) Maropoulos
4a1f0b6e9e improvements to the x/client package 2022-01-23 00:47:26 +02:00
Gerasimos (Makis) Maropoulos
e213dba0d3 security fix 2021-12-23 22:05:26 +02:00
Gerasimos (Makis) Maropoulos
2a048df5c7 minor improvement on URLParamSlice 2021-12-16 18:57:14 +02:00
Gerasimos (Makis) Maropoulos
d6cfe3fe5b new Timeout, TimeoutMessage configuration fields and apps.OnApplicationRegistered listener 2021-12-09 14:44:03 +02:00
Gerasimos (Makis) Maropoulos
48bb9c9c11 minor improvements 2021-11-15 15:29:30 +02:00
Gerasimos (Makis) Maropoulos
51fc2f35ca new /x/jsonx and /x/mathx util sub-packages 2021-11-06 20:25:25 +02:00
Gerasimos (Makis) Maropoulos
16b9b694d2 new /x/client sub-package 2021-10-31 11:25:11 +02:00
Gerasimos (Makis) Maropoulos
bf54d33a3e add new ':email' path parameter and revert the jsoniter removal 2021-10-13 16:22:22 +03:00
Gerasimos (Makis) Maropoulos
6d3884b0ce add iris.IsErrEmptyJSON helper. See HISTORY.md 2021-06-16 13:52:39 +03:00
Gerasimos (Makis) Maropoulos
8f9140b705 New Context.FormFiles method 2021-06-07 15:33:19 +03:00
Gerasimos (Makis) Maropoulos
6219e57135 New APIContainer.EnableStrictMode(bool) method. Read HISTORY.md 2021-04-22 14:00:00 +03:00
Gerasimos (Makis) Maropoulos
89f02c6e87 update jwt dependency and use the current Party if relative path is empty on PartyConfigure only 2021-03-03 14:39:47 +02: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
f34703e3cf minor improvement of the previous commit 2021-02-17 16:57:19 +02:00
Gerasimos (Makis) Maropoulos
cbf70a7bcf Add new PartyConfigure helper 2021-02-17 16:50:36 +02:00
Gerasimos (Makis) Maropoulos
e901575ca8 Path type parameter error handler: add the parameter index in the input arguments
see previous commit
2021-02-15 11:30:29 +02:00
Gerasimos (Makis) Maropoulos
5990e7f432 NEW (HOT) FEATURE: Add custom error handlers on path type parameters error 2021-02-14 15:31:27 +02:00
Gerasimos (Makis) Maropoulos
567c06702f respect the iris.WithEmptyFormError option on Context.ReadQuery too
as requested at: #1727
2021-02-14 13:40:56 +02:00
Gerasimos (Makis) Maropoulos
d26b9bfbed Add Strict option to httptest as requested at: #1722 2021-02-13 21:21:19 +02:00
Gerasimos (Makis) Maropoulos
5fe233278a add a new 'uuid' path parameter type e.g. /{id:uuid} 2021-02-12 17:12:23 +02:00
Gerasimos (Makis) Maropoulos
5994fd5d4e New iris.WithKeepAlive(time.Duration) Configurator is added as a helper to enable TCP listener featured with keep-alive 2021-01-31 21:24:15 +02:00
Gerasimos (Makis) Maropoulos
53b3ade7e0 New feature: Context.ReadJSONStream 2021-01-24 23:34:01 +02:00
Gerasimos (Makis) Maropoulos
435f284815 New feature: Fallback views. Read HISTORY.md 2021-01-24 14:08:37 +02:00
Gerasimos (Makis) Maropoulos
541fa75caf minor (see previous commit) 2021-01-07 05:36:56 +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
11e21150d0 more features and fix database/mysql:jwt example 2020-11-24 14:58:02 +02:00
Gerasimos (Makis) Maropoulos
7b6a8f1e26 simplify some examples 2020-11-07 12:49:14 +02:00
Gerasimos (Makis) Maropoulos
7f523d52e1 thank you @dtrifonov for your donation ❤️ 2020-11-06 14:19:53 +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
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
637f7aeea7 add context.ReadURL - relative to #1659 2020-10-18 19:26:43 +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
546c7bf465 add RemoveHandler to Party too, as requested at #1658 2020-10-12 12:56:54 +03:00