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
|
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
|
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
|
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
|
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
|
b3bc30c5af
|
add a table on the README for the param types, macro funcs and do it yourself section
Former-commit-id: eca9418779371c014d3bf3bca88430055841da4f
|
2018-08-24 14:41:53 +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 Maropoulos
|
b4856d542d
|
Cookies: Ability to set custom cookie encoders to encode the cookie's value before sent by ctx.SetCookie and ctx.SetCookieKV and cookie decoders to decode the cookie's value when retrieving from ctx.GetCookie . That was the second and final part relative to a community's question at: https://github.com/kataras/iris/issues/1018
Former-commit-id: 53b6810076c8db8646df335d57a30c78b23cd9b8
|
2018-06-02 16:35:18 +03: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
|
1a4803307d
|
Add one more example for custom router macro functions, relative to https://github.com/kataras/iris/issues/918
Former-commit-id: 457c1a94dc8d93e614e9da70e1ec2482fe0c5765
|
2018-03-05 20:09:30 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
d7beb9a752
|
Add a missing call for fallbackHandler in _examples/routing/fallback-handlers/main.go by @ZaniaDeveloper via PR: #911
Former-commit-id: 94ae5849e16538a4bc7f906c52ed7603c7ae01f6
|
2018-02-23 15:20:53 +02:00 |
|
ZaniaDevelopper
|
abb10e9cbf
|
Add a missing call for fallbackHandler
Former-commit-id: a1ce94b39d326657cdbce34276477c34752f0000
|
2018-02-23 09:24:35 +03:00 |
|
Gerasimos Maropoulos
|
a1232c9a9a
|
_examples: replace DELETE string with iris.MethodDelete, for important changes see: https://github.com/kataras/iris/pull/909 and 6de64d517e [formerly 35dd2ab80b69a5bea6f35f58e636bc11229d9921]
Former-commit-id: d0f5785aff289b8c140e4f253eb555135e79603d
|
2018-02-23 04:25:12 +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
|
7a29519c5a
|
Fixes bad copy/paste
Former-commit-id: 437b60bc6b37d8a755198fb97809c61b9c18004e
|
2018-02-21 14:48:09 +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
|
7fd8baea75
|
README.md: make backers visible on the top of the page, replaced the prev api to the https://iris-go.com/backers.svg in order this to happens
Former-commit-id: 093f11d05fe9556c79de2cb2886e5d0569f27336
|
2018-02-12 04:04:46 +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
|
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
|
e38ea65dc7
|
fix example comment on routing/dynamic-path/main.go#L101
Former-commit-id: affb9b646e83ab9087d4c84aac8c12e11468257b
|
2018-01-30 21:16:54 +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 |
|
kataras
|
5a8b17f0e8
|
Add a useful(?) introduction README.md section to some examples
Former-commit-id: 14041307dc2f98810d2c20dee68d2c4a7aa63e13
|
2017-11-07 19:12:30 +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
|
666bcacf20
|
Update to version 8.5.5
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
|
2017-11-02 05:50:56 +02:00 |
|
Gerasimos (Makis) Maropoulos
|
f780159afe
|
Bet that many of you didn't know that Iris could handle regexp-based path parameters with ease :)
Former-commit-id: d2c5564cfb99fbea5d90106be0c6d5c505d293ab
|
2017-10-04 03:12:50 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
cf1e580cde
|
Add two examples for folder structuring as requested at https://github.com/kataras/iris/issues/748
Former-commit-id: 27c97d005d9cbd2309587b11fc9e2bab85870502
|
2017-10-01 04:31:13 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
69b5327ecc
|
Update to Version 8.4.2 | Read HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md#fr-15-september-2017--v842
Former-commit-id: 0ee4cc1d93ef7f26e5d402fdfbe07062aff5b08c
|
2017-09-15 15:05:35 +03:00 |
|
hiveminded
|
8a9a498316
|
update to version 8.4.1 ❤️ https://github.com/kataras/iris/blob/master/HISTORY.md#th-07-september-2017--v841
Former-commit-id: 9e5f0a08049b83605aa847b8f51fb856427354a6
|
2017-09-07 16:20:31 +03:00 |
|
kataras
|
fcfc65a7bc
|
add h2 header manually for pre-go 1.9 users when manually key files are being used
Former-commit-id: edf521fc02de87b53cd3bdf0b8e77610dd535862
|
2017-09-05 14:47:41 +03:00 |
|
kataras
|
59a61e5930
|
add the new param:long into the docs
Former-commit-id: a4189660ad6228b5d3e118ef0f03a52972ac03ad
|
2017-09-03 18:08:19 +03:00 |
|
kataras
|
42b123975c
|
8.4.0 | New MVC Features | Refactor examples and godoc for go 1.9 use. Read HISTORY.md.
Former-commit-id: 90c05e743052bc3722e7fefaa0cbb0ed5153a1fb
|
2017-08-27 20:35:23 +03:00 |
|
kataras
|
8b5b6b116a
|
add a nested parties and wildcard subdomains test
Former-commit-id: c2faa1bd02935ef13c32027f99c097b5c60babef
|
2017-08-23 15:26:46 +03:00 |
|
kataras
|
b96476d100
|
Update to 8.3.0 | MVC Models and Bindings and fix of #723 , read HISTORY.md
Former-commit-id: d8f66d8d370c583a288333df2a14c6ee2dc56466
|
2017-08-18 17:09:18 +03:00 |
|
kataras
|
35620f6ecb
|
Update to 8.2.6 | More on Iris Controllers: optional EndRequest . Read HISTORY.md
Former-commit-id: 5255ca5c4a898e2f3e7388f3af0457599e65f87f
|
2017-08-14 16:21:51 +03:00 |
|
kataras
|
8cd07719a6
|
Update to 8.2.5 | Say Hello to Controllers. Read HISTORY.md
Former-commit-id: 70f8619440497d132362da86c5187bcc57f8687b
|
2017-08-13 21:58:34 +03:00 |
|
kataras
|
39a24fb7cb
|
Document https://github.com/kataras/iris/issues/720 and fix https://github.com/kataras/iris/issues/719 for good
Former-commit-id: 75b855bee9216c28ce8e1ff46aee467766c37f23
|
2017-08-13 01:47:19 +03:00 |
|
kataras
|
48e352e1df
|
Update to 8.2.0 | BoltDB session database, fix file sessiondb, faster, simpler and improvement Session Database API
Former-commit-id: 4034737a65b78a77277e4283fd9289c17f4a452e
|
2017-08-07 06:04:35 +03:00 |
|
kataras
|
d664f3f0d6
|
Better documentation for the Application#Logger()
Former-commit-id: 7d70c7ffba9ae6a94b600b85b078714dd943a7da
|
2017-08-02 04:22:15 +03:00 |
|
kataras
|
5752625c80
|
Update to 8.0.2. Read HISTORY.md for the surpise
Former-commit-id: bbdf020ccaa986c332716aa7f749b7bdc24e427e
|
2017-07-15 17:40:29 +03:00 |
|
kataras
|
9f85b74fc9
|
Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
|
2017-07-10 18:32:42 +03:00 |
|