Commit Graph

1852 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
0c4038964c Merge pull request #1400 from minhvh93/master
#1399 [BUG]Can't set file server in subdomain with request path is "/"

Former-commit-id: 3710e0f3a01a8d297de7161e4793c258ab8f05ba
2019-12-13 23:11:25 +02:00
Gerasimos (Makis) Maropoulos
41fe827711 Version 12.1.0
Former-commit-id: bf964b047490a97ecde0ddfcb9376cd341999b78
2019-12-13 23:09:46 +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
fe02ad938a Merge branch 'v12'
Former-commit-id: 75eb6c5748abef067ddd389285f35fccc7aac44e
2019-12-02 22:24:40 +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
c66f7a6d21 update middleware list
Former-commit-id: 051d40a3fb553d15d9cfd55f793546e193463383
2019-11-22 15:16:50 +02:00
Gerasimos (Makis) Maropoulos
4e9a6be9aa i18n several improvements
trigger #1369


Former-commit-id: af16dd8de1a0096d33c4e4c97f29ec12a73302f4
2019-11-22 02:57:26 +02:00
Gerasimos (Makis) Maropoulos
377db7f822 minor
Former-commit-id: 6102c3fb2a58935a8b354c3999abf80456735fa8
2019-11-21 21:50:37 +02:00
Gerasimos (Makis) Maropoulos
36f54b6fc3 remove lgtm file as this server not ready for golang yet
Former-commit-id: b139738e67d4551fcef25f706e90f7ff22c8a9c1
2019-11-20 22:42:43 +02:00
Gerasimos (Makis) Maropoulos
9e520b19f0 add lgtm?
Former-commit-id: 9a0905a1c9475556f6568f1af70aa30dd9b0c52a
2019-11-20 19:02:26 +02:00
Gerasimos (Makis) Maropoulos
2c229234f1 add subdomain support for i18n and a custom language Indentifier - rel to: #1369
Former-commit-id: b4d31978f6ddcdcebd18505eaa0db297db462d8e
2019-11-20 16:40:28 +02:00
Gerasimos (Makis) Maropoulos
cad90a2753 fix #1395
Former-commit-id: 7c77e2f08fdcb7a48a6aa92364ba3b8e431d8d69
2019-11-20 14:39:45 +02:00
Gerasimos (Makis) Maropoulos
256cda05fa update faq, contributing and go workflow
Former-commit-id: d36101dfe296a2b294dd2e9fc49f4e5348bc4205
2019-11-20 02:51:16 +02:00
Gerasimos (Makis) Maropoulos
5adb65b72d minor
Former-commit-id: 9eb9668bddc5640652974d423d880f4797409718
2019-11-20 02:43:22 +02:00
Gerasimos (Makis) Maropoulos
eb3328dbe9 add tests for #1369 and various improvements
Former-commit-id: 2fe1f077cf5b6a0fb32a27cf86462fea776a7d58
2019-11-20 02:35:41 +02:00
Gerasimos (Makis) Maropoulos
da2504c51e remove github workflow as it requires billing now(!)
Former-commit-id: 1a69dbe02d750b45ac214de7868c3372f902fe5e
2019-11-19 23:49:02 +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
1faea8b2e8 README: add testimonials gif
Former-commit-id: 6405b7c907546e77a9cbb85b5b7628f97bcfb2ec
2019-11-14 20:16:34 +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
Gerasimos (Makis) Maropoulos
2e54ff7a53 Merge pull request #1393 from FishJoey/iris-dev
Modify core/router/api_builder.go

