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

3723 Commits

Author SHA1 Message Date
“fudali113”
f471ee9025 update orm_test 2016-07-26 12:19:06 +08:00
“fudali113”
182a21172f Optimize the code logic 2016-07-26 11:15:59 +08:00
astaxie
02330c6085 Merge pull request #2062 from Maxgis/feature_static
减少没有必要的代码以及静态前缀前面有/
2016-07-25 22:19:38 +08:00
Maxgis
e951c555e4 Merge branch 'astaxie-develop' into feature_static 2016-07-24 18:01:49 +08:00
Maxgis
6a4ebc67ac merge 2016-07-24 18:01:19 +08:00
Maxgis
33ef34b95d 减少没有必要的代码以及静态前缀前面有/ 2016-07-24 15:29:34 +08:00
“fudali113”
bf17558d06 update “modification hardcode 2 2016-07-22 12:25:30 +08:00
“fudali113”
e0e888ab8f update “modification hardcode 2016-07-22 12:10:37 +08:00
“fudali113”
3583ad8cc0 update annotation 2016-07-21 15:49:55 +08:00
“fudali113”
e2316c4b9e update 2016-07-20 17:28:26 +08:00
“fudali113”
6d1b203bca update 2016-07-20 16:52:14 +08:00
“fudali113”
50c5df32b1 update 2016-07-20 16:26:02 +08:00
“fudali113”
530c32017c update 2016-07-20 15:33:30 +08:00
“fudali113”
ec521ad166 update 2016-07-20 15:13:18 +08:00
“fudali113”
4b8ecced83 orm insert or update 2016-07-20 14:37:05 +08:00
astaxie
d11823548b Merge pull request #2050 from simpleton/bug/original_scheme
fix(context): retrieve scheme from X-Forwarded-Proto when it isn't none
2016-07-19 11:13:14 +08:00
simsun
ee26279311
fix(context): retrieve scheme from X-Forwarded-Proto when it isn't none 2016-07-19 00:36:51 +08:00
maxin[马鑫]
8099a81b7a avoid error when the callback function not exisit 2016-07-15 19:13:35 +08:00
saturn4er
0943ef9e74 Add TplPrefix to TplName also. 2016-07-14 11:48:49 +03:00
astaxie
a2e63a3820 Merge pull request #1993 from NerdsvilleCEO/develop
Add meta fields with required flag on RenderForm
2016-07-14 10:47:21 +08:00
astaxie
a08e937cf0 Merge pull request #2032 from ShevYan/make-go-vet-pass
use keyed fields to pass go vet
2016-07-14 10:38:05 +08:00
shev_yan
9ab5f6d808 use keyed fields to pass go vet 2016-07-06 12:53:47 +08:00
saturn4er
fee06a23bd Add template prefix field to controller 2016-07-03 14:44:11 +03:00
Joshua Santos
e0393b721c Change meta to required, and refactor a bit to cover edge cases 2016-06-30 10:32:53 -07:00
Joshua Santos
84b6bef7d0 Required field useful for not only input 2016-06-28 16:39:09 -07:00
Joshua Santos
8917fe44a9 Add test functions 2016-06-28 16:31:45 -07:00
Joshua Santos
21c7821692 Add test function 2016-06-28 16:24:32 -07:00
Joshua Santos
f9f92b4f61 Merge meta tag into parseFormField 2016-06-28 15:19:58 -07:00
Faissal Elamraoui
c893b3472c added dep to .travis.yml 2016-06-24 15:51:59 +02:00
Faissal Elamraoui
479dfdbd40 added support for Windows terminals 2016-06-24 15:38:18 +02:00
astaxie
1f68e5a705 Merge pull request #2006 from victorpopkov/develop
Add support for time.Time pointer in struct types
2016-06-24 12:33:37 +08:00
Victor Popkov
415b9cf310 add support for time.Time pointer in struct types
Allow to use pointer *time.Time as a type in combination with orm tags in struct. This enables to treat them as "empty" in JSON marshaling/unmarshaling when using 'json:"null,omitempty'.
2016-06-22 16:57:05 +03:00
astaxie
ed474b517d Merge pull request #1979 from ysqi/ormfix
ignore case of tag and fixed bug for columName
2016-06-22 12:00:37 +08:00
GuyCheung
9572fdcf9a update error on type of w.Perm; change unit test perm value 2016-06-22 09:57:16 +08:00
GuyCheung
cb3f240f44 add os.Chmod when create log file 2016-06-21 15:52:31 +08:00
Faissal Elamraoui
844a3b0ffd removed unused import 2016-06-17 17:47:12 +02:00
Faissal Elamraoui
448be6e58c added compatibility for go1.4 2016-06-17 17:39:32 +02:00
Faissal Elamraoui
2bd743fcff Enhanced logging during DEV mode 2016-06-17 15:56:52 +02:00
Joshua Santos
0d3a806c23 Add meta fields with required flag 2016-06-15 17:17:50 -07:00
ysqi
2c1cea08dd New func to find router info for context 2016-06-05 14:03:20 +08:00
ysqi
3f016840db fixed test error 2016-06-04 10:41:55 +08:00
ysqi
d528fafd43 ignore case of tag and fixed bug for columName 2016-06-03 22:06:43 +08:00
ysqi
b7e3402995 Sport Error exeception for outside 2016-06-01 21:30:04 +08:00
ysqi
b807362c39 Reset 2016-06-01 20:33:10 +08:00
ysqi
d9b05e6b3f Print complete URL after running 2016-06-01 20:18:11 +08:00
ysqi
e9f967102c Fixed parese ini file with empty space line 2016-06-01 19:58:35 +08:00
ysqi
2e0bcf611c go fmt 2016-06-01 19:57:08 +08:00
ysqi
2ebf3cd450 Merge branch 'astaxie/develop' into develop 2016-06-01 19:54:35 +08:00
astaxie
1fe2226c11 Merge pull request #1968 from wy65701436/develop
modify the error log for registerModel.
2016-05-30 10:41:46 +08:00
wy65701436
d4d7621942 modify the error log for registerModel to tell user the default hard code PK is 'id'. 2016-05-27 02:03:58 -07:00