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
a7b2a90e3b
cm
...
Former-commit-id: 8f99121b81dc76c04d5910117885d9286873f26c
2017-12-04 05:08:05 +02:00
kataras
7043f352d9
made it work but looking for another approach
...
Former-commit-id: e61c4573543c57b8d6d4ef2583e40f52c391402f
2017-12-04 05:06:03 +02:00
Gerasimos (Makis) Maropoulos
27097df7b4
Merge pull request #828 from honux/master
...
Fixed a bug on router/path
Former-commit-id: 80f58dd112aa8d13b703f847b91063ca2c504432
2017-12-04 04:59:15 +02:00
honux
c15b7725da
Merge pull request #2 from honux/honux-patch-2
...
Fix subfolder templating issue
Former-commit-id: 2c26fbf9508e94277c04cf48a6713459502720cd
2017-12-03 23:21:46 -02:00
honux
412c513e5f
Fix subfolder templating issue
...
Fixed issue https://github.com/kataras/iris/issues/830
Former-commit-id: 1be9b65fd51322c927ebfdcb835ef1df5b018a5a
2017-12-03 23:21:11 -02:00
honux
3dd9854e70
Merge pull request #1 from honux/honux-patch-1
...
Fixed a bug on router/path
Former-commit-id: feafcdafc60ed095e5abfd996e5b206872162771
2017-12-02 18:02:39 -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
Gerasimos (Makis) Maropoulos
988cb2cab6
Merge pull request #826 from jerson/patch-7
...
Websocket: added OnPing to Connection
Former-commit-id: f480187714186cbba08cd545df6a50f31e2e9bb2
2017-12-02 16:20:10 +02:00
Gerson Alexander Pardo Gamez
80b86136f4
Websocket: added OnPing to Connection
...
see issue #825
Former-commit-id: c7c97d40e352f4e550ea96eb482e71c3c50c8c09
2017-12-01 17:48:37 -05: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
9d63e3194f
implement a simple path param binder
...
Former-commit-id: 2edc7f115332b7afe42d6b0b1b7b6edd4a44a121
2017-11-25 14:04:35 +02:00
kataras
4818d184b1
remove codesponsor as http://mailchi.mp/f9b57b5ea377/code-sponsor-is-shutting-down-on-december-8
...
Former-commit-id: 94c7c2e2770b02e1c93e2e830606dac204d5b0f6
2017-11-24 20:13:10 +02:00
kataras
2448a60e04
remove codesponsor as http://mailchi.mp/f9b57b5ea377/code-sponsor-is-shutting-down-on-december-8
...
Former-commit-id: 20132129f693fb3f21368372a8d00624d57b5858
2017-11-24 20:11:32 +02:00
kataras
5a3be2ab58
simplify by join the bind registration(ctx-transformer-to-something-func-binder and service one, which just sets the struct as it's) to one named 'In' and create a 'Child' which will return a new mvc instance with binders inheritanced from the parent one and add a simple test to the mvc_test.go - will have more later on
...
Former-commit-id: 81ae99390c683a61e1b0bac58725a04b9a3eebbb
2017-11-24 17:34:35 +02:00
kataras
29835d9a8e
black-box the MakeHandler, works perfectly.
...
Former-commit-id: d325be0e953efc2f841c69f62233b34d4a58ab62
2017-11-24 15:10:30 +02:00
kataras
bfec1d174f
implement the makeHandler and structure the high-level mvc's API
...
Former-commit-id: 412118eae436981711ef57821f2d85b77a5d1a12
2017-11-24 12:32:35 +02:00
kataras
3a46102d4d
I, think, that binders are done, both dynamic functions with different results every time (based on the context) and static services (interface as input(to give the devs the chance make better and most testable code) and struct or both are structs)
...
Former-commit-id: eb395b06003ea9eae005a36c9c6be0ef63c4d41d
2017-11-23 22:36:47 +02:00
kataras
de69b2fba2
start the new mvc - binder
...
Former-commit-id: 37e56f409ca136700452fb8fbff740fcca3e98bf
2017-11-23 12:43:29 +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
56871ce4d7
update test to cover the multi files per language new feature - requested at: https://github.com/kataras/iris/issues/815
...
Former-commit-id: 6516e648a30a0886ad55146d463bfa696972d1c6
2017-11-22 01:08:26 +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
53ed4f3a4e
add support for multi languages, without change the API, separated by commas as requested at: https://github.com/kataras/iris/issues/815
...
Former-commit-id: ae3dcabb543c017f0661f2b2a1af8250d73773cf
2017-11-22 00:57:29 +02:00
Gerasimos (Makis) Maropoulos
f16d398136
Merge pull request #819 from speedwheel/patch-3
...
Update README.md
Former-commit-id: 0e2f420d017f5329803ee8f5053ec51df417dd3e
2017-11-21 11:42:42 +02:00
Gerasimos (Makis) Maropoulos
b46b32be87
Merge pull request #818 from speedwheel/patch-2
...
Update CONTRIBUTING.md
Former-commit-id: 3072392dd43cc03d7fc5442150a44cf89b7fa81a
2017-11-21 11:42:27 +02:00
kataras
8d659d3589
move csrf middleware example
...
Former-commit-id: 5dbe3affead73a97b5313b9f7c00e88470aba24d
2017-11-21 11:38:55 +02:00
Gerasimos (Makis) Maropoulos
1a595d4ece
update benchmarks and use throng on expressjs for better performance
...
21 nov 2017- linux version with ubuntu 17.10 and kernel 4.14, all libraries and software updated to their latest versions.
Former-commit-id: 8f8e07838a9a99825555fcbb30f23ac9ee55f685
2017-11-21 11:35:31 +02:00
kataras
006a09f68a
update benchmarks and use throng on expressjs for better performance-- 21 Nov 2017 with linux ubuntu and latest mainline kernel 4.14
...
Former-commit-id: 40d27dd7d02f4ead756be090364075a6570ae2cb
2017-11-21 11:34:04 +02:00
Edward Marinescu
c745a028d9
Update README.md
...
Former-commit-id: 3fed61f8d5599f1c919374647ae363cfcf1a43bb
2017-11-20 20:16:59 +02:00
Edward Marinescu
c16d1c476c
Update CONTRIBUTING.md
...
Former-commit-id: 61609f5ac678a572aa213f5a528d8b63228639d4
2017-11-20 20:15:22 +02:00
Quentin Homareau
d1cc5599b6
Fix NodeJS benchmark
...
Former-commit-id: a1d87cf3a3f4790b9e392dc3c100180284286797
2017-11-19 13:02:48 +01:00
Gerasimos (Makis) Maropoulos
f4b4742eca
Merge pull request #811 from PPACI/patch-1
...
more example in example
Former-commit-id: e83351ac01e0a254d12e2df9a37fb9a40aba6c4f
2017-11-18 09:52:04 +02:00
Pierre PACI
8d0ba9a0d0
more example in example
...
As this file is an example, it could help people to learn golang pattern. So, i've added another way to get a clock signal. I've kept the original to show people 2 different ways.
Former-commit-id: d5b50c0845e93388a41863fb262b166320c2735c
2017-11-17 21:22:27 +01:00
kataras
3b572eb23b
Add an example for CSRF Protection
...
Former-commit-id: c38fd425b00210f730e274385cb2156b423f7fbc
2017-11-14 10:48:57 +02:00
Gerasimos (Makis) Maropoulos
e67346b459
Merge pull request #808 from speedwheel/patch-1
...
Rename README_CN.md to README_ZH.md
Former-commit-id: 7179263905b82f36f8e30e75b1dc40d42567a680
2017-11-10 20:09:39 +02:00
Edward Marinescu
9c07ab3f03
Rename README_CN.md to README_ZH.md
...
Change from using the "Country Code" to "Language code", it's better because there are many languages out there that are spoken in multiple countries.
Former-commit-id: 4c4ac4c50c1d31589bc78a745e30593f8e9e7ee3
2017-11-10 20:05:54 +02:00
kataras
b32583c004
Merge branch 'master' of https://github.com/kataras/iris
...
Former-commit-id: 4cc67227d5e9c3463ec061df1e7b8ee257a18742
2017-11-10 16:16:08 +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
Gerasimos (Makis) Maropoulos
65cda65c6f
Merge pull request #806 from yale8848/master
...
Add README_CN.md
Former-commit-id: 6bae16e2b71ede5e61d8160562830ca4b761bbca
2017-11-10 14:01:30 +02:00
Yale
3b8553cd28
Update README_CN.md
...
Former-commit-id: e2868c45a3544aca8a8ff8cc1c1d60967bad3617
2017-11-10 15:19:10 +08:00
Yale
9e668b30ea
Update README_CN.md
...
Former-commit-id: b4deb4b6785f4ad94bdd9d692b9596964b2a1a8f
2017-11-10 15:14:38 +08:00
Yale
346cd1ffc2
Update README_CN.md
...
Former-commit-id: b4f37edbe3d93c8cc0ad5f06c684decec64456b0
2017-11-10 15:10:45 +08:00
Yale
ccf5cc4d5e
Update README_CN.md
...
Former-commit-id: af4d3cb162865d778e938defeabe926cdde311a7
2017-11-10 14:50:00 +08:00
Yale
1110bec979
Update README_CN.md
...
Former-commit-id: f7538b0d922a46deacf4d941ad38b541fe7fe224
2017-11-10 14:45:51 +08:00
Yale
a7f62c94f1
Update README_CN.md
...
Former-commit-id: d9a508b927e15950543749599f9686eee35c7157
2017-11-10 14:40:30 +08:00
Yale
abba1ca4a0
Update README_CN.md
...
Former-commit-id: 2828260b3a6ab5bc151d5de5ea21eadb074e34c2
2017-11-10 14:30:07 +08:00
Yale
79a9b67a85
Update README_CN.md
...
Former-commit-id: 84e09c053ac7d772a975f36d9aefd866ab7b8801
2017-11-10 14:22:14 +08:00
Yale
512f7c3cf1
Update README_CN.md
...
Former-commit-id: 498b3cd460868f2696fb81a43dfb0c399aa4bd87
2017-11-10 12:06:48 +08:00
Yale
bae8cad58e
Update README_CN.md
...
Former-commit-id: c3aa159fd658490417cd29b3d737c231ff0ea10c
2017-11-10 12:05:04 +08:00
Yale
8d33fd670e
Update README_CN.md
...
Former-commit-id: 8f10324dc584c877319564de61291b53c0dcc6d0
2017-11-10 12:01:43 +08:00