Commit Graph

314 Commits

Author SHA1 Message Date
John
c578df06a3 fix issue in unit testing case of package gfile 2020-03-16 20:51:19 +08:00
John
8ed3cf9c97 fix issue in unit testing case of package gcdg 2020-03-16 20:46:03 +08:00
John
d716037caa improve package gcfg adding default configuration file searching for instance 2020-03-15 19:56:07 +08:00
John
74be9fac18 add file rotation feature for package glog; improve gpool/gfpool; fix issue in gfile.MTimeMillisecond 2020-03-15 19:32:26 +08:00
John
0a92df691b improve package gpool/gfpool; donator updates 2020-03-14 17:12:44 +08:00
John
4732bf46ad add Context map for internal context workflow parameter exchanges for ghttp.Request 2020-03-08 22:53:20 +08:00
John
6665d62e7e improve package gfile 2020-03-07 20:28:00 +08:00
John
a34ca0ff4b improve uploading file feature for ghttp.Server; improve package gfile/gstr/gdebug 2020-03-07 19:31:33 +08:00
John
93d0760898 add GetPage function for ghttp.Request 2020-03-06 11:01:03 +08:00
John
d8a7e36478 improve router feature for ghttp.Server 2020-03-04 17:29:23 +08:00
John
bb1c27c36a add more unit testing cases for glog 2020-02-26 23:26:24 +08:00
John
42fd583bfd add more inernal logging points for core components 2020-02-24 21:09:19 +08:00
John
d8ef8a1f5d add gf.debug options and GF_DEBUG env control params for internal logging feature 2020-02-22 14:51:44 +08:00
John
34e7c5f809 rename grand.Str to grand.S; add different function Str for grand 2020-02-21 00:01:27 +08:00
John
89f869dd44 remove internal logging for gsession.StorageFile; improve example codes for CORS feature of ghttp.Server 2020-02-16 23:00:42 +08:00
John
7443246e05 add gtime.TimeWrapper 2020-02-16 18:07:05 +08:00
John
36403fdc08 improve configuration for mssql 2020-02-16 16:25:03 +08:00
John
0317f6812e add more unit testing cases for gtime 2020-02-16 15:11:21 +08:00
John
19755ad233 improve gcfg 2020-02-14 21:57:35 +08:00
John
88684ca00a add panic if internal watcher creation fails for gfsnotify; improve codes and change comment from chinese to english for gdb 2020-02-10 20:37:53 +08:00
John
1e45bf93d8 remove error printing when decoding error in communication feature of gproc 2020-02-06 19:21:17 +08:00
John
e8dd3979b6 add more unit testing cases for ghttp/gview 2020-02-06 15:17:10 +08:00
John
4d2b244319 fix issue in gres.UnpackContent; fix issue in gtime.NewFromTimeStamp 2020-02-04 17:09:18 +08:00
John
4c3af63076 improve time string parsing for invalid datetime 2020-02-01 20:14:24 +08:00
John
7d7b242968 Merge branch 'master' of https://github.com/gogf/gf 2020-01-21 15:42:19 +08:00
John
202419202f improve logger feautre, add unit testing cases for ghttp.Server; add SetDefaultLogger function for glog 2020-01-21 15:42:08 +08:00
John Guo
55078beed1
Merge pull request #484 from chikaku/remove_redundant
Remove redundant code in gsession
2020-01-21 15:40:35 +08:00
chikaku
d9f4e6eaa6 remove redundant code in gsession 2020-01-21 14:55:08 +08:00
John
2ba0913bea comment update for gtimer 2020-01-21 14:46:23 +08:00
John
7df53ff55e rename all timestamp function names from *Second to Timestamp* 2020-01-20 14:14:11 +08:00
John
f2af08270b improve gproc 2020-01-19 20:42:21 +08:00
John
d9c7224861 readme updates 2020-01-18 22:21:37 +08:00
John
872d674182 fix issue in database 'time' type support in package gdb 2020-01-15 21:23:40 +08:00
John
b7d194cf52 improva gcmd.Parser/gres 2020-01-15 09:36:58 +08:00
John
edf2366296 improve gzip feature for gcompress; add gzip compression for package gres 2020-01-15 00:15:56 +08:00
John
f662ff8051 add pprof unit testing case for ghttp; reame updates 2020-01-12 22:26:07 +08:00
John
afadbc6621 improve genv.Remove/gproc.Kill 2020-01-10 22:32:07 +08:00
John
ca546fc30b why the goland auto removed my genv import? 2020-01-10 09:39:54 +08:00
John
7c7c168c3d improve gproc.SearchBinary 2020-01-09 23:05:03 +08:00
John
16f0bb96db improve strict parsing feature for gcmd 2020-01-08 23:06:01 +08:00
John
81fd3d06bb make parser default unstrict for gcmd 2020-01-08 19:30:56 +08:00
John
f2190e50b2 improve unit testing for gdb 2020-01-06 20:43:59 +08:00
John Guo
167d58490b
Merge pull request #455 from gnever/191229_gfile_add_readline_mst
Add ReadLines and ReadByteLines read file content line by line
2020-01-06 17:52:41 +08:00
John
bec9f5a847 add buildin function 'concat' for gview 2020-01-05 19:55:17 +08:00
John
344f232c36 add Timestamp*Str functions for gtime; improve unit testing cases for gfile 2020-01-02 21:29:06 +08:00
John
27b677b0c0 improve Map converting feature for gconv; improve package gproc for local shell searching; improve JSON/XML response for ghttp.Response 2020-01-02 19:45:41 +08:00
John
fe5d2e5685 improve parameter parsing feature for ghttp.Request 2020-01-01 14:18:00 +08:00
xubin.gao
d6e6ddf996 Add gfile.ReadLines and gfile.ReadByteLines read file content line by line 2019-12-29 19:24:56 +08:00
John
5dbda8aedc fix issue in unit testing codes in gfile 2019-12-29 14:15:17 +08:00
John
134e4cf28f improve gfile.CopyDir function; add Model function for gdb.Model 2019-12-28 13:55:05 +08:00
John
56a85abef7 add AutoEncode feature for gview 2019-12-26 11:03:59 +08:00
John
80c6ceaf26 fix issue 437 2019-12-25 21:22:06 +08:00
John
a10f428715 add Iterator* functions for garray; add ReplaceDir*/ReplaceFile* functions for gfile; remove gfile.Replace/ReplaceFunc functions 2019-12-25 20:56:39 +08:00
John
922e720d63 improve gdb/ghttp/gins; fix issue in gstr 2019-12-19 15:14:05 +08:00
John
5f2be10563 improve gdb/gtime 2019-12-17 21:06:34 +08:00
John
4996755f11 improve gcmd.Scan* 2019-12-14 22:48:53 +08:00
John
e33230a88f add package gbuild 2019-12-14 17:01:27 +08:00
John
795c7395e6 fix data race issue in unit testing cases for gtcp 2019-12-13 17:40:29 +08:00
John
458318d374 improve prefix and word quote feature for gdb; merge develop 2019-12-12 23:54:07 +08:00
John
87295ef1fe improve process communication feature for gproc; add more slice converting functions for gconv 2019-12-11 21:22:41 +08:00
John
34ef0ea792 add prefix feature for gdb 2019-12-10 21:14:15 +08:00
John
add7dd5a45 merge develop 2019-12-09 23:22:49 +08:00
John
e40894ca45 add IsServiceHandler for ghttp.RouterItem 2019-12-09 23:19:39 +08:00
John
28825f5395 add gdebug.BuildInfo function; improving gproc 2019-12-09 21:53:44 +08:00
John
6ca5141020 some improving 2019-12-08 22:55:32 +08:00
John
be15f85eae remove sql.ErrNoRows error for select functions for gdb; improve configuration feature for gdb/glog/gview 2019-12-04 16:04:52 +08:00
John
3e27ea0259 change duration parameter type from interface{} to time.Duration for gcache/gfcache 2019-12-04 14:42:09 +08:00
John
2e2363bb41 change routergroup parameter name 'g' to 'group' for unit testing cases of ghttp 2019-12-02 23:00:48 +08:00
John
fcba650348 add more unit testing case for gview 2019-12-02 20:27:21 +08:00
John
40570cdb03 change logger configuration name from 'logging' to 'logger' in gins 2019-12-02 19:55:45 +08:00
John
0cce858641 improve configuration feature for ghttp.Server/gview/glog 2019-11-28 23:19:37 +08:00
John
bb45d8d578 improve template cache feature for gview 2019-11-28 14:29:58 +08:00
John
7e43aa6b9d improve parameter parsing for ghtto.Request; add configuration feature for gview 2019-11-28 11:18:09 +08:00
john
1deb3510f0 improve gerror, ghttp for error stack logging; improve custom view feature for ghttp.Request 2019-11-20 18:45:09 +08:00
john
ad540f7c25 update travis for adding mysql password; add custom view feature for ghttp.Response 2019-11-20 12:09:26 +08:00
John
a4f191c1c6 fix issue in gdb.Model for repeated condition statements; remove concurrent safety feature of gview; add default template file feature for gview 2019-11-19 21:50:17 +08:00
John
43531c2680 improve glog for debug configuration; add GetInt*/GetUint* functions for ghttp.Request 2019-11-19 17:26:06 +08:00
John
635f5d36fd improve log feature of ghttp.Server; remove trace for Notice/Warning functions for glog 2019-11-15 22:50:31 +08:00
John
d7b0228e9e add build-in function 'replace' for gview 2019-11-07 20:56:17 +08:00
John
0e62510c6f improve configuration feature, add instance feature for package glog; add package guuid for UUID feature 2019-11-06 20:22:20 +08:00
John
6c54e73dbd add example for memory storage og gsession 2019-11-05 17:33:06 +08:00
John
21abe62633 improve gfsnotify; add cache for tempalte file content 2019-11-04 22:42:49 +08:00
John
e30b2b0732 improve gsession/gmap/gtree 2019-11-04 21:26:16 +08:00
John
dcb74ee9df comment update 2019-11-01 20:36:09 +08:00
John
82bf21e831 improve gfsnotify 2019-11-01 15:31:26 +08:00
John
66355354fc improve gfsnotify/gview and container 2019-10-31 23:37:33 +08:00
John
8b5ab846b2 improve unit test case for gmutex 2019-10-30 23:01:24 +08:00
John
7225e49aa0 add package intlog for GF internal logging usage; improve redis storage feature for gsession 2019-10-29 16:45:42 +08:00
John
14e9deb254 add more unit test cases for gsession 2019-10-29 10:01:05 +08:00
John
a0722ed51f add redis session support for gsession 2019-10-28 20:48:52 +08:00
John
e9ace9b17a update comment for grpool/glog 2019-10-28 17:16:50 +08:00
John
056d6ebbd9 improve interface design for gsession.Storage 2019-10-28 16:07:01 +08:00
John
f1b7cb37c6 add configuration feature for glog 2019-10-26 10:58:07 +08:00
John
cf34d7bd56 fix issue in gconv.Interfaces; improve storage interface for gsession 2019-10-25 13:49:03 +08:00
John
d4051df5b6 improve gdb/gstr/gconv/garray 2019-10-21 19:13:25 +08:00
John
500efb5601 fix issue in template for ghttp.Server 2019-10-17 20:31:03 +08:00
John
97fe8235da fix issue in session expiring for file storage of gsession; add Pop/Pops functions for gset/gmap 2019-10-16 23:33:06 +08:00
John
3ac0a66887 improve unit test cases for gspath 2019-10-13 21:42:04 +08:00
John
76a9f4ca14 fix security issue in static file feature for ghttp.Server 2019-10-12 23:56:03 +08:00
John
4e19fbc5fb add separate put/delete functions for ghttp.Request 2019-10-01 09:06:35 +08:00
John
35ad4d869f fix issue in cycle import for gtime 2019-09-30 15:51:15 +08:00
John
39d654e3f2 update comment for gtime 2019-09-30 15:26:32 +08:00
John
bb6fed3dc2 add UnmarshalJSON function and corresponding unit test cases for package gtype 2019-09-29 20:12:59 +08:00
John
b830f9b96d improve ghttp.Server.Request for parameter retrieving; add Option feature for gdb; update example for hook feature of ghttp.Server 2019-09-29 14:27:09 +08:00
John
36c2648be8 improve ghttp.Response; move gflock to new repo 2019-09-24 20:19:18 +08:00
John
3218c89f17 improve gfile/gstr/ghttp 2019-09-23 16:21:19 +08:00
John
02e467fb57 rename MapStruct* functions to MapToMap* for gconv and according packags 2019-09-19 23:23:41 +08:00
John
62f66b4fec remove unnecessary stack trace of gf for stack printing 2019-09-19 13:13:39 +08:00
John
5d72a5b5ae improve gcmd 2019-09-16 20:57:43 +08:00
john
1665d92136 improve session expire algorithm for gsession 2019-09-15 12:17:44 +08:00
john
f128cb9f61 improve session storage interface for gsession 2019-09-15 11:30:38 +08:00
john
8281d9cdd1 improve gfile.MainPkgPath; update RELEASE.MD 2019-09-14 00:17:49 +08:00
John
141bee9c49 add ConfigByMap function for ghttp.Server; improve gsession for file storage 2019-09-13 20:49:16 +08:00
John
aa44c0fb11 improve session for ghttp.Server; improve i18n for gview 2019-09-12 00:00:59 +08:00
John
79e2d30849 improve gsession for file storing 2019-09-11 23:26:38 +08:00
John
006054d13a fix issue in session for ghttp.Server 2019-09-11 22:57:29 +08:00
John
b39d653fe9 add package gsession; mv gkvdb to new repo 2019-09-11 21:19:45 +08:00
John
2ed1854f0c improve gres with file separator replaced to / 2019-09-10 14:21:11 +08:00
John
7f943c6b5f improving gview with i18n 2019-09-09 22:56:54 +08:00
john
77a727e1d7 improve i18n with gview 2019-09-08 21:12:11 +08:00
John
96106ace92 remove deprecated functions and fix corresponding unit test cases 2019-09-06 17:59:55 +08:00
John
13e528abb6 remove deprecated functions and fix corresponding unit test cases 2019-09-06 16:59:38 +08:00
John
0d5dfe59b9 remove deprecated functions 2019-09-06 16:44:40 +08:00
John
d63c2882fd update unit test case for gfile.IsEmpty 2019-09-05 20:18:49 +08:00
John
952eb7df15 add Scan/Scanf functions for gcmd; improve gfile.IsEmpty 2019-09-05 20:00:01 +08:00
John
dfc76ddb76 add IsEmpty function for gfile 2019-09-05 19:22:11 +08:00
John
b0cddc29e4 add more functions for gcmd 2019-09-05 15:16:25 +08:00
John
6cf4bf81e5 improve gcmd with arguments parser 2019-09-05 11:38:36 +08:00
John
e4d34abd7e fix unit test cases for ghttp/gres 2019-09-04 19:23:19 +08:00
John
16103c43eb fix unit test cases for ghttp/gres 2019-09-04 19:10:15 +08:00
John
7fad4b686c improve gcompress/gres for packing files 2019-09-03 23:18:54 +08:00
John
cd00ac446b improve CORS feature for ghttp.Server 2019-09-03 17:18:16 +08:00
John
e2906fba0b improve type conversion for gdb 2019-09-03 00:06:24 +08:00
John
8f1fd259d4 Merge branch 'master' of https://github.com/gogf/gf 2019-09-02 19:06:53 +08:00
John
269ddb04af fix issue in gfile.Replace* 2019-09-02 19:05:32 +08:00
john
55addaa8ea improve gres and add more unit test cases for gres 2019-09-01 22:14:31 +08:00
john
6ccc4d119f improve export data as hex for gres 2019-09-01 21:34:15 +08:00
John
15a6680833 add package gi18n 2019-09-01 00:30:01 +08:00
John
6c61704e60 adding package gi18n 2019-08-31 18:04:12 +08:00
John
33f2ae5fc4 fix spell issue of const names for gproc 2019-08-30 21:07:46 +08:00
John
ee89a06b3e improve model feature 2019-08-30 20:29:12 +08:00
John
b7f67e3162 add StackWithFilter function for glog, and improve gdb/ghttp 2019-08-26 20:09:24 +08:00
John
1a20edc0b0 improving gdb and glog 2019-08-26 19:39:04 +08:00
John
f80ba1473e fix issue in stack skip feature for glog; fix issue in slice parameter for gdb 2019-08-24 23:08:17 +08:00
John
51a156420d improve gres for empty path passed 2019-08-19 22:54:37 +08:00
John
c92323c681 gofmt 2019-08-19 22:42:31 +08:00
John
10e03eef3b add resource feature for gcfg 2019-08-19 21:02:44 +08:00
John
e151055521 improve resource feature for ghttp/gview 2019-08-19 20:17:13 +08:00
John
e58384d815 update example for gres 2019-08-16 00:37:12 +08:00
John
ab381dacfe add resource feature support for gview 2019-08-16 00:29:14 +08:00
John
25746e9844 adding gres 2019-08-14 22:18:31 +08:00
John
6113df2b3e adding gres 2019-08-14 22:03:52 +08:00
John
dafc79bf80 adding gres 2019-08-14 00:13:42 +08:00
John
9ae537cafc adding gres 2019-08-13 21:06:11 +08:00
John
162df6b250 fix issue in number overflow from int64 to int for ghttp.Session/ghttp.Cookie/gcache 2019-08-13 20:15:09 +08:00
John
12f28dfc95 improving gtree/gres 2019-08-13 13:45:01 +08:00
john
7ecc47e127 adding gres package for resource feature 2019-08-10 23:36:38 +08:00
john
fda345577a add package gdebug; improve gconv/gfile/gset 2019-08-09 20:05:36 +08:00
john
3af3fd1428 fix issue in gset.Pop; improve internal/debug 2019-08-09 09:51:52 +08:00
John
7172ae0232 fix issue in invalid error stacks for glog; improve internal/debug and gutil for stack printing 2019-08-08 22:58:49 +08:00
John
352e4c088a improve gcfg: it returns all values if pattern is '.'; add more functions for gcfg 2019-08-07 16:58:01 +08:00
John
d188fbdf5a improve gyaml with gopkg.in/yaml.v3; update unit test cases for gfile/gyaml/gtime/garray 2019-08-01 17:12:58 +08:00
John
06c16bf560 remove thirdparty diectory, add go.mod for package dependences 2019-08-01 14:07:25 +08:00
John
b01add2925 update project structure 2019-07-29 21:01:19 +08:00