1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-27 00:41:28 +00:00
Commit Graph

3846 Commits

Author SHA1 Message Date
Sergey Lanzman
3e37b97549 temple parse error write in log as trace. change to error 2017-03-14 12:55:40 +02:00
astaxie
206f736819 Merge pull request #2496 from eyalpost/develop
Don't panic during AddViewPath if adding the same path twice
2017-03-14 12:54:48 +08:00
Eyal Post
24d4a27842 Don't panic during AddViewPath if adding the same path twice 2017-03-13 08:46:57 +02:00
astaxie
46f3ea4f43 Merge pull request #2494 from miraclesu/develop
validation: fix email valid
2017-03-12 22:26:25 +08:00
miraclesu
c9cc642d37 validation: amend email test case 2017-03-12 20:27:09 +08:00
miraclesu
b34853f8cc validattion: add test case for email valid 2017-03-12 19:30:23 +08:00
miraclesu
d41f4c0a3a validation: fix email valid 2017-03-12 19:23:46 +08:00
chendingxing
8e46decc8e fix routing bug for splat 2017-03-10 09:28:25 +08:00
astaxie
323a1c4214 Merge pull request #2485 from astaxie/develop
beego 1.8.0
2017-03-06 21:59:04 +08:00
astaxie
c5f838e785 beego 1.8.0 2017-03-06 21:29:41 +08:00
astaxie
f53e98d11b Merge pull request #2348 from hongliang81/develop
Add Aliyun Logger
2017-03-05 22:45:32 +08:00
astaxie
c2f7f3efa7 Merge pull request #2380 from fugr/config
config:fix handle include other.conf
2017-03-05 22:41:45 +08:00
astaxie
1e5051e112 Merge pull request #2381 from chesedo/OrmStrongRelationships
Add strong relationship support to orm
2017-03-05 22:39:45 +08:00
astaxie
fa44ff54bb Merge pull request #2479 from marianofevola/develop
Fix typo
2017-03-05 22:07:08 +08:00
astaxie
4c6de379e0 Merge pull request #2480 from ysqi/fix
Fixed #2456 and strengthen bind
2017-03-05 22:06:46 +08:00
ysqi
6d997366ed Fixed 2456 and strengthen bind 2017-03-04 20:23:55 +08:00
Mariano Fevola
e0250e2871 Fix typo 2017-03-03 16:24:02 +00:00
astaxie
3d629e7320 Merge pull request #2468 from antony66/ssdb_cache_fix_is_exist
Fixes issue #2467 with ssdb cache IsExist
2017-02-27 18:58:53 +08:00
Anton Khalikov
74045090cc This fixes issue #2467 with ssdb cache IsExist 2017-02-27 14:14:16 +05:00
Guohua Ouyang
49fffe3ebe Parse form time by its length
Fix #2451

Signed-off-by: Guohua Ouyang <guohuaouyang@gmail.com>
2017-02-27 14:43:16 +08:00
astaxie
50e294be32 fix the broken test 2017-02-27 09:41:15 +08:00
astaxie
b235b48de4 Merge branch 'develop' of https://github.com/astaxie/beego into develop 2017-02-26 22:21:37 +08:00
astaxie
28011a5835 fix #2462 2017-02-26 22:20:11 +08:00
astaxie
b03b0779dc Merge pull request #2455 from jyk1987/develop
Improve json coding performance
2017-02-25 19:01:12 +08:00
jiayukun
393e4c4969 Improve json coding performance 2017-02-22 17:38:26 +08:00
astaxie
1d49a4bcbd Merge pull request #2417 from eyalpost/develop
support for multiple view paths
2017-02-13 12:37:17 +08:00
Eyal Post
fc2c0f4fba Don't allow AddViewPath after beego run 2017-02-11 22:00:30 +02:00
astaxie
2117aecf65 Merge pull request #2428 from awengo/master
Add http methods
2017-02-11 00:31:43 +08:00
awengo
8a2b697625 Add http methods 2017-02-10 17:45:47 +09:00
astaxie
be586572e0 Merge pull request #2423 from ansiz/master
Add config field EnableErrorsRender
2017-02-10 13:19:20 +08:00
astaxie
4e047bd483 Merge pull request #2427 from code1986/develop
Develop
2017-02-10 13:17:21 +08:00
liming
db67ffbb94 1.simplify reading and writing file code
2.add apiauth test
2017-02-10 09:35:23 +08:00
astaxie
90b03d34cc Merge pull request #2421 from code1986/develop
close mysql connection
2017-02-09 14:36:39 +08:00
liming
872a964145 1.add "defer f.close()" in SessionRead to fix file handle leak if DecodeGob failed
2.rewrite SessionRegenerate
2017-02-09 14:18:30 +08:00
liming
dade92d98b close mysql connection 2017-02-09 14:16:23 +08:00
Eyal Post
dfa74faf43 support for multiple view paths 2017-02-07 22:18:33 +02:00
astaxie
95562cff41 Merge pull request #2406 from xqbumu/patch-1
fix the bug to prevent rewrite t
2017-02-07 11:07:37 +08:00
xhzhang
9b714a7518 Add config field EnableErrorsRender
Add config field EnableErrorsRender to disable errors output
  with the template data, sometimes we do not want errors output
  with it even in dev mode, especially in API projects.
2017-02-06 12:33:15 +08:00
astaxie
2a660820c9 Merge pull request #2389 from amrfaissal/feature-env-support
Package env for working with environment variables inside Beego
2017-01-23 21:15:06 +08:00
astaxie
b55e20ac60 Merge pull request #2395 from duyazhe/fix_bug_orm_ne
fix filter with __ne bug
2017-01-23 21:12:58 +08:00
astaxie
b0dcb5b91d Merge pull request #2400 from kerwin/master
Add GetCond func to querySet
2017-01-23 21:12:29 +08:00
kerwin
5c76f62103 Add GetCond func to querySet 2017-01-18 17:04:23 +08:00
Faissal Elamraoui
126dbdae2f use BeeMap instead of a regular map 2017-01-16 10:08:53 +01:00
杜亚哲
24d8290a3f fix filter with __ne bug 2017-01-16 10:32:33 +08:00
Faissal Elamraoui
957c0630c0 moved the env package to config/ 2017-01-14 10:15:02 +01:00
卜木
e32d173b0d fix the bug to prevent rewrite t
the t have paresed in line 212.
2017-01-14 15:03:49 +08:00
Faissal Elamraoui
fbc9f8e640 Package env for working with env variables inside Beego
The package env makes it trivial to work with environment variables.
It allows getting values with defaults as a fallback.
New ENV variables can be set safely on the current process environment.
2017-01-13 18:10:25 +01:00
chesedo
82d2ace3bd Add strong relationship support to orm 2017-01-11 20:16:38 +02:00
fugr
3fa7fc6e41 config:fix handle include other.conf
When include other.conf,other.conf is either absolute directory or under beego in default temporary directory(/tmp/beego).
maybe replace by current directory is better.
2017-01-11 18:55:53 +08:00
Faissal Elamraoui
d1b58a00ce Merge pull request #2373 from fugr/config
avoid creating tmp files to read/parse config
2017-01-11 09:34:57 +01:00