Gerasimos (Makis) Maropoulos
373b8993ad
add viper configuration example and minor improvements - read HISTORY.md
2020-09-16 12:59:51 +03:00
Gerasimos (Makis) Maropoulos
e828a96752
fix #1633 and respect controller's no log option for websocket controllers too
2020-09-15 23:37:11 +03:00
Gerasimos (Makis) Maropoulos
7113165cb8
fix #1629
2020-09-14 01:09:51 +03:00
Gerasimos (Makis) Maropoulos
0be856e54c
add accesslog middleware (rel: #1601 )
2020-09-06 10:38:48 +03:00
Gerasimos (Makis) Maropoulos
00684f9d2e
add Route.ExcludeSitemap method to exclude a route from sitemap, also exclude the offline routes as requested
2020-08-29 01:21:42 +03:00
Gerasimos (Makis) Maropoulos
a491cdf7ef
implement #1593 - Read HISTORY.md
...
updated example: https://github.com/kataras/iris/blob/master/_examples/i18n/main.go#L28-L50
2020-08-18 08:05:51 +03:00
Gerasimos (Makis) Maropoulos
5d480dc801
Ability to register a view engine per group of routes or for the current a chain of handlers
...
Example at: https://github.com/kataras/iris/tree/master/_examples/view/context-view-engine
2020-08-05 19:34:55 +03:00
Gerasimos (Makis) Maropoulos
6844be57ea
add 'iris.Ace' template engine: _examples/view/template_ace_0
2020-08-03 05:46:04 +03:00
Gerasimos (Makis) Maropoulos
22a89c12cb
Add Configuration.RemoteAddrHeadersForce as requested at #1567 and change RemoteAddrHeaders from map to string slice
...
Read HISTORY.md entry
2020-07-26 14:37:30 +03:00
Gerasimos (Makis) Maropoulos
beb67dc495
testing: add a 'Do' helper that accepts http.ResponseWriter and http.Request for integration with the standard net/http/httptest package for easier transition from net/http and other frameworks into Iris
...
Former-commit-id: 8ec6e3468affc28ce34c9bef6795b444fffa08c5
2020-07-20 05:44:12 +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
7f9e664b90
Option for Socket Sharding as requested at #1544
...
Former-commit-id: 0384baf593012377a94344d647ca41121294285a
2020-06-26 20:29:36 +03:00
Gerasimos (Makis) Maropoulos
836e641229
minor
...
Former-commit-id: 0bc9c92c519edda9e04be8481e16fd2fdcfc74c0
2020-06-25 13:04:36 +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
878484204e
minor: versioning: Match: store the matched version and revert the last change
...
Former-commit-id: e7aa04671d3f54650bb194a97300b6a89e1b0d2b
2020-06-20 09:39:42 +03:00
Gerasimos (Makis) Maropoulos
43502ed047
minor
...
Former-commit-id: 26b0b59ba54caac38d726d7fec562a5d6a0a76e3
2020-06-18 09:36:47 +03:00
Gerasimos (Makis) Maropoulos
78a45163e3
add 'HostProxyHeaders' Configuration field
...
Former-commit-id: 067360d8db638d6f268d154b50fd872c465eaf1a
2020-06-11 18:52:35 +03:00
Gerasimos (Makis) Maropoulos
12e61f4456
godoc: ConfigurationReadOnly: comment to just a reference of the field
...
Former-commit-id: b0b74e892d5bdf05dc4c2897c6e0ec3d3747ad49
2020-06-11 16:27:38 +03:00
Gerasimos (Makis) Maropoulos
d304086c32
add 'Context.IsSSL() bool'
...
Former-commit-id: 494394ecb3a44dc69d95893eae024efff0ff3612
2020-06-11 16:08:35 +03:00
Gerasimos (Makis) Maropoulos
9f4f4a2f49
add some defaults to the private subnets
...
Former-commit-id: 5ebd12074b792584541bf116c883b901ea52c77c
2020-06-11 15:18:34 +03:00
Gerasimos (Makis) Maropoulos
7bb2223226
fix #1531 and introduce the 'Configuration.ResetOnFireErrorCode' (read HISTORY.md)
...
Former-commit-id: 84f1e894378a6dfd94e0bf057f4037e35aee0c4f
2020-06-08 05:16:55 +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
c866709acc
add 'Context.Register/RemoveDependency' for registering dependencies for next handler in the chain from a common iris handler in serve-time
...
And also, add a Configuration.FireEmptyFormError if end-dev wants to receive an iris.ErrEmptyForm error on missing form data on 'Context.ReadForm/ReadBody'
Former-commit-id: a2713bec77375b2908f1f066a46be4f19e6b7a61
2020-05-19 09:28:27 +03:00
Gerasimos (Makis) Maropoulos
1e20996330
add 'Configuration.PathIntelligence' and 'OnErrorCode' and 'OnAnyErrorCode' on APIContainer
...
Former-commit-id: bc3d0232106622063205f326bfa4ed3aa84179de
2020-05-17 08:10:07 +03:00
Gerasimos (Makis) Maropoulos
50b18c7515
enhanced cookie security and management
...
Former-commit-id: a97b0b33e87749a2e8c32e63269fcc60fa326ff3
2020-05-09 14:04:51 +03:00
Gerasimos (Makis) Maropoulos
116503a9a5
add LogLevel/WithLogLevel in Configuration and run Configurators before Build state
...
Former-commit-id: d38f1fdae98d650692775f4cee06bd017aba959f
2020-05-08 03:55:54 +03:00
Gerasimos (Makis) Maropoulos
d19672115b
add Context.SetVersion helper
...
Former-commit-id: 605d6c1e78f73b8f2c89bd2dc7ee23f21551d47b
2020-05-06 07:17:24 +03:00
Gerasimos (Makis) Maropoulos
20fcfb4110
add a 'Context.SetLanguage', similar to pp.I18n.ExtractFunc but it can be used per-handler
...
relative: https://github.com/kataras/iris/issues/1502#issuecomment-623553034
Former-commit-id: 7e2fadeb60149f43edbb9e220b0274ce1160881b
2020-05-04 19:13:06 +03:00
Gerasimos (Makis) Maropoulos
b657c5e6af
don't fire ErrServerClosed on manually interrupt signals (CTRL/CMD+C)
...
Former-commit-id: 673c84dd13bb99c0926aa1b4a6b4eff9745403d8
2020-04-28 05:22:58 +03:00
Gerasimos (Makis) Maropoulos
5d3c96947c
New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
...
read HISTORY.md
Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
2020-04-25 02:30:19 +03:00
Gerasimos (Makis) Maropoulos
6c6de6b85d
improve remote addr parsing as requested at: https://github.com/kataras/iris/issues/1453
...
Former-commit-id: e5fde988eda9bf582b04285a1c77ba123910a699
2020-04-20 10:43:45 +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
0d26f24eb7
examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example.
...
Former-commit-id: d20afb2e899aee658a8e0ed1693357798df93462
2020-03-05 22:41:27 +02:00
Success Go
6a5fe5aee8
Fix typo of permanent
...
Former-commit-id: 4ec356729f77ee54847f0dc7539498aca37943cc
2020-01-12 21:41:29 +08:00
Success Go
8b4b96b895
Fix typo of permanent
...
Former-commit-id: fa37caaccce3bd03f8b60f135dfbc15e635cd730
2020-01-12 21:35:28 +08:00
Success Go
2c929ade4e
Fix typo of enable
...
Former-commit-id: 60236fce26699aa4483bcf1defcfddbe5d69b2e0
2020-01-12 21:28:02 +08:00
Gerasimos (Makis) Maropoulos
b2c5ec03fd
miscellaneous
...
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
2020-01-07 03:41:07 +02:00
Gerasimos (Makis) Maropoulos
af90337cfd
Update to version 12.1.1 (context.FindClosest)
...
Former-commit-id: a57d18bab865a7c40b806c7fd2cd4ce1a259699c
2019-12-16 06:50:36 +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
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
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
Josef Fröhle
2eb92f03e9
Fix Structtag Tunneling
...
Former-commit-id: 9b72bc3d851385e4b1ae6abc832d7f10e1239332
2019-08-04 16:06:26 +02:00
Gerasimos (Makis) Maropoulos
736709aa75
resolve conflicts with current master v11.1.1
...
Former-commit-id: 659ff392e889f3a8552d7da3d44848f1a364f7b2
2019-07-23 19:20:07 +03:00
Gerasimos (Makis) Maropoulos
ac86d687c3
able to fetch the ngrok executable path through a 'NGROK' env variable as well, and humanize the returned error
...
Former-commit-id: 8a61ed64b64e18bd2beb938ccb38150f2090ec54
2019-07-19 12:55:57 +03:00
Gerasimos (Makis) Maropoulos
4c4b2f5d00
New feature: automatic public domain using tunneling: https://github.com/kataras/iris/issues/1305
...
Former-commit-id: 54844edae9e5eed9bd6b17a06ec8d868923d3681
2019-07-18 00:53:30 +03:00
Gerasimos (Makis) Maropoulos
9364dde3ca
start of the server tunneling feature - probably will help new users a lot but still thinking of it
...
Former-commit-id: b0b41ef10b0b6369661991af16757c1de306557b
2019-07-16 16:10:46 +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