Commit Graph

1811 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
c0fd429a43 add example: dependency-injection/jwt
Former-commit-id: 77cdc7fa5f8a656857a3912910e037806adf70a9
2020-05-18 20:21:00 +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
3f1680a1d1 minor: #1516
Former-commit-id: 7b7d1a8becb5dc8e5a0dc54bb76d8ec723555e01
2020-05-18 19:13:46 +03:00
Gerasimos (Makis) Maropoulos
fb4dcf3134 add a test example for upload files as requested at: #1516
Former-commit-id: afb2d3e9c0902cce6c46d26b5b6cfc51551c2373
2020-05-18 19:12:02 +03:00
Gerasimos (Makis) Maropoulos
9b172fe4ab add a note about sessions transcoder, rel: https://github.com/kataras/iris/issues/1517#issuecomment-630256473
Former-commit-id: 3ac995ea77b4629dc7b0d580b9e36d9e302b96ee
2020-05-18 18:43:39 +03:00
Gerasimos (Makis) Maropoulos
f3745cebbd replace all common error responses with the new Context.StopWithError
Former-commit-id: 99b08a0b5564ef640456db12674cb37721f73ae3
2020-05-18 00:25:38 +03:00
Gerasimos (Makis) Maropoulos
07cd03a674 make context.OnClose's callback wrapped by sync.Once to make sure that the callback is only called once
AQQkADAwATZiZmYAZC05YzI0LTdmOTAtMDACLTAwCgAQAHsNZaaCfV1BmxBvtU


Former-commit-id: 9449270ccf276ea1bdf51fbdde03b81223290e2a
2020-05-18 00:10:09 +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
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
21a013569f add TLSConfig on redis configuration #1515
Former-commit-id: 3ce4a43185c7b6b5250f49483d7d229ea9dd1670
2020-05-17 03:25:32 +03:00
Gerasimos (Makis) Maropoulos
571322f595 Add some unofficial http error codes
Former-commit-id: 5b9ed411e446e5e4d5e6c3ec705c314cc5c1c9ec
2020-05-16 23:40:42 +03:00
Gerasimos (Makis) Maropoulos
f482e13fb7 cors example
Former-commit-id: 31f25c5b3f0e02050bf9b120e903f56d1af35eeb
2020-05-16 03:22:45 +03:00
Gerasimos (Makis) Maropoulos
44eafe739b misspell
Former-commit-id: 3be90d3099bfd9eabebd299dc08f9d6c1e6c2a29
2020-05-16 01:00:51 +03:00
Gerasimos (Makis) Maropoulos
ad74d7b935 error handlers per party: log those routes too and all test cases paased
need cleanup though