Former-commit-id: 862dd2851dd62f6137b264207b8af3e7bcbb4eb6
2019-11-13 19:17:23 +02:00
Gerasimos (Makis) Maropoulos
75dd5b759f _examples/file-server update to test a party of file server
Former-commit-id: 2137bd00d256d57058bedd3b4a5868427cbdc64a
2019-11-13 19:14:56 +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
7ad97865b5 minor
Former-commit-id: 01810dd16e328c1b89d818bd71bbfb77ee131b8b
2019-11-09 00:52:49 +02:00
Gerasimos (Makis) Maropoulos
8aed591c08 README: add gif
Former-commit-id: 31393587c1d797b3c89e5797c5f722f2c115bcbd
2019-11-08 15:01:37 +02:00
Gerasimos (Makis) Maropoulos
7d125bb7e1 README: minor: use smaller logo for fast gh page load
Former-commit-id: b6095371df53c1bb6225a6d41712240a5a033297
2019-11-06 02:30:05 +02:00
Gerasimos (Makis) Maropoulos
a42f914ce8 minor README changes
Former-commit-id: becf1864dfbb24409f51122eaee5b1e2b979a20b
2019-11-05 22:12:26 +02:00
Gerasimos (Makis) Maropoulos
42e752b3f5 minor
Former-commit-id: c66f17fb0dc5c130e5060bea4cb4f291e031a36c
2019-11-03 00:41:52 +02:00
Gerasimos (Makis) Maropoulos
dc9ad50e76 fix example as reported as #1390
Former-commit-id: 0864cdb5a77b75919e733dab29a85767333de7f8
2019-11-01 16:07:17 +02:00
Gerasimos (Makis) Maropoulos
303f9d3d69 add a note on http-errors example about #1389
Former-commit-id: 73485e195bc246e8b81a1be3156b361e92c054c7
2019-10-31 06:37:35 +02:00
Gerasimos (Makis) Maropoulos
40ca05dbbf Spanish translations updated | merge pull request #1387 from 1hitOVER/master
Former-commit-id: 71ce02264fec00d984b4d1f27ecdf4f4d16ea452
2019-10-30 18:57:51 +02:00
Brian Antonio Gaitán Corea
17067c8caf Spanish translations updated
Former-commit-id: b505b9f2f119eb5230f1590f748e2444200972e1
2019-10-30 08:22:09 -06:00
Gerasimos (Makis) Maropoulos
16686eda11 add follow button under the book
Former-commit-id: a0a2ce1ec56bf5d47daf7c7f8986ca05a075e6fa
2019-10-30 13:57:27 +02:00
Brian Antonio Gaitán Corea
0862b35566 Spanish translations updated
Former-commit-id: 26a210d92dad68c14a7bf414cc88afdaf22434e7
2019-10-29 17:28:44 -06:00
Gerasimos (Makis) Maropoulos
49fde92db4 remove unnecessary apidoc example comment
Former-commit-id: 3ff3b3aa5296267c8bbdd513fae161d456d2528a
2019-10-28 22:48:39 +02:00
Gerasimos (Makis) Maropoulos
f3cebb747d update the dependencies of the apidoc example
Former-commit-id: 7a126a9e74ff9a05a325e8b65032cb75f90c3e88
2019-10-28 22:47:09 +02:00
Gerasimos (Makis) Maropoulos
466978f1fe examples: minor
Former-commit-id: 7e86dfbbc496bdd33faad744c8242468d95d3055
2019-10-27 11:47:34 +02:00
Gerasimos (Makis) Maropoulos
033fc76543 update links
Former-commit-id: 65a8260016cbb5a137d919e04a64c125b3b8a602
2019-10-26 19:57:18 +03:00
Gerasimos (Makis) Maropoulos
86deae170a Version 12.0.1
Former-commit-id: c6042994ab48e1e07b864cec8e467a295d1f3e6b
2019-10-26 19:45:56 +03:00
Gerasimos (Makis) Maropoulos
c3a55462bd fix sessions.ErrNotFound.Equal example
Former-commit-id: 292eadaea9df1c680e68a3f92f86c8bf1edc2d7d
2019-10-26 19:27:58 +03:00
Gerasimos (Makis) Maropoulos
1c791932db travis: go_import_path with version suffix
Former-commit-id: 6fbaca2031783443b8d4a924d68878993708091e
2019-10-26 19:00:22 +03:00
Gerasimos (Makis) Maropoulos
20db0be828 minor
Former-commit-id: 4432b73b0490b7c4100833f8d3346326c66f92f2
2019-10-26 18:55:54 +03:00
Gerasimos (Makis) Maropoulos
c935e5d7d1 add HISTORY entry for v12
Former-commit-id: 778fedba71bc146709e840c7a37545e516c7a287
2019-10-26 18:40:35 +03: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
d13f1fe877 make the yaag example as go module (to set the latest yaag pseudo-version)
Former-commit-id: 89c03751d93dab5ccc1ee29271f12e99bfe6c8c7
2019-10-25 01:13:25 +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