redfoxli
b36afadbdc
close socket when http client request over
...
To avoid a large number of TIME_WAIT in server which http client talk with
2016-04-22 13:54:55 +08:00
astaxie
e89f562396
Merge pull request #1897 from yuyongsheng/develop
...
add/get session id into/from http header, check the session name in http header
2016-04-21 13:04:28 +08:00
yuyongsheng
5aa085bf41
1. remove the invalid comments.
...
2. allow the user to config "Enable" store/get sessionId into/from http header
3. allow the user to config "Enable" get sessionId from Url query
4. when enable sessionId in http header, check the sessionName format as CanonicalMIMRHeaderKey, then panic if not.
2016-04-21 09:57:44 +08:00
astaxie
70f3f6b8b1
Merge pull request #1883 from JessonChan/config_improve
...
Config improve
2016-04-20 13:19:47 +08:00
astaxie
86e18bf6f9
Merge pull request #1882 from miraclesu/fix/orm_multi_insert
...
orm: fix multi insert panic
2016-04-20 13:06:47 +08:00
astaxie
14159eaa7e
Merge pull request #1891 from gitchs/develop
...
fix spell error
2016-04-20 09:49:11 +08:00
Leon Chan
df27c96102
fix spell error
2016-04-18 19:37:38 +08:00
JessonChan
5ac254bf61
ut bug fixed
2016-04-18 19:18:46 +08:00
JessonChan
423f2dad35
list the config to map
2016-04-18 19:16:39 +08:00
JessonChan
203ab3eba8
ut fix
2016-04-18 18:41:40 +08:00
JessonChan
0c32255d14
config test
2016-04-18 17:45:39 +08:00
miraclesu
903e21bef2
orm: add test case for InsertMulti
2016-04-13 20:22:27 +08:00
miraclesu
3a3f70027c
orm: fix panic multi insert when slice lenght is 1 & the value is pointer
2016-04-13 20:14:02 +08:00
JessonChan
4cd2408248
log to Stderr
2016-04-13 19:41:07 +08:00
JessonChan
cb0c006cfa
add session config
2016-04-13 19:37:55 +08:00
JessonChan
ce4fc7bfcd
simplify the value assign
2016-04-13 17:51:54 +08:00
astaxie
002dcaab23
Merge pull request #1880 from JessonChan/log_rotate_fix
...
Log rotate fix
2016-04-13 09:54:41 +08:00
JessonChan
abaa1bbcac
file rotate file test
2016-04-13 09:05:16 +08:00
astaxie
314a447d57
Merge pull request #1879 from miraclesu/feature/orm_text
...
orm: use `text` as postgres default type
2016-04-12 23:19:22 +08:00
miraclesu
5185816942
orm: use text
as postgres default type
2016-04-12 21:19:43 +08:00
JessonChan
22617aeb13
file rotate name fixed
2016-04-12 15:05:35 +08:00
astaxie
9c400778d3
Merge pull request #1863 from JessonChan/xsrf_fix
...
Xsrf fix
2016-04-12 14:26:20 +08:00
astaxie
f6ad2cf848
Merge pull request #1875 from miraclesu/feature/orm_json
...
orm: add json & jsonb type support
2016-04-12 14:25:54 +08:00
astaxie
7906b18d89
Merge pull request #1864 from yoki123/patch-2
...
Update README.md
2016-04-12 12:02:04 +08:00
miraclesu
99f1e6c8b5
orm: fix golint
2016-04-12 11:00:31 +08:00
miraclesu
e95bef1331
orm: add test case for json & jsonb type support
2016-04-12 11:00:31 +08:00
miraclesu
657744efb1
orm: add json & jsonb type support
2016-04-12 11:00:31 +08:00
astaxie
6da765c465
Using a different PostgreSQL Version
2016-04-11 23:12:35 +08:00
astaxie
1cac38b664
show postgres versionn
2016-04-11 21:19:10 +08:00
astaxie
ba3a1f8457
update go vet
2016-04-11 13:15:14 +08:00
astaxie
d7f41ccd0c
update vet
2016-04-11 12:51:44 +08:00
astaxie
881d010c01
upgrade swagger from 1.2 to 2.0
2016-04-11 11:56:43 +08:00
Yoki
528f273e58
Update README.md
...
fix url
2016-04-08 14:28:45 +08:00
JessonChan
53d680a493
rand func modify
2016-04-08 14:24:23 +08:00
JessonChan
ed0e6419f0
context xsrf test
2016-04-08 14:07:39 +08:00
JessonChan
a99c0d4025
context xsrf test
2016-04-08 14:04:25 +08:00
JessonChan
301dcfb626
context xsrf bug fixed
2016-04-08 14:04:10 +08:00
astaxie
6362dc397a
Merge pull request #1856 from b055/develop
...
added functionality for column type time
2016-04-06 09:25:46 +08:00
astaxie
813f47fd41
gofmt test files
2016-04-05 15:38:42 +08:00
astaxie
933ac0f369
Merge pull request #1858 from ysqi/issue
...
fix the issue #1850,the source of the problem is PR #1805
2016-04-05 09:06:14 +08:00
ysqi
885d45db05
fix the issue #1850,the source of the problem is PR #1805
2016-04-04 21:32:43 +08:00
Ivan Cadri
d49c7f96cb
added functionality for column type time
...
updated the model_fields to cater for the time field type
2016-04-03 16:58:19 +02:00
astaxie
ebdf4412b3
Merge pull request #1848 from JessonChan/template_fix
...
make template execution be expected
2016-04-01 21:03:39 +08:00
JessonChan
8ec6dd93cf
make template execution be expected
2016-04-01 18:10:00 +08:00
astaxie
fe4fa6a095
Merge pull request #1636 from ysqi/environmentVar
...
Support get environment variables in config
2016-04-01 13:50:38 +08:00
astaxie
ccc84dd8eb
Merge pull request #1762 from saturn4er/htmlEngines
...
Implemented possibility to add custom template engines
2016-03-30 16:43:39 +08:00
astaxie
734bbb3337
remove some space
2016-03-30 15:48:38 +08:00
astaxie
caa404cec1
Merge pull request #1840 from youngsterxyf/develop
...
To support `go run`
2016-03-30 15:46:47 +08:00
astaxie
52fbab329d
Merge pull request #1844 from mishudark/master
...
delete not used variable (status int) in output.go functions
2016-03-30 15:44:32 +08:00
astaxie
8ce9f69b4d
Merge pull request #1843 from JessonChan/beelog_bug_fix
...
Beelog bug fix
2016-03-30 15:44:20 +08:00