Commit Graph

1399 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
3a77da586f blackfriday move to iris-contrib, tested
Former-commit-id: b9a0b9288f06a190500d8583af2503fcd67efe12
2018-11-11 00:57:26 +02:00
Gerasimos (Makis) Maropoulos
ba7503c9eb move blackfriday pkg to iris-contrib to avoid future issues like https://github.com/kataras/iris/issues/1132
Former-commit-id: 15119e623ab0e6ec480ed1be3621b87e2d29dafe
2018-11-11 00:53:28 +02:00
Gerasimos (Makis) Maropoulos
3b2f19eda5 move the blackfriday lib to the iris-contrib for the stability to avoid issues like: https://github.com/kataras/iris/issues/1132
Former-commit-id: 5540abd73f3b917e89a73486e5983605546b9008
2018-11-11 00:41:55 +02:00
Gerasimos (Makis) Maropoulos
39117f63f2 fix https://github.com/kataras/iris/issues/1132
Former-commit-id: 8e5e243ce856e93f0a820b8393e4ab2c6b2a9453
2018-11-10 23:51:05 +02:00
Gerasimos (Makis) Maropoulos
d766bf9f65 fix https://github.com/kataras/iris/pull/1128 for https://github.com/kataras/iris/issues/1132
Former-commit-id: fd3ef788ff4696e8a7f3d0d2cf11be4532abdf3f
2018-11-10 23:46:01 +02:00
Gerasimos (Makis) Maropoulos
7608873e70 versioning API: initialize support for grouping
Former-commit-id: 36cf8cd79801e8556f3c7b560f3bd759d9770d67
2018-11-10 23:29:24 +02:00
Gerasimos (Makis) Maropoulos
b22a18da6b initialize support for versioning as requested, per route -- not finished yet
Former-commit-id: ade66610125f06a0b5ce3e90bcafe349f216a616
2018-11-10 03:49:32 +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
75ead88483 Merge pull request #1128 from mlboy/patch-1
Update go.mod

Former-commit-id: 62ff8a51ef814e9e73836b488ec2c66d01da8ec6
2018-11-08 12:14:30 +02:00
mlboy
a8d3c205c6 Update go.mod
Former-commit-id: a3b0dd8a5b3d8ef91f3bbadb0dc67a904bac492b
2018-11-07 18:39:50 +08:00
Gerasimos (Makis) Maropoulos
80952bcbd5 Add the article 'CRUD REST API in Iris (a framework for golang)' and a starter kit for Iris written by @jebzmos4
Former-commit-id: 72eb72f11086b23c1bf849eb14ad846492a84cbd
2018-11-06 04:36:05 +02:00
Gerasimos (Makis) Maropoulos
22782bbefe examples: update the cors example to be easier for beginners
And update the pug view engine's vendor jade template engine to yesterday version 1 (tested and worked) to fix https://github.com/kataras/iris/issues/1125


Former-commit-id: 0ea7a8dd97ab13e5ecf984c379234cc671f5d84e
2018-11-06 04:06:50 +02:00
Gerasimos (Makis) Maropoulos
d6964acfcd Merge pull request #1117 from chenPengXu/master
add part function in html.go and examples

Former-commit-id: bf22aac2abd6cf605abb1673ec346301c6c630c2
2018-10-30 01:05:33 +02:00
Gerasimos (Makis) Maropoulos
678b66aef3 Update to minor version 11.0.2 that fixes a small issue. Read HISTORY.md for more
Former-commit-id: 004b87ff15467a8c67dcb89219ce64d599440ad6
2018-10-30 01:03:21 +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
be32418bc1 Update to version 11.0.1. Feature request implemented: https://github.com/kataras/iris/issues/1113
Former-commit-id: 0ce38dbacc2458fe327fa4401fdde1e69c8aacb0
2018-10-28 01:19:22 +03:00
chenPengXu
20fa06b46b modify
Former-commit-id: 3cae751d13b1c97dae0db7802b42b462f7c89fdb
2018-10-27 20:53:24 +08:00
chenPengXu
b5a4cf901d add template_html_5 for fund part in html.go
Former-commit-id: f2143a7aded3c026da5eb0755630e7dd2cb0f874
2018-10-26 14:15:29 +08:00
visgoods
de5be10955 add part function in html.go
layout.html 
 <head>
    {{ part "css" }}
</head>

home/index.html
{{ define "home/index-css"}}
<link rel="stylesheet" type="text/css" href="/public/css/home/index.css" />
{{ end }} 

in html/temple  the defined block is global variable, so the way of "{{ block "css" }}" in layout and "{{ define "css"}}{{end}}" in home/index.html and home/about.html   just one definition work, others will be over coved。  No use!!!

This part function like extend the block in layout.

