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 |
|
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
|
4431a65a56
|
add a test and fix a small issue on the macro/handler#MakeHandler
Former-commit-id: 0bb24999fbd3f54e582fb9a86f55333facfbc338
|
2018-09-29 19:32:32 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
7568da3283
|
add tests for the new types (int8, int16, int32, uint, uint8, uint16, uint32, uint64)
Former-commit-id: 812b3fdcc47abdeac271473bfdbdd15f0afd0bc0
|
2018-09-29 04:35:09 +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
|
39b180b14c
|
see previous commit for more details
Former-commit-id: e88246203ffc492ffa39e8d20ed19cac7abd52c2
|
2018-09-27 06:28:47 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f05ee872d0
|
add int8, int16, int32, uint, uint16 and uint32 default-builtn parameter types and macros - no doc update - no live tests yet - time for sleep
Former-commit-id: 4a27265a9f1368c4bbecd852691155e56c875673
|
2018-09-27 06:20:03 +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
|
7321498000
|
Merge pull request #1088 from yushuailiu/master
fix README
Former-commit-id: c28db41672057a1a932a9e87522b1dd52bb6302c
|
2018-09-16 16:52:52 +03:00 |
|
liguoqinjim
|
f4e2742dc7
|
update README.md example (#1084)
* update README.md example
* update README.md example
Former-commit-id: 5eb484d2204e839e5408d3b8cf98fa0981d4727a
|
2018-09-16 16:52:11 +03:00 |
|
YuShuaiLiu
|
8b4167c2ab
|
fix README
Former-commit-id: a7c3c6555d4a378d1c4e2647bd1f08566b5a2b37
|
2018-09-14 15:06:46 +08:00 |
|
Gerasimos (Makis) Maropoulos
|
52a07df0f4
|
upstream fixes
Former-commit-id: 574060e41ace86cd86588795eadb1ad4083ec630
|
2018-09-13 02:53:13 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
6fc7fc632a
|
Merge pull request #1079 from morihaya/patch-1
Fixed typo in comment
Former-commit-id: 008cf1c9f77c67867c0cfc2c938b92f4be1b12e2
|
2018-09-13 00:07:37 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
689f814035
|
resolve https://github.com/kataras/iris/issues/1085 and https://github.com/kataras/iris/issues/1086
Former-commit-id: 17ff6dfcc6ae7ba5d2a771925327fe4cea14befd
|
2018-09-12 23:59:46 +03:00 |
|
morihaya
|
057ea27f99
|
Fixed typo in comment
'iris.YAML("myconfig.tml")' -> 'iris.TOML("myconfig.tml")'
Former-commit-id: 6fe53f743520744447d503570993cb0f54b572d9
|
2018-09-03 00:49:02 +09:00 |
|
Gerasimos (Makis) Maropoulos
|
36d6820f9a
|
add the param types on README.md (on v11 we have support for more and in my TODO list is to add support for custom param types as well, we have already support for custom macro param types funcs)
Former-commit-id: 613d397826addc4cedcca07aee2ceb3cd2f139ee
|
2018-09-01 19:27:21 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f2bac496b9
|
add vendor for go-version (the auto-updater will probably be removed on the next major release due to go modules)
Former-commit-id: 3d0bb6e3a440852f0d0e8b9ed2f78609e69ed263
|
2018-09-01 19:19:58 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
efa17e8899
|
dynamic param types part 1
Former-commit-id: 5829d53de848c0ea4491b53e4798f6c9cdf8d9a7
|
2018-09-01 18:53:42 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
91fe161e90
|
more details
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
Former-commit-id: 4ed59111e5e5fc05a9935a9290f9e385c6413c79
|
2018-09-01 02:10:22 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
4fd9886a10
|
go modules and vendoring section explain why not yet, in my opinion let's stick with the current system until gophers get acquainted with the new go modules and how it works - I putted a link to the TOC in order to help them
Former-commit-id: 572527152de5808c834546ca1373de716046770e
|
2018-09-01 02:06:56 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
e6bd3c1f0c
|
remove unnecessary deps
Former-commit-id: 634283a9b227064b703c3c45ce893dfa08345bb7
|
2018-08-31 02:16:23 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
f365be3c62
|
remove 'WithoutVersionChecker', update and test the new versions of some of the dependencies, add a history entry with unknown release date
Former-commit-id: 399db6aac44d3b336648d6d61842f4d7a0266842
|
2018-08-31 02:09:48 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
6cf48df5c0
|
add the StatusMisdirectedRequest (421) added in go 1.11 net/http package as well
Former-commit-id: 75820b859905cab2a5b62aad1577f704a66082b2
|
2018-08-25 19:23:52 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
8d33c7a267
|
add the di section after the parameters in path section
Former-commit-id: 423060f77629a7d955e80258b681d62a791b7411
|
2018-08-24 14:47:56 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
7b94a4666c
|
format the prev
Former-commit-id: 4d203295b1daa1091a45de8ce683af0e6b47365b
|
2018-08-24 14:43:19 +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
|
18c23e7d1e
|
hero support for the new uint64
Former-commit-id: 0cd72427302afd50a18c88443f871db393429bfa
|
2018-08-23 06:33:54 +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 (Makis) Maropoulos
|
01b5f6089d
|
add Context.Params#GetUint64
Former-commit-id: bf6b2dcc0a1078f072c35f4affe375a2eb3f0b82
|
2018-08-23 02:46:58 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
b4a30f5af5
|
sessions database: boltdb: add support for ShiftExpiration -> OnUpdateExpiration like redis
badger sessiondb still in progress.
Former-commit-id: 1f89a0efb753c0e02b774e0d9e48d879e987c939
|
2018-08-18 15:01:26 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
197fb5d113
|
Merge pull request #1064 from akiraho/master
various fixes on redis as sessions db
Former-commit-id: 0fb804f095c37d340eeaf595806329a67c5b43ac
|
2018-08-18 14:41:21 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
6db7a2a7a7
|
Merge pull request #1062 from mattc41190/patch-2
Fixed some minor grammar issues
Former-commit-id: b1d5bd6b667871c534cc62572f491974d106b7f6
|
2018-08-17 15:41:28 +03:00 |
|
Akira Ho
|
45c1f6427f
|
fix / redis.getKeysConn() returns keys without Config.Prefix otherwise such keys passed into updateTTLConn() would get duplicate prefixes failing the ttl reset
Former-commit-id: bfcc02e5db16216d221c533fc28919fe292d6532
|
2018-08-16 17:42:01 +08:00 |
|
Akira Ho
|
4e7ca254d9
|
fix / redis service.TTL() returns seconds, hasExpiration, found
Former-commit-id: 25743848458f2a6cf3e78d5ae119d2ba2a822f79
|
2018-08-16 17:37:41 +08:00 |
|
Akira Ho
|
768dd76b62
|
fix / lifetime.Time not updated on expiration shift
Former-commit-id: 03cd1e8dcf20d6e68b70667d1f808860cb027d32
|
2018-08-15 14:21:22 +08:00 |
|
Matthew Cale
|
334c4151df
|
Fixed some minor grammar issues
Former-commit-id: 190016fd2bd2f779a3602ed7bacda526677a2c8a
|
2018-08-14 10:30:44 -05:00 |
|
Gerasimos (Makis) Maropoulos
|
f6436f2af4
|
https://github.com/kataras/iris/issues/1061
Former-commit-id: 4324e81ea94ef917ce39005b6038a6819bb63258
|
2018-08-14 16:29:04 +03:00 |
|
Gerasimos (Makis) Maropoulos
|
20c0bbe9ba
|
Release stable version 10.7 - HISTORY.md#sat-11-august-2018--v1070
I want to thank you once again for the unwavering support and trust you have shown me
Former-commit-id: fa0be6bf5ca2f04e03e452f8cca75a0a7be0b487
|
2018-08-11 23:58:49 +03:00 |
|