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

172 Commits

Author SHA1 Message Date
傅小黑
6cb3f588c7 fix comments typo in beego package/ 2013-12-22 15:09:33 +08:00
傅小黑
ce332713c4 gofmt commented go files 2013-12-20 22:35:16 +08:00
傅小黑
b459cf2347 add api comments in file config.go, controller.go, filter.go and flash.go 2013-12-20 21:16:26 +08:00
astaxie
48cefc6767 improve performance change reflect to interface 2013-12-18 21:32:25 +08:00
astaxie
0869df5588 delete GoToFunc & add GetControllerAndAction 2013-12-17 20:39:35 +08:00
astaxie
c3bc2bedc0 add methodName to fix #380 & arrangement the router 2013-12-17 11:19:18 +08:00
astaxie
7b27b7fed0 change SopRun to a variable 2013-12-17 08:53:20 +08:00
astaxie
b9fdbdf7b5 use StopRun to terminate the execution 2013-12-16 23:22:15 +08:00
astaxie
f8708d01bf update abort & error show & sessionRelease in defer 2013-12-16 22:54:29 +08:00
vadimi
31f862c526 Panic template execution errors to show error pages accordingly 2013-12-15 13:17:27 -05:00
astaxie
19119e99f7 move utils to utils libs & func move to templatefunc 2013-12-12 22:25:08 +08:00
astaxie
3c91360d72 dictinct system pkg and third pkg 2013-12-03 21:37:39 +08:00
astaxie
9446563e5b add util func to get the url fix #282
UrlFor(endpoint string, values ...string) string
2013-11-10 23:05:07 +08:00
astaxie
076bd0b440 #254 add controller func SessionRegenerateID 2013-11-05 22:07:09 +08:00
astaxie
aaf1490ff5 fix router 2013-09-28 23:37:05 +08:00
astaxie
a62ed10ab3 add supoort AppController
http://play.golang.org/p/MZptHZeYUx
2013-09-28 23:30:36 +08:00
astaxie
e79d756d06 #230 2013-09-28 22:23:00 +08:00
astaxie
c4edc13413 fix #230 2013-09-28 21:36:36 +08:00
astaxie
d393c329c3 protect parts's len 2013-09-26 21:06:37 +08:00
astaxie
59a67720b4 xsrf's defaut time set to 0 & fix ts not use 2013-09-25 23:07:54 +08:00
astaxie
93e1206d60 xsrf change to randstr and cookie set to security cookie 2013-09-25 23:05:53 +08:00
astaxie
beecc5072e fix #209 2013-09-22 14:35:01 +08:00
astaxie
4a3d32dc1f support auto get session from input fix #211 2013-09-22 11:43:22 +08:00
slene
198d6320dd fix xsrf cookie path should use root 2013-09-13 22:42:15 +08:00
astaxie
ffb347a2bb support nest template 2013-09-12 17:20:32 +08:00
astaxie
19862725f7 support template 2013-09-12 15:24:08 +08:00
astaxie
f502f84423 fix #189 2013-09-12 13:44:24 +08:00
astaxie
63da329468 go on modify api 2013-09-10 00:17:49 +08:00
astaxie
bd61dd9ffc change a log about new version 2013-09-10 00:00:18 +08:00
astaxie
1fedaf21ec jsonp set header to javascript 2013-08-19 21:34:34 +08:00
astaxie
0372b817d1 ServeJson ServeJsonp ServeXml and choice 2013-08-16 15:49:16 +08:00
astaxie
a3363b0605 json change from Indent to none 2013-08-15 22:27:26 +08:00
astaxie
9631c663d5 fix #145
this.DestroySession()
2013-08-10 23:58:25 +08:00
astaxie
10f4e822c3 add XSRFExpire 2013-08-07 11:22:23 +08:00
astaxie
f9a31ea00a EnableXSRF 2013-08-06 23:21:52 +08:00
astaxie
e47a147c3b serverJson Supoort 中文编码 2013-08-06 16:37:41 +08:00
astaxie
a611480b94 fix #121 2013-08-05 00:03:47 +08:00
astaxie
dbfd844ff2 beego support flash data 2013-08-03 17:55:53 +08:00
astaxie
485d89d5c8 tpl tolower 2013-07-30 22:45:50 +08:00
astaxie
8674b81b3a fix router & tpl tolower 2013-07-30 22:17:16 +08:00
miraclesu
b8e06f6365 Add ParseForm function for *Controller 2013-07-25 22:27:25 +08:00
astaxie
ee9223b1b9 fix #18
func (this *MainController) Get() {
this.GoToFunc("Test")
}