Former-commit-id: c3e26a8227808cf2d1dc7121bcffe1a98ce3e678
2018-10-25 12:57:57 +08:00
Gerasimos (Makis) Maropoulos
8950ae7bb9 add third-party source benchmark results for proof of what we already knew
Former-commit-id: 52110ac4ec556ff88cae703ad988a3c48c7aef23
2018-10-23 18:35:53 +03:00
Gerasimos (Makis) Maropoulos
7c5f7f42cf A year after, it was time to update benchmarks, .NET Core had many performance improvements over the last year, good job Microsoft's Net Core team and the Open source community
Former-commit-id: 4f04c1a0322520ccd45f56138e8db273c8519e07
2018-10-22 13:52:31 +03:00
Gerasimos (Makis) Maropoulos
5849c77178 internal router improvement as a result of kataras/muxie sync for latest v11
Former-commit-id: c97caf8427b20ec89bc089951cc82316a4061f62
2018-10-21 20:59:09 +03: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
3962710d3d Version 11 released. Read https://github.com/kataras/iris/blob/master/HISTORY.md#su-21-october-2018--v1100
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
2018-10-21 19:20:05 +03:00
Gerasimos (Makis) Maropoulos
a0c8369927 add a HISTORY.md note about the new commits
Former-commit-id: 5be77a64616dbb8b85f83fc60638d0566bf7c4ad
2018-10-21 19:01:56 +03:00
Gerasimos (Makis) Maropoulos
a39807626d version 11 release
Former-commit-id: 44de994cbb0a8dfb3793a593d5a292affc2ae9f9
2018-10-21 18:46:10 +03:00
Gerasimos (Makis) Maropoulos
977b67dd47 add a HISTORY note about the Context#ReadForm return error
Former-commit-id: ae423978262575d21d098f1ca2986de05d0cda49
2018-10-18 20:56:41 +03:00
Gerasimos (Makis) Maropoulos
dbba631df4 A note for the upcominng release in the main README.md
Former-commit-id: 5955353caf550c052f976a5836a32d530011dcda
2018-10-17 07:27:50 +03:00
Gerasimos (Makis) Maropoulos
df85be52a4 sync with master fixes and add more details in the HISTORY.md for the upcoming release
Former-commit-id: 13d5f3bd0dd844dbe2f709cfe8423a7417542744
2018-10-17 07:13:34 +03:00
Gerasimos (Makis) Maropoulos
22ec02d53d Merge pull request #1110 from eryx/master
Fix panic error in concurrent calling with websocket.Connection.Emit() 

Former-commit-id: d9c1ab5ca244abded583885d418c556d5f9cf409
2018-10-16 13:58:23 +03:00
Eryx
1f1dfcca1c Fix panic error in concurrent calling with websocket.Connection.Emit()
Former-commit-id: 4c5cc222e9a43b18a86adb35bfafe4a278fd880e
2018-10-16 13:25:28 +08:00
Eryx
d2c3b90bc4 Fix panic error in concurrent calling with websocket.Connection.Emit()
Former-commit-id: b5d0ecd61547a297c320867af0a8abf208f0f743
2018-10-16 13:05:14 +08: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
192d71432f version preparation, it should be ready before novemember.
Former-commit-id: 7d0cc9b00fd5b9355928389bd47254c03e050f04
2018-10-16 01:46:00 +03:00
Gerasimos (Makis) Maropoulos
c0728deff9 typo fix
Former-commit-id: 6ac3649296694e4c5462f97f645ace604b6bc4bf
2018-10-16 01:40:17 +03:00
Gerasimos (Makis) Maropoulos
8f53f7c399 add godoc comments for the updated macro package
Former-commit-id: 5a90777926f6457b6639514e51ce48a4a57886c6
2018-10-16 01:39:27 +03:00
Gerasimos (Makis) Maropoulos
a1d80ce4b6 typo fix: internally
Former-commit-id: c9bc56aaf2ee4c88a8827dd1a1731f2788643a28
2018-10-15 11:58:57 +03:00
Gerasimos (Makis) Maropoulos
b2bcef74c0 Merge pull request #1106 from fedir/patch-1
Typo internally

Former-commit-id: a328ed85979f6e334ceb7e92ccb13db56ec1fa95
2018-10-15 11:58:14 +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
Fedir RYKHTIK
e0eb5d8f6e Typo
Former-commit-id: d4e73cb72e83b4462be3ca0ef8ae1263c2c2125a
2018-10-14 20:50:17 +02:00
Gerasimos (Makis) Maropoulos
29a4354e1d context#ReadForm: do not return an error if request data are not there, instead return nil without touching the ptr value. Requested at: https://github.com/kataras/iris/issues/1095
Former-commit-id: 9662854b3242b91ccb74d6adca72cdcb61689bd8
2018-10-04 12:05:55 +03:00
Gerasimos (Makis) Maropoulos
0f2c5da7df context#ErrEmptyForm
Former-commit-id: c623e7ac433f11c9d89376bee0cd100aa26f35c5
2018-10-03 20:49:49 +03:00
Gerasimos (Makis) Maropoulos
5de3fc5790 Merge branch 'master' of https://github.com/kataras/iris
Former-commit-id: 91cc725ac4e8260dabeca0bd6e58717fd6d4287e
2018-10-03 20:40:52 +03:00
Gerasimos (Makis) Maropoulos
dd8f06d950 context#ErrEmptyForm
Former-commit-id: 92db200ae1dc08dbdb7b345d4299941d248747f0
2018-10-03 20:39:38 +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
97e96ed6ca init go modules but keep the dep files and vendor folder and update badger sessionsdb's dependency to 1.5.4 from 1.5.3
Former-commit-id: 4f58a9bd0e7eb5f9535953125c27b9c5316ffc0f
2018-10-02 04:05:39 +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
a675e8191a fix macro registration issue and match by kind for MVC and hero instead of its kind, so custom types like structs can be used without any issues. Add an example on how to register a custom macro it is just few lines and all in one place in this version.
Former-commit-id: 93c439560fcfad820f9f3e39c1d9557c83cef0ee
2018-09-30 17:26:40 +03:00
Gerasimos (Makis) Maropoulos
21ab51bde7 fix https://github.com/kataras/iris/issues/1087
Former-commit-id: 5f55201d9f494efd3f2f4d92231ad8f271ce94e6
2018-09-30 16:46:10 +03:00