Former-commit-id: 6b0c18e38b58af2388015c7cf1af9cc43d7d35d3
2020-05-11 11:11:27 +03:00
Gerasimos (Makis) Maropoulos
c039730521 HTTP error handlers per Party (docs and details in progress)
Former-commit-id: 7092ebed556b56d9f1769b9b23f2340c2a3a18f7
2020-05-11 00:44:54 +03:00
Gerasimos (Makis) Maropoulos
3657aaf240 Minor Context changes
Former-commit-id: ff0a759895b322da8d42decd7374f58d3e02498c
2020-05-10 05:10:53 +03:00
Gerasimos (Makis) Maropoulos
221f026491 improvements on cookie options
Former-commit-id: f1d5cfc88a33077a9359eaa25b6a20265f5632b5
2020-05-10 02:17:28 +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
d5f1649895 re-generate NOTICE file
Former-commit-id: c842b3ed54330a4f9e2293de4fd78aa98a0e3f00
2020-05-08 21:45:16 +03:00
Gerasimos (Makis) Maropoulos
a428526f4f update go.mod
Former-commit-id: 2bf26363a8dc13a062c743d2243852c7b0634d58
2020-05-08 21:38:08 +03:00
Gerasimos (Makis) Maropoulos
b6a36bf28d iris.TLS starts a secondary http redirection server now (like AutoTLS did) and add 'iris.TLSNoRedirect' to disable it (on both TLS and AutoTLS)
Former-commit-id: c7a535bf860a67604de3d09ade30599611e096f1
2020-05-08 21:13:12 +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
6a6117eb4f nothing to see here
Former-commit-id: 62b3025ac5b283494abb6ba5e37a237d96fe604a
2020-05-07 08:06:06 +03:00
Gerasimos (Makis) Maropoulos
cd62ba3712 organise sessions examples
Former-commit-id: 682472d2cf4ebfc740687522fe5eef77b5bb1a72
2020-05-07 07:34:17 +03:00
Gerasimos (Makis) Maropoulos
b4365cee8d sessions: add GobTranscoder and document the DefaultTranscoder package-level variable
Former-commit-id: 631d52bb6d0eb0dbe2e7416517ec019c5902ca71
2020-05-07 01:14:41 +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
8c470e46a2 mvc controllers and methods: provide mvc.Application automatically
Former-commit-id: 991d8e72c3c231813a455dd0680cd8a83b82abb1
2020-05-06 08:00:56 +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
24665990ce add ctx.Tr support to hero/mvc.Response
Former-commit-id: f5e60e591dbbb162af1d671706a108a795865516
2020-05-06 06:36:05 +03:00
Gerasimos (Makis) Maropoulos
ffc493a0b9 add authenticated-controller example - proof of concept
Former-commit-id: 7a15da2bd966f2a699337cd494af8b5d1877b11d
2020-05-06 04:45:12 +03:00
Gerasimos (Makis) Maropoulos
47075a82e9 fix an idiot typo
Former-commit-id: 3b493bedb38641c84e19c3b53d6bd0b273cc9d81
2020-05-05 22:07:56 +03:00
Gerasimos (Makis) Maropoulos
cc19f80049 update some examples
Former-commit-id: 2ed7c323dd379eb68d5ccb2044cd9cc772ce0b08
2020-05-05 22:03:01 +03:00
Gerasimos (Makis) Maropoulos
c10dd32ad7 new simple _examples/README.md, wiki should live only inside kataras/iris/wiki and the provided e-book
Former-commit-id: 350eafb0f70f8433e394e103ff93fa332ee00a05
2020-05-05 16:03:19 +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
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
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
67e47215cd add permissions example
Former-commit-id: e786bdb991ab88bff275203f2c24ff72a9d0c522
2020-05-04 07:28:23 +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
f667bc5ff3 HISTORY.md: example of the new Dependency Injection features
Former-commit-id: 94294ffa96fafeb133b129f6f59c813d73ed05f1
2020-04-30 22:50:49 +03:00
Gerasimos (Makis) Maropoulos
c3543528cf fix: https://github.com/kataras/i18n/issues/1
Former-commit-id: 12b75f1e54ebf3d7f78a09b8d5594859a344422d
2020-04-30 16:16:43 +03:00
Gerasimos (Makis) Maropoulos
3fbf15d576 REAMDE: add French translation link
Former-commit-id: 59657a03dff359a117ae9006bed428dd07e72b42
2020-04-29 21:59:36 +03:00
Gerasimos (Makis) Maropoulos
fd7c076c67 Merge pull request #1501 from Natnatf/readme-french-traduction
French version of readme writen

Former-commit-id: 5938174414b1c767dfee0f5a1160e8bf2b432d44
2020-04-29 21:24:52 +03:00
Gerasimos (Makis) Maropoulos
714e84b597 apply https://github.com/kataras/iris/issues/1500
Former-commit-id: 2b5ae1857a5815977507b6b8fc72dd0040d470ca
2020-04-29 21:16:43 +03:00
Nathan
8fbc074c56 French version of readme writen
Former-commit-id: e6e8a4c97c86467482ee23c512965b34d461d839
2020-04-29 19:43:26 +02:00