func (this *MainController) Test() {
this.Ctx.WriteString("testtest")
}
2013-07-08 17:35:09 +08:00
astaxie
d2a16ff8f6 fix #26 add xsrf function 2013-07-08 16:17:08 +08:00
astaxie
189df1280c fix #87 2013-07-02 09:45:12 +08:00
astaxie
6a260ca76d Merge pull request #71 from yecrane/master
form获取相同名字的对象数组值
2013-06-17 01:03:04 -07:00
yecrane
27896c5700 Update controller.go
form获取相同名字的对象数组值
2013-06-17 16:12:35 +09:00
lw
5d531d3da6 fix jsonp, use Buffer 2013-06-14 09:39:56 +08:00
lw
06e002cf2c feture: add jsonp 2013-06-13 17:17:54 +08:00
astaxie
b2abb4eb80 fix #66 2013-06-11 23:31:40 +08:00
astaxie
d8e1f31cc9 update session's key from string to interface 2013-05-13 23:30:59 +08:00
astaxie
ce77c273cf add Destructor func 2013-05-08 13:56:48 +08:00
astaxie
d4610a9313 fix layout 2013-05-07 15:42:57 +08:00
astaxie
6af2778ab9 fix set cookies many times 2013-05-07 15:36:43 +08:00
astaxie
1e7c1a265e fix #16 2013-05-07 00:17:25 +08:00
astaxie
66473ff531 fix bug 2013-04-21 23:24:19 +08:00
astaxie
095e52b941 fix #43 2013-04-21 23:14:05 +08:00
astaxie
b6f06a5559 add template can't find template file 2013-04-21 11:28:20 +08:00
astaxie
140b513c7b support gzip #37 2013-04-18 23:13:53 +08:00
astaxie
6ce02f1d1c add SaveToFile & docs 2013-04-16 18:20:55 +08:00
astaxie
dc5dab3dbb fix multipart 2013-04-10 00:24:28 +08:00
astaxie
2f02653b7d add GetFIle & enhance router 2013-04-09 23:33:48 +08:00
astaxie
f9e8b4f124 fix multipart & add three useful function
c.GetString()
c. GetInt()
c.GetBool()
2013-04-09 21:49:17 +08:00
astaxie
2573696860 session
1. session move from astaxie/session to beego/session
2. support 4 type session
2013-04-05 23:50:53 +08:00
astaxie
69f40ad18a add some useful function
1. Router
2. SetSession/GetSession/DelSession
3. RenderString
4. str2html/htmlquote/htmlunquote
5. move the template Function to util.go
2013-04-03 23:37:59 +08:00
astaxie
0f982c4a18 add Config.Int64 and Template add Runmode==dev everytime parsefile 2013-04-02 23:57:15 +08:00
astaxie
31f505bfc1 add RenderBytes function 2013-03-14 21:17:37 +08:00
astaxie
3b89071360 add template test and cache module 2013-03-14 00:14:09 +08:00
astaxie
10e7dc856b fix a bug about json and xml 2013-01-06 11:25:05 +08:00
xiemengjun
1530e3fbc2 add session support 2013-01-01 23:11:15 +08:00
astaxie
a7791c2786 #2
#2
2012-12-19 16:20:55 +08:00
xiemengjun
d562687868 simplify beego 2012-12-17 22:15:21 +08:00
xiemengjun
f593c1f3fd init framwork 2012-12-15 23:53:19 +08:00