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

53 Commits

Author SHA1 Message Date
astaxie
918b9e510f fix the add tempfunc 2016-01-18 15:27:33 +08:00
astaxie
da36d1d0e7 fix the wrong io.Writer 2016-01-18 00:03:39 +08:00
astaxie
90d1349665 fix typo 2016-01-17 23:48:17 +08:00
astaxie
9b2597be68 fix the mail send empty subject 2016-01-17 23:48:09 +08:00
astaxie
566aab4354 mail send support Address format 2016-01-17 22:49:02 +08:00
astaxie
b90a28bafb Merge pull request #1546 from youngsterxyf/develop
fix #1530
2016-01-12 20:01:51 +08:00
youngsterxyf
0c48738841 for issue #1530, fix incompatible bug 2016-01-08 21:29:12 +08:00
astaxie
302b1ef7df fix the data 2016-01-08 15:52:57 +08:00
ysqi
4c0c0ec2a7 TplNames renamed TplName ,fix #1229,Remember modify bee tool. 2016-01-07 16:16:39 +08:00
astaxie
4823a0f114 remove the dead code 2015-09-17 23:47:26 +08:00
astaxie
c6448727de golint utils 2015-09-14 23:35:13 +08:00
astaxie
5015614fdc golint pagination 2015-09-14 23:17:33 +08:00
astaxie
7b81617a95 golint captcha 2015-09-14 23:13:51 +08:00
astaxie
1d8afdc9c9 gofmt -s & go_vet 2015-05-25 09:10:34 +08:00
supiyun
1592e9c04d 验证码reload问题
当页面放置一段时间,验证码将从缓存中失效。当用户再来刷新验证码将出现验证码404。对于reload操作应该直接生成验证码。
2015-05-25 09:10:34 +08:00
Liu Peng
b1efae6ff8 add missed LICENSE of captcha 2015-05-24 23:59:39 +08:00
Athurg Gooth
d961ae4cd8 Fix RequestURI nil caused template parse failed
Sometime RequestURI is not set, e.g. running after a front proxy server.

We should always follow the document's directive, to use Request.URL instead of RequestURI.

Refer: http://golang.org/pkg/net/http/#Request
2014-12-25 11:23:04 +08:00
Athurg Gooth
c52f634d9c Fix paginator attributes cannot be modified bug
We can only use SetPaginator to create a pagination.

After that, we always need to modify something, like the totalNum, perPageNum.

These change should be seen in the view.

So we should give the view a pointer than a object.
2014-12-11 16:42:50 +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
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
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
astaxie
77294a5881 utils: fix the SliceIntersect 2014-08-22 16:50:07 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
Francois
58ac0d5ea4 Update captcha.go
Captcha must be deleted if the user entered a "challenge" with a different length than the captcha.
2014-08-09 15:35:29 +02:00
astaxie
3f7ecea089 beego: Display function move from toolbox to utils 2014-08-04 20:52:18 +08:00
Stan Sun
22ba252c8f fix the comment of SliceIntersect
The implementations of SliceDiff and SliceIntersect are the same.
However, the comments of them are opposite.
The former is (slice1 - slice2) while the latter is (slice2- slice1)
2014-08-02 17:54:57 +08:00
astaxie
e7fcb824c1 utils: fix the safemap Items 2014-07-26 23:25:51 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
469f283b68 beego:fix captcha filter router 2014-06-19 20:29:36 +08:00
astaxie
085c362ffb beego:fix router expge 2014-06-18 23:32:47 +08:00
astaxie
c3a23b28ee beego: improve the RandomCreateBytes #620
when rand.Read is failed. will use the math/rand to generate the rand
bytes
2014-05-27 15:29:43 +08:00
astaxie
3f4d750dc4 utils: improve the file grep 2014-05-20 14:32:06 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
slene
5be22a99a8 fix captcha urlPrefix 2014-03-12 15:56:04 +08:00
傅小黑
ce2984f09a add comments for testing, utils and validation packages 2014-02-07 16:07:31 +08:00
slene
91d75e8925 add readme for captcha, and enhanced performance 2014-01-17 12:07:30 +08:00
slene
91cbe1f29b add some comments for captcha 2014-01-16 21:34:59 +08:00
slene
f419c12427 add captcha util 2014-01-16 20:53:35 +08:00
astaxie
d7f2c738c8 add attach file 2014-01-08 22:35:42 +08:00
astaxie
d06c04277f support send mail 2014-01-08 22:31:26 +08:00
astaxie
b1374b6a08 move safemap to utils & add many helpful slice function 2013-12-12 22:40:29 +08:00
astaxie
19119e99f7 move utils to utils libs & func move to templatefunc 2013-12-12 22:25:08 +08:00
kyle
9ff937591b rename some function name under /utils
change the function name to common english word
2013-12-12 19:30:44 +08:00