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
fugr
6a2ee371a5
avoid creating new file to implements Config
...
There is no need to create new file in ParseData(data []byte) (Configer, error).Tet's make code simply.
2017-01-09 21:04:11 +08:00
astaxie
9266ece7a4
fix the retried
2017-01-05 18:27:23 +08:00
洪亮
09c405990c
Add Aliyun Logger
2017-01-04 15:53:20 +08:00
astaxie
61e694f388
add retry
2017-01-03 22:50:45 +08:00
astaxie
195c9b24eb
Merge pull request #2359 from kbynd/patch-1
...
content-length not set in case EnableGZIP=true
2017-01-02 11:49:11 +08:00
kbynd
2f6da122fd
Update output.go
2017-01-02 09:17:17 +05:30
kbynd
f0d1d7149b
Update output.go
2016-12-31 16:14:38 +05:30
kbynd
96387e9a9b
EnableGZip=true,then content-length header missing
...
This results in responses with Content-Type as gzip as opposed to original content type.
This affects ServeJSON() function.
2016-12-31 16:04:34 +05:30
Faissal Elamraoui
86f6470fb2
Merge pull request #2353 from skariuki/master
...
Fixed typo in orm/models_boot.go
2016-12-29 22:50:41 +01:00
Faissal Elamraoui
d77160dafe
ignore .vscode folder
2016-12-29 22:30:56 +01:00
Kariuki, Stanley (Contractor)
caca5e37ba
fixed typo in models_boot
2016-12-29 12:26:20 -05:00
Faissal Elamraoui
189c73986b
Merge pull request #2351 from amrfaissal/add-safemap-count
...
Add Count method to BeeMap struct
2016-12-29 11:42:47 +01:00
Faissal Elamraoui
fe21305bb3
Removes redundant check if key exists in BeeMap
2016-12-29 11:11:39 +01:00
Faissal Elamraoui
75ec8d33a2
Rewrite safemap_test suite
2016-12-28 12:44:35 +01:00
Faissal Elamraoui
d736d0ca87
Adds Count method to BeeMap struct
...
This adds a Count() method to BeeMap struct that returns the number of
items within the safe map.
2016-12-28 12:44:35 +01:00
astaxie
99093693c8
Merge pull request #2346 from legendtkl/master
...
Modify func camelString() to be more robust
2016-12-26 20:24:49 +08:00
legendtkl
c9c284be27
Modify func camelString to be more robust
...
1. In previous edition, for case "pic_url_1", the func will return
"PicUrl_1", but "PicUrl1" seems to be more reasonable.
2. More test cases please refer to utils_test.go
2016-12-25 21:09:06 +08:00
astaxie
fa12dcf792
Merge pull request #2341 from kabab/content_type
...
Changing content type for template
2016-12-23 23:06:52 +08:00
astaxie
b93f5c6f9c
Merge pull request #2311 from amrfaissal/fix-2310
...
Ability to register pre/post signal handlers
2016-12-23 20:06:25 +08:00
astaxie
f9791c1221
Merge pull request #2319 from mlgd/patch-1
...
Remove a regression on AppPath
2016-12-23 20:03:32 +08:00
Amine KABAB
8fac2d8d58
Don't rewrite content-type
2016-12-14 17:19:31 +00:00
mlgd
e90f4bee1a
Remove a regression on AppPath
...
The application path is incorrect on Windows with the command line "go run". AppPath is assigned to the temp directory instead the folder project
2016-12-09 09:37:10 +01:00