1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 20:00:55 +00:00
Commit Graph

3028 Commits

Author SHA1 Message Date
Terry Ding
94fba0b2aa fix orm fields SetRaw function error judge problem 2017-12-20 14:53:00 +08:00
astaxie
80aa47f605
Merge pull request #2976 from szyhf/develop
Fix #2975
2017-12-19 23:34:17 +08:00
Back Yu
84443b9c05
Fix #2975
修复AccessLog输出会多换一行的bug
2017-12-12 12:21:55 +08:00
astaxie
33be6803a3
Merge pull request #2970 from gcy3y/master
update log.go add GetLevel Function to Log
2017-12-10 20:26:46 +08:00
astaxie
aef2f1c66e
Merge pull request #2971 from PureWhiteWu/fix_typo
fix a typo
2017-12-10 18:47:54 +08:00
Pure White
619cd2d908
fix a typo 2017-12-08 23:01:21 +08:00
GuoChunYang
4613acd88e
update log.go add GetLevel Function to Log 2017-12-08 15:35:12 +08:00
astaxie
bf5c5626ab
Merge pull request #2943 from astaxie/develop
1.9.2
2017-12-06 23:37:36 +08:00
astaxie
0fbbc67c3d
Merge pull request #2961 from zhlicen/master
Add lock while releasing session
2017-12-06 14:44:25 +08:00
astaxie
3e1916ec3c
Merge pull request #2953 from szyhf/develop
Proposal to #2952
2017-12-06 14:43:12 +08:00
astaxie
b068a676dd
Merge pull request #2950 from huhaocc/change_httpmethod_type
Change the type of HTTPMETHOD
2017-12-06 14:42:35 +08:00
HANG ZHOU
ed73bdcfab
Add lock while releasing session
Solve the problem of SessionRead failure while ReleaseSession is in progress
2017-12-05 16:18:56 +08:00
astaxie
ae94b705ea
Merge pull request #2954 from axetroy/master
test: Improve test case for utils/safemap, make it 100% cover
2017-12-01 23:33:46 +08:00
axetroy
08fb921053 test: Improve test case for utils/safemap, make it 100% cover 2017-12-01 01:04:15 +08:00
Back Yu
e67e57f8fb orm: 修复logic enum因为type enum改变而产生的位错位。 2017-11-30 20:26:34 +08:00
Back Yu
b30969704a Proposal to #2952 2017-11-30 18:12:49 +08:00
hao.hu
646acc423e Change HTTPMETHOD type 2017-11-30 01:43:50 +08:00
astaxie
c3a81a23f9 beego 1.9.2 2017-11-27 15:52:31 +08:00
astaxie
103dd22151 remove mysq travis 2017-11-27 15:42:18 +08:00
astaxie
ec6cb43711 fix ci failed 2017-11-27 14:07:05 +08:00
astaxie
84cb9a5986 update to go1.9.2 2017-11-26 14:35:37 +08:00
astaxie
9b8bc2aef7
Merge pull request #2941 from BorisBorshevsky/report-card
add report card to readme.md
2017-11-26 14:32:57 +08:00
astaxie
9710d9e961
Merge pull request #2940 from BorisBorshevsky/golint
fix golint comments
2017-11-26 14:32:40 +08:00
BorisBorshevsky
58bb49a78c add report card to readme.md 2017-11-25 19:23:46 +02:00
BorisBorshevsky
df37739c7d fix golint comments 2017-11-25 19:18:37 +02:00
astaxie
a5dd5d161d
Merge pull request #2659 from ansiz/master
to close issue #1899(redis cache doubt)
2017-11-19 11:13:42 +08:00
astaxie
6827107177
Merge pull request #2706 from fat4lix/bugfix
Fix run controller if it set by RumController and RunMethod in Filterfunc
2017-11-19 11:12:48 +08:00
astaxie
a30a89e57e
Merge pull request #2849 from iclinux/grace-patch
Make parent process exit gracefully.
2017-11-19 11:09:13 +08:00
astaxie
d352e4abcb
Merge pull request #2852 from Radar8/master
validation: fix ErrorMap, added AddError(key, message)
2017-11-19 11:08:31 +08:00
astaxie
a948d4c1e1 set default to apache format 2017-11-19 11:07:57 +08:00
astaxie
b7eb3963f5
Merge pull request #2863 from gadelkareem/develop
Add JSON or Apache access log formatting option to config:  AccessLogsFormat = JSON_FORMAT or APACHE_FORMAT  ref #2738
2017-11-19 11:05:12 +08:00
astaxie
f7afb3cb75
Merge pull request #2878 from silviucm/master
Add the ability to unregister fixed routes
2017-11-19 10:41:40 +08:00
astaxie
348bf51a42
Merge pull request #2914 from AbelZhou/master
Add sys env feature
2017-11-19 10:41:22 +08:00
astaxie
dfea2cc5f3
Merge pull request #2928 from ilylia/develop
add Enum field to Schema
2017-11-19 10:27:11 +08:00
astaxie
532eab8e1d
Merge pull request #2932 from lotus-wu/Branch_v1.9.0
1.Add Mutual HTTPS  Option!
2017-11-19 10:26:59 +08:00
lotus
3872382a4b 1.Add Mutual HTTPS Option! 2017-11-15 22:42:30 +08:00
ilylia
4018693fbd add Enum field to Schema 2017-11-13 14:36:08 +08:00
astaxie
3b829504f6
Merge pull request #2920 from chenpeiyuan/develop
avoid unnecessary read of large log file
2017-11-07 09:35:09 -06:00
陈培远
80fa51468c avoid unnecessary read of large log file
If w.MaxLines is not set, there is no need to calc large log file’s lines. It may takes more than 10mins to calc a 10G file.
2017-11-07 22:58:39 +08:00
Abel
3504d2a4da Add host env feature. 2017-10-31 19:19:14 +08:00
Abel
229d8b9530 Add host env feature. 2017-10-30 13:54:36 +08:00
Silviu Capota-Mera
9536d460d0
Create test file for the route unregistering functionality 2017-10-28 14:49:41 -04:00
astaxie
e211e4839c Merge pull request #2906 from mlgd/patch-1
Update for MySQL timezone detection bug
2017-10-27 09:47:09 -05:00
mlgd
3332dbe595 Update for MySQL timezone detection bug
Use "DefaultTimeLoc" for "al.TZ" default value
Don't set TZ on alias when t.Location() is empty

You can set your MySQL server timezone on main.go init function.
Example :
orm.DefaultTimeLoc, _ = time.LoadLocation("Europe/Paris")
2017-10-26 14:32:42 +02:00
Abel
b9c8c08c03 Add host env feature. 2017-10-26 19:25:05 +08:00
astaxie
663f22d849 Merge pull request #2893 from melotusme/master
Typo fixed
2017-10-23 06:48:46 -05:00
astaxie
fbaa4d1233 Merge pull request #2898 from skOak/swagger
remove omitempty for swagger.Response.Description, because it's Required according to Swagger2.0 Spec
2017-10-23 06:48:22 -05:00
astaxie
7dc8991140 Merge pull request #2894 from skOak/develop
add custom middleware options for beego.Run()
2017-10-23 06:48:03 -05:00
hemin
0ce70b8c99 remove omitempty for swagger.Response.Description, because it's Required according to Swagger2.0 Spec 2017-10-18 22:34:24 +08:00
astaxie
b169ea4b63 Merge pull request #2896 from tinycedar/master
misc: fix typos
2017-10-17 21:22:27 +08:00