Commit Graph

61 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
1079bb8f8b add a new 'Context.GzipReader(bool) method and 'iris.GzipReader' middleware as requested at #1528
Former-commit-id: 7665545069bf1784d17a9db1e5f9f5f8df4b0c43
2020-05-28 19:29:14 +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
d71e9d5a7e update kataras/neffos dependency
Former-commit-id: 7658c5bd83413a495a6aea3eac7fdf4c0339e170
2020-05-18 19:54:50 +03:00
Gerasimos (Makis) Maropoulos
47c3bad58d set iris logger to the sessiondb/badger logs and update deps
Former-commit-id: 7578dec5752cc2bfa012440c24d59f41425812f8
2020-05-17 22:08:43 +03:00
Gerasimos (Makis) Maropoulos
a428526f4f update go.mod
Former-commit-id: 2bf26363a8dc13a062c743d2243852c7b0634d58
2020-05-08 21:38:08 +03:00
Gerasimos (Makis) Maropoulos
a111c67241 use a custom version of httpexpect which removes things that Iris or its users not use at all in order to reduce the download filesize
Former-commit-id: 993107d0fa40b5e423962b58aa924b712644f18c
2020-05-06 21:08:12 +03:00
Gerasimos (Makis) Maropoulos
f5e59c10e1 update go.mod deps
Former-commit-id: 91a0ab6a8cb35bf9143cee0447a6f72ca8a09333
2020-05-04 20:23:15 +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
ac08f53ba0 minor
Former-commit-id: d4eebea0b5849c574e2ffd4b0bb36e4380b14111
2020-04-29 05:50:29 +03:00
Gerasimos (Makis) Maropoulos
128cd255cb update kataras/neffos dependency
Former-commit-id: bd06645fa9ab7774d9dfd7837dddd6217b14b08c
2020-04-28 06:07:42 +03:00
Gerasimos (Makis) Maropoulos
ac7fac35be update dependencies
Former-commit-id: 95cc5cf2628490e865d6414ab2d8661e803ea05f
2020-04-28 05:51:28 +03:00
Gerasimos (Makis) Maropoulos
27ca1c93f5 logging: several improvements
Former-commit-id: 12538c74a1aa55314c35ac3cf2665646b704851d
2020-04-28 01:58:56 +03:00
Gerasimos (Makis) Maropoulos
77a79cae58 improve route debug info, see HISTORY.md
Former-commit-id: ae245bae5fefa57c5f7663f7d1d661ec68ad366a
2020-04-26 06:21:20 +03:00
Gerasimos (Makis) Maropoulos
486e57b9ae gofmt
Former-commit-id: 23590c343ae9d351f3bed0a64487bb31c58f0dba
2020-04-13 10:03:40 +03:00
Gerasimos (Makis) Maropoulos
629ae3c688 minor: sessions testing: fix travis by using InRange for cookie's MaxAge
Former-commit-id: a1d6096aec0d716539e1b4b35547c7b3f05bbd3f
2020-04-13 10:01:51 +03:00
Gerasimos (Makis) Maropoulos
837787104b add context.Protobuf, MsgPack, ReadProtobuf, ReadMsgPack methods
Former-commit-id: 39d547ecfb1516505a1eb76a12a1f6e9e4111962
2020-04-08 16:48:22 +03:00
Gerasimos (Makis) Maropoulos
5fc24812bc ❤️ awesome and unique features for end-developers are coming...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)


Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00
Gerasimos (Makis) Maropoulos
899aec8b19 minor
Former-commit-id: d941810fbc00f4573d5941617270fec7835067c2
2020-02-15 21:21:08 +02:00
Gerasimos (Makis) Maropoulos
66c0f632c3 fix of https://github.com/kataras/iris/issues/1450#issuecomment-586581677
Former-commit-id: 2b8dfec7d43298bc9ace94595359867180634f04
2020-02-15 21:16:21 +02:00
Gerasimos (Makis) Maropoulos
c13fd84354 fix https://github.com/kataras/iris/issues/1450 and continue on implementing 1449
Former-commit-id: 617f64d061e88f050a443ea1751fa244164656c5
2020-02-14 23:34:56 +02:00
Gerasimos (Makis) Maropoulos
09a410c6cb example: gRPC-compatible controller
as requested at: https://github.com/kataras/iris/issues/1449


