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

3748 Commits

Author SHA1 Message Date
slene
c38abf35da orm support auto create db 2013-08-19 22:37:39 +08:00
astaxie
1fedaf21ec jsonp set header to javascript 2013-08-19 21:34:34 +08:00
astaxie
0b74db64eb fix typo for templateLeft 2013-08-19 13:02:18 +08:00
astaxie
f2222ba3c6 support fastcgi 2013-08-19 11:23:53 +08:00
astaxie
3cb8a96041 support unix socket fix #151
You can set
HttpAddr="/tmp/beego.sock"
HttpPort=0
2013-08-19 11:21:02 +08:00
astaxie
4f538e7fd2 fix #163
you can set the delimiter like this

beego.TemplateLeft="{#"
beego.TemplateRight="#}"

or can set the config file like app.ini

templateleft={#
templateright=#}
2013-08-19 10:41:09 +08:00
astaxie
e02f9a9931 fix #161 2013-08-19 10:26:16 +08:00
slene
aecf4af7f2 orm update docs 2013-08-17 07:41:22 +08:00
slene
618cbf1e66 orm string type default will use varchar(255) 2013-08-16 22:24:10 +08:00
slene
c81bbf9801 orm now use a filed named Id as default auto primary key, you can ignore orm:"auto" setting 2013-08-16 21:57:39 +08:00
slene
f02b286ad4 orm make offset simple, can use any numeric type 2013-08-16 20:01:18 +08:00
astaxie
0372b817d1 ServeJson ServeJsonp ServeXml and choice 2013-08-16 15:49:16 +08:00
astaxie
a3363b0605 json change from Indent to none 2013-08-15 22:27:26 +08:00
astaxie
51e625debf Merge pull request #156 from benlovell/spelling
Fix some minor spelling mistakes and typos
2013-08-14 00:17:35 -07:00
benlovell
1977d87d55 Merge branch 'master' of https://github.com/astaxie/beego into spelling 2013-08-14 09:07:51 +02:00
benlovell
9cbefacf52 Fixes some minor spelling mistakes and typos 2013-08-14 09:06:40 +02:00
astaxie
42f1d1aeef change version 0.8 to 0.9 2013-08-14 10:53:22 +08:00
slene
f4b3e7e4d2 orm small update 2013-08-13 19:33:43 +08:00
slene
c6a436ed5d orm docs update 2013-08-13 19:28:37 +08:00
slene
27b84841a7 orm add full regular go type support, such as int8, uint8, byte, rune. add date/datetime timezone support very well. 2013-08-13 17:17:19 +08:00
slene
deb00809a5 orm add missed SetMaxIdleConns 2013-08-12 13:24:45 +08:00
astaxie
eb06435f23 change position GOMAXPROCS to init that user can set own GOMAXPROCS 2013-08-12 12:46:59 +08:00
astaxie
328f4566e4 Merge pull request #150 from miraclesu/form
Support custom label for renderform
2013-08-11 20:04:25 -07:00
miraclesu
a37b2bdfb0 Support custom label for renderform 2013-08-12 06:54:36 +08:00
astaxie
50f3bd5835 add filter after 2013-08-12 00:14:42 +08:00
astaxie
1f3ae3d682 Improve performance 2013-08-11 23:27:53 +08:00
astaxie
ca1354e77f Merge pull request #147 from miraclesu/form
ignore struct field if form tag value is '-'
2013-08-11 07:44:28 -07:00
miraclesu
459b97858c renderform ignore struct field if form tag value is '-' 2013-08-11 22:42:35 +08:00
slene
18c09bb2ed orm update docs 2013-08-11 22:27:54 +08:00
slene
45345fa782 orm add postgres support 2013-08-11 22:27:45 +08:00
miraclesu
5c859466ef ignore struct field if form tag value is '-' 2013-08-11 22:21:31 +08:00
astaxie
449fbe82f6 Update README.md 2013-08-11 13:26:28 +08:00
slene
6c41e6dd78 orm add sqlite3 support, may be support postgres in next commit 2013-08-11 00:15:26 +08:00
astaxie
9631c663d5 fix #145
this.DestroySession()
2013-08-10 23:58:25 +08:00
astaxie
bbef213155 fix #144 2013-08-10 21:44:27 +08:00
astaxie
bc060c95f8 Merge pull request #143 from miraclesu/form
Add renderform template function
2013-08-10 06:28:06 -07:00
miraclesu
9e1d5036f7 Add renderform template function 2013-08-10 16:33:46 +08:00
miraclesu
e47b2b677d Update ParserForm for new form tag style 2013-08-10 11:42:25 +08:00
miraclesu
38f6f8eef7 update TestParseForm 2013-08-10 10:29:29 +08:00
astaxie
115b1d03db fix #138 2013-08-09 23:41:03 +08:00
astaxie
0833d4baf8 fix #132 2013-08-09 22:19:05 +08:00
slene
f2b359d8e8 orm full remove orm.Manager for simple use, add struct tag - for skip struct field 2013-08-09 20:14:18 +08:00
slene
402932aa6e ... haha 2013-08-09 14:04:33 +08:00
slene
f1e2372a56 orm update docs about debug log queries 2013-08-09 13:53:04 +08:00
slene
45aa071261 orm add queries debug logger 2013-08-09 13:20:19 +08:00
slene
8563000235 orm operator args now support multi types eg: []int []*int *int, Model *Model 2013-08-08 22:34:18 +08:00
slene
9047d21ec5 orm fix, def a string in model but use int in db may cause nil pointer error 2013-08-08 22:15:27 +08:00
slene
74a95f6cbf docs update 2013-08-08 11:07:08 +08:00
slene
a17dcf4991 fix docs link 2013-08-07 23:39:18 +08:00
slene
fc528c51a3 update docs 2013-08-07 23:35:45 +08:00