1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 17:20:50 +00:00
Commit Graph

3875 Commits

Author SHA1 Message Date
Wenkai Yin
793047097c Abort with the pre-defined status code when handling XSRF error
As the status codes(422 and 417) are set in the error map, abort with them directly to active the pre-defined error handlers

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-11-19 18:55:54 +08:00
astaxie
1923b8c767
Merge pull request #3841 from HKail/develop
添加16开头手机号验证
2019-10-23 22:22:52 +08:00
Allen
fb640f0075 更新16开头手机号的正则测试 2019-10-22 17:07:22 +08:00
Allen
241f10b429 添加16开头手机号验证,162电信,165移动,166/167联通。 2019-10-22 16:58:05 +08:00
Allen
b8d626bbea 添加16开头手机号验证,162电信,165移动,166/167联通。 2019-10-22 16:28:19 +08:00
astaxie
2a6ceca861
Update README.md 2019-10-10 11:23:19 +08:00
astaxie
10236b9f2d
Merge pull request #3814 from cloudzhou/patch-2
leak opened file
2019-10-10 00:48:24 +08:00
dbt4516
b3ae5d4ac6
Update file.go
According to issue#4759 (https://github.com/golang/go/issues/4759) filepath.Walk function in golang cannot handle symbolic path, meanwhile symbolic path for log directory is pretty common used. In such scenario this deleteOldLog function will fail without any error log. Get the real location of the log directory before using walk function can fix this.
2019-10-09 15:53:22 +08:00
wanghz
77fc8e4e38 According to issue#4759 (https://github.com/golang/go/issues/4759) filepath.Walk function in golang cannot handle symbolic path, meanwhile symbolic path for log directory is pretty common used. In such scenario this deleteOldLog function will fail without any error log. Get the real location of the log directory before using walk function can fix this. 2019-10-09 15:33:38 +08:00
cloudzhou
5a5482c77f
leak opened file
should defer file.Close()
2019-09-27 19:27:44 +08:00
astaxie
11774c87a5 update version 1.13 2019-09-19 00:19:33 +08:00
didi
6d47b4a2e0 GetMapData change to read lock 2019-09-09 17:44:10 +08:00
Dennis
8395a26061
Merge pull request #3801 from DennisMao/develop
fix annotation on orm/utils #3777
2019-09-09 00:46:36 +08:00
Razil
4348356d0a fix annotation on orm/utils 2019-09-09 00:47:20 +08:00
colstuwjx
b551949a2b Add PrintStack() while orm abnormally exit. 2019-07-31 14:08:58 +08:00
nuczzz
32cd76396d fix graceful bug 2019-07-27 18:54:13 +08:00
astaxie
5620608418
Update README.md 2019-07-21 22:58:28 +08:00
astaxie
32ee728078
Merge pull request #3586 from astaxie/develop
V1.12.0
2019-07-05 12:26:39 +08:00
astaxie
de7ce2f9b0 v1.12.0 2019-07-05 11:58:41 +08:00
astaxie
d6c2a9fd4b
Merge pull request #3703 from jkylin/develop
email的Attach和AttachFile 的参数检查逻辑有误。len(args) < 1 && len(args) > 2 改为 l…
2019-07-05 11:35:47 +08:00
astaxie
582a4fa34b
Merge pull request #3699 from orgmatileg/develop
router.go: add comment func LogAccess
2019-07-05 11:34:59 +08:00
astaxie
99647986de
Merge pull request #3689 from GeorgeXc/addStmt
Add stmt
2019-07-05 11:34:40 +08:00
BaoyangChai
5bcde306ea Revert "update"
This reverts commit 2909ff3366.
2019-06-28 23:37:32 +08:00
BaoyangChai
2909ff3366 update 2019-06-28 23:23:01 +08:00
BaoyangChai
40078cba2c update 2019-06-28 23:13:18 +08:00
BaoyangChai
5d0c0a03d7 update 2019-06-28 22:56:32 +08:00
hsht
8cfd7f5c19 email的Attach和AttachFile 的参数检查逻辑有误。len(args) < 1 && len(args) > 2 改为 len(args) < 1 || len(args) > 2 2019-06-28 20:09:23 +08:00
Luqmanul Hakim
62d96c2e93 router.go: add comment func LogAccess 2019-06-25 08:04:21 +07:00
astaxie
e844058aed
Merge pull request #3632 from Wusuluren/develop
fix concurrent map access problem on BeegoInput.data
2019-06-18 12:09:34 +08:00
astaxie
1eab6bb32a
Merge pull request #3669 from xfwduke/develop
fix bugs of ParseForm about time in RFC3339 format
2019-06-18 12:08:55 +08:00
astaxie
c265d32c36
Merge pull request #3685 from Anderson-Lu/fix_orm_datarace
fix orm datarace
2019-06-18 12:05:54 +08:00
BaoyangChai
06692c3e27 update 2019-06-17 23:38:07 +08:00
luxueyan
394a73c75f fix orm datarace 2019-06-14 14:43:02 +08:00
Wusuluren
cbcde8bd1f Merge branch 'develop' of https://github.com/Wusuluren/beego into develop 2019-06-09 22:10:22 +08:00
Wusuluren
b17e49e6aa fix concurrent map access problem on BeegoInput.data 2019-06-09 22:09:38 +08:00
BaoyangChai
873f62edff update 2019-06-09 01:19:17 +08:00
BaoyangChai
cc0eacbe02 update 2019-06-08 23:53:42 +08:00
oberontang
649c5c861d fix bugs of ParseForm about time in RFC3339 format 2019-05-31 15:52:19 +08:00
Faissal Elamraoui
206a7ed1fc
Merge pull request #3662 from npu21/develop
fix typos
2019-05-27 11:07:52 +02:00
张勇
3c046a4dbf fix two typos 2019-05-27 16:38:30 +08:00
astaxie
f2be6af2ca
Merge pull request #3658 from priyesh-lb/patch-1
Beego skipping some migrations
2019-05-18 09:38:09 +08:00
astaxie
804b9769e0
Merge pull request #3642 from GeorgeXc/fixBatchUpdate
Fix BatchUpdate not update the auto_now field
2019-05-18 09:28:22 +08:00
astaxie
585df01899
Merge pull request #3635 from edwardhey/develop
Incr和Decr应该改成排它锁,否则在并发的时候会出现非期望的结果值
2019-05-18 09:27:38 +08:00
astaxie
1a529c061c
Merge pull request #3633 from MarxGo/develop
fix:utils.GetGOPATHs() when go version equal or after go1.10
2019-05-18 09:27:08 +08:00
Priyesh
fcacfc08e3
Beego skipping some migrations
Beego skipping some migrations #3657
2019-05-17 16:19:26 +05:30
BaoyangChai
a0ca3d61d6 update 2019-05-08 23:11:57 +08:00
Edward.Yang
39bd40e512 Incr和Decr应该改成排它锁,否则在并发的时候会出现非期望的结果值 2019-05-01 13:10:21 +08:00
Guo
8748de95c7 fix:utils.GetGOPATHs() when go version equal or after go1.10 func does not return defaultGoPATH() 2019-04-30 06:43:25 +08:00
Wusuluren
0939e8e493 fix concurrent map access problem on BeegoInput.data 2019-04-30 00:15:24 +08:00
hwave
6a33feee46
Merge pull request #1 from astaxie/develop
update
2019-04-29 23:19:27 +08:00