Former-commit-id: a0af1a78bcfef85f297c5087c8cbb00124226036
2020-02-12 19:27:11 +02:00
Gerasimos (Makis) Maropoulos
9c97a8a668 Update to version 12.1.6
Former-commit-id: 4d39e8a764a7c0d91b19a3710d8afe6c8c208c62
2020-02-05 12:36:21 +02:00
Gerasimos (Makis) Maropoulos
b2c5ec03fd miscellaneous
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
2020-01-07 03:41:07 +02:00
Gerasimos (Makis) Maropoulos
7f720eb33d fix #1407
Former-commit-id: acd8d582aab7b278ea99d0f02d79a33a8b5ee86f
2019-12-19 07:10:31 +02:00
Gerasimos (Makis) Maropoulos
a3f944b884 Add context.FindClosest(n) to find closest paths - useful for 404 pages to suggest valid pages
Former-commit-id: 90ff7c9da5369df5bd99fbbecf9955a8c555fea5
2019-12-16 02:00:42 +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
4e9a6be9aa i18n several improvements
trigger #1369


Former-commit-id: af16dd8de1a0096d33c4e4c97f29ec12a73302f4
2019-11-22 02:57:26 +02:00
Gerasimos (Makis) Maropoulos
c935e5d7d1 add HISTORY entry for v12
Former-commit-id: 778fedba71bc146709e840c7a37545e516c7a287
2019-10-26 18:40:35 +03: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
Gerasimos (Makis) Maropoulos
221978e41a Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c.
Former-commit-id: 5809157b952ccc61a67a9861470774b3a6fee024
2019-10-24 18:57:05 +03:00
Gerasimos (Makis) Maropoulos
943c3f77cb update neffos
Former-commit-id: f81a15d8e574138de6d8b4d674db2b38865d38f6
2019-08-10 19:28:03 +03:00
Gerasimos (Makis) Maropoulos
eb29a80753 redis sessiondb: support more than one driver - builtin redigo(default) and radix - rel to: #1328
Former-commit-id: 1eee58f2c49f64899fffc3ad61bcf074f8949cc1
2019-08-06 18:40:13 +03:00
Gerasimos (Makis) Maropoulos
b37b369b51 add content negotiation feature, add context.ReadYAML and fix https://github.com/kataras/neffos/issues/1#issuecomment-515698536
Former-commit-id: 9753e3e45c7c24788b97814d3ecfb4b03f5ff414
2019-08-03 04:41:09 +03:00
Gerasimos (Makis) Maropoulos
db0702ca75 implement ReadQuery with 'url' struct field tag name strictly, as requested at: #1207
Former-commit-id: dc0c237f62aa6db5a0c1755b2074d8a18dba0d8f
2019-07-24 03:29:42 +03:00
Gerasimos (Makis) Maropoulos
710cc6da54 fix https://github.com/kataras/iris/issues/1298
Former-commit-id: 7371178a7662a7e55bd1c83a22ae3a4896b449fb
2019-07-24 02:24:47 +03:00
Gerasimos (Makis) Maropoulos
452b7d2df0 minor
Former-commit-id: f0a26383ace695525d5aec52ec2181d781d26a83
2019-07-19 12:27:35 +03:00
Gerasimos (Makis) Maropoulos
55bdb44e26 remove experimental-handlers examples, users should visit github.com/iris-contrib/middleware instead, let's not have duplications
Former-commit-id: 72754683d1bcd4325b5fcd9f57c6cb87f1d7337d
2019-07-15 16:03:19 +03:00
Gerasimos (Makis) Maropoulos
137c41344d Updated all dependencies one by one to go.mod - Backup and remove the vendor folder entirely and update most of the examples - next commit will contain the rest of the updated
Former-commit-id: 2791c50256c0f00d6e08a408e5cb009262c49588
2019-07-15 07:49:04 +03:00
Gerasimos (Makis) Maropoulos
86a18ff545 sync kataras/iris/websocket with kataras/neffos - added support for nats scaling and Server.Ask method
Former-commit-id: 3a3f00410e113817c4e609feaad70f76c0b09b57
2019-07-14 20:22:59 +03:00
Gerasimos (Makis) Maropoulos
33dfb42d73 add the new neffos StackExchange feature to the type aliases and shortcuts of the websocket subpackage and auto-enable debug mode on websocket MVC application when iris logger's level is set to debug
Former-commit-id: 4d8cb79d01a4172fc1ed7a9b626da0228d902b3c
2019-07-11 12:59:11 +03:00
Gerasimos (Makis) Maropoulos
450f20902d MVC improvements: add HandleWebsocket that now registers events automatically based on the struct's methods(!) and fix a bug when more than one value of the same type is registered to a static field of a controller
Former-commit-id: e369d1426ac1a6b58314930a18362670317da3c1
2019-07-09 12:16:19 +03:00
Gerasimos (Makis) Maropoulos
2576b3da34 add support for iris-specific form of generating connection IDs as requested at: https://github.com/kataras/neffos/issues/1#issuecomment-508689819
Former-commit-id: 0994b63373ebe2b5383a28f042aa2133061cbd18
2019-07-05 16:22:20 +03:00
Gerasimos (Makis) Maropoulos
9dbb300d9b implement the Iris Crypto Library for Request Authentication and Verification. With Examples and Tests.
Relative to this one as well: https://github.com/kataras/iris/issues/1200


