slene
cacdb3228d
orm add operator between
#518
2014-03-12 15:56:05 +08:00
Pengfei Xue
d0949b64c6
fix issue#521, return error when init redis session
2014-03-12 15:56:05 +08:00
Kirill Zdornyy
d49984d47d
Fix basic auth plugin example.
...
NewBasicAuthenticator requires passing a second argument for Realm.
2014-03-12 15:56:05 +08:00
Daniel Hobe
9f3af59250
add support for sql.Null* types
...
Change instructions for sqlite3 tests to use in memory db for much faster
2014-03-12 15:56:05 +08:00
asta.xie
57afd3d979
GetStrings action as GetString
2014-03-12 15:56:05 +08:00
asta.xie
f7430a2ce1
enhance the static file path. If user foget / path.Join will auto fix it.
2014-03-12 15:56:05 +08:00
asta.xie
7389f0507e
fix #505
2014-03-12 15:56:04 +08:00
slene
ee889e9975
skip cookie args when value is nil
2014-03-12 15:56:04 +08:00
slene
d8b9db8d3e
move SetSecureCookie / GetSecureCookie to *context.Context and alias in Controller
2014-03-12 15:56:04 +08:00
slene
9b498feac7
update output.Cookie
2014-03-12 15:56:04 +08:00
asta.xie
69982c62c8
path default is /
...
httponly default true
seuce default not set
2014-03-12 15:56:04 +08:00
asta.xie
b405e19f56
delete MaxAge cookielifeTime replace
2014-03-12 15:56:04 +08:00
slene
828235b4c1
httplib support set transport and proxy
2014-03-12 15:56:04 +08:00
slene
430a0a971f
orm insert skip auto_now_add when user custom a value
2014-03-12 15:56:04 +08:00
slene
5be22a99a8
fix captcha urlPrefix
2014-03-12 15:56:04 +08:00
Pengfei Xue
5d02b18db4
register interface to gob automatically
2014-03-12 15:56:04 +08:00
Pengfei Xue
97b68bdd66
fix bug, can not remove session file
2014-03-12 15:56:04 +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
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
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