astaxie
f3ba41a991
Merge pull request #517 from zkirill/develop
...
Fix basic auth plugin example.
2014-03-03 09:58:40 +08:00
Kirill Zdornyy
4befa1bc1b
Fix basic auth plugin example.
...
NewBasicAuthenticator requires passing a second argument for Realm.
2014-03-02 17:44:23 -08:00
slene
9e3ebc88c4
Merge pull request #513 from hobeone/develop
...
add support for sql.Null* types, thx hobeone
2014-02-28 12:17:58 +08:00
Daniel Hobe
6e00cfb464
add support for sql.Null* types
...
Change instructions for sqlite3 tests to use in memory db for much faster
2014-02-27 19:53:35 -08:00
astaxie
c358c18018
Merge pull request #511 from francoishill/patch-2
...
Update sess_file.go
2014-02-28 09:40:28 +08:00
Francois
adf2a590fc
Update sess_file.go
...
Lock required to ensure the File sessions work correct.
2014-02-27 15:34:38 +02:00
astaxie
edb8bac5bc
Merge pull request #510 from jfolkins/fix_sessregenid
...
fix: added nil check on c.CruSession to prevent crash
2014-02-27 10:34:39 +08:00
Jared Folkins
47d7ac06b7
fix: added nil check on c.CruSession to prevent crash
2014-02-26 16:44:31 -08:00
asta.xie
d05270d2ec
GetStrings action as GetString
2014-02-26 15:02:58 +08:00
asta.xie
04a19685ed
enhance the static file path. If user foget / path.Join will auto fix it.
2014-02-26 14:44:41 +08:00
asta.xie
62555771d0
fix #505
2014-02-24 15:55:38 +08:00
slene
9dc93cbab0
skip cookie args when value is nil
2014-02-22 14:40:18 +08:00
slene
7f5fb871de
move SetSecureCookie / GetSecureCookie to *context.Context and alias in Controller
2014-02-22 11:58:53 +08:00
slene
03037170e1
update output.Cookie
2014-02-22 11:12:57 +08:00
asta.xie
002e0854ab
path default is /
...
httponly default true
seuce default not set
2014-02-22 10:37:14 +08:00
asta.xie
2bc70f62ce
delete MaxAge cookielifeTime replace
2014-02-22 01:04:47 +08:00
slene
8bf0e67b79
httplib support set transport and proxy
2014-02-20 13:53:13 +08:00
slene
b310be1fcf
orm insert skip auto_now_add when user custom a value
2014-02-20 13:45:31 +08:00
slene
a54353b51c
fix captcha urlPrefix
2014-02-20 13:44:34 +08:00
Ivan
04c2ba01bc
Merge branch 'develop' of https://github.com/voidd/beego
2014-02-19 22:44:06 +04:00
Ivan
296bcab425
couchbase session provider
2014-02-19 15:54:16 +04:00
astaxie
060b321182
Merge pull request #497 from pengfei-xue/develop
...
register interface to gob automatically
2014-02-18 16:47:59 +08:00
Pengfei Xue
05a0a4b046
register interface to gob automatically
2014-02-14 17:52:57 +08:00
astaxie
8906d3e77c
Merge pull request #494 from pengfei-xue/develop
...
fix bug, can not remove session file
2014-02-13 20:19:42 +08:00
Pengfei Xue
e822642cb0
fix bug, can not remove session file
2014-02-13 18:24:05 +08:00
astaxie
a38a4f0343
Merge pull request #492 from TimothyYe/master
...
Fix spelling mistake
2014-02-10 14:51:26 +08:00
Timothy
e8a22660e4
Update error.go
...
Fix the spelling mistake of error page.
2014-02-10 12:55:53 +08:00
asta.xie
92196c602b
Merge branch 'release/release1.1.0'
2014-02-10 11:39:03 +08:00
asta.xie
76222ac8d0
change 1.0.1 to 1.1.0
2014-02-10 11:33:53 +08:00
asta.xie
a184c23603
basic auth for plugin
2014-02-10 11:31:54 +08:00
asta.xie
1b778509c9
should copy the data direct. don't need range
2014-02-08 10:42:34 +08:00
asta.xie
c4250872ca
controller data inherit the context's data
2014-02-07 17:25:56 +08:00
astaxie
17dd72241b
Merge pull request #491 from fuxiaohei/develop
...
add comments for testing, utils and validation packages
2014-02-07 16:25:05 +08:00
傅小黑
ce2984f09a
add comments for testing, utils and validation packages
2014-02-07 16:07:31 +08:00
傅小黑
846d766499
Merge branch 'develop' of git://github.com/astaxie/beego
2014-02-07 15:34:01 +08:00
asta.xie
bbc71142d7
controller can controller whether render the template.
...
EnableReander default is true.
2014-02-07 00:38:58 +08:00
astaxie
74804bc586
Merge pull request #490 from fuxiaohei/develop
...
add comments for session and toolbox package
2014-02-04 06:25:18 -08:00
傅小黑
1d08a54f44
add comments for toolbox packages
2014-01-29 19:12:00 +08:00
傅小黑
682544165f
add comments for session packages, part 2
2014-01-29 18:15:09 +08:00
傅小黑
3f0ec5c0ca
Merge branch 'develop' of git://github.com/astaxie/beego into develop
2014-01-29 01:06:49 +08:00
傅小黑
0e2872324f
add comments for session packages, part 1
2014-01-29 01:05:56 +08:00
astaxie
2fb575838d
Merge pull request #474 from pengfei-xue/develop
...
fix bug, redis session doesnt work
2014-01-28 01:50:20 -08:00
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