Commit Graph

103 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
8d99b46801
minor improvements 2020-08-31 09:40:27 +03:00
Gerasimos (Makis) Maropoulos
6f9a453160
DBUG API: mark overlapped routes, hide the builtin functionality (read description)
also reference the correct file:line on <autogenerated> (by searching for the file,line of method inside the embedded fields themselves, as go automatically generates the methods foreach struct for their embedded fields)

fix UseGlobal may override the overlap feature
2020-08-28 16:02:14 +03:00
Gerasimos (Makis) Maropoulos
d44b69faed
Add Party.ResetRouterFilters
relative to: https://github.com/kataras/iris/issues/1604#issuecomment-680410131
2020-08-26 06:57:36 +03:00
Gerasimos (Makis) Maropoulos
1780d97d44
update the subdomain redirect example using the rewrite middleware 2020-08-26 00:07:07 +03:00
Gerasimos (Makis) Maropoulos
5e82fa5b89
mvc: struct field and method dependency logs on debug level. Read HISTORY.md
- remove Party.GetReporter

- Read HISTORY.md
2020-08-24 21:44:29 +03:00
Gerasimos (Makis) Maropoulos
a018ba9b0a
add example for #1601 2020-08-22 03:21:44 +03:00
Gerasimos (Makis) Maropoulos
95c3c2a951
rewrite middleware: add a feature which supports users.json to users?format=json local route redirection 2020-08-21 18:09:21 +03:00
Gerasimos (Makis) Maropoulos
cb80e43ff0
rewrite middleware: add subdomain redirect example 2020-08-20 16:34:19 +03:00
Gerasimos (Makis) Maropoulos
ffae9c0d09
rewrite middleware: add PrimarySubdomain and simplify its usage example 2020-08-20 03:05:47 +03:00
Gerasimos (Makis) Maropoulos
12737c5b7f
implement a rewrite middleware 2020-08-19 22:40:17 +03:00
Gerasimos (Makis) Maropoulos
bdb94bbae2
request logger middleware: add graphical information about executed route's handlers 2020-08-19 01:24:36 +03:00
Gerasimos (Makis) Maropoulos
35ab1de212
add TraceRoute feature on request logger 2020-08-18 19:33:07 +03:00
Gerasimos (Makis) Maropoulos
1192e6f787
fix https://github.com/kataras/iris/issues/1594 2020-08-18 05:42:48 +03:00
Gerasimos (Makis) Maropoulos
ab226d925a
fix https://github.com/kataras/iris/issues/1590 2020-08-15 15:40:41 +03:00
Gerasimos (Makis) Maropoulos
38eec57e46 add HashGenerator on requestid middleware
Former-commit-id: 8f59a46a3fecc538d6d3e624fc36f2c314c20bb6
2020-07-15 11:18:40 +03:00
Gerasimos (Makis) Maropoulos
0f113dfcda (#1554) Add support for all common compressions (write and read)
- Remove the context.Context interface and export the *context, the iris.Context now points to the pointer\nSupport compression and rate limiting in the FileServer\nBit of code organisation


Former-commit-id: ad1c61bf968059510c6be9e7f2cceec7da70ba17
2020-07-10 23:21:09 +03:00
Gerasimos (Makis) Maropoulos
29d98ac281 use the new protobuf package and other minor stuff
Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2
2020-06-21 17:15:28 +03:00
Gerasimos (Makis) Maropoulos
caa2545e3b update golog dependency
Former-commit-id: 304d3a25f41a2cf4f8f59964ce454d66be8b06c7
2020-06-09 10:09:04 +03:00
Gerasimos (Makis) Maropoulos
46ff69e28e minor
Former-commit-id: e83456ced3d00d6da3001d083e22a0568748298e
2020-06-09 02:20:28 +03:00
Gerasimos (Makis) Maropoulos
34d0d98130 minor
Former-commit-id: fef022dc8d2f396f611d958d9f9e6993d2c770d8
2020-06-07 18:15:55 +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
9fdcb4c7fb jwt: add a 'Get' helper
Former-commit-id: a9b0bd0d2a61a9b2a33eff35eb69eec035296b98
2020-06-01 06:57:52 +03:00
Gerasimos (Makis) Maropoulos
b2fddc7d68 jwt: add more helpers (DefaultRSA and DefaultHMAC)
Former-commit-id: fe06c0e0f4d7e121c678ffda7ac702ae865abd00
2020-05-31 17:57:30 +03:00
Gerasimos (Makis) Maropoulos
9e5672da25 add a new simple, builtin requestid middleware (makes use of the Context.SetID/GetID methods too)
Former-commit-id: d46bce7c1964adada01934aa95daf389c141defc
2020-05-28 16:20:58 +03:00
Gerasimos (Makis) Maropoulos
d556cfc39a New builtin JWT middleware - this one supports encryption and ed25519
Former-commit-id: ca20d256b766e3e8717e91de7a3f3b5f213af0bc
2020-05-27 12:02:17 +03:00
Gerasimos (Makis) Maropoulos
68fda360db fmt
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>

Former-commit-id: b30be0c10c507296cdf0a5a14bc8586af77ef604
2020-05-04 08:20:55 +03:00
Gerasimos (Makis) Maropoulos
2442915e08 update middleware list
Former-commit-id: f15d49cdfc6ef2368cec994a500c55a52efcc45e
2020-05-04 07:03:44 +03:00
Gerasimos (Makis) Maropoulos
37251c6b00 minor
Former-commit-id: 1747352d45933ad8c8623d8dcfdbcb176ecba50c
2020-05-04 06:45:14 +03:00
Gerasimos (Makis) Maropoulos
af66e7404f rate: add 'SetIdentifier' and update example
the /x/time/rate package may be replaced with the iris-contrib:master/throttler's one -- we'll see


Former-commit-id: 9d12c7bd997ef4502dc0a7bb93bcb015d9204703
2020-05-03 03:53:43 +03:00
Gerasimos (Makis) Maropoulos
71e9a84442 godoc the (new) rate.Limit middleware
Former-commit-id: fd5b4504ff873b55870b6966851157b8c641e587
2020-05-02 22:21:42 +03:00
Gerasimos (Makis) Maropoulos
dbd6fcd2d7 add Context.SendFileWithRate, ServeFileWithRate and ServeContentWithRate
as requested at: https://github.com/kataras/iris/issues/1493


Former-commit-id: 7783fde04b4247056e6309e7ec1df27f027dc655
2020-05-02 17:46:17 +03:00
Gerasimos (Makis) Maropoulos
1e1d8a4855 minor (see prev commit)
Former-commit-id: 277b7b1517357d6baea98d771b592be2795201a3
2020-05-01 23:37:41 +03:00
Gerasimos (Makis) Maropoulos
3775189de8 New Rate Limit middleware (still WIP though)
Former-commit-id: 99e282e4d400c83a56a808212d812cd701e1bcd8
2020-05-01 23:33:04 +03:00
Gerasimos (Makis) Maropoulos
2a4043a3c2 more route info improvements
Former-commit-id: ccbe95de0badb1bf448fcc443cecda60772716dc
2020-04-28 22:34:36 +03:00
Gerasimos (Makis) Maropoulos
c366c34644 add human-friendly middleware names on route debugging (see HISTORY.md#Next)
Former-commit-id: f7291c4a077c4d1573344c93ba8a153fede18795
2020-04-28 05:42:23 +03:00
Gerasimos (Makis) Maropoulos
d1f18501e8 add a way to customize the handler names (recommended: before server execution) so route logging can be more human-friendly on handlers like standard iris middlewares, e.g. request logger
Former-commit-id: 039c233f2d4da0d52b1d6fc86b6d73be14b15608
2020-04-27 15:48:09 +03:00
Gerasimos (Makis) Maropoulos
eafa63da50 add hCaptcha middleware and example and memstore json struct tags
Former-commit-id: 31e4f68429e354c9130ebcf3829683a6d52e4492
2020-04-14 02:22:57 +03:00
Gerasimos (Makis) Maropoulos
6432e34151 typo fix on recaptcha middleware...
Former-commit-id: 214c56fcd84c86742175e37185e130eeae85f07f
2020-04-11 20:23:02 +03:00
Gerasimos (Makis) Maropoulos
aea836efc7 add a full gRPC example as previously requested at: https://github.com/kataras/iris/issues/1449
Former-commit-id: 0cb5121e7d44644f7f0eb34597ff34274157fe95
2020-03-07 12:53:23 +02:00
Gerasimos (Makis) Maropoulos
dd18dc9ee8 Add a gRPC router wrapper, useful for the upcoming grpc controller example
Former-commit-id: ae4c29597ce1336a74278b86b59d08b6c91eab0a
2020-03-06 12:28:08 +02:00
Gerasimos (Makis) Maropoulos
3093d65363 version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
2020-02-02 16:29:06 +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
04477c3e41 fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
2019-12-13 23:06:18 +02:00
Gerasimos (Makis) Maropoulos
c66f7a6d21 update middleware list
Former-commit-id: 051d40a3fb553d15d9cfd55f793546e193463383
2019-11-22 15:16:50 +02:00
Gerasimos (Makis) Maropoulos
4e9a6be9aa i18n several improvements
trigger #1369


Former-commit-id: af16dd8de1a0096d33c4e4c97f29ec12a73302f4
2019-11-22 02:57:26 +02:00
Gerasimos (Makis) Maropoulos
377db7f822 minor
Former-commit-id: 6102c3fb2a58935a8b354c3999abf80456735fa8
2019-11-21 21:50:37 +02:00
Gerasimos (Makis) Maropoulos
2c229234f1 add subdomain support for i18n and a custom language Indentifier - rel to: #1369
Former-commit-id: b4d31978f6ddcdcebd18505eaa0db297db462d8e
2019-11-20 16:40:28 +02:00
Gerasimos (Makis) Maropoulos
eb3328dbe9 add tests for #1369 and various improvements
Former-commit-id: 2fe1f077cf5b6a0fb32a27cf86462fea776a7d58
2019-11-20 02:35:41 +02:00
Gerasimos (Makis) Maropoulos
0844c109d9 implement path prefx for i18n middleware, as requested at: #1369
Former-commit-id: b0d6b6e7f368e710b01faad9b70dfa4cebdd8c4d
2019-11-19 23:36:18 +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