Commit Graph

1111 Commits

Author SHA1 Message Date
John
1325a145d8 fix issue in config auto reload of gcfg 2019-03-22 15:08:43 +08:00
John
9bc49c0b29 add logging for error in ghttp.Request 2019-03-22 14:31:02 +08:00
John
8e84e5b0f3 update comment of gredis 2019-03-22 11:22:03 +08:00
John
51bb7a9854 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:15 +08:00
John
62580b5719 add examples for gredis 2019-03-21 23:51:57 +08:00
John
15cfd5ce5c add g.Export 2019-03-21 18:21:53 +08:00
John
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +08:00
John
32f575eddd update unit test of gins 2019-03-21 10:36:24 +08:00
John
fbb4cb3b1c add more unit test cases for gredis 2019-03-21 10:04:53 +08:00
John
c9d2d5e8ab add configuration support for maxIdle/maxActive/idleTimeout/maxConnLifetime of gredis; update gjson.Append/Len functions; add more unit test cases for gredis/gins/gstr/gjson 2019-03-21 00:14:23 +08:00
John
80e0eae6b0 add TLSConfig support for ghttp.Server 2019-03-19 17:48:37 +08:00
John
4e3d735b90 add logging for gcron 2019-03-19 13:58:18 +08:00
John
60e5a7da28 add more unit test cases for grand/gstr 2019-03-18 23:52:25 +08:00
John
5a82d695c1 mv greuseport to a new repo 2019-03-18 13:56:16 +08:00
John
72eeadd9aa Merge branch 'master' into develop 2019-03-17 22:31:15 +08:00
John
0af55794f6 add more unit test cases for gdb 2019-03-17 22:26:41 +08:00
John
25a6c53533 add unit test cases for gfsnotify 2019-03-15 14:54:01 +08:00
John
9f9172c775 update unit test cases of package gconv 2019-03-15 09:05:56 +08:00
John
320e0db417 fix int-overflow issue in gconv.String when converting int64 to string; add more unit test cases for package gconv 2019-03-15 00:22:39 +08:00
John
cb8362d447 update unit test cases of package gins 2019-03-14 23:28:56 +08:00
John
45a83fc53c unit test cases update for package gins 2019-03-14 00:23:46 +08:00
John
3411bd1c1d merge master 2019-03-13 22:41:00 +08:00
John
6ab0a77364 add more defaulr searching paths for g.Config() 2019-03-13 22:12:59 +08:00
John
281bae4116 unit test cases update for package gins 2019-03-13 09:11:50 +08:00
John
218c692fe0 update unit test cases 2019-03-12 23:56:09 +08:00
John
fa69b581e1 update unit test cases 2019-03-12 23:50:30 +08:00
John
bd0baceeca update unit test cases 2019-03-12 23:47:27 +08:00
John
e71c837472 update unit test cases 2019-03-12 23:45:44 +08:00
John
782aaabd07 add more unit test cases for gins; update text/template for gview 2019-03-12 23:26:10 +08:00
John
8ae9276732 add disable cache feature option for package gspath 2019-03-12 00:24:31 +08:00
John
79a3aa5916 add more unit test cases for package gvalid 2019-03-11 22:58:21 +08:00
John
6171c621a7 fix issue in missing customed error messages in package gvalid 2019-03-11 22:33:20 +08:00
John
127fb67185 add session id check in session object initialzing 2019-03-11 16:33:51 +08:00
John
5db039bbce gdb.Model updates, rename Alterable function to Safe, change gdb.Model alterable in default, update Where function to support more cases when using map as its param, add more unit test cases for gdb.Model 2019-03-11 16:14:55 +08:00
John
8a3365d18e ghttp comment updates 2019-03-10 00:39:34 +08:00
John
2ae5b1a4f8 add more unit test cases for ghttp.Server 2019-03-10 00:35:03 +08:00
John
b56679a97c revert g.Map to map[string]interface{}, add g.MapAnyAny 2019-03-09 10:17:21 +08:00
John
991f7c4958 ghttp.Response updates 2019-03-08 19:03:22 +08:00
John
770619c39e update unit test cases og gcron 2019-03-08 18:27:11 +08:00
John
4ad5450b80 gtest updates; remove one unit test case of gconv.Struct 2019-03-08 18:18:29 +08:00
John
49ce7fe885 fix data race issue of gqueue 2019-03-08 17:54:50 +08:00
John
e66f63262b add more unit test cases for ghttp.Server 2019-03-08 17:31:30 +08:00
John
94bd5da68a add map key operator support in Where function for gdb 2019-03-08 11:12:52 +08:00
John
5c638c630a add select in support for slice type of arguments in Where function of gdb 2019-03-08 10:33:36 +08:00
John
a6ec9d7a1c update gdb.Model.Where, orverwrite args if multiple calls Where function 2019-03-08 10:18:38 +08:00
John
22a7ef43ce Merge branch 'master' into develop 2019-03-08 00:21:52 +08:00
John
ebf56a86ab add Alterable function for gdb.Model 2019-03-07 23:53:56 +08:00
John
2ba59e8943 fix issue in gtime convert in package gconv; add Structs/Scan functions for gdb.Model; add GetStructs/GetScan functions for gdb.Base and gdb.TX 2019-03-07 23:36:45 +08:00
John
83be1de04c remove error returns from router registry functions of WebServer; add more unit test cases for WebServer 2019-03-06 15:21:00 +08:00
John
c8251ed82f g.Map updates 2019-03-06 10:38:50 +08:00
John
2335ea0c4d merge master 2019-03-05 21:07:54 +08:00
John
5d874e9063 add example code for gconv.Map; comment updates of gdb 2019-03-05 17:52:34 +08:00
John
f2c080d25f update ghttp.Response 2019-03-05 17:16:21 +08:00
John
975da97b4a fix issue in empty check for nil attribute of struct in package 'empty';add set-cookie support for 302 status in ghttp.Server 2019-03-05 17:06:37 +08:00
John
37617589a6 add more unit test cases for ghttp.Server 2019-03-04 23:51:44 +08:00
John
28abf0c175 add ReplaceI/ReplaceIByArray/ReplaceIByMap case-insensetive replacing functions for gstr 2019-03-04 23:35:06 +08:00
John
13749feab4 add json features '-' and 'omitempty' for gconv.Map, like package 'json' from stdlib; add internal package 'empty', to check empty variable 2019-03-04 22:59:29 +08:00
John
c3b9b8d5ae gconv updates 2019-03-03 00:53:35 +08:00
John
1ad076c522 travis updates 2019-03-03 00:31:16 +08:00
John
55a5532c2e gdb updates 2019-03-03 00:14:20 +08:00
John
f92c1fc527 update CORS feature of ghttp.Response; add more unit cases for ghttp.Server 2019-03-01 23:45:55 +08:00
John
66287c2d0e update the admin feature and unit test cases of ghttp 2019-02-28 23:57:20 +08:00
John
5d37626981 hot fix issue in router registry 2019-02-28 14:07:00 +08:00
John
fa256aec9f add example for layout using template engine; fix issue with config error output in gview when no config used 2019-02-27 22:53:39 +08:00
John
86834c5a15 version and comment updates 2019-02-27 22:17:09 +08:00
John
c2046157d6 add ghttp.Request.GetRawString function 2019-02-27 21:17:56 +08:00
John
cdb2cc89c0 remove password for unit test of gdb 2019-02-27 12:51:48 +08:00
John
4964c09a77 add more unit test cases for gdb 2019-02-27 12:38:12 +08:00
John
ef34b2c9ce gdb updates, add batch operation support for Insert/Save/Replace, change list param type from List to interface{} for Batch* functions 2019-02-27 09:38:10 +08:00
John
9afe242293 Merge branch 'master' into qiangg_gdb_map 2019-02-27 08:52:50 +08:00
John
fdea242b50 Merge branch 'master' into develop 2019-02-26 22:23:24 +08:00
John
7058e4f2c4 fix issue of router group in auto-adding 'index' router for controller and object 2019-02-26 22:21:57 +08:00
John
704a5dbd73 fix issue of "memory leaks" in gfpool 2019-02-26 17:52:50 +08:00
John
fbd4ce8c2e fulfil unit cases of ghttp.Cookie/Session 2019-02-26 17:17:11 +08:00
John
cb3ce71cdc fix issue in ghttp.Session 2019-02-26 14:33:01 +08:00
John
7f44f2f5e4 gdb updates 2019-02-26 14:23:29 +08:00
John
66efbe63f0 add struct support for *Insert/*Save/*Replace/*Update/Where/Data functions 2019-02-26 01:19:01 +08:00
John
49a1308875 ghttp.Session updates 2019-02-25 23:08:26 +08:00
John
4332580c01 disable build-in session variable in template parsing, when it's not necessary 2019-02-25 15:20:57 +08:00
John
0f854e46d8 refact Merge function for garray; add more frequently-used type alias for gf 2019-02-22 09:08:46 +08:00
John
4564f38e1a add PopRands/Rands functions for garray 2019-02-20 19:06:08 +08:00
John
7e06bf6705 Merge branch 'master' into qiangg_garray2 2019-02-20 16:28:24 +08:00
John
3e0a975a88 fix issue in gcron, allow special char '?' for day and week pattern 2019-02-20 16:24:05 +08:00
John
6aa1c5b1eb ghttp updates 2019-02-20 16:07:11 +08:00
John
d780cf64c2 garray updates 2019-02-20 14:18:11 +08:00
John
1fb5a8cd6f comments for glog update 2019-02-20 11:16:10 +08:00
John
8925460718 comment updates of gregex package 2019-02-19 11:19:23 +08:00
John
9797701881 remove Search/InArray functions from gstr package; update custom http status handling logics of web server 2019-02-18 16:12:59 +08:00
John
989d543a1f fix issue with error response status code 200 of web server; ghttp request client updates 2019-02-17 20:45:35 +08:00
John
cfdeb87093 gfile updates 2019-02-15 21:30:35 +08:00
John
74eef34ec2 gtest updates; TODO++ 2019-02-15 08:55:29 +08:00
John
e89a49f39a remove gkafka 2019-02-14 19:24:45 +08:00
John
c00f528098 remove reuseport in ghttp 2019-02-14 15:43:31 +08:00
John
6f02ad60eb hot fix issue in tpl auto update 2019-02-14 13:38:52 +08:00
John
ca6c0791ae fix issue with greuseport in windows 2019-02-03 21:41:32 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
150aa7e2c2 comments update 2019-02-02 15:21:48 +08:00
John
0762fec696 comments update 2019-02-02 15:16:45 +08:00
John
1447496efa comments update 2019-02-02 14:22:32 +08:00
John
6fb9eafef0 garray updates 2019-02-02 09:07:40 +08:00
John
16bde5e9fc gmap updates 2019-02-01 22:25:58 +08:00
John
7b85c44444 add Clone for garray; comments of garray update 2019-02-01 22:00:58 +08:00
John
87d553fca2 greuseport updates 2019-02-01 21:05:56 +08:00
John
ba050d4c86 merge qiangg_reuseport 2019-02-01 20:51:02 +08:00
John
90cd7f49fd greuseport updates 2019-02-01 20:49:02 +08:00
John
29b42290c7 merge master 2019-02-01 20:46:53 +08:00
John
6c6c64bb3b rename category string to text 2019-02-01 20:45:11 +08:00
John
ae7db2cf9f gmap updates 2019-02-01 18:40:48 +08:00
John
1afab62dec fulfil unit test cases for garray 2019-02-01 18:33:53 +08:00
John
4171ca992e add reverse feature for function Sort of normal array; fulfil unit test cases for StringArray 2019-02-01 18:14:12 +08:00
John
e1166a8a80 Merge branch 'master' into develop 2019-02-01 17:55:06 +08:00
John
ae1e075696 fix issue in binSearch of garray 2019-02-01 17:44:58 +08:00
John
74a7f71894 gset/gmap update 2019-02-01 17:30:23 +08:00
John
f2e149d3b3 fulfil unit test cases of gstr 2019-02-01 14:38:45 +08:00
John
92c0bf9cdc fix unit test cases of ghttp 2019-02-01 11:53:10 +08:00
John
020b050fb1 fix unit test cases for gstr/gconv/ghttp 2019-02-01 11:42:25 +08:00
John
08d71cede3 merge qiangg_php 2019-02-01 00:04:34 +08:00
John
be1f6cfbae Merge branch 'master' of https://gitee.com/johng/gf into develop 2019-02-01 00:02:17 +08:00
John
9aa5e139cf fulfil unit test cases of gstr 2019-02-01 00:02:01 +08:00
John
1d5c3d62dd fullfil unit test cases of gset 2019-01-31 21:15:39 +08:00
John
0e611ae94b merge master 2019-01-31 18:14:02 +08:00
John
99577ad874 hot fix gfcache issue 2019-01-31 13:55:53 +08:00
John
908a46d27d gtest updates 2019-01-31 13:00:17 +08:00
John
85677b952f fulfil funcs of gstr/gset/garray; move gstr/gregex to the string category; move gtest to the test category 2019-01-30 21:27:03 +08:00
John
f4773ef1e4 add func ghttp.Group.Common for common http methods(GET/PUT/POST/DELETE) binding; fix issue #IRHB3,#IRHSJ; add more unit test cases for gvalid 2019-01-29 23:01:14 +08:00
John
5eaa6183b5 update benchmark test cases of gregex 2019-01-28 12:03:47 +08:00
John
4036d40c58 add batchSqlResult for gform; TODO++ 2019-01-27 19:44:05 +08:00
John
79cb386d82 reuseport updates 2019-01-27 16:40:16 +08:00
John
09be68831b reuseport updates 2019-01-27 14:25:31 +08:00
John
0ac13c2b81 reuseport updates 2019-01-27 14:14:59 +08:00
John
94ef38e3cc reuseport updates 2019-01-27 03:28:55 +08:00
John
76882ac01c update golang.org/x/sys, add reuseport package 2019-01-27 03:13:20 +08:00
John
c4962ec017 gfpool updates 2019-01-24 20:15:11 +08:00
John
58d60bc899 add json tag support for struct converting of gconv 2019-01-24 15:37:53 +08:00
John
5dd0a78423 ghttp updates 2019-01-24 14:03:48 +08:00
John
141ea7cc2d ghttp updates 2019-01-24 13:50:26 +08:00
John
a488d1dbf7 ghttp updates 2019-01-24 13:40:48 +08:00
John
ec130d0763 RELEASE updates 2019-01-23 21:30:02 +08:00
John
b02205f7cd gpool updates 2019-01-23 17:27:30 +08:00
John
c27bc0023f Merge branch 'master' of https://gitee.com/johng/gf 2019-01-23 15:01:29 +08:00
John
9698a7c5be gpool updates 2019-01-23 15:01:21 +08:00
John
071e2f8bb4 !17 修复where为空时不是1=1的bug
Merge pull request !17 from 张金富/master
2019-01-23 13:46:41 +08:00
John
726d3f7024 update unit tests of gtimer 2019-01-23 13:36:39 +08:00
John
3503aa43b4 gtimer, gmlock updates 2019-01-23 13:30:46 +08:00
John
e865b46304 add console and env values to change the default values of gtimer 2019-01-23 13:01:58 +08:00
John
494f96495e fulfil unit test cases of gtimer 2019-01-23 11:28:57 +08:00
John
7ed2081513 gcron, gtimer updates 2019-01-22 22:07:46 +08:00
John
5110313657 gcron, gtimer updates 2019-01-22 13:50:10 +08:00
John
24990e26c8 gcron, gtimer updates 2019-01-21 22:09:51 +08:00
zhangjinfu
3ca086bcec 修复where为空时不是1=1的bug 2019-01-21 16:26:47 +08:00