Former-commit-id: 3a29e7398b7fdeb9b48a118b742d419d5681d56b
2019-07-02 19:19:43 +03:00
Gerasimos (Makis) Maropoulos
8ad4c061d1 remove the json-iterator from vendor, keep its most stable version only on the go.mod instead so users can interact with its 'extra' subpackage when iris.WithOptimizations is set
relative to: https://github.com/kataras/iris/issues/1245


Former-commit-id: c833189909c73cfdd9e91b1a9aec0c1ea6113af9
2019-06-24 14:30:00 +03:00
Gerasimos (Makis) Maropoulos
272566950d _examples/websocket/basic: add a nodejs client and provide a README.md on how to run the websocket clients and the server
Former-commit-id: a98a80996d7d95fa947e72c71803407682229fa7
2019-06-13 12:15:01 +03:00
Gerasimos (Makis) Maropoulos
e10fada695 updates for neffos and re-push the fix of the request path with uri unescaped codes
Former-commit-id: fda1edb3e8dfc538da541070366f5f8f997bf367
2019-06-06 23:05:17 +03:00
Gerasimos (Makis) Maropoulos
e19a519c6e add neffos.Object based on the latest neffos API and update the go.mod for neffos
Former-commit-id: 47836caf61d3c951f1599714a4310bbdef1c87b7
2019-06-03 12:06:18 +03:00
Gerasimos (Makis) Maropoulos
04bc21dd3b Add the new websocket package (which is just a helper for kataras/neffos) and an example for go server, client, browser client and nodejs client. Add a .fossa.yml and the generated NOTICE file for 3rd-party libs. Update go.mod, go.sum. Update the vendor folder for pongo2 to its latest master as well
Former-commit-id: 89c05079415977d65e7328a1eb8a1c602d76f78a
2019-06-02 17:49:45 +03:00
Gerasimos (Makis) Maropoulos
adb6fd764a extract the Delim for redis sessiondb as requested at https://github.com/kataras/iris/issues/1256 and add a mvc/regexp example and some other trivial changes
Former-commit-id: f9e09320bfe07ae10ac74f54a78272cf21d21cc7
2019-05-30 10:48:07 +03:00