Gerasimos (Makis) Maropoulos
1bb76853a9
.DI() to ConfigureContainer(...builders)
...
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
2020-04-17 15:56:36 +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
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
0844c109d9
implement path prefx for i18n middleware, as requested at: #1369
...
Former-commit-id: b0d6b6e7f368e710b01faad9b70dfa4cebdd8c4d
2019-11-19 23:36:18 +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
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
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
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