1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-29 01:15:47 +00:00
Commit Graph

1125 Commits

Author SHA1 Message Date
astaxie
ab8f8d532a Merge pull request #487 from cloudaice/log-feature
fixed bug: in logs package check if platform is windows
2014-01-27 20:50:25 -08:00
cloudaice
d93f112083 fixed bug: in logs package check if platform is windows 2014-01-28 11:26:43 +08:00
slene
9384e87083 orm 1. add api: NewOrmWithDB, AddAliasWthDB; 2. RawSeter -> add api: RowsToMap, RowsToStruct; 3. RawSeter -> change api: Values, ValuesList, ValuesFlat add optional params comumns. 2014-01-27 01:48:00 +08:00
Pengfei Xue
34eff4cc1f bugfix, delete the sid if it's values is empty
* regenerate sid, if the old key doesn't exists, set the new one directly
2014-01-25 10:55:49 +08:00
slene
8296713ba4 Merge pull request #477 from kylemcc/read_or_create
Add a ReadOrCreate method:
2014-01-24 18:01:24 -08:00
Pengfei Xue
d014ccfb8e bug fix, session stored in redis cannot be deleted 2014-01-23 19:28:58 +08:00
Kyle McCullough
190039b6f8 Add a ReadOrCreate method:
m := &User{Name: "Kyle"}
// Returns a boolean indicating whether the object was created,
// the primary key of the object, or an error.
created, id, err := orm.ReadOrCreate(m, "Name")
2014-01-22 09:15:21 -06:00
astaxie
edf7982567 Merge pull request #473 from cloudaice/logs-feature
diffrent level logs display diffrent color
2014-01-21 19:03:32 -08:00
Pengfei Xue
1509a6b681 fix bug, redis session doesnt work 2014-01-21 18:48:16 +08:00
cloudaice
11e6c2829b diffrent level logs display diffrent color 2014-01-21 18:00:17 +08:00
astaxie
38f93a7ba9 Merge pull request #470 from fuxiaohei/develop
add comments for orm and middleware packages.
2014-01-17 17:44:52 -08:00
傅小黑
6b5108ef92 Merge pull request #1 from fuxiaohei/develop
merge develop
2014-01-17 07:48:39 -08:00
FuXiaoHei
828a306069 add comments for orm package, done 2014-01-17 23:28:54 +08:00
傅小黑
4c527dde65 add comments for orm packages, part 2 2014-01-17 17:25:17 +08:00
傅小黑
f5a5ebe16b add comments for orm packages, part 1 2014-01-17 17:04:15 +08:00
傅小黑
32799bc259 add comments for middleware packages, fix typo error 2014-01-17 16:03:01 +08:00
slene
91d75e8925 add readme for captcha, and enhanced performance 2014-01-17 12:07:30 +08:00
astaxie
3e40041219 Merge pull request #468 from cloudaice/patch-1
Update README.md
2014-01-16 17:28:13 -08:00
项超
7d5ee0d692 Update README.md 2014-01-17 00:17:43 +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
fee3c2b8f9 add Strings interface can return []string sep by ;
Example:
peers = one;Two;Three
2014-01-15 17:19:03 +08:00
astaxie
b016102d34 add coding 2014-01-15 09:40:33 +08:00
astaxie
c20e1ab1e2 Merge pull request #463 from NormanZhang/develop
Update SessionExist to close the db connection
2014-01-14 06:13:34 -08:00
Norman
dc767b65df Update SessionExist to close the db connection
close the mysql connection
2014-01-14 19:54:32 +08:00
astaxie
63f19974cd Merge pull request #460 from pengfei-xue/develop
use connection pool for redis, support auto connection
2014-01-11 06:39:20 -08:00
slene
6e9ba0ea7f fix SessionRegenerateID should release old SessionStore and release new SessionStore in router.go 2014-01-11 17:01:33 +08:00
slene
3b99f37aa1 add a empty fake config Initialize AppConfig to avoid nil pointer runtime error. 2014-01-11 14:28:11 +08:00
slene
e8f5c10488 Merge pull request #457 from luxuchu/patch-1
fix #453
2014-01-10 22:21:27 -08:00
Pengfei Xue
cb55009c8b remove mutex 2014-01-10 20:31:43 +08:00
Pengfei Xue
b64e70e7df use connection pool for redis cache 2014-01-10 18:31:15 +08:00
slene
8d79f8387b #441 fix detect timezone in mysql 2014-01-10 16:50:03 +08:00
sol lu
afadb3f6df Update beego.go 2014-01-10 13:31:08 +08:00
astaxie
844412c302 fix #453 2014-01-09 21:37:50 +08:00
astaxie
299cb9130b Merge pull request #454 from pengfei-xue/develop
support redis cache auto connection
2014-01-09 04:49:31 -08:00
Pengfei Xue
0b42e5573b align memcache operations with redis 2014-01-09 18:50:30 +08:00
Pengfei Xue
a369b15ef2 reset cache connection to nil, if err isio.EOF
* this will support auto-connection
2014-01-09 18:49:18 +08:00
astaxie
e34f8c4634 add cookie test 2014-01-08 23:24:31 +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
aa2fef0d36 update sessionRelease
1. mysql fix last access time not update
2. mysql & redid Release when data is empty
3. add maxlifetime distinct Gclifetime
2014-01-08 20:54:20 +08:00
slene
b766f65c26 #436 support insert multi 2014-01-06 11:31:35 +08:00
astaxie
6f3a759ba5 gmfim add lock. fix #445 2014-01-05 23:16:47 +08:00
astaxie
338124e3fb fix #443 2014-01-05 15:43:48 +08:00
astaxie
31bdb793cf make fix 2014-01-05 15:21:50 +08:00
astaxie
9cbd475701 beego support new version session 2014-01-05 14:59:39 +08:00
astaxie
481448fa90 modify session module
change a log
2014-01-05 14:48:36 +08:00
slene
95c65de97c fix #440 2014-01-04 22:30:17 +08:00
slene
ef79a2b484 fix #440 2014-01-04 00:04:15 +08:00
astaxie
20cfece1ab Merge pull request #438 from Codonaut/error_page_improvements
Error page improvements
2014-01-02 07:17:49 -08:00