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

3838 Commits

Author SHA1 Message Date
astaxie
76db5cded4 fix the init mime 2014-10-20 18:21:17 +08:00
WithGJR
1b3e7de463 add new feature to 'renderform' function, user could add HTML id and class now 2014-10-20 17:49:16 +08:00
supar
ab28edaf25 Fix comma in the switch, fix wronf function name 2014-10-17 13:02:18 +04:00
supar
04431a7a15 Fix function name fmt.Stprintf -> fmt.Sprintf 2014-10-17 12:59:24 +04:00
supar
b00c42b3df Fix undefind variable fieldType 2014-10-17 12:56:44 +04:00
supar
4cae7af3f9 Add attribute DEFAULT '' to the CREAT, ALTER constructors 2014-10-17 12:53:59 +04:00
supar
e4988b714e Add property colDefault to fieldInfo object, set its true if there is
orm configuration default `orm:"default(1)"`
2014-10-17 12:27:53 +04:00
astaxie
24489df63d Merge pull request #867 from WithGJR/develop
fix router bug: when the request is PUT or DELETE, router can't find the...
2014-10-16 23:07:20 +08:00
astaxie
fb8e9ae1a3 Merge pull request #868 from reterVision/patch-2
Use SETEX command to set session
2014-10-16 21:42:23 +08:00
Brandon Gao
1eb9aef687 Use SETEX command to set session
In order to be compatible with older version Redis, use `SETEX` command instead of `SET x y EX 360`.
2014-10-16 20:16:17 +08:00
WithGJR
efc14a1e8d fix router bug with more better way 2014-10-16 18:58:12 +08:00
WithGJR
fa1281002e fix router bug: when the request is PUT or DELETE, router can't find the actual route and will throw 404 page to user 2014-10-16 18:26:01 +08:00
Jens Bissinger
812950b60d Allow to use fastcgi via standard io. 2014-10-13 13:47:44 +02:00
astaxie
f9e991b538 Merge pull request #853 from tossp/email
支持发送邮件内嵌附件
2014-10-12 11:02:53 +08:00
TossPig
fc07419938 Update mail.go 2014-10-11 00:42:01 +08:00
TossPig
d69eee23f0 添加错误返回
不知道英文区的人能否看懂Cnglish。。。
2014-10-11 00:38:31 +08:00
TossPig
41de7c7db6 fix
修改一个错误。
看到text/template包的写法,和你的想法是一致的。
2014-10-11 00:02:36 +08:00
TossPig
6a33647f30 修改参数类型
为了保持向后兼容,
2014-10-10 23:40:02 +08:00
TossPig
e5134873be 支持发送邮件内嵌附件
为*Email.AttachFile和Email.Attach增加了一个参数"id".
当id不为空时,设置头部信息Content-Disposition为inline,并添加Content-ID头的值为id
2014-10-10 14:40:07 +08:00
astaxie
8d20ea04b0 Merge pull request #852 from pabdavis/statistics-json
[Proposal] Ability to get statistics data unformatted
2014-10-10 10:59:30 +08:00
Bill Davis
5c1e8e42b9 Reworked implementation to not return encoded json 2014-10-09 17:07:28 -04:00
Bill Davis
ca3e7568a1 Add ability to get statistics in json format 2014-10-09 16:32:56 -04:00
astaxie
2823167848 Merge pull request #849 from pabdavis/runmode-env
Support run mode set by environment variable
2014-10-10 00:50:16 +08:00
Bill Davis
a27f5c0dc0 Remove dependency of third party lib 2014-10-09 09:17:10 -04:00
astaxie
8af0475251 fix #833 2014-10-09 18:47:22 +08:00
astaxie
9c07332cfc Update README.md 2014-10-09 09:34:22 +08:00
Bill Davis
a06e0f27ad Support run mode set by env var BEEGO_RUNMODE 2014-10-08 15:00:07 -04:00
astaxie
a760e46f98 Merge pull request #837 from bsingr/develop
Insert pagination utilities from beego/wetalk. Refs #835.
2014-10-08 23:00:46 +08:00
Jens Bissinger
262665f4e5 Remove PaginationController interface and pass context instead. Refs #835. 2014-10-08 16:01:42 +02:00
Jens Bissinger
0b3763cc67 Cleanup pagination documentation. Refs #835. 2014-10-08 16:00:00 +02:00
astaxie
c147f26cd1 Merge pull request #847 from pabdavis/multifilter-fix2
Changes to handle multi filters on execution pt
2014-10-08 21:24:28 +08:00
Bill Davis
1ba7847913 Changing check from nil to len based on slice 2014-10-08 09:21:34 -04:00
astaxie
52df979aca update the godocs 2014-10-08 14:02:57 +08:00
Bill Davis
b6f789c497 Changes to handle multi filters on execution pt 2014-10-07 16:35:30 -04:00
Jens Bissinger
fa6cbc08d9 Document usage of utils/pagination. Refs #835. 2014-10-07 11:23:08 +02:00
Jens Bissinger
c4f8f45da4 Move pagination to utils/pagination. Refs #837, #835. 2014-10-06 11:37:08 +02:00
Jens Bissinger
6fca4a8218 Insert pagination utilities from beego/wetalk. Refs #835. 2014-10-02 11:40:46 +02:00
astaxie
aae89576c6 fix #814 2014-10-01 22:31:44 +08:00
astaxie
a907a86476 fix #814 2014-10-01 22:28:49 +08:00
astaxie
8716185de8 fix #794 2014-10-01 22:10:33 +08:00
astaxie
31e6133413 beego: improve static file index.html simple code 2014-10-01 08:57:10 +08:00
astaxie
3a5de83ec2 beego: support router case sensitive 2014-09-28 22:10:43 +08:00
astaxie
f5f3395560 update the isdir 2014-09-24 14:48:08 +08:00
astaxie
8164367762 beego: flash add success & Set 2014-09-23 23:54:38 +08:00
astaxie
e1475b72b9 Merge pull request #826 from SnailKnows/patch-2
Update beego.go
2014-09-23 00:31:21 +08:00
astaxie
f267ee8a12 fix the same name controller for UrlFor 2014-09-23 00:26:07 +08:00
astaxie
7e060e6e5c fix the static file dir 2014-09-23 00:03:47 +08:00
astaxie
727d2f9ea1 fix not found when has mulit static dir
robot &robots
2014-09-22 23:44:50 +08:00
SnailKnows
67c0c232a1 Update beego.go 2014-09-20 18:56:46 +08:00
astaxie
6c62198b59 remove the go style 2014-09-15 23:01:12 +08:00