Hank Shen
9feffa092d
Merge pull request #2 from kataras/master
...
update
Former-commit-id: 9a64dd3f2d09675b8cf5288a1f4affdf0124c866
2020-06-18 13:46:07 +08:00
Gerasimos (Makis) Maropoulos
6557dcf6c5
add route-handlers-execution-rules example
...
Former-commit-id: 95e3dfad33b98d20b761ea1d06dee8df91c3632d
2020-06-17 00:02:09 +03:00
Gerasimos (Makis) Maropoulos
7e98555e6b
readme: minor
...
Former-commit-id: 6e62052e605103188afa56a7b4a2d52353e15e9c
2020-06-15 08:05:25 +03:00
Gerasimos (Makis) Maropoulos
115781968b
replace godoc links with the new pkg.go.dev
...
Former-commit-id: 7c9d8c02fcaee8961b1558d14a79a485703eb7ba
2020-06-14 15:36:24 +03:00
Gerasimos (Makis) Maropoulos
5088a35cf5
update mvc/authenticated-controller example
...
rel to: https://github.com/kataras/iris/issues/1536 too
Former-commit-id: 0ed36644ee2d6c27d90450700d9241eb1ba93c17
2020-06-14 15:24:42 +03:00
Gerasimos (Makis) Maropoulos
9c739969f0
minor
...
Former-commit-id: ee1b625abe876cad8f0f2801c279da684b539fce
2020-06-14 09:25:19 +03:00
Gerasimos (Makis) Maropoulos
4afef007a4
fix #1537
...
Former-commit-id: d93af027428259c857c7a5ddf6e21cfd0b09b470
2020-06-14 08:44:41 +03:00
Gerasimos (Makis) Maropoulos
ed5964716b
implement #1536 with (SetRegisterRule(iris.RouteOverlap))
...
Former-commit-id: 2b5523ff3e2aab60dd83faa3c520b16a34916fbe
2020-06-14 08:09:42 +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
b4fcaab459
minor: try to extract from both referer and referrer header and url query parameter
...
Former-commit-id: c0ed0916f35ee9cffe0b267e34d5708c1d38082b
2020-06-11 01:58:35 +03:00
Gerasimos (Makis) Maropoulos
07f678eac0
asthetics
...
Former-commit-id: 1b13823e4e31327dad280a82252be969f845efe8
2020-06-10 23:37:50 +03:00
Gerasimos (Makis) Maropoulos
05ae7792df
add a rs/cors full example
...
Former-commit-id: 9655e04b91145f60e69096cbd662fef08a91f988
2020-06-09 22:12:11 +03:00
Gerasimos (Makis) Maropoulos
350887d302
add godoc for #1533
...
Former-commit-id: face69d4018159e804c1461c8faf3e629a61b653
2020-06-09 10:20:21 +03:00
Gerasimos (Makis) Maropoulos
caa2545e3b
update golog dependency
...
Former-commit-id: 304d3a25f41a2cf4f8f59964ce454d66be8b06c7
2020-06-09 10:09:04 +03:00
Gerasimos (Makis) Maropoulos
2c39828fe2
update kataras/golog and kataras/pio deps
...
Former-commit-id: 0f736f181b01771701b43cf4eef46b7086838fc7
2020-06-09 06:30:12 +03:00
Gerasimos (Makis) Maropoulos
2042637e41
add a rollbar example
...
Former-commit-id: 4cbe61a217f4863fe38e23848252126d864d9f5c
2020-06-09 02:58:17 +03:00
Gerasimos (Makis) Maropoulos
46ff69e28e
minor
...
Former-commit-id: e83456ced3d00d6da3001d083e22a0568748298e
2020-06-09 02:20:28 +03:00
Gerasimos (Makis) Maropoulos
6d977dacd2
minor example fix (design change that was actually not pushed)
...
Former-commit-id: db253c191bad711b592d914d386675bf118e497c
2020-06-08 05:19:12 +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
791fd7ac3d
minor: fix two broken example links
...
Former-commit-id: 4b102ed9e2b3e78b133d00f253eac86d66a77b6e
2020-06-07 15:47:02 +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
cbe336a583
Context.GetDomain: use net.SplitHostPort better
...
Former-commit-id: e0a13062f9c4d37e48a82367d23bc16be8f1d1ce
2020-05-30 20:32:06 +03:00
Gerasimos (Makis) Maropoulos
c32dd0d95c
fix #1524
...
Former-commit-id: a166bf3be97f6cc8a2ab4a8890881c258c4729d6
2020-05-30 20:25:37 +03:00
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
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
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