Gerasimos (Makis) Maropoulos
552f990358
New iris.DirOptions.PushTargetsRegexp
...
rel to: https://github.com/kataras/iris/issues/1562#issuecomment-659702891
Former-commit-id: 778cf9146b730d424040ea9e259ce6500f53b563
2020-07-18 06:10:16 +03:00
Gerasimos (Makis) Maropoulos
0f79728c88
https://github.com/kataras/iris/issues/1562#issuecomment-659845730
...
Former-commit-id: 60d9b0d77693895fdfbebe83712e9cc1ee3f8f26
2020-07-17 12:03:20 +03:00
Gerasimos (Makis) Maropoulos
baeff3e80b
DirOptions.PushTargets: add example for https://github.com/kataras/iris/issues/1562
...
Former-commit-id: 940f07fdb1184266dc315441fb91afa5754092fa
2020-07-16 11:42:45 +03:00
Gerasimos (Makis) Maropoulos
fba8492e78
add 'DirOptions.PushTargets' for http/2 push on index(es) - #1562
...
Former-commit-id: 5a3f626ba0fbcf10be979b5a800eba51e88602cd
2020-07-16 08:03:55 +03:00
Gerasimos (Makis) Maropoulos
c8ed26ee51
fix #1557
...
Former-commit-id: 55589069c8ed458183d28f32870fdf8f233629c6
2020-07-11 16:14:31 +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
645da2b2ef
HandleDir: add Attachments options to DirOptions
...
have a bit more work to do on that, if Gzip option is true then it does not work and it's not the 'if gzip' statement inside the handler
Former-commit-id: 866578d29b6a63ee60a22b0eb9b37288c717b7e2
2020-07-07 15:40:12 +03:00
Gerasimos (Makis) Maropoulos
cba6351d62
HandleDir: customize file/dir listing page through registered view engine
...
Former-commit-id: 98bfd9d5a073c5bc7c2c167e2a72dd7b05bfb24a
2020-07-07 06:11:44 +03:00
Gerasimos (Makis) Maropoulos
38b0a796bd
fix #1552
...
Former-commit-id: 953df27468e3905e557bb1f6a97ea431cb60f6a6
2020-07-06 19:08:02 +03:00
Gerasimos (Makis) Maropoulos
dd72a1e398
file-server example: use a custom template for listing dirs/files
...
Former-commit-id: 5b9bb0be4ac3f5d463f0957a3074aa6e7b1a71f7
2020-07-06 16:06:48 +03:00
Gerasimos (Makis) Maropoulos
0b279c11fe
minor
...
Former-commit-id: f201fcad8fb425d0a5e9c32faa649b5199f60183
2020-07-05 23:35:45 +03:00
Gerasimos (Makis) Maropoulos
16a6372cc9
add a DirListRich helper to make the file listing a bit more appealing than its default
...
Former-commit-id: 1d8338cddac0856be1c9f1e7b6d8d400bee71bef
2020-07-05 23:27:32 +03:00
Gerasimos (Makis) Maropoulos
57dc64625d
file-server: fix ShowList on root dir
...
Former-commit-id: 6795382235d76942bcfd31ecc0b4ab02ecb85a8a
2020-07-05 05:39:48 +03:00
Gerasimos (Makis) Maropoulos
8c3e43df7f
minor
...
Former-commit-id: 4c71a275f3e10dd0ce77bf5723c370be765663ab
2020-07-03 13:48:34 +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
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
311b560717
new feature: versioned controllers
...
Former-commit-id: c797e23c78b1e74bbe9ba56673f3a98f17f5e2f7
2020-06-19 20:58:24 +03:00
Hank Shen
7aecacdffe
fix typo
...
Former-commit-id: 181b7b504f22c3510dbeef3d6fbd43af226835e2
2020-06-18 13:42:57 +08: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
ed5964716b
implement #1536 with (SetRegisterRule(iris.RouteOverlap))
...
Former-commit-id: 2b5523ff3e2aab60dd83faa3c520b16a34916fbe
2020-06-14 08:09:42 +03:00
Gerasimos (Makis) Maropoulos
07f678eac0
asthetics
...
Former-commit-id: 1b13823e4e31327dad280a82252be969f845efe8
2020-06-10 23:37:50 +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
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
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
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
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
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
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
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
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
714e84b597
apply https://github.com/kataras/iris/issues/1500
...
Former-commit-id: 2b5ae1857a5815977507b6b8fc72dd0040d470ca
2020-04-29 21:16:43 +03:00
Gerasimos (Makis) Maropoulos
ac08f53ba0
minor
...
Former-commit-id: d4eebea0b5849c574e2ffd4b0bb36e4380b14111
2020-04-29 05:50:29 +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
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
27ca1c93f5
logging: several improvements
...
Former-commit-id: 12538c74a1aa55314c35ac3cf2665646b704851d
2020-04-28 01:58:56 +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
f75ec4e67c
change the JS MIME to text/javascript instead of application/javascript as https://github.com/golang/go/issues/32351
...
Former-commit-id: 761be7901fff65ef0ca6e3ea4339ff59f569cf75
2020-04-27 12:28:30 +03:00
Gerasimos (Makis) Maropoulos
346ca2a219
route logging improvement: group by methods
...
Former-commit-id: ad884991433a244dc76bdad7314d98a5c204dac6
2020-04-26 17:51:27 +03:00
Gerasimos (Makis) Maropoulos
66e641513c
more route logging improvements, see the parent commit
...
Former-commit-id: 973167e3ca7b3463f79ec62ab8be6770727f1c2b
2020-04-26 17:23:38 +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
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
0cf5d5a4a3
minor
...
Former-commit-id: 85c8b1e20da6e39485478025ef1b0f80ef953e4a
2020-04-21 09:27:28 +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
340664dca9
add test for hero/Container.UseResultHandler
...
Former-commit-id: 8954541f8da055f30965cce07a85f485580fee48
2020-04-19 12:05:22 +03:00
Gerasimos (Makis) Maropoulos
dcf02480b3
Implement ResultHandler as requested at: https://github.com/kataras/iris/issues/1465
...
Former-commit-id: 9d76c2f00766afd53cf6e591c25f861f179dd817
2020-04-18 22:40:47 +03:00
Gerasimos (Makis) Maropoulos
1bb76853a9
.DI() to ConfigureContainer(...builders)
...
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
2020-04-17 15:56:36 +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
1b02f048ef
new 'Party.DI()' method to return the Party's instance of the new 'APIBuilderDI' and move the DI-relative Router to this new APIBuilderDI
...
Former-commit-id: 2fb81406c6e3162991c90e0918a3cac1b77c2b54
2020-04-08 20:04:56 +03:00
Gerasimos (Makis) Maropoulos
bb66c10ad3
🐵 prepare next version: improve the hero and mvc path parameters bindings
...
Former-commit-id: 0626b91c6448b5cebf1d04ee3f115cde68aa3d6d
2020-03-02 19:48:53 +02:00
Gerasimos (Makis) Maropoulos
78ab341862
minor for travis
...
Former-commit-id: 2a62e2817e8fc98a77359344a88505151b61654e
2020-03-02 10:21:38 +02:00
Gerasimos (Makis) Maropoulos
5da8ff92f3
🚌 next version preparation: new PreflightResult interface for hero handlers
...
Former-commit-id: ea2d7ab93889beaddfe269bd213d259d26df979f
2020-03-02 10:07:44 +02:00
Gerasimos (Makis) Maropoulos
2756435446
🚀 add Party.OnErrorFunc, UseFunc and DoneFunc to be aligned with the new HandleFunc
...
Former-commit-id: 381ce0f86f376ef7652b5e918474f9e37b391781
2020-03-01 07:07:27 +02:00
Gerasimos (Makis) Maropoulos
ce2eae9121
☕ add a dependency-injection examples folder for the next release and some improvements
...
Former-commit-id: 040168afb7caf808618f7da5e68ae8eb01cb7170
2020-03-01 02:17:19 +02: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
027eb5d6da
minor fix required for the upcoming release
...
Former-commit-id: f04b770f93d7612941340af6e45d7d0516035e14
2020-02-20 05:46:23 +02:00
Gerasimos (Makis) Maropoulos
e4225543bc
minor
...
Former-commit-id: a4030ed3253a730b8283b9f1880b129b54b96774
2020-02-11 03:24:57 +02:00
Gerasimos (Makis) Maropoulos
10f280af63
Update to version 12.1.7
...
Former-commit-id: 3e214ab6b6da4d1c6e4a66180a4ccfa61c0879ae
2020-02-10 19:40:17 +02:00
Gerasimos (Makis) Maropoulos
3093d65363
version 12.1.5
...
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
2020-02-02 16:29:06 +02:00
Success Go
a25e3fc92b
Fix typo
...
Former-commit-id: c9e6732d3309d621d27acad6b99f2e378bd98e01
2020-01-12 14:59:15 +08:00
Gerasimos (Makis) Maropoulos
4cfd3c7a05
Browser Live Reload with the upcoming Iris CLI :)
...
Former-commit-id: dd061ca2977d0d5456f72ac05b6a42d9bb0c2697
2020-01-09 08:15:01 +02:00
Success Go
b5235c5fff
Fix typo
...
Former-commit-id: c949f746563f0ba08c3762e7ef49280e077b4e99
2020-01-07 19:41:48 +08:00
Gerasimos (Makis) Maropoulos
b2c5ec03fd
miscellaneous
...
Former-commit-id: bc2fddd4da23ec917be5dd9e8bddd4b13cdce050
2020-01-07 03:41:07 +02:00
Gerasimos (Makis) Maropoulos
79a965ec2d
minor
...
Former-commit-id: de1a500475a9d6f96e86445cfb9e85a57a65d1c2
2020-01-05 18:27:21 +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
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
62034128c3
PR #1400 and resolve conflict
...
Former-commit-id: cb7e939045f72653827a111c6ccdc2af8e456b02
2019-12-13 23:08:26 +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
minhvh
137fa92da5
#1399[FIX] file server in subdomain with request path "/"
...
Former-commit-id: de4326943640706a9a2f1418327c4a69bc5f85d9
2019-12-03 16:12:15 +07:00
minhvh
6dcbbc5464
#1399[FIX] file server in subdomain with request path "/"
...
Former-commit-id: 30a86cba134b87db803aa47a277795717c694c3b
2019-12-03 10:51:00 +07:00
minhvh93
42dcc259e7
#1399 [BUG]Can't set file server in subdomain with request path is "/"
...
Former-commit-id: 2914cafeab26ae8a716138bec95ade6953ddd04b
2019-12-02 20:35:15 +07:00
Gerasimos (Makis) Maropoulos
cad90a2753
fix #1395
...
Former-commit-id: 7c77e2f08fdcb7a48a6aa92364ba3b8e431d8d69
2019-11-20 14:39:45 +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
6d60a65339
Merge branch 'master' into v12
...
Former-commit-id: 50fae564bda3607f4f4208fdcb72f835c1751a1e
2019-11-13 19:19:33 +02:00
Gerasimos (Makis) Maropoulos
8da68a0a43
Add socket.io example
...
Former-commit-id: 895669c537db46f1694e8006418ea0509c60cb04
2019-11-13 19:18:41 +02:00
TangDandan
3d8e6a0317
Modify core/router/api_builder.go
...
When I use file-server like this
```
v1 := app.Party("/aa/bb")
v1.HandleDir(/static, "./assets", iris.DirOptions{
IndexName: "/index.html",
Gzip: false,
ShowList: false,
})
```
and I request `http://localhost:8080/aa/bb/static ` or `http://localhost:8080/aa/bb/cc/static/index.html `,
it will be 404 NOT FOUND.
Because the modified line will create a route `/aa/bb/aa/bb/static` which expected `/aa/bb/static`
Thanks for your consideration.
Former-commit-id: cb680a5f8c103e8c14986e1b64505f7faff6326d
2019-11-13 15:55:47 +08:00
Gerasimos (Makis) Maropoulos
a42f914ce8
minor README changes
...
Former-commit-id: becf1864dfbb24409f51122eaee5b1e2b979a20b
2019-11-05 22:12:26 +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
0e2c44e231
fix embedded fs not access to dir list because of options.ShowList unnecessary check. Solves #1383
...
Former-commit-id: 1ad4535deb1c4792408a3bf63456b333aa752594
2019-10-25 01:04:08 +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
07046ab978
formatting
...
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
2019-08-17 10:06:20 +03:00
Gerasimos (Makis) Maropoulos
732a83ec6c
minor
...
fix extreme test case on path_test when custom regexp double slashes
Former-commit-id: a206cbb72e6740a5e050fae5267848f061efa463
2019-08-14 10:33:27 +03:00
Gerasimos (Makis) Maropoulos
0a29c2bfc8
allow handle same param path types with different macro functions as well, a use case: #1058
...
Former-commit-id: e7dcc5c0d9a2e3569e0f49303ff342bb8748baf5
2019-08-14 08:56:03 +03:00
Gerasimos (Makis) Maropoulos
95ce71be9f
Implement method override wrapper as requested at: #1325
...
Former-commit-id: e476998d8d6b10dc641b3393577937269adb694c
2019-08-06 15:39:42 +03:00
Gerasimos (Makis) Maropoulos
04834484ff
add a test near to the _examples/routing/basic example
...
Former-commit-id: 24b4ffc004f76355f6269a95ede3488fff9dfe36
2019-07-30 06:04:08 +03:00
Gerasimos (Makis) Maropoulos
700dcc8005
new feature: handle different param types in the exact same path pattern
...
implements https://github.com/kataras/iris/issues/1315
Former-commit-id: 3e9276f2a95d6fc7c10fbf91186d041dcba72611
2019-07-29 23:09:22 +03: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
cc26f3eeed
https://github.com/kataras/iris/issues/1217
...
Former-commit-id: 3aa98f18efb2f4fbdd6f55ac883e9747236c7e40
2019-07-22 11:29:45 +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
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
7e6dc3240a
nothing tremendous here
...
Former-commit-id: 9ae6a00400750b9769383ea28bb00f2b202fb79e
2019-06-27 16:28:44 +03:00
Gerasimos (Makis) Maropoulos
1f9ead426e
fix travis fail on deprecation example test
...
Former-commit-id: 3f6bb0f01702ab2c2cd7f348b29ec142af036cb3
2019-06-21 23:17:27 +03:00
Gerasimos (Makis) Maropoulos
d0104defa8
create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more
...
relative: https://github.com/kataras/iris/issues/1283 and removing pongo2 from vendor: https://github.com/kataras/iris/issues/1284
Former-commit-id: 3ec57b349f99faca2b8e36d9f7252db0b6ea080d
2019-06-21 19:43:25 +03:00
Gerasimos (Makis) Maropoulos
7f9e33cabb
add a Route#StaticTarget string
to determinate if a specific route is handling static files, could be handly for 3rd party tools
...
Former-commit-id: 5befb73654c9499ce99a1f14257f85edb9bd7b52
2019-06-15 16:59:32 +03:00
Gerasimos (Makis) Maropoulos
0f907a3dae
fix https://github.com/kataras/iris/issues/1273
...
Former-commit-id: 2b48b9b912e9eb8f5f2c6d413907dbfdae857e08
2019-06-14 11:26:56 +03:00
Gerasimos (Makis) Maropoulos
7af5f139e0
fix typo
...
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
2019-06-07 21:07:08 +03:00
Gerasimos (Makis) Maropoulos
0d4d2bd3fa
implement mvc HandleError as requested at #1244
...
Former-commit-id: 58a69f9cffe67c3aa1bab5d9425c5df65e2367ed
2019-04-16 18:01:48 +03:00
Gerasimos (Makis) Maropoulos
2cdbe17bd5
add Context#ResetRequest and core/handlerconv.FromStdWithNext updates the request for any incoming request changes - https://github.com/kataras/iris/issues/1180
...
Former-commit-id: 764bf26bcaa3b7bdae0a2bdbf3bf2b6f8c5c546e
2019-02-02 04:49:58 +02:00
Gerasimos (Makis) Maropoulos
8b85b602df
fix https://github.com/kataras/iris/issues/1141 and https://github.com/kataras/iris/issues/1142
...
Former-commit-id: d8d73b3e1b713af9bf7b4712121324079ede6a41
2018-11-28 23:20:08 +02:00
Gerasimos (Makis) Maropoulos
e08d0b4be6
Update to version 11.0.4. Read https://github.com/kataras/iris/blob/master/HISTORY.md#fr-09-november-2018--v1104
...
Former-commit-id: 2c2c32afe31fe94543d145ab8c8475d7b4392ff1
2018-11-09 03:03:48 +02:00
Gerasimos (Makis) Maropoulos
c262c5076a
fix https://github.com/kataras/iris/issues/1118
...
Former-commit-id: b3334c1351bfa1c9be431a453a6b9439b3aac003
2018-10-30 00:57:08 +02:00
Gerasimos (Makis) Maropoulos
e9a9f90993
sync with kataras/muxie
...
Former-commit-id: b414d7243e6c636731f2b0c19d35d3911bb4c951
2018-10-21 20:56:25 +03:00
Gerasimos (Makis) Maropoulos
8baaddc892
fix no slash req path
...
Former-commit-id: 3c3c00788e2481ee142b668d576cab5ff046f089
2018-10-21 19:21:23 +03:00
Gerasimos (Makis) Maropoulos
e3876d793c
make the core/router.AllMethods a variable that can be changed by end-devs as requested at: https://github.com/kataras/iris/issues/1102
...
Former-commit-id: 47c997e0d3a90e4c7ccb8c4dfd1459065490d59e
2018-10-16 05:37:21 +03:00
Gerasimos (Makis) Maropoulos
3002736086
add my new trie data structure implementation written from scratch and specifically designed for HTTP (and Iris) - see https://github.com/kataras/muxie for the net/http version of it
...
Former-commit-id: 4eed1585f29b57418b61f6de058f5d6db4bb98bf
2018-10-15 10:49:09 +03:00
Gerasimos (Makis) Maropoulos
120b5fb635
example: write our own customized router using the high-level API which gives access to the correct context and routes
...
Former-commit-id: d2369c20490619cad0dd6f7b6ed01cdbef51a853
2018-10-02 06:36:51 +03:00
Gerasimos (Makis) Maropoulos
2a1f3d4e43
add some more helpers for the parameters and the memstore for num types
...
Former-commit-id: b96380fa8c8dc9abeaea248f87ea5d70f6bdf650
2018-10-01 15:27:45 +03:00
Gerasimos (Makis) Maropoulos
b08df3a785
make the macro#Parse to return a value of a Template instead of its ptr and debug logs for handlers length ignores the internal generated macro evaluator handler if it is there, so end-dev cannot be confused about the debug logs at that point
...
Former-commit-id: c23a3d10b43f145de575f1ea11e3dbf9bbd33a6b
2018-09-29 19:59:39 +03:00
Gerasimos (Makis) Maropoulos
7568da3283
add tests for the new types (int8, int16, int32, uint, uint8, uint16, uint32, uint64)
...
Former-commit-id: 812b3fdcc47abdeac271473bfdbdd15f0afd0bc0
2018-09-29 04:35:09 +03:00
Gerasimos (Makis) Maropoulos
6d9a35ddba
partial cleanup of the macro pkg and move it from /core/router to the root because it may be used by the end-developers now to ammend the available macros per application
...
Former-commit-id: 951a5e7a401af25ecaa904ff6463b0def2c87afb
2018-09-29 02:41:51 +03:00
Gerasimos (Makis) Maropoulos
bf880033cd
make macros even faster and smart catch common :string and do not execute anything at all if not really needed, more clean code as well
...
Former-commit-id: 589c23d1f92cf36b7677dfe78b60d51252c979fb
2018-09-28 05:34:35 +03:00
Gerasimos (Makis) Maropoulos
972dff8729
easy fix of macro handler caused tests to fail by before prev commit
...
Former-commit-id: 32f67072f604935a8efecc90151715f27ba7c2c1
2018-09-27 21:31:07 +03:00
Gerasimos (Makis) Maropoulos
39b180b14c
see previous commit for more details
...
Former-commit-id: e88246203ffc492ffa39e8d20ed19cac7abd52c2
2018-09-27 06:28:47 +03:00
Gerasimos (Makis) Maropoulos
f05ee872d0
add int8, int16, int32, uint, uint16 and uint32 default-builtn parameter types and macros - no doc update - no live tests yet - time for sleep
...
Former-commit-id: 4a27265a9f1368c4bbecd852691155e56c875673
2018-09-27 06:20:03 +03:00
Gerasimos (Makis) Maropoulos
d6d27b2605
Conversion once at macros and their functions, internal changes required
...
Former-commit-id: 7b778cccfb7c0e30ca5e8106017ada065993aba5
2018-09-27 03:17:45 +03:00
Gerasimos (Makis) Maropoulos
dc3c38b189
add the ability to add custom parameter types to the interpreter and mapped macros with any number of macro functions - example added - although it's working it is not ready yet - I have to do some cleanup, doc comments and a TODO
...
Former-commit-id: 8ac751b649a3b8e59948fd4c89ad53d25f49d0d5
2018-09-26 11:37:11 +03:00
Gerasimos (Makis) Maropoulos
efa17e8899
dynamic param types part 1
...
Former-commit-id: 5829d53de848c0ea4491b53e4798f6c9cdf8d9a7
2018-09-01 18:53:42 +03:00
Gerasimos (Makis) Maropoulos
f365be3c62
remove 'WithoutVersionChecker', update and test the new versions of some of the dependencies, add a history entry with unknown release date
...
Former-commit-id: 399db6aac44d3b336648d6d61842f4d7a0266842
2018-08-31 02:09:48 +03:00
Gerasimos (Makis) Maropoulos
cbd8fe95ac
add uint8 parameter type, and mvc and hero - this commit may be a point of tutorial on how to add a completely new type from scratch to the hero for future contributors
...
Former-commit-id: dc7a7e6c97ef0c644a22e92072e4bdb98ae10582
2018-08-24 00:56:54 +03:00
Gerasimos (Makis) Maropoulos
ef5f383227
support more than string and int at macro functions route path input arguments: int,uint8,uint16,uint32,int8,int32,int64,slice of strings and string
...
Former-commit-id: d29c4fbe5926bac590151322a585f68b394ff72d
2018-08-23 17:29:39 +03:00
Gerasimos (Makis) Maropoulos
b019a281eb
New ':int64' and ':uint64' route path parameters - and - support the new uint64 for MVC (int64 was already supported there) - and - add ctx.Params().GetUint64 (GetInt64 was already there) - and - make the ':int or :number' to accept negative numbers with no digit limit (at low level) and rename the 'app.Macros().Int.RegisterFunc' to 'Number.RegisterFunc' because number can be any type of number not only standard go type limited - and - add alias for ':boolean' -> ':bool'. Finally, Update the examples but not the version yet, I have to provide a good README table to explain the end-developers how they can benefit by those changes and why the breaking change (which is to accept negative numbers via ':int') is for their own good and how they can make their own macro functions so they do not depend on the Iris builtn macro funcs only. More to come tomorrow, stay tuned
...
Former-commit-id: 3601abfc89478185afec3594375080778214283e
2018-08-23 06:30:12 +03:00
Gerasimos (Makis) Maropoulos
01b5f6089d
add Context.Params#GetUint64
...
Former-commit-id: bf6b2dcc0a1078f072c35f4affe375a2eb3f0b82
2018-08-23 02:46:58 +03:00
Gerasimos (Makis) Maropoulos
f6436f2af4
https://github.com/kataras/iris/issues/1061
...
Former-commit-id: 4324e81ea94ef917ce39005b6038a6819bb63258
2018-08-14 16:29:04 +03:00
Gerasimos (Makis) Maropoulos
20c0bbe9ba
Release stable version 10.7 - HISTORY.md#sat-11-august-2018--v1070
...
I want to thank you once again for the unwavering support and trust you have shown me
Former-commit-id: fa0be6bf5ca2f04e03e452f8cca75a0a7be0b487
2018-08-11 23:58:49 +03:00
Gerasimos (Makis) Maropoulos
43fd73eab9
internals: core/router/api_builder_benchmark_test.go: replace the strings.Builder(go 1.10+) with the bytes.Buffer, it is a test so we are ok let it build and run for go1.10- as well
...
Former-commit-id: a531db90fe02fd327e12ecc20128090e18b3dbcb
2018-08-07 13:05:32 +03:00
Gerasimos (Makis) Maropoulos
55e4cf038e
add example for hero *sessions.Session dependency which is used on an index route outside of the main package, it is as easy as it shown. Added mostly after the issue: https://github.com/kataras/iris/issues/1057 -- have fun
...
Former-commit-id: 93338d0e03d6be885edf783c09a2c181568e9ec5
2018-08-07 12:43:51 +03:00
Gerasimos (Makis) Maropoulos
293c29d6e7
preparing for the Iris control panel -- stay tuned when you hear my new project name 'cornea'
...
Former-commit-id: 8c0ada865ee17801efe90b197bf49bdbd55f636b
2018-08-06 04:20:59 +03:00
Gerasimos (Makis) Maropoulos
e5f6bce86f
examples: writing an API for the Apache Kafka: add a root handler for routes documentation to make navigation easier and add some other methods that may find them useful for request state and routes description
...
Former-commit-id: 3775aab2386051b23e127ccc9e3a6accdfdee6d0
2018-08-05 13:51:05 +03:00
Gerasimos (Makis) Maropoulos
f7c0cbe5cd
update deps and move one vendor to our organisation for making a new branch in order to solve this: https://github.com/kataras/iris/issues/1040 , although it's not ours problem...
...
Former-commit-id: 6013525d2aabc35461bf24871e3b36ca91004fb9
2018-07-15 16:09:03 +03:00
Gerasimos (Makis) Maropoulos
cd5109ae0e
Iris + WebAssemply = = 💓
...
Former-commit-id: 44f08f112cfba8006d2a6fe34e32b24e5c246856
2018-07-09 09:13:36 +03:00
Gerasimos Maropoulos
cc4409e77a
Update to version 10.6.6. Read https://github.com/kataras/iris/blob/master/HISTORY.md#tu-05-june-2018--v1066 for more
...
Former-commit-id: 9f73b831dcd6bda160ddd3f70ace59a5cc63c31c
2018-06-05 01:24:35 +03:00
Gerasimos Maropoulos
94b93484b5
Update to version 10.6.5: 1 New Feature And Indonesia Translation | Read HISTORY.md
...
Former-commit-id: 4788e36e52f6b40c7e15120e0675c097eabf0f0d
2018-05-21 07:40:43 +03:00
Gerasimos Maropoulos
485cfbc838
Update to version 10.6.4 | Read HISTORY.md for the bug fixes
...
Former-commit-id: 4b981358f4e89807d1ccd8357a53641e770ab075
2018-05-09 01:36:04 +03:00
Gerasimos Maropoulos
0fc4436da6
fix https://github.com/kataras/iris/issues/995
...
Former-commit-id: 7f743e18c1202eaa19062ca4304611194a10962c
2018-05-07 16:49:17 +03:00
Gerasimos Maropoulos
0087bc218d
Update to version 10.6.3. Read HISTORY.md. It contains a very important fix for the websocket servers caused some time ago by an external contributor
...
Former-commit-id: 1626ff0660801a28a5034ecd2788e87561c55f41
2018-05-02 17:57:01 +03:00
Gerasimos Maropoulos
087c8c8b3a
Update to (minor) version 10.6.2. Added: websocket/Connection#OnPong
and websocket/Connection#OnError(func(error))
instead of func(string)
relative issues: https://github.com/kataras/iris/pull/988 and https://github.com/kataras/iris/issues/987 respectfully.
...
Former-commit-id: 76d4fda4ab4f34f8a251c8c2d5bb1ae7c3ef7047
2018-05-02 06:40:18 +03:00
Gerasimos Maropoulos
b22151d4b7
Update to version 10.6.1 | Re-implement the BoltDB as built'n session database and more. Please read the HISTORY file for further details
...
Former-commit-id: fa68a914bec5fe4f595bdeaea84ecab6374ba643
2018-04-25 05:29:19 +03:00
Gerasimos Maropoulos
cfe484f769
Update to Version 10.6.0 and add Video Courses section at READMEs
...
Former-commit-id: 2a6bf807b989e6b3d02ec6d1d46b42953507535e
2018-04-22 16:22:24 +03:00
Gerasimos Maropoulos
b62080c4bb
Sessions are now in full sync with the registered database, on acquire(init), set, get, delete, clear, visit, len, release(destroy)
as requested by almost everyone. https://github.com/kataras/iris/issues/969
...
Former-commit-id: 49fcdb93106a78f0a24ad3fb4d8725e35e98451a
2018-04-22 13:52:36 +03:00
wozz
21a31afb55
Update handler.go
...
Former-commit-id: f6bd29025c97d04b058584fecb8e0fee91021cb1
2018-04-20 16:56:12 -07:00
wozz
923d151190
Fix open redirect
...
Fix open redirect by using strings.Trim.
Another option would be to use path.Clean similar to here, but I'm unsure of side effects that may have for this use case: https://github.com/golang/go/blob/master/src/net/http/server.go#L2034
See a PoC of this issue with this link: https://iris-go.com//google.com/
Former-commit-id: fa422e436353a7e0699f0b346f3679455c5d965b
2018-04-20 16:49:30 -07:00
Gerasimos Maropoulos
989cb3f045
update vendor
...
Former-commit-id: 8e7fca843e404d34fec071415191657ea554dd05
2018-04-03 13:07:23 +03:00
Gerasimos Maropoulos
fbf2bd6480
core/router/supervisor:https ForceRSA to true
...
Former-commit-id: 86174563b57b142b1e70da6756a54b12b6d5e353
2018-03-31 06:38:30 +03:00
Gerasimos Maropoulos
fc0f27c4fc
Do not create the global configuration in homedir by-default, as, correctly, requested on chat. Use iris.WithGlobalConfiguration with a pre-defined iris.yml file on your home directory, existing users will not have any issues, new one will have to create the file before
...
Former-commit-id: 033f7e96693b13f87b44b445ed166328fea6e0a0
2018-03-27 09:59:29 +03:00
Gerasimos Maropoulos
66d367b255
Update to version 10.5.0 | Read HISTORY.md for more
...
Former-commit-id: 41b1947aafa258d342bbf9d22baeecc946d198a4
2018-03-24 10:39:44 +02:00
Gerasimos Maropoulos
8e9deec4ab
Add one more browser (and 304 server) cache method using ETag and If-None-Match headers
...
And replace the 'ctx.WriteWithExpiration' with simple 'ctx.Write' at 'StaticEmbeddedHandler' of core/router/fs.go, now that we have plenty of options for client cache give the end-dev the oportunity to use them or not on static embedded handlers
Former-commit-id: 9c9e2f3de3c5ad8c9e14e453b67e6b649b02bde8
2018-03-18 11:55:05 +02:00
Gerasimos Maropoulos
bc45e6444c
Cleanup of some old code
...
Remove the StaticCacheDuration unused package-level variable from context/context.go and /core/router/api_builder.go it should be removed a year ago, now all the cache funcs and middlewares accept their own options | Remove duplicated header keys that are used on both context/context.go and core/router/fs.go by exporting context's one.
Former-commit-id: 2a5c840d26b32144d2b5b3173a1e4bb4324cecba
2018-03-17 02:27:25 +02:00
Gerasimos Maropoulos
8cec6a6f9b
remove any trailing slash that may passed on StaticEmbeddedHandler (although all examples shows the correct way but you never know)
...
Former-commit-id: 50ab9ddb2e738b4061622ac9ebcfec30e0cdecfa
2018-03-16 12:38:13 +02:00
Gerasimos Maropoulos
87036fdb6c
add the new StaticEmbeddedGzip on the Party interface, it works within multiple levels like the StaticEmbedded, so why not
...
Former-commit-id: f62c863344a06277935730449d5466fecbc64993
2018-03-15 23:15:10 +02:00
Gerasimos Maropoulos
2d8652d7fb
fix miss content type occurred by commenting this on the previous commit
...
Former-commit-id: 3320cf863da92cb70f74b046a6a2475f83728932
2018-03-15 22:46:23 +02:00
Gerasimos Maropoulos
56215eeb71
Release of version 10.4.0 - x8 faster embedded file server | Star and Read HISTORY.md
...
Former-commit-id: 4f8b8c95c1b107a9be3b1ef6835ece949a75ceb6
2018-03-14 07:17:35 +02:00
Gerasimos Maropoulos
5e5e91e4bb
fix https://github.com/kataras/iris/issues/927
...
Former-commit-id: 7de62d36b7927d790f5af0c1e64713e0a78d12c5
2018-03-13 15:57:52 +02:00
Gerasimos Maropoulos
c746d631d7
Update to version 10.3.0 | Read HISTORY.md
...
Former-commit-id: 10a0663cdf518dcf35290f18dfdc1eb69ea4a127
2018-03-10 15:13:07 +02:00
Gerasimos Maropoulos
4993918a12
remove the complicated fallback handlers, that didn't work and not approve the coblexity addition of the https://github.com/kataras/iris/pull/919 , RouteExists accepts first argument the Context, add new AllowMethods per party and fix cors by 048e2be034
https://github.com/kataras/iris/issues/922 , rel: https://github.com/iris-contrib/middleware/issues/36 , https://github.com/iris-contrib/middleware/issues/34 , https://github.com/iris-contrib/middleware/issues/32 , https://github.com/iris-contrib/middleware/issues/30 , https://github.com/kataras/iris/pull/909
...
Former-commit-id: 5576c44b64014fb00dd79e618b815b5f52b705e4
2018-03-10 14:22:56 +02:00
Gerasimos Maropoulos
1165b4527a
fix https://github.com/kataras/iris/issues/921
...
Former-commit-id: f8560514a7b48f83121ddd21d74b4016af4e1b67
2018-03-08 20:55:58 +02:00
Gerasimos Maropoulos
83c4b7f52d
add examples for read using custom decoder per type, read using custom decoder via iris#UnmarshalerFunc
and to complete it add an example for the context#ReadXML
.
...
Former-commit-id: 536b1780f12d0b9d9ce9aa976a0f95f18634ec2d
2018-03-08 05:21:16 +02:00
Gerasimos Maropoulos
6de64d517e
New: context#NextOr && context#NextOrNotFound and some performance improvements on the awesome https://github.com/kataras/iris/pull/909 pushed a while ago
...
Former-commit-id: 35dd2ab80b69a5bea6f35f58e636bc11229d9921
2018-02-23 04:06:05 +02:00
ZaniaDevelopper
643358d7cb
Modification
...
- Add configurator for Party
- Modification for CORS middleware example
Former-commit-id: f01c01d4eac41666a92890461851909a6ade018b
2018-02-21 14:22:17 +03:00
Frédéric Meyer
72b096e156
Add fallback handlers
...
Former-commit-id: f7e9bd17076a10e1ed1702780d7ce9e89f00b592
2018-02-21 12:27:01 +03:00
Frédéric Meyer
66209cae4f
Save
...
Former-commit-id: 592e9cddf3511fc08e87f19ad39fdaac479b453f
2018-02-21 08:18:53 +03:00
Gerasimos (Makis) Maropoulos
d4993e6a3f
Update to version 10.2.1 - fix StaticEmbedded & StaticWeb when served from a subdomain. Read https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-february-2018--v1021
...
Former-commit-id: 9bc3ed63fadbb4fb38abef06115b5d6d760256f0
2018-02-15 13:01:13 +02:00
Gerasimos (Makis) Maropoulos
fce7959424
remove old deprecated code from previous version, no need to keep backward compatibility, it was two months ago v10.0.0 released so we should be ok now
...
Former-commit-id: 81ac9d4913e78154b4bb74a01ce707b510e674ec
2018-02-12 06:03:15 +02:00
Gerasimos (Makis) Maropoulos
9cdae4ee67
Update to version 10.2.0. Read: https://github.com/kataras/iris/blob/master/HISTORY.md#th-08-february-2018--v1020
...
Former-commit-id: 2eb94ec0f565b80790784ac55af024429384b3d3
2018-02-08 14:04:39 +02:00
Gerasimos (Makis) Maropoulos
5fa306d69d
Update to version 10.1.0. Happy February to Everyone!!
...
Former-commit-id: 9c2a95f10c7299d21085d9d5cb4f1327f917123d
2018-02-06 12:38:02 +02:00
Gerasimos (Makis) Maropoulos
019911237c
add context#StatusCodeNotSuccessful for customize even the most customized clients that are not compatible with the standards and fix the SPA
if static file serve handlers are passed as its AssetHandler
as reported at the chat.iris-go.com
...
Former-commit-id: ccd0815a09b9305bfbeaad7b46559dd86f34f20b
2018-01-31 02:35:22 +02:00
Gerasimos (Makis) Maropoulos
969c2e87d4
add Cache304
as an alternative to the server-side kataras/iris/cache middleware - it can perform better with less server overheat but it comes with a cost of 304 instead of 200 so custom clients must make that check
...
Former-commit-id: b0ba68c528c870fe060e2825c35689771a1d3680
2018-01-25 16:19:45 +02:00
Gerasimos (Makis) Maropoulos
befb1f0c08
some major improvements to the (server-side) cache middleware and an example of a client-side responsibility cache
...
Former-commit-id: 93d3a7a6f163c6d49f315f86d10e63f7b1b1d93a
2018-01-25 15:09:24 +02:00
Gerasimos (Makis) Maropoulos
bf13f7648a
add vscode extension link and badge | Some internal improvements (not completed yet)
...
Former-commit-id: 9bc94e90a2780ee81f8188509d98063fb3f2924b
2018-01-25 03:16:49 +02:00
Gerasimos (Makis) Maropoulos
25918427bc
support multi-level subdomains redirect, see previous commit for the SubdomainRedirect fast solution
...
Former-commit-id: bc5749e46d1ae65f9d17063f3d8f2ea72510a9d8
2018-01-20 14:54:04 +02:00
Gerasimos (Makis) Maropoulos
e176ff7b0c
NEW: Application#SubdomainRedirect
. Example: https://github.com/kataras/iris/blob/master/_examples/subdomains/redirect/main.go
...
Former-commit-id: d8dd7c426dc9f14c870f103fef703595a2915612
2018-01-20 05:17:31 +02:00
Gerasimos (Makis) Maropoulos
58f8b3c347
Security fix for TLS-enabled servers, please read https://github.com/kataras/iris/blob/master/HISTORY.md#tu-16-jenuary-2018--v1002
...
Former-commit-id: 861f7a30cbb2309a1f16c5196ceb10b02a92b933
2018-01-16 12:51:28 +02:00
Gerasimos (Makis) Maropoulos
a19e570c8a
Update to version 10.0.1 - read more at: https://github.com/kataras/iris/blob/master/HISTORY.md#mo-15-jenuary-2018--v1001
...
Former-commit-id: 292d155c877ba3f9d1210db54c3df3fedd1d0c1c
2018-01-15 00:54:01 +02:00
Gerasimos (Makis) Maropoulos
1b1661ed53
ok almost finished. We're good at deadlines eventually. Tomorrow at 23:59 an article will be published same time with the dev branch merge to master
...
Former-commit-id: 42c1bf88cedbddf3cc01366ab769139546902e71
2017-12-31 02:32:28 +02:00
Gerasimos (Makis) Maropoulos
ef3a09c126
update the documents for the new MVC API and some of its new features but not finished yet, README big examples and _examples/mvc/login is are yet updated and I'm thinking of removing the big examples on README.md, they exist on the _examples/mvc updated.
...
Former-commit-id: c2938d4bcaa3520744526f7975ee3cce632499b3
2017-12-22 10:18:31 +02:00
Gerasimos (Makis) Maropoulos
91ee8287a8
Merge branch 'master' into dev
...
Former-commit-id: d338e6e846b4379199015dc4ae76677b2d8cbe53
2017-12-21 14:46:58 +02:00
Gerasimos (Makis) Maropoulos
5cbc3d6827
fix https://github.com/kataras/iris/issues/846
...
Former-commit-id: 5ade70e6133406c8bbb4ecef36541fdd0d857f6f
2017-12-21 14:42:39 +02:00
Gerasimos (Makis) Maropoulos
d88e49abaf
Last year we had HTTP/2 at Christmas, this year I will give you even better gift
...
Former-commit-id: 4f384a18b564e7c0f0a48bc74fec05280aa13d76
2017-12-18 07:22:55 +02:00
Gerasimos (Makis) Maropoulos
20ba72aecf
fix typo
...
Former-commit-id: b6f9de4cf8d62210ffefba5d33dc8372d236748d
2017-12-18 06:47:05 +02:00
Gerasimos (Makis) Maropoulos
b8cafce6b9
add simple tests for _examples/mvc/hello-world and session-controller
...
Former-commit-id: d88a792ba57cd869d2888f41bca6eb3e5b4f7d49
2017-12-16 21:27:20 +02:00
Gerasimos (Makis) Maropoulos
55dfd195e0
remove the old 'mvc' folder - examples are not changed yet - add the 'di' package inside the mvc2 package - which will be renamed to 'mvc' on the next commit - new mvc.Application and some dublications removed - The new version will be version 9 because it will contain breaking changes (not to the end-developer's controllers but to the API they register them) - get ready for 'Christmas Edition' for believers
...
Former-commit-id: c7114233dee90ee308c0a3e77ec2ad0c361094b8
2017-12-15 20:28:06 +02:00
Gerasimos (Makis) Maropoulos
8dcbdc0741
performance close to handlers if no bindings but even if bindings except service (new feature is that we can bind functions as well) is x1.1 faster than the previous mvc implementation - make BaseController (so and C) optionally but not break the existing APIs that using iris.C or mvc.C
...
Former-commit-id: a26a8f836894c061e0f435df8ac1c2c534f0ee48
2017-12-13 06:17:28 +02:00
kataras
2d80d73ad7
Merge branch 'master' into dev
...
fix route url reverse and add OnPing at websocket
Former-commit-id: ac8317f8a2516f00150d52f27e48953f49cf76d4
2017-12-04 05:08:10 +02:00
kataras
7043f352d9
made it work but looking for another approach
...
Former-commit-id: e61c4573543c57b8d6d4ef2583e40f52c391402f
2017-12-04 05:06:03 +02:00
honux
9197fd7349
Fixed a bug on router/path
...
- Stored the args length on a variable instead of three consecutive calls to the len method on "toStringSlice" function;
- Improved readability on "toStringSlice" function;
- Fixed a bug on "URL", which all routes without parameters would not return the full uri (just the path);
Former-commit-id: 3ddd8869087aa9046bdb874f98985b76daaa249e
2017-12-02 17:45:43 -02:00
kataras
dd5de52f34
implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more
...
Former-commit-id: e452a916da80d886535b8ae9625d0ba8e2b58d6e
2017-11-27 21:39:57 +02:00
kataras
907ba28f84
give some more control over request params and their entries for the end-developers
...
Former-commit-id: 91362d3de5c63faf0d124e66747e40ad0df04fbb
2017-11-23 12:30:13 +02:00
kataras
42e7faec52
update the vendor of the new iris-contrib/i18n to support multi locale files as requested at: https://github.com/kataras/iris/issues/815
...
Former-commit-id: 06d7c704caf97eae1fc81228425fddb588f2f68c
2017-11-22 01:01:45 +02:00
kataras
9640f59961
app. SPA from router wrapper to a simple handler, works faster now. Iris' router respects wildcards with other paths as well (unique) for almost a half year now... so we don't need a whole wrapper for those things anymore, fixes https://github.com/kataras/iris/issues/807
...
Former-commit-id: 5bd7f24997bb025a01bb92960a1bf255f073a228
2017-11-10 16:15:47 +02:00
kataras
2a0c6dade6
Update to version 8.5.8 | Read HISTORY.md
...
Former-commit-id: 82128ce7a2896a9a8bafd7a5268b0b42057fc21a
2017-11-09 12:03:14 +02:00
kataras
7723e438a1
able to share static configuration between multiple server instances based on the homepath+iris.yml file with iris.WithGlobalConfiguration configurator
...
Former-commit-id: 3e528a3d01eb36b4c0781149e52acffd4dc5cf9f
2017-11-07 01:40:56 +02:00
kataras
af9a1f1241
Update to version 8.5.6 | Read HISTORY.md
...
Former-commit-id: 3c1fb7ad47d54133f68ee0ee8ebe4c3835fe4ce0
2017-11-05 04:12:18 +02:00
kataras
ef41e07d4e
Add a better example for the recaptcha middleware as requested at: https://github.com/kataras/iris/issues/799
...
Former-commit-id: 85c3286a9d6be5cf47631e7608f70f3790934e64
2017-11-04 02:59:21 +02:00
kataras
15feaf0237
Update to version 8.5.5 | Read HISTORY.md
...
Former-commit-id: dced7d472edabbab4f80c76051f13261928a8dea
2017-11-02 05:54:33 +02:00
Gerasimos (Makis) Maropoulos
6607008054
We need your help with translations into your native language.
...
Former-commit-id: 80e748ff4a8f17fe38dd6707f7686bae2acfcbfe
2017-10-26 06:40:52 +03:00